allow to select offloading entity from UI

This commit is contained in:
JcDenis 2024-05-08 16:42:31 +02:00
parent b413936083
commit 9142b601e1
5 changed files with 634 additions and 646 deletions

View file

@ -506,19 +506,6 @@
"visible": "true",
"disabled": "false"
},
{
"id": "3f3bb7d3a3b206d0",
"type": "ui-group",
"name": "Consommation linky",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "82b3ef69e7817bbb",
"type": "ui-group",
@ -1026,33 +1013,6 @@
"visible": "true",
"disabled": "false"
},
{
"id": "2e025331300821aa",
"type": "ui-group",
"name": "Production photovoltaïque",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "3fe7bc27344a324e",
"type": "ui-group",
"d": true,
"name": "Electricité",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "c19749d8e5cc1e1f",
"type": "ui-group",

File diff suppressed because one or more lines are too long

View file

@ -61,14 +61,12 @@
},
"nodes": [
"04de52a5f5237233",
"84416ebc7a349dd4",
"638b6d92fcb75ad5",
"2bdcefabbf93c852"
"84416ebc7a349dd4"
],
"x": 68,
"y": 353,
"w": 644,
"h": 494
"h": 254
},
{
"id": "c520bebe00c3589e",
@ -92,24 +90,25 @@
"h": 82
},
{
"id": "e221264ccaca42a1",
"id": "2a1bd2a4837e01f7",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "home - device - auto",
"name": "home - ui select room",
"style": {
"fill": "#ffC000",
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
"label": true,
"stroke": "#6f2fa0"
},
"nodes": [
"ce3cbb4ae72bbc14",
"5edfa91275f58882",
"fad822d4d6bc47a2",
"9beae381e402ac2c"
"601b5a75c014b306",
"29f190c009d9bd2b",
"6877b109cf50132e",
"fc901a06715c2d2a"
],
"x": 94,
"y": 199,
"w": 642,
"x": 1054,
"y": 19,
"w": 562,
"h": 82
},
{
@ -154,70 +153,6 @@
"w": 572,
"h": 82
},
{
"id": "638b6d92fcb75ad5",
"type": "group",
"z": "e19f53e3dc7ab928",
"g": "df46e2504e16fc3e",
"name": "home - ui - chart linky power",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"3abfeada773a5af2",
"ae8ac7965d6fb684",
"47316bf97f84b277"
],
"x": 94,
"y": 619,
"w": 552,
"h": 82
},
{
"id": "2bdcefabbf93c852",
"type": "group",
"z": "e19f53e3dc7ab928",
"g": "df46e2504e16fc3e",
"name": "home - ui - chart photovoltaic power",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"c4bb801a22f7f669",
"6c11220b26097fc3",
"a2bfb1feb168f963"
],
"x": 94,
"y": 739,
"w": 592,
"h": 82
},
{
"id": "2a1bd2a4837e01f7",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "home - ui select room",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true,
"stroke": "#6f2fa0"
},
"nodes": [
"601b5a75c014b306",
"29f190c009d9bd2b",
"6877b109cf50132e",
"fc901a06715c2d2a"
],
"x": 1054,
"y": 19,
"w": 562,
"h": 82
},
{
"id": "d210ac6cc3e866c0",
"type": "change",
@ -526,88 +461,6 @@
]
]
},
{
"id": "3abfeada773a5af2",
"type": "ui-chart",
"z": "e19f53e3dc7ab928",
"g": "638b6d92fcb75ad5",
"group": "3f3bb7d3a3b206d0",
"name": "ui chart linky power",
"label": "",
"order": 9007199254740991,
"chartType": "line",
"category": "_field",
"categoryType": "property",
"xAxisProperty": "_time",
"xAxisPropertyType": "msg",
"xAxisType": "time",
"yAxisProperty": "_value",
"ymin": "",
"ymax": "",
"action": "replace",
"pointShape": "false",
"pointRadius": "2",
"showLegend": false,
"removeOlder": 1,
"removeOlderUnit": "86400",
"removeOlderPoints": "100",
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"width": 6,
"height": "6",
"className": "",
"x": 530,
"y": 660,
"wires": [
[]
]
},
{
"id": "ae8ac7965d6fb684",
"type": "influxdb in",
"z": "e19f53e3dc7ab928",
"g": "638b6d92fcb75ad5",
"influxdb": "e408b55d1dc6870d",
"name": "",
"query": "from(bucket: \"home\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 15m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"linky\" and r._field == \"power\"\n )",
"rawOutput": false,
"precision": "",
"retentionPolicy": "",
"org": "iotredloop",
"x": 300,
"y": 660,
"wires": [
[
"3abfeada773a5af2"
]
]
},
{
"id": "47316bf97f84b277",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "638b6d92fcb75ad5",
"name": "home - ui - chart linky power",
"links": [
"004bb30c27c94fb4"
],
"x": 135,
"y": 660,
"wires": [
[
"ae8ac7965d6fb684"
]
]
},
{
"id": "e01f4a19b0701f2c",
"type": "catch",
@ -666,167 +519,6 @@
"y": 60,
"wires": []
},
{
"id": "ce3cbb4ae72bbc14",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "e221264ccaca42a1",
"name": "home - device- auto",
"links": [
"fb0afb89fb191395"
],
"x": 135,
"y": 240,
"wires": [
[
"5edfa91275f58882"
]
]
},
{
"id": "5edfa91275f58882",
"type": "credentials",
"z": "e19f53e3dc7ab928",
"g": "e221264ccaca42a1",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 240,
"wires": [
[
"fad822d4d6bc47a2"
]
]
},
{
"id": "fad822d4d6bc47a2",
"type": "change",
"z": "e19f53e3dc7ab928",
"g": "e221264ccaca42a1",
"name": "ecu-c / xxx / photovoltaic / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ecu-c",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 240,
"wires": [
[
"9beae381e402ac2c"
]
]
},
{
"id": "9beae381e402ac2c",
"type": "link out",
"z": "e19f53e3dc7ab928",
"g": "e221264ccaca42a1",
"name": "home - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 695,
"y": 240,
"wires": []
},
{
"id": "c4bb801a22f7f669",
"type": "ui-chart",
"z": "e19f53e3dc7ab928",
"g": "2bdcefabbf93c852",
"group": "2e025331300821aa",
"name": "ui chart photovoltac power",
"label": "",
"order": 9007199254740991,
"chartType": "line",
"category": "_field",
"categoryType": "property",
"xAxisProperty": "_time",
"xAxisPropertyType": "msg",
"xAxisType": "time",
"yAxisProperty": "_value",
"ymin": "",
"ymax": "",
"action": "replace",
"pointShape": "false",
"pointRadius": "2",
"showLegend": false,
"removeOlder": 1,
"removeOlderUnit": "86400",
"removeOlderPoints": "100",
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"width": 6,
"height": "6",
"className": "",
"x": 550,
"y": 780,
"wires": [
[]
]
},
{
"id": "6c11220b26097fc3",
"type": "influxdb in",
"z": "e19f53e3dc7ab928",
"g": "2bdcefabbf93c852",
"influxdb": "e408b55d1dc6870d",
"name": "",
"query": "from(bucket: \"cave\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 15m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"power\" and r._field == \"solar panels\"\n )",
"rawOutput": false,
"precision": "",
"retentionPolicy": "",
"org": "iotredloop",
"x": 300,
"y": 780,
"wires": [
[
"c4bb801a22f7f669"
]
]
},
{
"id": "a2bfb1feb168f963",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "2bdcefabbf93c852",
"name": "home - ui - chart linky power",
"links": [
"004bb30c27c94fb4"
],
"x": 135,
"y": 780,
"wires": [
[
"6c11220b26097fc3"
]
]
},
{
"id": "601b5a75c014b306",
"type": "link out",

View file

@ -15110,7 +15110,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 2,
"width": "1",
"height": "1",
@ -15133,7 +15133,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 1,
"width": "5",
"height": "1",
@ -15156,7 +15156,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 4,
"width": "6",
"height": "1",
@ -15179,7 +15179,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 5,
"width": "6",
"height": "1",
@ -15202,7 +15202,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 6,
"width": "6",
"height": "1",
@ -15408,7 +15408,7 @@
"z": "aab0c030de7df5cc",
"d": true,
"g": "37f02e75f6e70daa",
"group": "3fe7bc27344a324e",
"group": "",
"order": 1,
"width": "6",
"height": "1",

File diff suppressed because it is too large Load diff