Hi
I have an Energy monitor where I can get actual and daily consumption and a counter.
I I query with JSON the data I get is:
Code: Select all
{
"ActTime" : 1483645232,
"ServerTime" : "2017-01-05 20:40:32",
"Sunrise" : "07:39",
"Sunset" : "16:52",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "7.373 kWh",
"CustomImage" : 0,
"Data" : "426.882 kWh",
"Description" : "",
"Favorite" : 1,
"HardwareID" : xx,
"HardwareName" : "xxx",
"HardwareType" : "RFLink Gateway USB",
"HardwareTypeVal" : xx,
"HaveTimeout" : false,
"ID" : "0000008E",
"LastUpdate" : "2017-01-05 20:39:34",
"Name" : "Owl",
"Notifications" : "false",
"Options" : "",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "418.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "xxx"
}
],
"status" : "OK",
"title" : "Devices"
}
If I use in
[power_usage] I get the value in
Data, which is the overall value.
Is there any possibility to get the
Usage and
CounterToday fileds?
Another question is regarding the line_charts. I would like to use it with more than one temp value.
Is it possible to have more than one temp charts, not in the same charts, but in different ones.
I have a
[[switches]] components in the dashboard, but in the web page section title I see the word "Schakelaars" even if I don't have this word in the conf file. Probably it's a small bug.
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat