2024-04-28 20:46:19 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "f92af28dd3f79491",
|
|
|
|
"type": "tab",
|
|
|
|
"label": "R.Diner",
|
|
|
|
"disabled": false,
|
|
|
|
"info": "",
|
|
|
|
"env": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "089cb093a1dd98b4",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "diner - bucket",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ffC000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#ffC000"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"cfa9b679a6b777b5",
|
|
|
|
"4d7778e0678c41e6",
|
|
|
|
"e6e1bdcedd4890e9"
|
|
|
|
],
|
|
|
|
"x": 94,
|
|
|
|
"y": 19,
|
|
|
|
"w": 342,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "acc2b68df2e02c74",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "diner - ui select room",
|
|
|
|
"style": {
|
|
|
|
"fill": "#6f2fa0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#6f2fa0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"bbf50f3943683db6",
|
|
|
|
"d6202f83353ef991",
|
|
|
|
"82bd3b8afaedc020",
|
|
|
|
"79d4649faa2ab9c9"
|
|
|
|
],
|
|
|
|
"x": 1054,
|
|
|
|
"y": 19,
|
|
|
|
"w": 562,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "52c7fa5b6c639641",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "diner - scene - telegram motion",
|
|
|
|
"style": {
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.1",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"1c1e708588c48cb5",
|
|
|
|
"e1b1ab94c02ca0f2",
|
|
|
|
"ce1d94991a7cd0dc",
|
|
|
|
"c801343f33b03868",
|
|
|
|
"159225c7783160d6",
|
|
|
|
"6deb0c2bd68abdcb",
|
|
|
|
"98175ba1131aa573",
|
|
|
|
"bbcc85437619ce15",
|
|
|
|
"c0b9b58c3264a04c"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 739,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 1462,
|
|
|
|
"h": 82
|
|
|
|
},
|
2024-04-29 20:45:33 +00:00
|
|
|
{
|
|
|
|
"id": "1d3e2764fb8f6756",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "",
|
|
|
|
"style": {
|
|
|
|
"fill": "#777777",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"a0a7213d6a2474dc",
|
|
|
|
"c1608187ad55152b"
|
|
|
|
],
|
|
|
|
"x": 68,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 233,
|
2024-04-29 20:45:33 +00:00
|
|
|
"w": 1314,
|
|
|
|
"h": 374
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "126a206e3b9f8d84",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "diner - alexa",
|
|
|
|
"style": {
|
|
|
|
"fill": "#777777",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"e2bcd290d3182190",
|
|
|
|
"ed48b41a8d65c068",
|
|
|
|
"460739902e4300ec",
|
|
|
|
"9c5befdabe842906"
|
|
|
|
],
|
|
|
|
"x": 68,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 893,
|
2024-04-29 20:45:33 +00:00
|
|
|
"w": 1454,
|
|
|
|
"h": 494
|
|
|
|
},
|
2024-05-05 20:15:21 +00:00
|
|
|
{
|
|
|
|
"id": "40eb94cad73ff69b",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"name": "catch error",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ff0000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#ff0000"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"656bc46cc7b25d65",
|
|
|
|
"969c901f6f98bc4b",
|
|
|
|
"5f003111067c7d2b"
|
|
|
|
],
|
|
|
|
"x": 534,
|
|
|
|
"y": 19,
|
|
|
|
"w": 422,
|
|
|
|
"h": 82
|
|
|
|
},
|
2024-04-28 20:46:19 +00:00
|
|
|
{
|
|
|
|
"id": "a0a7213d6a2474dc",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "1d3e2764fb8f6756",
|
|
|
|
"name": "diner - scene - lighting ceiling",
|
|
|
|
"style": {
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.1",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"bba3f0353d4702db",
|
|
|
|
"9d3a986866c3febc",
|
|
|
|
"94c9fb94b0b972e2",
|
|
|
|
"2b30160f07c7d626"
|
|
|
|
],
|
|
|
|
"x": 694,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 311.5,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 662,
|
|
|
|
"h": 97
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "c1608187ad55152b",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "1d3e2764fb8f6756",
|
|
|
|
"name": "diner - device - lighting",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ffC000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"1c2cef0a488b0be5",
|
|
|
|
"ad5fb20957fedf7a",
|
|
|
|
"add6c1d206525445",
|
|
|
|
"a17226be170b1430",
|
|
|
|
"e8b4b03dac6d2c7e",
|
|
|
|
"40c44f05d6195e9c",
|
|
|
|
"52c65b4926c01dcf"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 259,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 502,
|
|
|
|
"h": 322
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e2bcd290d3182190",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "126a206e3b9f8d84",
|
|
|
|
"name": "diner - alexa - light",
|
|
|
|
"style": {
|
|
|
|
"fill": "#6f2fa0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"af06cacb11fff5fe",
|
|
|
|
"42c6c2fa748e4af6",
|
|
|
|
"6c0c55fd0aa68012",
|
|
|
|
"80a47335698bad24",
|
|
|
|
"0c10e86097e8a88a",
|
|
|
|
"ea130ca46f50e095",
|
|
|
|
"75ca38de7d418b17"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 919,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 1402,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ed48b41a8d65c068",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "126a206e3b9f8d84",
|
|
|
|
"name": "diner - alexa - motion",
|
|
|
|
"style": {
|
|
|
|
"fill": "#6f2fa0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"2f05be15df782458",
|
|
|
|
"83dd74e85a3b5fd8",
|
|
|
|
"cddcfbc2907339b1",
|
|
|
|
"ef749476b5d2419f",
|
|
|
|
"cfa5810aefc53216"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1159,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 992,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "460739902e4300ec",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "126a206e3b9f8d84",
|
|
|
|
"name": "diner - alexa - aperture",
|
|
|
|
"style": {
|
|
|
|
"fill": "#6f2fa0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"eaab34a171566bb1",
|
|
|
|
"9e4ed658bd7288e2",
|
|
|
|
"14d6f28a5706817e",
|
|
|
|
"4f50879f03a7d340",
|
|
|
|
"4751aa206605fdd9"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1279,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 892,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "9c5befdabe842906",
|
|
|
|
"type": "group",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "126a206e3b9f8d84",
|
|
|
|
"name": "diner - alexa - temperature",
|
|
|
|
"style": {
|
|
|
|
"fill": "#6f2fa0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"b203a0f8c491d028",
|
|
|
|
"f78d99bc5070f731",
|
|
|
|
"4afc1164fa9d0bc4",
|
|
|
|
"b89d513cb14aa267",
|
|
|
|
"21c371f9cb1f0be5"
|
|
|
|
],
|
|
|
|
"x": 94,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1039,
|
2024-04-28 20:46:19 +00:00
|
|
|
"w": 1032,
|
|
|
|
"h": 82
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cfa9b679a6b777b5",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "089cb093a1dd98b4",
|
|
|
|
"name": "bucket",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "diner",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "bucket",
|
|
|
|
"pt": "flow",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 270,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e6e1bdcedd4890e9"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4d7778e0678c41e6",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "089cb093a1dd98b4",
|
|
|
|
"name": "diner - bucket",
|
|
|
|
"links": [
|
|
|
|
"25445f5a9b787a0a"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"cfa9b679a6b777b5"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e6e1bdcedd4890e9",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "089cb093a1dd98b4",
|
|
|
|
"name": "diner - bucket",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
2024-05-05 20:15:21 +00:00
|
|
|
"2e7bb0e6e6079d56",
|
2024-04-28 20:46:19 +00:00
|
|
|
"add6c1d206525445",
|
2024-05-05 20:15:21 +00:00
|
|
|
"e2173712f7b8b21d",
|
|
|
|
"668589ced855b77f"
|
2024-04-28 20:46:19 +00:00
|
|
|
],
|
|
|
|
"x": 395,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bbf50f3943683db6",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "acc2b68df2e02c74",
|
|
|
|
"name": "diner - ui select room",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"1be6ca3c2b8615a2"
|
|
|
|
],
|
|
|
|
"x": 1575,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d6202f83353ef991",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "acc2b68df2e02c74",
|
|
|
|
"name": "diner - ui select room",
|
|
|
|
"links": [
|
|
|
|
"74172837e07ab80d"
|
|
|
|
],
|
|
|
|
"x": 1095,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"82bd3b8afaedc020"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "82bd3b8afaedc020",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "acc2b68df2e02c74",
|
|
|
|
"name": "enabled button",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "flow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "enabled",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.payload != msg.room",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1260,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"79d4649faa2ab9c9"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "79d4649faa2ab9c9",
|
|
|
|
"type": "ui-button",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "acc2b68df2e02c74",
|
|
|
|
"group": "36396f5285df476c",
|
|
|
|
"name": "",
|
|
|
|
"label": "Diner",
|
2024-05-08 13:58:47 +00:00
|
|
|
"order": 10,
|
2024-04-28 20:46:19 +00:00
|
|
|
"width": "2",
|
|
|
|
"height": "1",
|
|
|
|
"tooltip": "",
|
|
|
|
"color": "",
|
|
|
|
"bgcolor": "",
|
|
|
|
"className": "",
|
|
|
|
"icon": "",
|
|
|
|
"iconPosition": "left",
|
|
|
|
"payload": "bucket",
|
|
|
|
"payloadType": "flow",
|
|
|
|
"topic": "topic",
|
|
|
|
"topicType": "msg",
|
|
|
|
"x": 1450,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"bbf50f3943683db6"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1c1e708588c48cb5",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "diner - scene - telegram motion",
|
|
|
|
"links": [
|
|
|
|
"031a6afd8300356a"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"159225c7783160d6"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e1b1ab94c02ca0f2",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "message",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "payload",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'type':'photo',\t 'caption':'détection mouvement entrée',\t 'content':msg.tmp\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1380,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"6deb0c2bd68abdcb"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ce1d94991a7cd0dc",
|
|
|
|
"type": "http request",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "get snapshot",
|
|
|
|
"method": "GET",
|
|
|
|
"ret": "bin",
|
|
|
|
"paytoqs": "ignore",
|
|
|
|
"url": "",
|
|
|
|
"tls": "",
|
|
|
|
"persist": false,
|
|
|
|
"proxy": "",
|
|
|
|
"insecureHTTPParser": false,
|
|
|
|
"authType": "",
|
|
|
|
"senderr": false,
|
|
|
|
"headers": [],
|
|
|
|
"x": 1190,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e1b1ab94c02ca0f2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "c801343f33b03868",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "camera url",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "flow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "url",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "metrics[msg.bucket]camera.url",
|
|
|
|
"tot": "global"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 990,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ce1d94991a7cd0dc"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "159225c7783160d6",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "trigger",
|
|
|
|
"property": "path",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "parking/motion/sensor 2",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "parking/motion/sensor",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 270,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"98175ba1131aa573"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"98175ba1131aa573"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "6deb0c2bd68abdcb",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "diner - scene - telegram motion",
|
|
|
|
"mode": "link",
|
2024-05-05 20:15:21 +00:00
|
|
|
"links": [
|
|
|
|
"ba0f26a893bbaac2"
|
|
|
|
],
|
2024-04-28 20:46:19 +00:00
|
|
|
"x": 1515,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "98175ba1131aa573",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "true",
|
|
|
|
"property": "payload",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "true"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 430,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"c0b9b58c3264a04c"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bbcc85437619ce15",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "repeat 5 s",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "pay",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "5",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "s",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 800,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"c801343f33b03868"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "c0b9b58c3264a04c",
|
|
|
|
"type": "delay",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "52c7fa5b6c639641",
|
|
|
|
"name": "1 ms / miin",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "1",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "minute",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": true,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 610,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 780,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"bbcc85437619ce15"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bba3f0353d4702db",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "a0a7213d6a2474dc",
|
|
|
|
"name": "diner - scene - lighting ceiling",
|
|
|
|
"links": [
|
|
|
|
"031a6afd8300356a"
|
|
|
|
],
|
|
|
|
"x": 735,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 360,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"94c9fb94b0b972e2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "9d3a986866c3febc",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "a0a7213d6a2474dc",
|
|
|
|
"name": "scene lighting / ceiling / dimmer",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "flow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "light",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "ceiling",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dimmer",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.type",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.on",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "4",
|
|
|
|
"tot": "num"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.off",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "0",
|
|
|
|
"tot": "num"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1110,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 360,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"2b30160f07c7d626"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "94c9fb94b0b972e2",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "a0a7213d6a2474dc",
|
|
|
|
"name": "trigger",
|
|
|
|
"property": "path",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
|
|
|
"v": "diner/motion",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "diner/light/ceiling",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "system/mode/lighting",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 3,
|
|
|
|
"x": 870,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 360,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9d3a986866c3febc"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"9d3a986866c3febc"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"9d3a986866c3febc"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "2b30160f07c7d626",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "a0a7213d6a2474dc",
|
|
|
|
"name": "diner - scene - lighting ceiling",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"abdf34b12a5dd88d"
|
|
|
|
],
|
|
|
|
"x": 1315,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 360,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1c2cef0a488b0be5",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "lighting / actif / boolean / true",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "actif",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "boolean",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 340,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 300,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ad5fb20957fedf7a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ad5fb20957fedf7a",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "diner - device - lighting",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"bfa594bf1f876c92"
|
|
|
|
],
|
|
|
|
"x": 555,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 300,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "add6c1d206525445",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "diner - device - lighting",
|
|
|
|
"links": [
|
|
|
|
"e6e1bdcedd4890e9"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 300,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"1c2cef0a488b0be5",
|
|
|
|
"a17226be170b1430",
|
|
|
|
"e8b4b03dac6d2c7e",
|
|
|
|
"40c44f05d6195e9c",
|
|
|
|
"52c65b4926c01dcf"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a17226be170b1430",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "lighting / high / dimmer / 40",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "high",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dimmer",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "40",
|
|
|
|
"tot": "num"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 340,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 360,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ad5fb20957fedf7a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e8b4b03dac6d2c7e",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "lighting / low / dimmer / 4",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "low",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dimmer",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "4",
|
|
|
|
"tot": "num"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 330,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 420,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ad5fb20957fedf7a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "40c44f05d6195e9c",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "lighting / timer / number / 60",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "timer",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "number",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "60",
|
|
|
|
"tot": "num"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 340,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 480,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ad5fb20957fedf7a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "52c65b4926c01dcf",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "c1608187ad55152b",
|
|
|
|
"name": "lighting / retention / boolean / true",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "lighting",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "retention",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "boolean",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 360,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 540,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ad5fb20957fedf7a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "af06cacb11fff5fe",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "diner - alexa - light",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"df6a69e3a774eebc"
|
|
|
|
],
|
|
|
|
"x": 1455,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "42c6c2fa748e4af6",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "diner - alexa - light",
|
|
|
|
"links": [
|
|
|
|
"abd3bb3b24dd961a"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"80a47335698bad24"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "6c0c55fd0aa68012",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "field",
|
|
|
|
"property": "field",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "ceiling",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 430,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ea130ca46f50e095"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "80a47335698bad24",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "bucket",
|
|
|
|
"property": "bucket",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "bucket",
|
|
|
|
"vt": "flow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 270,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"6c0c55fd0aa68012"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "0c10e86097e8a88a",
|
|
|
|
"type": "vsh-virtual-device",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "lumière de la salle à manger",
|
|
|
|
"topic": "diner/cible/ceiling",
|
|
|
|
"metadata": "{}",
|
|
|
|
"connection": "b156e6eff1bfadd1",
|
|
|
|
"template": "SWITCH",
|
|
|
|
"retrievable": true,
|
|
|
|
"passthrough": false,
|
|
|
|
"diff": false,
|
|
|
|
"filter": false,
|
|
|
|
"filterTopic": false,
|
|
|
|
"plan": "free",
|
|
|
|
"x": 960,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"75ca38de7d418b17"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ea130ca46f50e095",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"75754d6ac1aaec7b"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 660,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"0c10e86097e8a88a"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "75ca38de7d418b17",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "e2bcd290d3182190",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"71c9fb8b232fe499"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1260,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 960,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"af06cacb11fff5fe"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "2f05be15df782458",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "ed48b41a8d65c068",
|
|
|
|
"name": "bucket",
|
|
|
|
"property": "bucket",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "bucket",
|
|
|
|
"vt": "flow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 270,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1200,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"cddcfbc2907339b1"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "83dd74e85a3b5fd8",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "ed48b41a8d65c068",
|
|
|
|
"name": "diner - alexa - motion",
|
|
|
|
"links": [
|
|
|
|
"8f6b9cabcee961b9"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1200,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"2f05be15df782458"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cddcfbc2907339b1",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "ed48b41a8d65c068",
|
|
|
|
"name": "scene",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 430,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1200,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ef749476b5d2419f"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ef749476b5d2419f",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "ed48b41a8d65c068",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"4f63773f3c770aa4"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 640,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1200,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"cfa5810aefc53216"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cfa5810aefc53216",
|
|
|
|
"type": "vsh-virtual-device",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "ed48b41a8d65c068",
|
|
|
|
"name": "mouvement de la salle à manger",
|
|
|
|
"topic": "",
|
|
|
|
"metadata": "{}",
|
|
|
|
"connection": "b156e6eff1bfadd1",
|
|
|
|
"template": "MOTION_SENSOR",
|
|
|
|
"retrievable": true,
|
|
|
|
"passthrough": false,
|
|
|
|
"diff": false,
|
|
|
|
"filter": false,
|
|
|
|
"filterTopic": false,
|
|
|
|
"plan": "free",
|
|
|
|
"x": 930,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1200,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eaab34a171566bb1",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "460739902e4300ec",
|
|
|
|
"name": "diner - alexa - aperture",
|
|
|
|
"links": [
|
|
|
|
"c961c347fd2d14b5"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1320,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9e4ed658bd7288e2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "9e4ed658bd7288e2",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "460739902e4300ec",
|
|
|
|
"name": "bucket",
|
|
|
|
"property": "bucket",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "bucket",
|
|
|
|
"vt": "flow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 270,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1320,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"14d6f28a5706817e"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "14d6f28a5706817e",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "460739902e4300ec",
|
|
|
|
"name": "field",
|
|
|
|
"property": "field",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "door",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 430,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1320,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"4751aa206605fdd9"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4f50879f03a7d340",
|
|
|
|
"type": "vsh-virtual-device",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "460739902e4300ec",
|
|
|
|
"name": "porte d'entrée",
|
|
|
|
"topic": "",
|
|
|
|
"metadata": "{}",
|
|
|
|
"connection": "b156e6eff1bfadd1",
|
|
|
|
"template": "CONTACT_SENSOR",
|
|
|
|
"retrievable": true,
|
|
|
|
"passthrough": false,
|
|
|
|
"diff": false,
|
|
|
|
"filter": false,
|
|
|
|
"filterTopic": false,
|
|
|
|
"plan": "free",
|
|
|
|
"x": 880,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1320,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4751aa206605fdd9",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "460739902e4300ec",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"73c07a0bc5e5429b"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 640,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1320,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"4f50879f03a7d340"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b203a0f8c491d028",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "9c5befdabe842906",
|
|
|
|
"name": "diner - alexa - temperature",
|
|
|
|
"links": [
|
|
|
|
"a66c6d1f8e271921"
|
|
|
|
],
|
|
|
|
"x": 135,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1080,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"f78d99bc5070f731"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "f78d99bc5070f731",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "9c5befdabe842906",
|
|
|
|
"name": "bucket",
|
|
|
|
"property": "bucket",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "bucket",
|
|
|
|
"vt": "flow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 270,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1080,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b89d513cb14aa267"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4afc1164fa9d0bc4",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "9c5befdabe842906",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"50c950cddc1506ed"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 650,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1080,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"21c371f9cb1f0be5"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b89d513cb14aa267",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "9c5befdabe842906",
|
|
|
|
"name": "scene",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "scene.bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "bucket",
|
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 430,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1080,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"4afc1164fa9d0bc4"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "21c371f9cb1f0be5",
|
|
|
|
"type": "vsh-virtual-device",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "9c5befdabe842906",
|
|
|
|
"name": "température de la salle à manger",
|
|
|
|
"topic": "",
|
|
|
|
"metadata": "{}",
|
|
|
|
"connection": "b156e6eff1bfadd1",
|
|
|
|
"template": "TEMPERATURE_SENSOR",
|
|
|
|
"retrievable": true,
|
|
|
|
"passthrough": false,
|
|
|
|
"diff": false,
|
|
|
|
"filter": false,
|
|
|
|
"filterTopic": false,
|
|
|
|
"plan": "free",
|
|
|
|
"x": 960,
|
2024-05-08 18:28:59 +00:00
|
|
|
"y": 1080,
|
2024-04-28 20:46:19 +00:00
|
|
|
"wires": [
|
2024-05-08 18:28:59 +00:00
|
|
|
[]
|
2024-04-28 20:46:19 +00:00
|
|
|
]
|
2024-04-29 22:28:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "656bc46cc7b25d65",
|
|
|
|
"type": "catch",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "40eb94cad73ff69b",
|
|
|
|
"name": "catch error",
|
|
|
|
"scope": null,
|
|
|
|
"uncaught": false,
|
|
|
|
"x": 620,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"969c901f6f98bc4b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "969c901f6f98bc4b",
|
|
|
|
"type": "change",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "40eb94cad73ff69b",
|
|
|
|
"name": "topic",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "topic",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "diner",
|
|
|
|
"tot": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 790,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"5f003111067c7d2b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "5f003111067c7d2b",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "f92af28dd3f79491",
|
|
|
|
"g": "40eb94cad73ff69b",
|
|
|
|
"name": "catch error",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"a52f0e788cd4dca3"
|
|
|
|
],
|
|
|
|
"x": 915,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
2024-04-28 20:46:19 +00:00
|
|
|
}
|
|
|
|
]
|