For 1: I tried all the options but none of them worked, see below my config for this block
Code: Select all
//Zonnepanelen opbrengst + temperatuur BME280
blocks['Zonnepanelen-graph'] = {
debugButton: true,
iconColour: ['green'],
title: ['Zonnepanelen'],
graph: ['bar','line'],
devices: [20,288],
height: '200px',
width: 12,
aggregate: 'sum',
custom : {
"24 uur": {
range: 'day',
filter: 'day',
data: {
Opbrengst: 'd.v_20',
Temperatuur: 'd.te_288'
}
},
"Maand": {
range: 'month',
filter: 'month',
data: {
Opbrengst: 'd.v_20',
Temperatuur: 'd.te_288'
}
},
"Jaar wk": {
range: 'year',
filter: 'year',
groupBy: 'week',
data: {
Opbrengst: 'd.v_20',
Temperatuur: 'd.te_288'
}
},
"Jaar mnd": {
range: 'year',
filter: 'year',
groupBy: 'month',
data: {
Opbrengst: 'd.v_20',
Temperatuur: 'd.te_288'
}
}
},
legend: false,
beginAtZero: true,
refresh: 60,
drawOrderDay: ['v_20','te_288'],
drawOrderLast: ['v_20','te_288'],
drawOrderMonth: ['v_20','te_288'],
datasetColors:['lightgreen','Red']
}
These were added to the block of the solarpower+temperature graph.
The temperature is still behind the solarbars, and barely visable then.
For 2 & 3 Thanks! How do I know when a new beta is released?
For 4: Added the graph:true did the popup graph get to work (still empty, but below the json output of 1 of the AC graphs)
Code: Select all
{
"ActTime" : 1598035603,
"AstrTwilightEnd" : "23:10",
"AstrTwilightStart" : "04:17",
"CivTwilightEnd" : "21:29",
"CivTwilightStart" : "05:58",
"DayLength" : "14:17",
"NautTwilightEnd" : "22:15",
"NautTwilightStart" : "05:12",
"ServerTime" : "2020-08-21 20:46:43",
"SunAtSouth" : "13:43",
"Sunrise" : "06:35",
"Sunset" : "20:52",
"app_version" : "2020.2 (build 12213)",
"result" :
[
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "6600 Watt",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 13,
"HardwareName" : "Daikin-Slaapkamer-Verbruik",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "82330",
"LastUpdate" : "2020-08-21 20:45:02",
"Name" : "Daikin-Slaapkamer (Verbruik)",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" :
[
0
],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Electric",
"Timers" : "false",
"Type" : "Usage",
"TypeImg" : "current",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "330"
}
],
"status" : "OK",
"title" : "Devices"
}
and as well the config I have for this block+graph:
Code: Select all
//Airco Slaapkamer
blocks['AC-Slaapkamer'] = {
width:4,
icon: 'fas fa-fan',
idx: '330',
title: 'Daikin Slaapkamer',
graph: true,
popup: 'AC_Slaapkamer_graph'
}
blocks['AC_Slaapkamer_graph'] = {
debugButton: true,
title: ['Daikin Slaapkamer'],
graph: ['bar'],
devices: [330],
height: '200px',
width: 6,
custom : {
"24 uur": {
range: 'day',
filter: '24 hours',
data: {
Verbruik: 'd.v_330'
}
},
"Maand": {
range: 'month',
filter: 'month',
data: {
Verbruik: 'd.v_330'
}
},
"Jaar wk": {
range: 'year',
filter: 'year',
groupBy: 'week',
data: {
Verbruik: 'd.v_330'
}
},
"Jaar mnd": {
range: 'year',
filter: 'year',
groupBy: 'month',
data: {
Verbruik: 'd.v_330'
}
}
},
legend: false,
beginAtZero: true,
datasetColors:['orange']
}