I am maintaining 3 iotawatts that upload to a cloud-based Influx DB. Storage is sparse so I have short retention periods for the “power” measurements that the Iotawatt uploads (let’s say 1 week).
if the Iotawatt goes offline for more than a week, Influx returns a 400 as the device tries to catch up when it comes back online, because it is trying to post data that is outside the retention period.
Is there any way the device could detect this and move on to the more recent records - currently the only workaround I found is to temporarily adjust the retention period in Influx?
Thanks!