2019-07-20, 09:02 AM
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
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