Im using dsmr intergration to reed my elektric meter.
But everytime im rebooting my raspberry the meter goes to 0.
Because of that the trend is not realy usefull anymore.
Is there a way to keep the last value until the raspberry is fully started again.
Is there another way to do this?
I have a lot of solar panels placed and i think my meter wil get above 0 in summer and below 0 in winter.
So picking the highest or lowest value doesnt work for me i think.
I had the same issue with my pzeom energy meter. The value of the energy measured used to get zero with reboot. In this case I created a virtual sensor with nodered custom addon which got updated with the value of my energy meter until it had malfunction. Also I created a flow in node red to record the latest highest value and store it in a file. And a second flow which detects my device shutdown or mal functions and then uses the stored value to correct the virtual sensor value.