I added the CM113 as a virtual device (Ampere (3-Fase)) in device creation) and am using it to monitor the current usage of an EV Charger.
Here's the raw json output:
Code: Select all
{
"ActTime" : 1573823069,
"AstrTwilightEnd" : "18:47",
"AstrTwilightStart" : "05:60",
"CivTwilightEnd" : "17:26",
"CivTwilightStart" : "07:20",
"DayLength" : "08:52",
"NautTwilightEnd" : "18:07",
"NautTwilightStart" : "06:39",
"ServerTime" : "2019-11-15 14:04:29",
"SunAtSouth" : "12:23",
"Sunrise" : "07:57",
"Sunset" : "16:49",
"app_version" : "4.10717",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CustomImage" : 0,
"Data" : "16.0 A",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 11,
"HardwareName" : "dz-dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "142D8",
"LastUpdate" : "2019-11-15 14:04:28",
"Name" : "Current EVSE",
"Notifications" : "false",
"PlanID" : "14",
"PlanIDs" : [ 14 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "CM113, Electrisave",
"Timers" : "false",
"Type" : "Current",
"TypeImg" : "current",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"displaytype" : 0,
"idx" : "648"
}
],
"status" : "OK",
"title" : "Devices"
}
The field I'm interested in is the 'Data' field (obviously).
I've also noticed something strange with the AstrTwilightStart value, 05:60 is not valid. Already made a post in the main Domoticz bug thread