Waziup / WaziCloud

WAZIUP Cloud and local platform
31 stars 28 forks source link

Strange timestamps #218

Open cdupont opened 4 years ago

cdupont commented 4 years ago

The gateway upload the datapoints in burst, which is normal. However, there seems to be a lot uploaded at each bursts:

Screenshot from 2020-03-20 21-44-36

I programed a WaziDev to send some data on device "MyDevice", and then stopped it. Then subscribing with MQTT:

mosquitto_sub -L "mqtt://api.waziup.io/devices/MyDevice/sensors/SM1/value"
{"value":0,"timestamp":"2020-03-20T20:52:04Z"}
{"value":1,"timestamp":"2020-03-20T20:52:17Z"}
{"value":0,"timestamp":"2020-03-20T20:52:25Z"}
{"value":1,"timestamp":"2020-03-20T20:52:38Z"}
{"value":2,"timestamp":"2020-03-20T20:52:51Z"}
.....

I keep receiving MQTT publishes with the all the datapoints, even AFTER I stopped the WaziDev. I receive all the datapoints at each Edge wakeup, apparently. This is the bug reported by Paul.