You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the timestamp is before the firware was built, there is something seriously wrong..
643
+
if(now < FirmwareVersion::BuildEpoch) {
645
644
returnfalse;
646
645
}
647
-
// There are cases where the meter reports before the hour. The update method will then receive the meter timestamp as reference, thus there will not be 3600s between.
648
-
//Leaving a 100s buffer for these cases
649
-
if(now-day.lastMeterReadTime > 3500) {
646
+
647
+
//If the timestamp is before the last time we updated, there is also something wrong..
0 commit comments