h2olove - I connect to the Websocket via /signa...
I connect to the Websocket via /signalk/v1/stream?subscribe=none&sendCachedValues=false
but as soon i send a subscription to vessels.self path: ‘*’ i get thousands of updates, i expected to get only changes of values. do I miss something?
my goal was to make an API call to get all the data then to subscribe to, changes only.
Specially for AIS targets this would be helpfull.
Any suggestions?
Thank you
4 Replies
sendCachedValues=false should keep that from happening!
That what i thought but it doesn't, i have the signalk version 2.16.0 and npm latest and nodejs 22
It’s a bug. We don’t pay attention that when subscribing.
Quick fix for you would be to ignore anything with timestamp in the past.
This helps thank you!