This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SignalK and Remote Displays
#5
Http GET is not the way to go, instead use WebSockets and subscribe to the data that you want.

This way you get only the data you need only when it changes. With http you need to be polling all the time to receive updates.

See Subscription protocol in the Signal K Soecification.

With a bit of Googling you should be able to find a project with all the plumbing already in place, for example https://github.com/joelkoz/signalk-analog-gauge


Sent from my iPhone using Tapatalk
Reply


Messages In This Thread
SignalK and Remote Displays - by abarrow - 2019-07-19, 08:19 PM
SignalK and Remote Displays - by PaddyB - 2019-07-19, 10:27 PM
RE: SignalK and Remote Displays - by e-sailing - 2019-07-19, 10:40 PM
RE: SignalK and Remote Displays - by abarrow - 2019-07-19, 10:59 PM
SignalK and Remote Displays - by tkurki - 2019-07-20, 09:02 AM
RE: SignalK and Remote Displays - by abarrow - 2019-07-20, 02:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)