SignalK / freeboard-sk

Chartplotter implementation for Signal K servers
Apache License 2.0
35 stars 27 forks source link

trails are not syncronized #175

Open Colug0 opened 1 month ago

Colug0 commented 1 month ago

Maybe I am just doing something wrong, but I couldn`t find something about it.

If I display the track and open the webapp on different devices (windows and android) I get different trails displayed. I am logged in on both devices.

image

image

panaaj commented 1 month ago

Freeboard-SK logs track to the device's local storage by default, so the track logged and displayed is based on the vessel position while the app is running on the device....so different devices will show the track based on that instance of the app.

Freeboard-SK can use the track logged on the server (requires the signalk-influxdb plugin). You can enable display track from server in Freeboard-SK settings.

Colug0 commented 1 month ago

Sorry, I forgot to mention that I selected the option "Get trails from server". I Have the signalk-to-influxdb2 plugin running. Do I need to configure outside Freeboard-SK that a track should be stored? If so, under which path should it be stored? Is this functionality somewhere documented?

tkurki commented 1 month ago

Influxdb2 plugin does not provide tracks/trails but I am interested in implementing it, not much work. @panaaj we have created a bit of s mess with the different apis. Which one would you recommend I implement?

panaaj commented 1 month ago

Are you referring to /self/track and /tracks endpoints?

Colug0 commented 1 day ago

Are there any news about storing tracks central an display them on freebord-sk. Or maybe a workaround? I would like to help but honestly I have now idea how to start and what to do

tkurki commented 1 day ago

I (author of sk-to-influxdb2 plugin) should coordinate with Adrian on what endpoint is the one going forward and then add support for that in the plugin.

Colug0 commented 1 day ago

If I can help somehow, please let me know. And a bit thank you for all the work you all have done!