hide custom rooms

This commit is contained in:
JcDenis 2024-08-10 17:52:44 +02:00
parent 96135b3a71
commit e9190fb82e
3 changed files with 95 additions and 61 deletions

File diff suppressed because one or more lines are too long

View file

@ -7528,7 +7528,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 910, "x": 910,
"y": 5280, "y": 5220,
"wires": [ "wires": [
[ [
"92d4def3b42f658e" "92d4def3b42f658e"
@ -7545,7 +7545,7 @@
"g": "d62c9cf0cb81a537", "g": "d62c9cf0cb81a537",
"name": "buckets which are rooms", "name": "buckets which are rooms",
"info": "", "info": "",
"x": 650, "x": 930,
"y": 5160, "y": 5160,
"wires": [] "wires": []
}, },
@ -12066,7 +12066,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 490, "x": 670,
"y": 5280, "y": 5280,
"wires": [ "wires": [
[ [

View file

@ -82,11 +82,12 @@
"a236904666d238af", "a236904666d238af",
"9ff63582ab95f6c6", "9ff63582ab95f6c6",
"e5e35f07fafcaa5b", "e5e35f07fafcaa5b",
"cd511cc2255f17b9" "cd511cc2255f17b9",
"8f489bac9f5ad1a8"
], ],
"x": 94, "x": 94,
"y": 439, "y": 499,
"w": 2712, "w": 2892,
"h": 322 "h": 322
}, },
{ {
@ -196,6 +197,27 @@
"w": 4654, "w": 4654,
"h": 6254 "h": 6254
}, },
{
"id": "b15c602187c606e4",
"type": "group",
"z": "aab0c030de7df5cc",
"name": "home - room",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"425778bd8094ac81",
"49270b06a63f91cf",
"5eec592fe4dcd9f3"
],
"x": 94,
"y": 19,
"w": 352,
"h": 82
},
{ {
"id": "a3df49e3ec177d8d", "id": "a3df49e3ec177d8d",
"type": "group", "type": "group",
@ -1091,27 +1113,6 @@
"w": 2202, "w": 2202,
"h": 562 "h": 562
}, },
{
"id": "b15c602187c606e4",
"type": "group",
"z": "aab0c030de7df5cc",
"name": "home - room",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"425778bd8094ac81",
"49270b06a63f91cf",
"5eec592fe4dcd9f3"
],
"x": 94,
"y": 19,
"w": 352,
"h": 82
},
{ {
"id": "116de42631d4b17a", "id": "116de42631d4b17a",
"type": "link out", "type": "link out",
@ -1497,7 +1498,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 280, "x": 280,
"y": 660, "y": 720,
"wires": [ "wires": [
[ [
"3b74b2448cdb18a9" "3b74b2448cdb18a9"
@ -1532,7 +1533,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1100, "x": 1100,
"y": 720, "y": 780,
"wires": [ "wires": [
[ [
"dc4343f890e4a3e1" "dc4343f890e4a3e1"
@ -1552,7 +1553,7 @@
"stream": false, "stream": false,
"addname": "measurement", "addname": "measurement",
"x": 470, "x": 470,
"y": 660, "y": 720,
"wires": [ "wires": [
[ [
"b2e5e7af716d4ec6" "b2e5e7af716d4ec6"
@ -1572,7 +1573,7 @@
"stream": false, "stream": false,
"addname": "field", "addname": "field",
"x": 690, "x": 690,
"y": 660, "y": 720,
"wires": [ "wires": [
[ [
"aa39991b7847c574" "aa39991b7847c574"
@ -1605,7 +1606,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 900, "x": 900,
"y": 660, "y": 720,
"wires": [ "wires": [
[ [
"9ee5e12567650c9d" "9ee5e12567650c9d"
@ -1661,7 +1662,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1270, "x": 1270,
"y": 600, "y": 660,
"wires": [ "wires": [
[ [
"9e4bfee0db3051d4" "9e4bfee0db3051d4"
@ -1678,7 +1679,7 @@
"031a6afd8300356a" "031a6afd8300356a"
], ],
"x": 135, "x": 135,
"y": 720, "y": 780,
"wires": [ "wires": [
[ [
"ef424db05e8a1103" "ef424db05e8a1103"
@ -1704,7 +1705,7 @@
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 290, "x": 290,
"y": 720, "y": 780,
"wires": [ "wires": [
[ [
"9ee5e12567650c9d" "9ee5e12567650c9d"
@ -1730,7 +1731,7 @@
"topic": "topic", "topic": "topic",
"outputs": 1, "outputs": 1,
"x": 580, "x": 580,
"y": 540, "y": 600,
"wires": [ "wires": [
[ [
"4ed33d50e1b4ebc9" "4ed33d50e1b4ebc9"
@ -1765,7 +1766,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 830, "x": 830,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"9043871af737eb1a" "9043871af737eb1a"
@ -1800,7 +1801,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 310, "x": 310,
"y": 540, "y": 600,
"wires": [ "wires": [
[ [
"1c55a9cf641c38ba" "1c55a9cf641c38ba"
@ -1848,7 +1849,7 @@
"9daae248b4f1952b" "9daae248b4f1952b"
], ],
"x": 1435, "x": 1435,
"y": 600, "y": 660,
"wires": [] "wires": []
}, },
{ {
@ -1881,7 +1882,7 @@
"e5e35f07fafcaa5b" "e5e35f07fafcaa5b"
], ],
"x": 135, "x": 135,
"y": 600, "y": 660,
"wires": [ "wires": [
[ [
"1dd86a8b8b446749", "1dd86a8b8b446749",
@ -1900,7 +1901,7 @@
"e509e8b44c9007e1" "e509e8b44c9007e1"
], ],
"x": 135, "x": 135,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"4ed33d50e1b4ebc9" "4ed33d50e1b4ebc9"
@ -1935,7 +1936,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1040, "x": 1040,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"57e1a96c1bf54302", "57e1a96c1bf54302",
@ -1984,7 +1985,7 @@
"3c869e854f5d6809" "3c869e854f5d6809"
], ],
"x": 1415, "x": 1415,
"y": 720, "y": 780,
"wires": [] "wires": []
}, },
{ {
@ -2006,7 +2007,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 1290, "x": 1290,
"y": 720, "y": 780,
"wires": [ "wires": [
[ [
"b6323e1460f6f50c" "b6323e1460f6f50c"
@ -2032,7 +2033,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 1250, "x": 1250,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"458c9a22f37b6191" "458c9a22f37b6191"
@ -4661,7 +4662,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1480, "x": 1480,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"314561e371cc1d33" "314561e371cc1d33"
@ -4681,10 +4682,10 @@
"stream": false, "stream": false,
"addname": "room", "addname": "room",
"x": 1710, "x": 1710,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"d261fda32fe95984" "8f489bac9f5ad1a8"
] ]
] ]
}, },
@ -4708,8 +4709,8 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1900, "x": 2080,
"y": 480, "y": 600,
"wires": [ "wires": [
[ [
"37a5b70ff95bdfaa" "37a5b70ff95bdfaa"
@ -4733,8 +4734,8 @@
"timeout": "", "timeout": "",
"count": "", "count": "",
"reduceRight": false, "reduceRight": false,
"x": 2070, "x": 2250,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"a236904666d238af" "a236904666d238af"
@ -4775,8 +4776,8 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2240, "x": 2420,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"9ff63582ab95f6c6" "9ff63582ab95f6c6"
@ -4808,8 +4809,8 @@
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"className": "", "className": "",
"x": 2430, "x": 2610,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"cd511cc2255f17b9" "cd511cc2255f17b9"
@ -4826,8 +4827,8 @@
"links": [ "links": [
"1be6ca3c2b8615a2" "1be6ca3c2b8615a2"
], ],
"x": 2765, "x": 2945,
"y": 480, "y": 540,
"wires": [] "wires": []
}, },
{ {
@ -4901,8 +4902,8 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 2610, "x": 2790,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"458c9a22f37b6191" "458c9a22f37b6191"
@ -17287,5 +17288,38 @@
"x": 1720, "x": 1720,
"y": 40, "y": 40,
"wires": [] "wires": []
},
{
"id": "8f489bac9f5ad1a8",
"type": "switch",
"z": "aab0c030de7df5cc",
"g": "b64c96e257072f51",
"name": "exception",
"property": "room",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "(agenda|system)",
"vt": "str",
"case": false
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1900,
"y": 540,
"wires": [
[
"37a5b70ff95bdfaa"
],
[
"d261fda32fe95984"
]
]
} }
] ]