I had an unexpected behavior yesterday with my setup.
Noticed that my openHAB Cloud connection was down. Checked online and showed offline. Also not getting any notifications etc.
Restarted by openHAB installation to recover - which brough connection back online.
What I did nto expect was to see the historical (missed) GPS Tracker events being played back as you can see in the following (was recorded late in the run but look at Annes Phone):
This was at about 11h00. Took quite some time to get through all the “missed” events.
While this is a nice “feature” surely it will put a load on the servers? Having to sore and replay all those events?
Are you certain it’s the server that cached them and not the GPSTracker app itself? When your machine went offline it also severed the connection to the app. myopenhab.org only serves as a proxy.
Thanks Rich.
No, to be honest I can’t say for sure. But maybe some more details?
I use OwnTracks on the devices, which uploads the location data to GPS Tracker (https://home.myopenhab.org/gstracker/owntracks)
I am fairly confident that OwnTracks does NOT cache the data - if a device has no data then there are no updates and no historical data is sent when there is data.
I guess the GPS Tracker could store the data - but this runs on the home.myopenhab.org server - so the concern would still be valid?
But the device does have data. It just can’t deliver it to the server.
That’s my point. As I understand it, GPS Tracker doesn’t run on myopenhab.org. It runs on your openHAB instance. myopenhab.org only provides the connection to your openHAB instance. If your openHAB isn’t connected to myopenhab.org, OwnTracks can’t reach the server and I believe by default it will cache the locations until connectivity is reestablished. IIRC there is actually a setting in the app to control that behavior.