I use direct write from two Iotawatt units to emoncms installed on an Emonpi. Sometimes, estpecially after power outage, the Iotawatt start re-submitting all data from a historic date. Right now, this date is about five months in the past. Re-submitting takes some 20-30 hours. This is not a wanted situation, but for now it is what it is.
In this 20-30hrs period the emoncms data gets garbled. The Watt feed updates just fine, but the kWh feed gets sky-high values for the 24hr period this is going on. Example, if the daily power usage is 50-70kWh, this particular day it can be calculated to 2000 or even 4000kWh.
Here is a zoomed in short period (10s data viewed as 5s) where this happened:
Re-calculation of feed is not really an option here since this “error” is seen on all feeds, and re-calculation seems to require storing data in a new feed. Which again requires me to re-configure my entire setup and everything downstream.
It seems to be a very short period that affects the entire day’s worth of data. To me this looks like some strange handling of time stamps. Is there something to be done here to make this calculation more robust?