Sure i can... As i recall correctly, you're Dutch with a Toon. Maybe there's a little difference in the json-reference...robgeerts wrote:Could you send me your output of:
http://DOMOTICZ URL/json.htm?type=devices&filter=all&used=true&order=Name
Also to complicate things, i'm using ser2net to get it from another remote PI...
So here's the P1 Smartmeter Electricity:
Code: Select all
{
"ActTime" : 1500287441,
"ServerTime" : "2017-07-17 12:30:41",
"Sunrise" : "05:37",
"Sunset" : "21:47",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "1985.168",
"CounterDeliv" : "1925.590",
"CounterDelivToday" : "11.067 kWh",
"CounterToday" : "4.277 kWh",
"CustomImage" : 0,
"Data" : "1190169;794999;590565;1335025;0;4119",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "P1_Meterkast",
"HardwareType" : "P1 Smart Meter with LAN interface",
"HardwareTypeVal" : 5,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-07-17 12:30:36",
"Name" : "Electra",
"Notifications" : "false",
"PlanID" : "15",
"PlanIDs" : [ 15, 24, 16, 23 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "0 Watt",
"UsageDeliv" : "4119 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "679"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1500287669,
"ServerTime" : "2017-07-17 12:34:29",
"Sunrise" : "05:37",
"Sunset" : "21:47",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "724.520",
"CounterToday" : "0.247 m3",
"CustomImage" : 0,
"Data" : "724.520",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "P1_Meterkast",
"HardwareType" : "P1 Smart Meter with LAN interface",
"HardwareTypeVal" : 5,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-07-17 12:32:56",
"Name" : "Gas",
"Notifications" : "false",
"PlanID" : "15",
"PlanIDs" : [ 15, 24, 16, 23 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Gas",
"SwitchTypeVal" : 1,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "680"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1500287711,
"ServerTime" : "2017-07-17 12:35:11",
"Sunrise" : "05:37",
"Sunset" : "21:47",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 206.31100000000001,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "286.614 m3",
"CounterToday" : "180 Liter",
"CustomImage" : 0,
"Data" : "286.614 m3",
"Description" : "Meterstanden, Counter, Water. Started 01-01-2017. Initial Meterstand (Offset): 206.311\nIncluding History",
"Favorite" : 1,
"HardwareID" : 15,
"HardwareName" : "Meterstanden",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "142A9",
"LastUpdate" : "2017-07-17 12:22:05",
"Name" : "Water",
"Notifications" : "false",
"PlanID" : "23",
"PlanIDs" : [ 23, 16, 24, 15 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 2,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 1,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "601"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1500287753,
"ServerTime" : "2017-07-17 12:35:53",
"Sunrise" : "05:37",
"Sunset" : "21:47",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "13.760 kWh",
"CustomImage" : 0,
"Data" : "2961.740 kWh",
"Description" : "kWh Meter_SE_WebApi",
"Favorite" : 1,
"HardwareID" : 30,
"HardwareName" : "SolarEdge_WebAPI",
"HardwareType" : "SolarEdge via Web API",
"HardwareTypeVal" : 64,
"HaveTimeout" : false,
"ID" : "00000001",
"LastUpdate" : "2017-07-17 12:32:54",
"Name" : "Solar Generated",
"Notifications" : "false",
"Options" : "0",
"PlanID" : "23",
"PlanIDs" : [ 23, 27, 16, 24, 15 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 4,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "4840.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "667"
}
],
"status" : "OK",
"title" : "Devices"
}
Sent from my K00C using Tapatalk