dz calculate time heating devices are on
Posted: Thursday 03 December 2020 8:47
Hello all,
I have 1 central heating and 4 rooms with there own floorheating and thermostat. I use a lua script per room to control the temperature. That is working perfect. Now I want to calculate how long the heating was per.room was on per month and what it was costing. I have also P1 for gas monitoring. In the log file i.can see how long a device was on, but I really don't know how to extract the time out of it. Spend already hours on reading and testing.... I know I have to create dummy devices, but that is not the problem...
The devices I'm using are:
P1 gas idx 306
vloerpomp voorhuis relais-2 204 idx 238
vloerpomp achterhuis relais-3 204 idx 239
vloerpomp zijschuur relais-4 204 idx 240
radiator app boven idx 312
I hope someone can help on the way
I have 1 central heating and 4 rooms with there own floorheating and thermostat. I use a lua script per room to control the temperature. That is working perfect. Now I want to calculate how long the heating was per.room was on per month and what it was costing. I have also P1 for gas monitoring. In the log file i.can see how long a device was on, but I really don't know how to extract the time out of it. Spend already hours on reading and testing.... I know I have to create dummy devices, but that is not the problem...
The devices I'm using are:
P1 gas idx 306
vloerpomp voorhuis relais-2 204 idx 238
vloerpomp achterhuis relais-3 204 idx 239
vloerpomp zijschuur relais-4 204 idx 240
radiator app boven idx 312
I hope someone can help on the way