Documentation on kWH counter
Posted: Monday 26 January 2026 15:21
I have question on the plugin documentation on device 243 subtype 29. On develop a plugin page there is info about the calculated/from device setting:
sValue are two numbers separated by semicolon like "123;123456" The first number is the actual power in Watt, the second number is actual energy in Wh. When the option "EnergyMeterMode" is set to "Calculated", the second value is ignored
Optional argument Options can set the EnergyMeterMode.
But I think this is not correct and needs to be adjusted. The calculated settings means that the total counter is calculated, not the Wh as it suggest. The calculation is on the total counter value of the device. Butt this Wh value is not ignored.
So when the device is set to calculated the second value is not ignored. Eg for a solar system which gives you a daily production you set the device to calculated and store as svalue: watts;daily production. This value will start a 0 every day, but Domoticz will calculate the total over production counter.
When you use from a solar system the total production, set the device to From device and you can store as svalue: watts;overall production.
sValue are two numbers separated by semicolon like "123;123456" The first number is the actual power in Watt, the second number is actual energy in Wh. When the option "EnergyMeterMode" is set to "Calculated", the second value is ignored
Optional argument Options can set the EnergyMeterMode.
But I think this is not correct and needs to be adjusted. The calculated settings means that the total counter is calculated, not the Wh as it suggest. The calculation is on the total counter value of the device. Butt this Wh value is not ignored.
So when the device is set to calculated the second value is not ignored. Eg for a solar system which gives you a daily production you set the device to calculated and store as svalue: watts;daily production. This value will start a 0 every day, but Domoticz will calculate the total over production counter.
When you use from a solar system the total production, set the device to From device and you can store as svalue: watts;overall production.