I have a device showing kW Hours. This resets sometimes which makes it useless for my application. So I have to create a script, which grabs the value, and then when it goes to 0 and starts counting again adds it to the value it had before it has been zeroed again. (I am thinking maybe take the difference every time the value changes and add it to a virtual device. Would that work ?)
I will need the daily total kW Hour number at 21.55 every day for another calculation. At or after midnight I want to reset it to 0 again, and start the process of adding up again.
Not easy I think but I hope that can be done ?
I will need the daily total kW Hour number at 21.55 every day for another calculation. At or after midnight I want to reset it to 0 again, and start the process of adding up again.
Not easy I think but I hope that can be done ?
Comment