-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing is displayed. #1
Comments
The stylesheets are placeholders. They get filled in later by the config. |
I changed the source to 0, restarted SignalK (and even restarted the RPi just in case), but I still see only an empty black page. This is the full log in chrome's console:
Then I get the reconnection message every 10 seconds:
So I tried with Firefox, and the result is that I can see the path name and the unit, but no values at all. And also the same " yDown is not defined" error when I move the pointer around the page. By looking at the nerwork tab, I can tell that the socket connection is opened and closed after receiveing a couple messages: Let me know if there's any other info I can share to help diagnose |
It's strange and doesn't seem to be a problem on the browser side. I've used it on iphone, ipad, linux chrome and raspberry pi chrome and they all work. Do other SignalK plugins work that utilize websockets? |
Yes, I also use KIP (https://github.com/mxtommy/Kip) which is basically the same idea and works without problems. |
As it's working here, it's difficult to debug. |
(or |
I don't see the speed come in. That would explain why it's not showing. But I don't know why it's not coming in... |
No problem, I will investigate tomorrow and let you know |
Found it, on line 98:
With subscribe=none, no messages are received. If I remove it, everything works as expected. |
That basically asks for all updates. The source definition in the plugin config states which paths to subscribe to. |
I already copied the path from the Data Browser, and according to the fetched options and subscriptionMessage, it seems to be correct:
However, the handleData function is only called for environment.mode and navigation.state. Edit: |
The console.log debug statement however didn't show any speedApparent messages. Why are they not coming in? |
No worries - happy others are using it :) |
Hello, i set up the plugin in SignalK with one test path:
I might be missing something, but when I navigate to http://openplotter-home:3000/signalk-instrument-display-plugin/ (link from SignalK > WebApps) a black page is displayed.
I see no errors on SignalK's server log, however, I see a few issues on chrome's console:
In between, I see several logs that look like it's working:
Additionally, I find this weird:
I thinks is quite likely that i have misunderstood or misconfigured something, but I've tried several things and i can't manage to make it work.
Any advise?
The text was updated successfully, but these errors were encountered: