Dashticz Block definitionLokonli wrote: ↑Monday 12 April 2021 16:14Can you post your block definition?
and the Domoticz json ouput of your device:Replace 123 with your Domoticz device id.Code: Select all
http://domotics-ip:port/json.htm?type=devices&rid=123
Preferably add a screen shot of the problem as well.
Code: Select all
blocks['Solar'] = {
title: 'PV',
type: 'dial',
width: 6,
showring: true,
flash: false,
shownumbers: true,
showunit: true,
last_update: false,
min: 0,
max: 30,
values : [
{
value: 'CounterToday',
idx: 337,
unit: 'kWh'
},
{
value: 'Usage',
idx: 337,
icon: 'fas fa-solar-panel',
unit: 'W'
},
]
}
Code: Select all
"ActTime" : 1618227367,
"AstrTwilightEnd" : "22:42",
"AstrTwilightStart" : "04:49",
"CivTwilightEnd" : "21:11",
"CivTwilightStart" : "06:20",
"DayLength" : "13:41",
"NautTwilightEnd" : "21:54",
"NautTwilightStart" : "05:37",
"ServerTime" : "2021-04-12 13:36:07",
"SunAtSouth" : "13:45",
"Sunrise" : "06:55",
"Sunset" : "20:36",
"app_version" : "2020.2",
"result" :
[
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "8.967 kWh",
"CustomImage" : 0,
"Data" : "15481.811 kWh",
"Description" : "",
"EnergyMeterMode" : "",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "Weerdata",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "00082337",
"LastUpdate" : "2021-04-12 13:36:00",
"Name" : "Zonnecel Totaal",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" :
[
0
],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "2025 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "337"
}
],
"status" : "OK",
"title" : "Devices"
}