After a view weeks I changed the Unit of my solar panel output from W to kW to have nicer numbers. At that time I did not look back in time to see what happened with the previous data. Today I missed my old data. Atleast that is what I thought. It is there but the numbers are to small to display. I changed the Unit back from kW to W to see it the data comes back. That was a second mistake. There was no data visible. Changed back the unit again to kW and I only see a spike. Data seems to be corrupted. Can I edit this stored data somewhere to align all data to be in kW? Or is this bad luck and should I remove the sensor and start collecting data again?
The “show” window shows correct data. When selecting “show more” the time period can be selected. That view is currupted.
Sorry for the late response. Did not see a response email and forgot my question.
The edit is working to fix my issue. Thanks for this solution.
After a power out for a few hours 2 of my power plugs were reset. This resulted in reporting the total power to be 0. That number is probably stored in the plug. I tried to fix this summary by adding the old summary number as an additional contribution but that messes up the data for that day. And it is not seen by HA in the total summary. The summery is still read from the device.
I now have to replace those two bad plugs by new ones. Then it happens again that the summary will start at 0.Is there any way to modify the summary value for the new power plug?
There are very few power plugs that have non-volatile memory that can remember the total energy after a power outage.
You can get around this by feeding the power plug total to a utility meter in home assistant and using the utility meter total instead of the plug total.
What I saw is that 2 of my 8 power plugs did not respond anymore after a few hours of power off. They were back into the “new” state. I had to connect them again to my zigbee network. The setting of the power button was also forgotten. That was most problematic one. The washing machine did not want to turn on anymore. I had to press the button on the plug first. The behavior was set to always be on when plugged into the power. And the “Child” protection was disabled which normally disables this power button on the plug. Luckily the power plug to measure the freezer still worked. If this is “normal” behavior, forgetting the state after a few hours then I have to rethink in usage. If during vacation the power is off for a few hours I expect that those plugs switch on after power comes back. Not that they stay off, what 2 of them did.
When I remove one of the “good” plugs and place it back after one day it comes back in the defined state and shows the total power since startup and in HA I see a gap in the summary line.
I will check “Utility meter” to see if that solves the missing summary data.