htool / signalk-mfd-plugin

Generic SignalK plugin that advertises to MFDs
2 stars 2 forks source link

Need more details for config and ip address #4

Open eastlands opened 3 weeks ago

eastlands commented 3 weeks ago

I have tried to associate a SignalK webapp with my B&G Zeus. For the config I have given the same name to Source, Feature name, Name, Menu Text. For the IP address I have used the IP for my SignalK server (actually a RPi) without any port. For the WebApp url I have given the full SignalK url.

I can see an extra items on my B&G Zeus features menu but nothing happens when I open it.

I didn't understand your comments about adding additional IP addresses.

I already have a generic SignalK item on the B&G whioch shows an empty page with ame "Home" menu that does nothing. I also have a Victron Venus WebApp

eastlands commented 3 weeks ago

OK. So I changes the WebApp to the standard @signalk/instrumentpanel and it worked (sort of - there was a "whats new" splash screen too large for my MFD so couldn't dismiss). The WebApp I wanted to use requires a SignalK login. Would this be supported? I also tried KIP which displayed the splash bubbles but didn't progress further.

I am guessing that the MFD only supports strict HTML5 code and that not all SignalK webapps are compliant.

Incidentally, I initially tried with the RPi (SignalK server) connected to my NEP2 ethernet switch, but afterwards disconnected the ethernet cable and it still worked over WiFi. Both my Zeus and the second RPi for Victron Venus are permanently connected to the NEP2.

htool commented 3 weeks ago

Correct on the strict HTML5. And an additional problem is that there can be only one app per IP. So if you want to show more than one app, you have to add a few alias IPs to your machine that runs SignalK.

htool commented 3 weeks ago

The default one points to SignalK and will try top open the SignalK menu. You can remove the default one (which makes space on the standard IP for one to your own liking) by removing /usr/lib/node_modules/signalk-server/lib/interfaces/mfd_webapp.js