Electricity : instantaneous power usage
This issue deals with the instantaneous power usage :
- The app screen :
- The DomoticZ widget :
I don't understand where comme the App Value : the good one is *"Usage" : "2990 Watt",*
The second value is *"CounterToday" : "10.268 kWh",-
This is the Json call to DomoticZ API :
{
"ActTime" : 1569703784,
"AstrTwilightEnd" : "21:18",
"AstrTwilightStart" : "06:09",
"CivTwilightEnd" : "20:09",
"CivTwilightStart" : "07:17",
"DayLength" : "11:53",
"NautTwilightEnd" : "20:43",
"NautTwilightStart" : "06:43",
"ServerTime" : "2019-09-28 22:49:44",
"SunAtSouth" : "13:43",
"Sunrise" : "07:47",
"Sunset" : "19:40",
"app_version" : "4.11230",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "10.268 kWh",
"CustomImage" : 0,
"Data" : "8003.995 kWh",
"Description" : "Teleinfo kWh Total",
"EnergyMeterMode" : "0",
"Favorite" : 0,
"HardwareID" : 7,
"HardwareName" : "Teleinfo",
"HardwareType" : "Teleinfo EDF",
"HardwareTypeVal" : 19,
"HaveTimeout" : false,
"ID" : "00000710",
"LastUpdate" : "2019-09-28 22:49:40",
"Name" : "Puissance instantanée",
"Notifications" : "false",
"PlanID" : "5",
"PlanIDs" : [ 5 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "2990 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "XX"
}
],
"status" : "OK",
"title" : "Devices"
}
Edited by Keros