[kWh] Which device type to select to update with JSON
Posted: Wednesday 13 April 2016 3:20
There are several ways to get kWh data in Domoticz. But none of them seem to be matching to my setup
I have a kWh meter which sends me 3 kWh values once every x minutes. This is not a counter it is an actual value. So i created a dummy device (Electric Instant Counter) and think i need to use the following JSON url
I am correct to send the following JSON? Since POWER is in Watts and i only have kWh
But this seems to tell domoticz that the day usage of today is 6574.000 kwh, or do i need to wait for 24hs to get a normal reading? I want to achieve the same as the youless counter. I want to know the kwh usage per 24h
Note: I have 3 values per meter (L1 / L2 / L3) can i create a device to sort this out?
Note2: Maybe i don`t understand this due to the fact that it is translated form English to Dutch

I have a kWh meter which sends me 3 kWh values once every x minutes. This is not a counter it is an actual value. So i created a dummy device (Electric Instant Counter) and think i need to use the following JSON url
Code: Select all
Electricity (instant and counter)
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=POWER;ENERGY
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
POWER = current power
ENERGY = cumulative energy in Watt-hours (Wh) (this is just a "dummy" counter, all counting must be done by client)
Code: Select all
/json.htm?type=command¶m=udevice&idx=29&nvalue=0&svalue=;6574000
Note: I have 3 values per meter (L1 / L2 / L3) can i create a device to sort this out?
Note2: Maybe i don`t understand this due to the fact that it is translated form English to Dutch