I'm trying to figure out how long during a day my water heater is working.
i've figure out how to use the time-difference function in LUA but i can't seem to aggregate the differences to a total amount.
from what i know the scripts run every minute by domoticz, and inside the script there's no variable who can keep the information without it getting written-over. I've tried using user variables but those too didn't kept the information.
is there a place or a way to create variables "above" the scripts? something that will keep the information?
Must be cleaned all topics go to the right subforum
1 post • Page 1 of 1
Users browsing this forum: No registered users and 5 guests