The past few days I've noticed that from 00:00-01:00 on the energy dashboard I've had a negative "untracked consumption" of around 500-1000 Wh. I don't have any power generation in my apartment, so this is all due to some math or sensor errors.
I have a standard american split phase panel, and on the main feeds I have a shelly Pro3-EM. Those two sensors are my energy "sources" rather than using the laggy grid data. While looking into this I discovered some strange values for other sensors in that same hour. In particular, I have a constantly running vent fan that draws about 15W, and my cable modem and a small switch on another sensor which draws around 13.4W. If I look at those sensors directly, I see they list their consumption for today (20 hours into the day) at 290Wh and 267Wh, respectively. Basically, exactly what you would expect for 20 hours of use at their power draw.
However, if I hover over that first hour of the day on the individual device detail usage chart, those two devices show .13kWh and .11kWh, which is obviously more than they should be showing. Every subsequent hour they are showing either 0.01 or 0.02, which is expected.
When I look at the details of the consumption sensors for those devices I see the expected saw wave pattern dropping to 0 every midnight.
So how is the energy in the individual device detail usage calculated? Something odd is going on here