fix API url vs ID, fix default values, remove old devices registration

This commit is contained in:
JcDenis 2024-05-09 16:54:18 +02:00
parent 42e96551f0
commit ffb40e26e0
17 changed files with 371 additions and 5502 deletions

File diff suppressed because one or more lines are too long

View file

@ -763,7 +763,8 @@
"0ff47b07b863d0ae",
"561aaceffe076a5d",
"8f4503a19f2f639e",
"b08802b0dbd9a58b"
"b08802b0dbd9a58b",
"9d71ae848c07c4ab"
],
"x": 834,
"y": 3659,
@ -2224,7 +2225,7 @@
"z": "ab51b1e8cad7b700",
"g": "bd21a8b1786d3ed2",
"name": "check device",
"func": "// output 1 : error message\n// output 2 : device registration\n\n// script var\nvar msg = msg;\nvar newmsg = {};\n\nif (typeof msg === 'undefined'){\n return [null,null];\n}\n\n// check var existence\nif (typeof msg.bucket === 'undefined' ||\n typeof msg.model === 'undefined' ||\n typeof msg.id === 'undefined'\n) {\n node.status({\n fill: \"red\", shape: \"ring\", text: 'undefined device'});\n return [msg,null];\n}\n\n// recreate msg\nnewmsg = {\n 'bucket': msg.bucket,\n 'measurement': typeof msg.measurement === 'undefined' ? '' : msg.measurement,\n 'field': typeof msg.field === 'undefined' ? '' : msg.field,\n 'model': msg.model,\n 'option': typeof msg.option === 'undefined' ? 0 : msg.option,\n 'id': msg.id,\n 'payload':''\n};\n\nnode.status({ fill: 'green', shape: \"ring\", text: newmsg.model + ' / ' + newmsg.id });\nreturn [null,newmsg];",
"func": "// output 1 : error message\n// output 2 : device registration\n\n// script var\nvar msg = msg;\nvar newmsg = {};\n\nif (typeof msg === 'undefined'){\n return [null,null];\n}\n\n// check var existence\nif (typeof msg.bucket === 'undefined' ||\n typeof msg.model === 'undefined' ||\n typeof msg.id === 'undefined'\n) {\n node.status({\n fill: \"red\", shape: \"ring\", text: 'undefined device'});\n return [msg,null];\n}\n\n// recreate msg\nnewmsg = {\n 'bucket': msg.bucket,\n 'measurement': typeof msg.measurement === 'undefined' ? '' : msg.measurement,\n 'field': typeof msg.field === 'undefined' ? '' : msg.field,\n 'model': msg.model,\n 'option': typeof msg.option === 'undefined' ? 0 : msg.option,\n 'id': msg.id,\n 'default': typeof msg.default === 'undefined' ? '' : msg.default,\n 'payload':''\n};\n\nnode.status({ fill: 'green', shape: \"ring\", text: newmsg.model + ' / ' + newmsg.id });\nreturn [null,newmsg];",
"outputs": 2,
"timeout": "",
"noerr": 0,
@ -5674,6 +5675,13 @@
"to": "{}",
"tot": "jsonata"
},
{
"t": "set",
"p": "models",
"pt": "global",
"to": "{}",
"tot": "jsonata"
},
{
"t": "set",
"p": "protocols",
@ -5683,7 +5691,7 @@
},
{
"t": "set",
"p": "buckets",
"p": "rooms",
"pt": "global",
"to": "{}",
"tot": "jsonata"
@ -6007,7 +6015,7 @@
"op2": "",
"op1type": "pay",
"op2type": "payl",
"duration": "100",
"duration": "500",
"extend": false,
"overrideDelay": false,
"units": "ms",
@ -6497,5 +6505,321 @@
"5891781e4a61525a"
]
]
},
{
"id": "c75d85a05c1d10d5",
"type": "inject",
"z": "ab51b1e8cad7b700",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1110,
"y": 60,
"wires": [
[
"33197b9fc4357637"
]
]
},
{
"id": "4812a1970cd7b6ca",
"type": "inject",
"z": "ab51b1e8cad7b700",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1110,
"y": 140,
"wires": [
[
"10af67697b451754"
]
]
},
{
"id": "33197b9fc4357637",
"type": "change",
"z": "ab51b1e8cad7b700",
"name": "bk",
"rules": [
{
"t": "set",
"p": "bk",
"pt": "global",
"to": "{}",
"tot": "jsonata"
},
{
"t": "set",
"p": "bk.devices",
"pt": "global",
"to": "devices",
"tot": "global"
},
{
"t": "set",
"p": "bk.entities",
"pt": "global",
"to": "entities",
"tot": "global"
},
{
"t": "set",
"p": "bk.metrics",
"pt": "global",
"to": "metrics",
"tot": "global"
},
{
"t": "set",
"p": "bk.models",
"pt": "global",
"to": "models",
"tot": "global"
},
{
"t": "set",
"p": "bk.protocols",
"pt": "global",
"to": "protocols",
"tot": "global"
},
{
"t": "set",
"p": "bk.rooms",
"pt": "global",
"to": "rooms",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 60,
"wires": [
[]
]
},
{
"id": "981cd36f0eff2fe5",
"type": "change",
"z": "ab51b1e8cad7b700",
"name": "del",
"rules": [
{
"t": "delete",
"p": "devices",
"pt": "global"
},
{
"t": "delete",
"p": "metrics",
"pt": "global"
},
{
"t": "delete",
"p": "models",
"pt": "global"
},
{
"t": "delete",
"p": "protocols",
"pt": "global"
},
{
"t": "delete",
"p": "rooms",
"pt": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 100,
"wires": [
[]
]
},
{
"id": "10af67697b451754",
"type": "change",
"z": "ab51b1e8cad7b700",
"name": "rt",
"rules": [
{
"t": "set",
"p": "devices",
"pt": "global",
"to": "bk.devices",
"tot": "global"
},
{
"t": "set",
"p": "entities",
"pt": "global",
"to": "bk.entities",
"tot": "global"
},
{
"t": "set",
"p": "metrics",
"pt": "global",
"to": "bk.metrics",
"tot": "global"
},
{
"t": "set",
"p": "models",
"pt": "global",
"to": "bk.models",
"tot": "global"
},
{
"t": "set",
"p": "protocols",
"pt": "global",
"to": "bk.protocols",
"tot": "global"
},
{
"t": "set",
"p": "rooms",
"pt": "global",
"to": "bk.rooms",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 140,
"wires": [
[]
]
},
{
"id": "a222eb10b7ac30f7",
"type": "inject",
"z": "ab51b1e8cad7b700",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1110,
"y": 100,
"wires": [
[
"981cd36f0eff2fe5"
]
]
},
{
"id": "09022e238fac22fa",
"type": "change",
"z": "ab51b1e8cad7b700",
"name": "del",
"rules": [
{
"t": "delete",
"p": "devices",
"pt": "global"
},
{
"t": "delete",
"p": "entities",
"pt": "global"
},
{
"t": "delete",
"p": "metrics",
"pt": "global"
},
{
"t": "delete",
"p": "models",
"pt": "global"
},
{
"t": "delete",
"p": "protocols",
"pt": "global"
},
{
"t": "delete",
"p": "rooms",
"pt": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1470,
"y": 100,
"wires": [
[]
]
},
{
"id": "9d71ae848c07c4ab",
"type": "comment",
"z": "ab51b1e8cad7b700",
"g": "4937527cddd45b61",
"name": "note: P.API does not use protocol id by device URL",
"info": "",
"x": 1050,
"y": 3700,
"wires": []
}
]

View file

@ -24,7 +24,7 @@
],
"x": 68,
"y": 173,
"w": 1254,
"w": 1274,
"h": 194
},
{
@ -116,7 +116,7 @@
],
"x": 534,
"y": 199,
"w": 762,
"w": 782,
"h": 142
},
{
@ -484,7 +484,7 @@
"type": "change",
"z": "f125f568d4e332ee",
"g": "636790a6de6bdeca",
"name": "camera / url / text",
"name": "camera / url / text / *",
"rules": [
{
"t": "set",
@ -511,8 +511,8 @@
"t": "set",
"p": "default",
"pt": "msg",
"to": "id",
"tot": "msg"
"to": "msg.default?msg.default:''",
"tot": "jsonata"
}
],
"action": "",
@ -520,7 +520,7 @@
"from": "",
"to": "",
"reg": false,
"x": 910,
"x": 920,
"y": 300,
"wires": [
[
@ -592,7 +592,7 @@
"from": "",
"to": "",
"reg": false,
"x": 1120,
"x": 1140,
"y": 240,
"wires": [
[
@ -610,7 +610,7 @@
"links": [
"3e1b4213132404be"
],
"x": 1255,
"x": 1275,
"y": 240,
"wires": []
},
@ -976,8 +976,8 @@
"t": "set",
"p": "default",
"pt": "msg",
"to": "id",
"tot": "msg"
"to": "msg.default?msg.default:''",
"tot": "jsonata"
}
],
"action": "",
@ -4067,8 +4067,8 @@
"t": "set",
"p": "default",
"pt": "msg",
"to": "id",
"tot": "msg"
"to": "msg.default?msg.default:''",
"tot": "jsonata"
}
],
"action": "",

View file

@ -50,25 +50,6 @@
"w": 562,
"h": 82
},
{
"id": "72e9a43d46599cb7",
"type": "group",
"z": "7b8b61c2b3de438c",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"21bccbf56993b294",
"ede3bf8bba2dc2fc"
],
"x": 68,
"y": 1853,
"w": 1378,
"h": 554
},
{
"id": "e27905de62c05348",
"type": "group",
@ -169,42 +150,6 @@
"w": 422,
"h": 82
},
{
"id": "ede3bf8bba2dc2fc",
"type": "group",
"z": "7b8b61c2b3de438c",
"g": "72e9a43d46599cb7",
"name": "ambre - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"41bfea5f19dee5bc",
"112b58b0d1bddfa7",
"c23dbacdf69f7903",
"3e7e82f5949c02b7",
"90e893281187cbd7",
"7df3b728c45ae895",
"6ef8c960ce0c783d",
"69a6821590b9af4e",
"2b9a31e32b37d0b2",
"8d981dbcb03a77ba",
"3ae64c90c8fa5ac1",
"047b73ed2eaa4786",
"9ca587e88e68491a",
"79c6e7f9f2a9ba7f",
"3e90b816e874b630",
"5d8b2b366bd26383",
"671c1c7d6e2be7dc",
"9cc69dc05e868c7c"
],
"x": 94,
"y": 1879,
"w": 722,
"h": 502
},
{
"id": "0f9e76651ff1aed0",
"type": "group",
@ -640,338 +585,12 @@
"id": "21bccbf56993b294",
"type": "comment",
"z": "7b8b61c2b3de438c",
"g": "72e9a43d46599cb7",
"name": "ambre / command / remote : scene lighting ceiling / ambre / light / ceiling",
"info": "",
"x": 1170,
"y": 1920,
"x": 1950,
"y": 40,
"wires": []
},
{
"id": "41bfea5f19dee5bc",
"type": "link in",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ambre - device- auto",
"links": [
"5a8db78f84b2088e"
],
"x": 135,
"y": 1920,
"wires": [
[
"3ae64c90c8fa5ac1",
"047b73ed2eaa4786",
"9ca587e88e68491a",
"79c6e7f9f2a9ba7f",
"3e90b816e874b630",
"5d8b2b366bd26383",
"671c1c7d6e2be7dc",
"9cc69dc05e868c7c"
]
]
},
{
"id": "112b58b0d1bddfa7",
"type": "link out",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ambre - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 775,
"y": 1920,
"wires": []
},
{
"id": "c23dbacdf69f7903",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "DIO-54791 / xxx / command / remote",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "DIO-54791",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2280,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "3e7e82f5949c02b7",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1920,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "90e893281187cbd7",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ZMNHAD / xxx / outlet / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHAD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "3",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1980,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "7df3b728c45ae895",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ZMNHBD / xxx / outlet / left socket (option 1)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 2040,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "6ef8c960ce0c783d",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ZMNHBD / xxx / outlet / right socket (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 2100,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "69a6821590b9af4e",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "ZMNHJD / xxx / thermostat / pilot",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHJD",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 2160,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "2b9a31e32b37d0b2",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2220,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "8d981dbcb03a77ba",
"type": "change",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "FGSD002 / xxx / smoke / fire",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGSD002",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2340,
"wires": [
[
"112b58b0d1bddfa7"
]
]
},
{
"id": "3ee0a4f45b33ed48",
"type": "change",
@ -3304,150 +2923,6 @@
]
]
},
{
"id": "3ae64c90c8fa5ac1",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2340,
"wires": [
[]
]
},
{
"id": "047b73ed2eaa4786",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2280,
"wires": [
[]
]
},
{
"id": "9ca587e88e68491a",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2220,
"wires": [
[]
]
},
{
"id": "79c6e7f9f2a9ba7f",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2160,
"wires": [
[]
]
},
{
"id": "3e90b816e874b630",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2100,
"wires": [
[]
]
},
{
"id": "5d8b2b366bd26383",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2040,
"wires": [
[]
]
},
{
"id": "671c1c7d6e2be7dc",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1980,
"wires": [
[]
]
},
{
"id": "9cc69dc05e868c7c",
"type": "credentials",
"z": "7b8b61c2b3de438c",
"g": "ede3bf8bba2dc2fc",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1920,
"wires": [
[]
]
},
{
"id": "ca9b5d2aab8875c2",
"type": "catch",

View file

@ -50,24 +50,6 @@
"w": 562,
"h": 82
},
{
"id": "21097995b534a80b",
"type": "group",
"z": "22d006e54a3d540e",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"46a08518c5bb9ce2"
],
"x": 68,
"y": 1193,
"w": 774,
"h": 374
},
{
"id": "9dd238c5169cf25c",
"type": "group",
@ -131,36 +113,6 @@
"w": 422,
"h": 82
},
{
"id": "46a08518c5bb9ce2",
"type": "group",
"z": "22d006e54a3d540e",
"g": "21097995b534a80b",
"name": "bain - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"bc11ee4332f56481",
"7bf79299171b0038",
"703da3e421c584aa",
"6cd456ba34400a6a",
"e62e7b2d85b3997c",
"8db8818d7469cdac",
"d9050545c93458f2",
"20e7e61a48e6cb88",
"64bf3c38db50d4a0",
"88c9e1067f008d00",
"ff2bf968a219bd4a",
"c2adb3a0d11c327d"
],
"x": 94,
"y": 1219,
"w": 722,
"h": 322
},
{
"id": "d4498f98e516542d",
"type": "group",
@ -510,230 +462,6 @@
]
]
},
{
"id": "bc11ee4332f56481",
"type": "link in",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "bain - device - auto",
"links": [
"6ba22e84394777c7"
],
"x": 135,
"y": 1260,
"wires": [
[
"20e7e61a48e6cb88",
"64bf3c38db50d4a0",
"88c9e1067f008d00",
"ff2bf968a219bd4a",
"c2adb3a0d11c327d"
]
]
},
{
"id": "7bf79299171b0038",
"type": "change",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "THG / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "THG",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1260,
"wires": [
[
"703da3e421c584aa"
]
]
},
{
"id": "703da3e421c584aa",
"type": "link out",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "bain - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 775,
"y": 1260,
"wires": []
},
{
"id": "6cd456ba34400a6a",
"type": "change",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1320,
"wires": [
[
"703da3e421c584aa"
]
]
},
{
"id": "e62e7b2d85b3997c",
"type": "change",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "MCCGQ11LM / xxx / aperture / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1380,
"wires": [
[
"703da3e421c584aa"
]
]
},
{
"id": "8db8818d7469cdac",
"type": "change",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "ZMNHBD / xxx / light / spots (option 1)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "spots",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1440,
"wires": [
[
"703da3e421c584aa"
]
]
},
{
"id": "d9050545c93458f2",
"type": "change",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "ZMNHBD / xxx / light / ceiling (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "ceiling",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 540,
"y": 1500,
"wires": [
[
"703da3e421c584aa"
]
]
},
{
"id": "29dbd45ee8f262dd",
"type": "change",
@ -1756,96 +1484,6 @@
]
]
},
{
"id": "20e7e61a48e6cb88",
"type": "credentials",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1500,
"wires": [
[]
]
},
{
"id": "64bf3c38db50d4a0",
"type": "credentials",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1440,
"wires": [
[]
]
},
{
"id": "88c9e1067f008d00",
"type": "credentials",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1380,
"wires": [
[]
]
},
{
"id": "ff2bf968a219bd4a",
"type": "credentials",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1320,
"wires": [
[]
]
},
{
"id": "c2adb3a0d11c327d",
"type": "credentials",
"z": "22d006e54a3d540e",
"g": "46a08518c5bb9ce2",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1260,
"wires": [
[]
]
},
{
"id": "e2ee65d36f0e6f28",
"type": "catch",

View file

@ -50,24 +50,6 @@
"w": 562,
"h": 82
},
{
"id": "5b893e80c4d5d4dc",
"type": "group",
"z": "2b225e03b149417d",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e8fbf877572c810c"
],
"x": 68,
"y": 1553,
"w": 814,
"h": 494
},
{
"id": "0f0c98325e8cb3d1",
"type": "group",
@ -148,40 +130,6 @@
"w": 422,
"h": 82
},
{
"id": "e8fbf877572c810c",
"type": "group",
"z": "2b225e03b149417d",
"g": "5b893e80c4d5d4dc",
"name": "cave - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"251128455c53d96c",
"bceefffb42f84f2d",
"d8d03fc024720f90",
"6c6aeae0d1cd2dec",
"3266e87bcd98deec",
"d063a776bac586a6",
"4c67090f1c608d32",
"1bea0b5deabc652b",
"d56ce72fe8ca303e",
"665497a5770702cc",
"7fe1a6c98410eb18",
"afd8f3a9262a6b2b",
"bd692339d274cb6d",
"aac903fa89536260",
"8c6a49f6bfc1489c",
"1abdcd583acf98b3"
],
"x": 94,
"y": 1579,
"w": 762,
"h": 442
},
{
"id": "7a18a0b29c2d248d",
"type": "group",
@ -537,295 +485,6 @@
]
]
},
{
"id": "251128455c53d96c",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "THG / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "THG",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1800,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "bceefffb42f84f2d",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "FGMS001 / xxx / motion / detector",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGMS001",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1620,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "d8d03fc024720f90",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "ZMNHAD / xxx / light / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHAD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1680,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "6c6aeae0d1cd2dec",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "REOLINK / xxx / camera / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "REOLINK",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1740,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "3266e87bcd98deec",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "412171 / xxx / cumulus / balloon",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412171",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cumulus",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "balloon",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1860,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "d063a776bac586a6",
"type": "link in",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "cave - device - auto",
"links": [
"e035e232e2747fed"
],
"x": 135,
"y": 1620,
"wires": [
[
"665497a5770702cc",
"7fe1a6c98410eb18",
"afd8f3a9262a6b2b",
"bd692339d274cb6d",
"aac903fa89536260",
"8c6a49f6bfc1489c",
"1abdcd583acf98b3"
]
]
},
{
"id": "4c67090f1c608d32",
"type": "link out",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "cave - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 815,
"y": 1620,
"wires": []
},
{
"id": "1bea0b5deabc652b",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "412170 / xxx / outlet / rack / true",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412170",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "outlet",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "rack",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1920,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "d56ce72fe8ca303e",
"type": "change",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "FGSD002 / xxx / smoke / fire",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGSD002",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1980,
"wires": [
[
"4c67090f1c608d32"
]
]
},
{
"id": "9f6e59d6bff54b3f",
"type": "change",
@ -2112,132 +1771,6 @@
]
]
},
{
"id": "665497a5770702cc",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1980,
"wires": [
[]
]
},
{
"id": "7fe1a6c98410eb18",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1920,
"wires": [
[]
]
},
{
"id": "afd8f3a9262a6b2b",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1860,
"wires": [
[]
]
},
{
"id": "bd692339d274cb6d",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1800,
"wires": [
[]
]
},
{
"id": "aac903fa89536260",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1740,
"wires": [
[]
]
},
{
"id": "8c6a49f6bfc1489c",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1680,
"wires": [
[]
]
},
{
"id": "1abdcd583acf98b3",
"type": "credentials",
"z": "2b225e03b149417d",
"g": "e8fbf877572c810c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1620,
"wires": [
[]
]
},
{
"id": "12407f33e3e39829",
"type": "catch",
@ -2342,7 +1875,7 @@
"t": "set",
"p": "default",
"pt": "msg",
"to": "",
"to": "home/current/electric meter",
"tot": "str"
}
],

View file

@ -50,24 +50,6 @@
"w": 582,
"h": 82
},
{
"id": "bb5966c01d1eaad0",
"type": "group",
"z": "5771bd732671238b",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"4621825537b5ee7f"
],
"x": 68,
"y": 533,
"w": 694,
"h": 134
},
{
"id": "08e20e01c191aebd",
"type": "group",
@ -108,28 +90,6 @@
"w": 422,
"h": 82
},
{
"id": "4621825537b5ee7f",
"type": "group",
"z": "5771bd732671238b",
"g": "bb5966c01d1eaad0",
"name": "combles - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"96ad68746204ca2f",
"19a6166e5849a994",
"e7cfaeb61c083f59",
"d282578a332382dd"
],
"x": 94,
"y": 559,
"w": 642,
"h": 82
},
{
"id": "421c21bcc8c48ab9",
"type": "group",
@ -339,79 +299,6 @@
]
]
},
{
"id": "96ad68746204ca2f",
"type": "link in",
"z": "5771bd732671238b",
"g": "4621825537b5ee7f",
"name": "combles - device - auto",
"links": [
"95b38fc6b2a4af14"
],
"x": 135,
"y": 600,
"wires": [
[
"d282578a332382dd"
]
]
},
{
"id": "19a6166e5849a994",
"type": "link out",
"z": "5771bd732671238b",
"g": "4621825537b5ee7f",
"name": "combles - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 695,
"y": 600,
"wires": []
},
{
"id": "e7cfaeb61c083f59",
"type": "change",
"z": "5771bd732671238b",
"g": "4621825537b5ee7f",
"name": "ZMNHDA / xxx / airflow / cmv",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHDA",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "airflow",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "cmv",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 600,
"wires": [
[
"19a6166e5849a994"
]
]
},
{
"id": "7f90999f113cb458",
"type": "change",
@ -740,24 +627,6 @@
]
]
},
{
"id": "d282578a332382dd",
"type": "credentials",
"z": "5771bd732671238b",
"g": "4621825537b5ee7f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 600,
"wires": [
[]
]
},
{
"id": "df117909ca6f83c1",
"type": "catch",

View file

@ -50,24 +50,6 @@
"w": 582,
"h": 82
},
{
"id": "d4fb1239338706e6",
"type": "group",
"z": "854a244e296fdb4d",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"121d8155ecdd4ac3"
],
"x": 68,
"y": 1433,
"w": 734,
"h": 314
},
{
"id": "6c2fa60b6c6bdfcb",
"type": "group",
@ -148,34 +130,6 @@
"w": 422,
"h": 82
},
{
"id": "121d8155ecdd4ac3",
"type": "group",
"z": "854a244e296fdb4d",
"g": "d4fb1239338706e6",
"name": "couloir - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"10e09aa988492867",
"093ecb27dc1884f1",
"bd808902c41bd7f4",
"8337dfc8754614c1",
"ee67c189281fdd25",
"6ec240c40fbd1cd7",
"67c7ac0b784e24ab",
"d59071cf2488a46e",
"9353e7617add3953",
"cc6af7bc87cb33ee"
],
"x": 94,
"y": 1459,
"w": 682,
"h": 262
},
{
"id": "c8af7491aaad3384",
"type": "group",
@ -535,152 +489,6 @@
]
]
},
{
"id": "10e09aa988492867",
"type": "link in",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "couloir - device - auto",
"links": [
"65462b7ee4a5168d"
],
"x": 135,
"y": 1500,
"wires": [
[
"67c7ac0b784e24ab",
"d59071cf2488a46e",
"9353e7617add3953",
"cc6af7bc87cb33ee"
]
]
},
{
"id": "093ecb27dc1884f1",
"type": "change",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "THG / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "THG",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1500,
"wires": [
[
"bd808902c41bd7f4"
]
]
},
{
"id": "bd808902c41bd7f4",
"type": "link out",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "couloir - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 735,
"y": 1500,
"wires": []
},
{
"id": "8337dfc8754614c1",
"type": "change",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1560,
"wires": [
[
"bd808902c41bd7f4"
]
]
},
{
"id": "ee67c189281fdd25",
"type": "change",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "ZMNHUD / xxx / thermostat / pilot",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHUD",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1620,
"wires": [
[
"bd808902c41bd7f4"
]
]
},
{
"id": "6ec240c40fbd1cd7",
"type": "change",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "S530559 / xxx / outlet / socket",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "S530559",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1680,
"wires": [
[
"bd808902c41bd7f4"
]
]
},
{
"id": "ba9250c147aa9d48",
"type": "change",
@ -2222,78 +2030,6 @@
]
]
},
{
"id": "67c7ac0b784e24ab",
"type": "credentials",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1680,
"wires": [
[]
]
},
{
"id": "d59071cf2488a46e",
"type": "credentials",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1620,
"wires": [
[]
]
},
{
"id": "9353e7617add3953",
"type": "credentials",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1560,
"wires": [
[]
]
},
{
"id": "cc6af7bc87cb33ee",
"type": "credentials",
"z": "854a244e296fdb4d",
"g": "121d8155ecdd4ac3",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1500,
"wires": [
[]
]
},
{
"id": "d6efb975ce14727e",
"type": "catch",

View file

@ -50,28 +50,6 @@
"w": 582,
"h": 82
},
{
"id": "863ac35de01d6543",
"type": "group",
"z": "83779166f14173f8",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e7a2800f3ce83a11",
"7aa57835f17b84c0",
"192e8f224ae18f09",
"fe5a163a6b387bd1",
"062924d415d00ec7"
],
"x": 68,
"y": 1913,
"w": 1378,
"h": 434
},
{
"id": "1dff1743cac3569e",
"type": "group",
@ -171,38 +149,6 @@
"w": 422,
"h": 82
},
{
"id": "062924d415d00ec7",
"type": "group",
"z": "83779166f14173f8",
"g": "863ac35de01d6543",
"name": "cuisine - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"18a18ef9ed11ad89",
"85f46b3605d814c5",
"fe78f8b441d511fa",
"9a065d1c01359039",
"e0fe5671f8061def",
"bf730ed10a3c0f1d",
"00b6e5c70f38f1d0",
"a6ffe5aaf5f33dc4",
"82b1766e7f8e0df2",
"7e2da2acb43d4d1b",
"c7bd909bde4eead7",
"0b89339eaace90d7",
"b01d2b8600a9b1df",
"bb7e4f28c0d803ec"
],
"x": 94,
"y": 1939,
"w": 722,
"h": 382
},
{
"id": "ff6f186606d23a8e",
"type": "group",
@ -612,264 +558,42 @@
"id": "e7a2800f3ce83a11",
"type": "comment",
"z": "83779166f14173f8",
"g": "863ac35de01d6543",
"name": "cuisine / command / remote 2 : scene lighting / jardin / light / spots",
"info": "",
"x": 1150,
"y": 2020,
"x": 1950,
"y": 80,
"wires": []
},
{
"id": "7aa57835f17b84c0",
"type": "comment",
"z": "83779166f14173f8",
"g": "863ac35de01d6543",
"name": "cuisine / command / remote 3 : scene lighting / jardin / light / lamp",
"info": "",
"x": 1150,
"y": 2060,
"x": 1950,
"y": 120,
"wires": []
},
{
"id": "192e8f224ae18f09",
"type": "comment",
"z": "83779166f14173f8",
"g": "863ac35de01d6543",
"name": "cuisine / command / remote 1 : scene lighting / parking / light / spots",
"info": "",
"x": 1160,
"y": 1980,
"x": 1960,
"y": 40,
"wires": []
},
{
"id": "fe5a163a6b387bd1",
"type": "comment",
"z": "83779166f14173f8",
"g": "863ac35de01d6543",
"name": "cuisine / command / remote 4 : scene shading / salon / aperture / shutter",
"info": "",
"x": 1170,
"y": 2100,
"x": 1970,
"y": 160,
"wires": []
},
{
"id": "18a18ef9ed11ad89",
"type": "link in",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "cuisine - device - auto",
"links": [
"35e382c59a86017f"
],
"x": 135,
"y": 1980,
"wires": [
[
"82b1766e7f8e0df2",
"7e2da2acb43d4d1b",
"c7bd909bde4eead7",
"0b89339eaace90d7",
"b01d2b8600a9b1df",
"bb7e4f28c0d803ec"
]
]
},
{
"id": "85f46b3605d814c5",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2160,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "fe78f8b441d511fa",
"type": "link out",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "cuisine - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 775,
"y": 1980,
"wires": []
},
{
"id": "9a065d1c01359039",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "ZW100 / xxx / motion / detector",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZW100",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 2040,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "e0fe5671f8061def",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "DIO-54760 / xxx / command / remote",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "DIO-54760",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2220,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "bf730ed10a3c0f1d",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2100,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "00b6e5c70f38f1d0",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "ZMNHUD / xxx / thermostat / pilot",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHUD",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 2280,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "a6ffe5aaf5f33dc4",
"type": "change",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "A4ZP7ZC4PI6TO / xxx / alexa / actif",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "A4ZP7ZC4PI6TO",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1980,
"wires": [
[
"fe78f8b441d511fa"
]
]
},
{
"id": "494718f442ad9e57",
"type": "link in",
@ -2727,114 +2451,6 @@
"y": 1140,
"wires": []
},
{
"id": "82b1766e7f8e0df2",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2040,
"wires": [
[]
]
},
{
"id": "7e2da2acb43d4d1b",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1980,
"wires": [
[]
]
},
{
"id": "c7bd909bde4eead7",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2280,
"wires": [
[]
]
},
{
"id": "0b89339eaace90d7",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2220,
"wires": [
[]
]
},
{
"id": "b01d2b8600a9b1df",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2160,
"wires": [
[]
]
},
{
"id": "bb7e4f28c0d803ec",
"type": "credentials",
"z": "83779166f14173f8",
"g": "062924d415d00ec7",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2100,
"wires": [
[]
]
},
{
"id": "483a5fade5592d4c",
"type": "catch",

View file

@ -76,24 +76,6 @@
"w": 1462,
"h": 82
},
{
"id": "cc5ae43626c3d65a",
"type": "group",
"z": "f92af28dd3f79491",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"7648b8bc73881420"
],
"x": 68,
"y": 1433,
"w": 754,
"h": 314
},
{
"id": "1d3e2764fb8f6756",
"type": "group",
@ -155,34 +137,6 @@
"w": 422,
"h": 82
},
{
"id": "7648b8bc73881420",
"type": "group",
"z": "f92af28dd3f79491",
"g": "cc5ae43626c3d65a",
"name": "diner - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"61f467bded814c15",
"d04e824288daa16a",
"a620c7c7954ebe42",
"e2173712f7b8b21d",
"eae521ecfa4e75ee",
"9a3e3afe80b2b701",
"9aa48c5a5b2f8219",
"858f53169f187b6f",
"7eb3af450e7feb43",
"d9d911e71f46b498"
],
"x": 94,
"y": 1459,
"w": 702,
"h": 262
},
{
"id": "a0a7213d6a2474dc",
"type": "group",
@ -736,152 +690,6 @@
]
]
},
{
"id": "61f467bded814c15",
"type": "change",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1500,
"wires": [
[
"eae521ecfa4e75ee"
]
]
},
{
"id": "d04e824288daa16a",
"type": "change",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "FGMS001 / xxx / motion / detector",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGMS001",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1560,
"wires": [
[
"eae521ecfa4e75ee"
]
]
},
{
"id": "a620c7c7954ebe42",
"type": "change",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "REOLINK / xxx / camera / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "REOLINK",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1620,
"wires": [
[
"eae521ecfa4e75ee"
]
]
},
{
"id": "e2173712f7b8b21d",
"type": "link in",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "diner - device - auto",
"links": [
"e6e1bdcedd4890e9"
],
"x": 135,
"y": 1500,
"wires": [
[
"9aa48c5a5b2f8219",
"858f53169f187b6f",
"7eb3af450e7feb43",
"d9d911e71f46b498"
]
]
},
{
"id": "eae521ecfa4e75ee",
"type": "link out",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "diner - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 755,
"y": 1500,
"wires": []
},
{
"id": "9a3e3afe80b2b701",
"type": "change",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "MCCGQ11LM / xxx / aperture / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1680,
"wires": [
[
"eae521ecfa4e75ee"
]
]
},
{
"id": "bba3f0353d4702db",
"type": "link in",
@ -1785,78 +1593,6 @@
[]
]
},
{
"id": "9aa48c5a5b2f8219",
"type": "credentials",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1680,
"wires": [
[]
]
},
{
"id": "858f53169f187b6f",
"type": "credentials",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1620,
"wires": [
[]
]
},
{
"id": "7eb3af450e7feb43",
"type": "credentials",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1560,
"wires": [
[]
]
},
{
"id": "d9d911e71f46b498",
"type": "credentials",
"z": "f92af28dd3f79491",
"g": "7648b8bc73881420",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1500,
"wires": [
[]
]
},
{
"id": "656bc46cc7b25d65",
"type": "catch",

View file

@ -70,24 +70,6 @@
"w": 1674,
"h": 494
},
{
"id": "fc3b0a1ba5438c76",
"type": "group",
"z": "daa0be2fa53aaf46",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"98821f81dd5b1d8f"
],
"x": 68,
"y": 1213,
"w": 814,
"h": 374
},
{
"id": "44ab986c6e66fcf9",
"type": "group",
@ -201,36 +183,6 @@
"w": 1022,
"h": 202
},
{
"id": "98821f81dd5b1d8f",
"type": "group",
"z": "daa0be2fa53aaf46",
"g": "fc3b0a1ba5438c76",
"name": "jardin - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"60475260b49e8979",
"2134c68038f2f74e",
"4d2e3d8689320f62",
"cfe1fbed31fd6f5c",
"b5ef929b8fbf5e96",
"6cf803a0904c42f4",
"aa511b07336bc955",
"67fa985f43e3907e",
"3c2a4fa97ee2c9cb",
"e162aa2ab40c7d67",
"7351d25a91d6c96d",
"e02be9529de6bf5b"
],
"x": 94,
"y": 1239,
"w": 762,
"h": 322
},
{
"id": "66132351e9273fcd",
"type": "group",
@ -1048,174 +1000,6 @@
]
]
},
{
"id": "60475260b49e8979",
"type": "link in",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "jardin - device - auto",
"links": [
"668a343981badf28"
],
"x": 135,
"y": 1280,
"wires": [
[
"aa511b07336bc955",
"67fa985f43e3907e",
"3c2a4fa97ee2c9cb",
"e162aa2ab40c7d67",
"e02be9529de6bf5b"
]
]
},
{
"id": "2134c68038f2f74e",
"type": "change",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "THG / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "THG",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1280,
"wires": [
[
"4d2e3d8689320f62"
]
]
},
{
"id": "4d2e3d8689320f62",
"type": "link out",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "jardin - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 815,
"y": 1280,
"wires": []
},
{
"id": "cfe1fbed31fd6f5c",
"type": "change",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "REOLINK / xxx / camera / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "REOLINK",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1340,
"wires": [
[
"4d2e3d8689320f62"
]
]
},
{
"id": "b5ef929b8fbf5e96",
"type": "change",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "FGD212 / xxx / light / lamp",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "lamp",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1400,
"wires": [
[
"4d2e3d8689320f62"
]
]
},
{
"id": "6cf803a0904c42f4",
"type": "change",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "412170 / xxx / light / spots",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412170",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "spots",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1460,
"wires": [
[
"4d2e3d8689320f62"
]
]
},
{
"id": "339b74120cebdaf7",
"type": "link out",
@ -1618,78 +1402,6 @@
[]
]
},
{
"id": "aa511b07336bc955",
"type": "credentials",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1460,
"wires": [
[]
]
},
{
"id": "67fa985f43e3907e",
"type": "credentials",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1400,
"wires": [
[]
]
},
{
"id": "3c2a4fa97ee2c9cb",
"type": "credentials",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1340,
"wires": [
[]
]
},
{
"id": "e162aa2ab40c7d67",
"type": "credentials",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1280,
"wires": [
[]
]
},
{
"id": "2010a9b4e058170d",
"type": "catch",
@ -1747,65 +1459,5 @@
"x": 915,
"y": 60,
"wires": []
},
{
"id": "7351d25a91d6c96d",
"type": "change",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "PJ-MGW1203 / xxx / power / heat pump / true",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "PJ-MGW1203",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "heat pump",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 1520,
"wires": [
[
"4d2e3d8689320f62"
]
]
},
{
"id": "e02be9529de6bf5b",
"type": "credentials",
"z": "daa0be2fa53aaf46",
"g": "98821f81dd5b1d8f",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1520,
"wires": [
[]
]
}
]

View file

@ -50,25 +50,6 @@
"w": 562,
"h": 82
},
{
"id": "1e2d9699104e4507",
"type": "group",
"z": "82d1583d2c5dfc80",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"304c4a4a8af6dd27",
"4266b9a7527b5cab"
],
"x": 68,
"y": 1853,
"w": 1378,
"h": 614
},
{
"id": "dcc2e8dea806a816",
"type": "group",
@ -169,44 +150,6 @@
"w": 422,
"h": 82
},
{
"id": "4266b9a7527b5cab",
"type": "group",
"z": "82d1583d2c5dfc80",
"g": "1e2d9699104e4507",
"name": "oriane - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"0193c4f2510b8f3f",
"f3afc9e6821ad3a2",
"5e48b10a50ebd294",
"5b158a24f12a5717",
"fecafcb029cf39b5",
"50d3b95ba403e02c",
"ab24c0e7ae3c0d34",
"c6dadb1961abce64",
"6891edca23725f22",
"bea00a0f918feafb",
"03549bad1b5b3fe7",
"20829f223b884cd3",
"0d1a2421eec3b23c",
"60793e600fa2b3b8",
"435558c8cdbc400c",
"6c539dcc2fb5384f",
"8beecff5558378ba",
"227ee77a028152c1",
"e0b4dab350d58779",
"0312a5d4734230cb"
],
"x": 94,
"y": 1879,
"w": 722,
"h": 562
},
{
"id": "b251175372f34ecd",
"type": "group",
@ -642,353 +585,12 @@
"id": "304c4a4a8af6dd27",
"type": "comment",
"z": "82d1583d2c5dfc80",
"g": "1e2d9699104e4507",
"name": "oriane / command / remote : scene lighting ceiling / oriane / light / ceiling",
"info": "",
"x": 1170,
"y": 1920,
"x": 1950,
"y": 40,
"wires": []
},
{
"id": "0193c4f2510b8f3f",
"type": "link in",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "oriane - device - auto",
"links": [
"8407471b62e3c9e6"
],
"x": 135,
"y": 1920,
"wires": [
[
"20829f223b884cd3",
"0d1a2421eec3b23c",
"60793e600fa2b3b8",
"435558c8cdbc400c",
"6c539dcc2fb5384f",
"8beecff5558378ba",
"227ee77a028152c1",
"e0b4dab350d58779",
"0312a5d4734230cb"
]
]
},
{
"id": "f3afc9e6821ad3a2",
"type": "link out",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "oriane - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 775,
"y": 1920,
"wires": []
},
{
"id": "5e48b10a50ebd294",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "DIO-54791 / xxx / command / remote",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "DIO-54791",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 2340,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "5b158a24f12a5717",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 1980,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "fecafcb029cf39b5",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "ZMNHAD / xxx / outlet / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHAD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "3",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 2040,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "50d3b95ba403e02c",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "ZMNHBD / xxx / outlet / left socket (option 1)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2100,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "ab24c0e7ae3c0d34",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "ZMNHBD / xxx / outlet / right socket (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2160,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "c6dadb1961abce64",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "ZMNHJD / xxx / thermostat / pilot",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHJD",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2220,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "6891edca23725f22",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 2280,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "bea00a0f918feafb",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "FGSD002 / xxx / smoke / fire",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGSD002",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 2400,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "03549bad1b5b3fe7",
"type": "change",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "A32DOYMUN6DTXA / xxx / alexa / actif",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "A32DOYMUN6DTXA",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1920,
"wires": [
[
"f3afc9e6821ad3a2"
]
]
},
{
"id": "c6b8bc158aeebac2",
"type": "change",
@ -3321,168 +2923,6 @@
]
]
},
{
"id": "20829f223b884cd3",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 1920,
"wires": [
[]
]
},
{
"id": "0d1a2421eec3b23c",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2400,
"wires": [
[]
]
},
{
"id": "60793e600fa2b3b8",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2340,
"wires": [
[]
]
},
{
"id": "435558c8cdbc400c",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2280,
"wires": [
[]
]
},
{
"id": "6c539dcc2fb5384f",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2220,
"wires": [
[]
]
},
{
"id": "8beecff5558378ba",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2160,
"wires": [
[]
]
},
{
"id": "227ee77a028152c1",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2100,
"wires": [
[]
]
},
{
"id": "e0b4dab350d58779",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 2040,
"wires": [
[]
]
},
{
"id": "0312a5d4734230cb",
"type": "credentials",
"z": "82d1583d2c5dfc80",
"g": "4266b9a7527b5cab",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 250,
"y": 1980,
"wires": [
[]
]
},
{
"id": "a04ea0a755b509dd",
"type": "catch",

View file

@ -91,32 +91,6 @@
"w": 1714,
"h": 634
},
{
"id": "17a627ca751deff0",
"type": "group",
"z": "4ae92a5d07f513ee",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"90395a4af2f2cd31",
"8991d1dbf96fba5f",
"6c263afeb989803a",
"74a8eb160f0453c1",
"5eecd48ff130b3f6",
"d98b05158545ccd0",
"bba90de32296b2b6",
"1cdeda1f832ad6ae",
"65304d012b83460c"
],
"x": 68,
"y": 2113,
"w": 1478,
"h": 734
},
{
"id": "b2aabcf1a98113d2",
"type": "group",
@ -329,48 +303,6 @@
"w": 1062,
"h": 149.5
},
{
"id": "65304d012b83460c",
"type": "group",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"b9d7264ac08efb68",
"de8866a73ca9a5a9",
"1d8435c109d80c90",
"ca17b1d934f07ed7",
"e64f449817ccb3ba",
"1b50aa014fb91b25",
"6385831f0138e4e0",
"f75efd9a442078e1",
"f3b753a7d5135f1d",
"3f8d3219478ac2fc",
"38313a8a2af39ef5",
"452c7dc0c5f78227",
"a83059fedc29cc25",
"e06c9df4f520a307",
"d727faca2abd4f8f",
"74c38fe78832c29e",
"1758e454a149d326",
"7716d7d57ac9d5ba",
"41d88b77497cc978",
"944842c2ab66a690",
"28bd116bccd89ab3",
"fc677e52ab6c281b",
"6ddbf8d437c2723c",
"16fff1ddb6aa4c2c"
],
"x": 94,
"y": 2139,
"w": 762,
"h": 682
},
{
"id": "a0fb7feea30116c9",
"type": "group",
@ -2197,551 +2129,82 @@
"id": "90395a4af2f2cd31",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / righ remote 1 : scene lighting / parents / light / ceiling",
"info": "",
"x": 1220,
"y": 2180,
"x": 2100,
"y": 40,
"wires": []
},
{
"id": "8991d1dbf96fba5f",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / right remote 2 : scene lighting / parents / light / right bedside",
"info": "",
"x": 1240,
"y": 2220,
"x": 2120,
"y": 80,
"wires": []
},
{
"id": "6c263afeb989803a",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / right remote 3 : scene lighting / parents / light / left bedside",
"info": "",
"x": 1240,
"y": 2260,
"x": 2120,
"y": 120,
"wires": []
},
{
"id": "74a8eb160f0453c1",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / right remote 4 : nothing",
"info": "",
"x": 1130,
"y": 2300,
"x": 2010,
"y": 160,
"wires": []
},
{
"id": "5eecd48ff130b3f6",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / left remote 4 : nothing",
"info": "",
"x": 1120,
"y": 2460,
"x": 2000,
"y": 320,
"wires": []
},
{
"id": "d98b05158545ccd0",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / left remote 1 : scene lighting / parents / light / ceiling",
"info": "",
"x": 1220,
"y": 2340,
"x": 2100,
"y": 200,
"wires": []
},
{
"id": "bba90de32296b2b6",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / left remote 2 : scene lighting / parents / light / right bedside",
"info": "",
"x": 1240,
"y": 2380,
"x": 2120,
"y": 240,
"wires": []
},
{
"id": "1cdeda1f832ad6ae",
"type": "comment",
"z": "4ae92a5d07f513ee",
"g": "17a627ca751deff0",
"name": "parents / command / left remote 3 : scene lighting / parents / light / left bedside",
"info": "",
"x": 1230,
"y": 2420,
"x": 2110,
"y": 280,
"wires": []
},
{
"id": "b9d7264ac08efb68",
"type": "link in",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "parents - device - auto",
"links": [
"cc68069930b2479b"
],
"x": 135,
"y": 2180,
"wires": [
[
"e06c9df4f520a307",
"d727faca2abd4f8f",
"74c38fe78832c29e",
"1758e454a149d326",
"7716d7d57ac9d5ba",
"41d88b77497cc978",
"944842c2ab66a690",
"28bd116bccd89ab3",
"fc677e52ab6c281b",
"6ddbf8d437c2723c",
"16fff1ddb6aa4c2c"
]
]
},
{
"id": "de8866a73ca9a5a9",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2180,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "1d8435c109d80c90",
"type": "link out",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "parents - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 815,
"y": 2180,
"wires": []
},
{
"id": "ca17b1d934f07ed7",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "DIO-54760 / xxx / command / left remote",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "DIO-54760",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left remote",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 540,
"y": 2300,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "e64f449817ccb3ba",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "DIO-54760 / xxx / command / right remote",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "DIO-54760",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right remote",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 540,
"y": 2240,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "1b50aa014fb91b25",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHBD / xxx / light / left bedside (option 1)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left bedside",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 2360,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "6385831f0138e4e0",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHBD / xxx / outlet / speaker (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "speaker",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 540,
"y": 2420,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "f75efd9a442078e1",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHBD / xxx / outlet / socket (option 1) / true",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "socket",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 2480,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "f3b753a7d5135f1d",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHBD / xxx / light / right bedside (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHBD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right bedside",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 2540,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "3f8d3219478ac2fc",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2600,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "38313a8a2af39ef5",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHAD / xxx / outlet / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHAD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "3",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2660,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "452c7dc0c5f78227",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "ZMNHJD / xxx / thermostat / pilot",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHJD",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 2720,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "a83059fedc29cc25",
"type": "change",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "FGSD002 / xxx / smoke / fire",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGSD002",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2780,
"wires": [
[
"1d8435c109d80c90"
]
]
},
{
"id": "03f7513bc15a7970",
"type": "link out",
@ -3509,204 +2972,6 @@
]
]
},
{
"id": "e06c9df4f520a307",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2780,
"wires": [
[]
]
},
{
"id": "d727faca2abd4f8f",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2720,
"wires": [
[]
]
},
{
"id": "74c38fe78832c29e",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2660,
"wires": [
[]
]
},
{
"id": "1758e454a149d326",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2540,
"wires": [
[]
]
},
{
"id": "7716d7d57ac9d5ba",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2600,
"wires": [
[]
]
},
{
"id": "41d88b77497cc978",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2480,
"wires": [
[]
]
},
{
"id": "944842c2ab66a690",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2420,
"wires": [
[]
]
},
{
"id": "28bd116bccd89ab3",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2360,
"wires": [
[]
]
},
{
"id": "fc677e52ab6c281b",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2300,
"wires": [
[]
]
},
{
"id": "6ddbf8d437c2723c",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2240,
"wires": [
[]
]
},
{
"id": "16fff1ddb6aa4c2c",
"type": "credentials",
"z": "4ae92a5d07f513ee",
"g": "65304d012b83460c",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2180,
"wires": [
[]
]
},
{
"id": "cf11131afc297ceb",
"type": "catch",

View file

@ -76,24 +76,6 @@
"w": 1482,
"h": 82
},
{
"id": "f3c5f863ce44dd4c",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"a4212c37abb32920"
],
"x": 68,
"y": 1233,
"w": 734,
"h": 434
},
{
"id": "3211cfd21f9b3d50",
"type": "group",
@ -155,38 +137,6 @@
"w": 422,
"h": 82
},
{
"id": "a4212c37abb32920",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "f3c5f863ce44dd4c",
"name": "parking - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"9bf844aeef65ae08",
"d25f4a083406230e",
"53e56dfd722c9a0d",
"49b83bddef12740c",
"94b5da1c39bf5b25",
"b6e1fef312e1fef1",
"9944fe7b1107bdf5",
"0b5db55da89761d4",
"464abf9bb2b39a29",
"a358b80cf5b7fd3e",
"b5e85fbe4ccc18da",
"f4bfaf4b248564cd",
"191e98f25a40d6ae",
"2102ee1a36edc0de"
],
"x": 94,
"y": 1259,
"w": 682,
"h": 382
},
{
"id": "e98a6d9250456790",
"type": "group",
@ -760,266 +710,6 @@
]
]
},
{
"id": "9bf844aeef65ae08",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "parking - device - auto",
"links": [
"a7adf44ae42183e7"
],
"x": 135,
"y": 1300,
"wires": [
[
"464abf9bb2b39a29",
"a358b80cf5b7fd3e",
"b5e85fbe4ccc18da",
"f4bfaf4b248564cd",
"191e98f25a40d6ae",
"2102ee1a36edc0de"
]
]
},
{
"id": "d25f4a083406230e",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "THG / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "THG",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1300,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "53e56dfd722c9a0d",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "parking - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 735,
"y": 1300,
"wires": []
},
{
"id": "49b83bddef12740c",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "SH4-90157 / xxx / motion / sensor",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SH4-90157",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1360,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "94b5da1c39bf5b25",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "SH4-90157 / xxx / motion / sensor 2",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SH4-90157",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "sensor 2",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1420,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "b6e1fef312e1fef1",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "ZMNHSD / xxx / light / spots",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHSD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "spots",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1480,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "9944fe7b1107bdf5",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "ZMNHSD / xxx / outlet / socket",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHSD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "outlet",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 1540,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "0b5db55da89761d4",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "FGD212 / xxx / light / lamp",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "lamp",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1600,
"wires": [
[
"53e56dfd722c9a0d"
]
]
},
{
"id": "f055974ec99702a8",
"type": "change",
@ -2086,114 +1776,6 @@
[]
]
},
{
"id": "464abf9bb2b39a29",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1300,
"wires": [
[]
]
},
{
"id": "a358b80cf5b7fd3e",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1600,
"wires": [
[]
]
},
{
"id": "b5e85fbe4ccc18da",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1540,
"wires": [
[]
]
},
{
"id": "f4bfaf4b248564cd",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1480,
"wires": [
[]
]
},
{
"id": "191e98f25a40d6ae",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1420,
"wires": [
[]
]
},
{
"id": "2102ee1a36edc0de",
"type": "credentials",
"z": "66555f1b8174a7f6",
"g": "a4212c37abb32920",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1360,
"wires": [
[]
]
},
{
"id": "6a3fba78aca99579",
"type": "catch",

View file

@ -50,24 +50,6 @@
"w": 562,
"h": 82
},
{
"id": "2958de9035c9e436",
"type": "group",
"z": "e067074d6510b7f8",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"a50b1d34ca287645"
],
"x": 68,
"y": 2613,
"w": 774,
"h": 794
},
{
"id": "6d6f0afcba784d9e",
"type": "group",
@ -208,50 +190,6 @@
"w": 422,
"h": 82
},
{
"id": "a50b1d34ca287645",
"type": "group",
"z": "e067074d6510b7f8",
"g": "2958de9035c9e436",
"name": "salon - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"cb12b88446500fd2",
"b99215e61f5b851a",
"c419381bd76bd68a",
"ec8fb8c9461f4d99",
"6346fe23c78b0d1c",
"91ec323b1984aa49",
"2c675f5f8c6d8a39",
"92440e6ee83211c8",
"ec9815806df67db9",
"b1dbc5994b9dd62a",
"2671ada0fb73c277",
"8f6648f63012f412",
"afacafb7749a482e",
"7c41ac450d21413a",
"3a4cf84ac08bedd8",
"90fee8bdfab977db",
"f5efc51bb8bbb188",
"d8e343f487801d25",
"88c7253e4f63f1f3",
"063015f83c8a6919",
"b058724ce5402b6d",
"4df88255d56ba061",
"8c4f18ac2f788dca",
"e57fb1b32793916a",
"d19cc830d8e7f40a",
"d63879512da13d29"
],
"x": 94,
"y": 2639,
"w": 722,
"h": 742
},
{
"id": "141e7635970308b4",
"type": "group",
@ -826,426 +764,6 @@
]
]
},
{
"id": "cb12b88446500fd2",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "REOLINK / xxx / camera / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "REOLINK",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2740,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "b99215e61f5b851a",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "ZMNHSD / xxx / lgiht / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHSD",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "ceiling",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2800,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "c419381bd76bd68a",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "FGR223 / xxx / aperture / shutter",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGR223",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 2860,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "ec8fb8c9461f4d99",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "ZMNHAD / xxx / outlet / bay",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZMNHAD",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "bay",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 2920,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "6346fe23c78b0d1c",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "FGS223 / xxx / outlet / left socket (option 1)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGS223",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 2980,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "91ec323b1984aa49",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "FGS223 / xxx / outlet / right socket (option 2)",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGS223",
"tot": "str"
},
{
"t": "set",
"p": "option",
"pt": "msg",
"to": "2",
"tot": "num"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right socket",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 3040,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "2c675f5f8c6d8a39",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "MCCGQ11LM / xxx / aperture / left bay",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "left bay",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 3220,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "92440e6ee83211c8",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "FGDW002 / xxx / aperture / right bay",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGDW002",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "right bay",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 3100,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "ec9815806df67db9",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 3160,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "b1dbc5994b9dd62a",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "FGSD002 / xxx / smoke / fire",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGSD002",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 3280,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "2671ada0fb73c277",
"type": "link out",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "salon - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 775,
"y": 2680,
"wires": []
},
{
"id": "8f6648f63012f412",
"type": "link in",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "salon - device - auto",
"links": [
"36ce7ba8c84903c3"
],
"x": 135,
"y": 2680,
"wires": [
[
"7c41ac450d21413a",
"3a4cf84ac08bedd8",
"90fee8bdfab977db",
"f5efc51bb8bbb188",
"d8e343f487801d25",
"88c7253e4f63f1f3",
"063015f83c8a6919",
"b058724ce5402b6d",
"4df88255d56ba061",
"8c4f18ac2f788dca",
"e57fb1b32793916a",
"d63879512da13d29"
]
]
},
{
"id": "afacafb7749a482e",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "BRP069B45 / xxx / air conditioner / url",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "BRP069B45",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2680,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "03f7e26d1b1288fc",
"type": "link in",
@ -4538,204 +4056,6 @@
"y": 1400,
"wires": []
},
{
"id": "7c41ac450d21413a",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2680,
"wires": [
[]
]
},
{
"id": "3a4cf84ac08bedd8",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2740,
"wires": [
[]
]
},
{
"id": "90fee8bdfab977db",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2800,
"wires": [
[]
]
},
{
"id": "f5efc51bb8bbb188",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3280,
"wires": [
[]
]
},
{
"id": "d8e343f487801d25",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3220,
"wires": [
[]
]
},
{
"id": "88c7253e4f63f1f3",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3160,
"wires": [
[]
]
},
{
"id": "063015f83c8a6919",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3100,
"wires": [
[]
]
},
{
"id": "b058724ce5402b6d",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3040,
"wires": [
[]
]
},
{
"id": "4df88255d56ba061",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2980,
"wires": [
[]
]
},
{
"id": "8c4f18ac2f788dca",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2920,
"wires": [
[]
]
},
{
"id": "e57fb1b32793916a",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 2860,
"wires": [
[]
]
},
{
"id": "8d7b277f0f787f97",
"type": "catch",
@ -4793,51 +4113,5 @@
"x": 915,
"y": 60,
"wires": []
},
{
"id": "d19cc830d8e7f40a",
"type": "change",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "SNZB-02 / xxx / temperature / probe",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SNZB-02",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 3340,
"wires": [
[
"2671ada0fb73c277"
]
]
},
{
"id": "d63879512da13d29",
"type": "credentials",
"z": "e067074d6510b7f8",
"g": "a50b1d34ca287645",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 3340,
"wires": [
[]
]
}
]

View file

@ -69,24 +69,6 @@
"w": 1634,
"h": 434
},
{
"id": "59cd14e36804ea36",
"type": "group",
"z": "7dd036f831a5ca6e",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"55af9abdd8c722e9"
],
"x": 68,
"y": 1373,
"w": 754,
"h": 314
},
{
"id": "9b0476b848cb48b7",
"type": "group",
@ -180,34 +162,6 @@
"w": 982,
"h": 157
},
{
"id": "55af9abdd8c722e9",
"type": "group",
"z": "7dd036f831a5ca6e",
"g": "59cd14e36804ea36",
"name": "toilettes - device - auto",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"db43162d657a70b2",
"825d57214a3d1f72",
"d3628ce51ab79320",
"3017dfd34fa2e6b2",
"47e1f8be04be30f9",
"7d6ec9cdece99d5f",
"0bc2fa7ec4df2b59",
"c4dc44e0eb65e4ec",
"fe6ce9720617a4a4",
"ddcda721ec3987b3"
],
"x": 94,
"y": 1399,
"w": 702,
"h": 262
},
{
"id": "61e21fea0f35b657",
"type": "group",
@ -988,159 +942,6 @@
]
]
},
{
"id": "db43162d657a70b2",
"type": "change",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "FGMS001 / xxx / motion / detector",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGMS001",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 1440,
"wires": [
[
"d3628ce51ab79320"
]
]
},
{
"id": "825d57214a3d1f72",
"type": "link in",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "toilettes - device - auto",
"links": [
"fc02e2aced7cc118"
],
"x": 135,
"y": 1440,
"wires": [
[
"0bc2fa7ec4df2b59",
"c4dc44e0eb65e4ec",
"fe6ce9720617a4a4",
"ddcda721ec3987b3"
]
]
},
{
"id": "d3628ce51ab79320",
"type": "link out",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "toilettes - device - auto",
"mode": "link",
"links": [
"d85fe6335a6eae7b"
],
"x": 755,
"y": 1440,
"wires": []
},
{
"id": "3017dfd34fa2e6b2",
"type": "change",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "MCCGQ11LM / xxx / aperture / window",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "window",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1560,
"wires": [
[
"d3628ce51ab79320"
]
]
},
{
"id": "47e1f8be04be30f9",
"type": "change",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "MCCGQ11LM / xxx / aperture / door",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1500,
"wires": [
[
"d3628ce51ab79320"
]
]
},
{
"id": "7d6ec9cdece99d5f",
"type": "change",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "FGD212 / xxx / light / ceiling",
"rules": [
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "FGD212",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 1620,
"wires": [
[
"d3628ce51ab79320"
]
]
},
{
"id": "48fb85cf9fc816df",
"type": "link out",
@ -1730,78 +1531,6 @@
[]
]
},
{
"id": "0bc2fa7ec4df2b59",
"type": "credentials",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1620,
"wires": [
[]
]
},
{
"id": "c4dc44e0eb65e4ec",
"type": "credentials",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1560,
"wires": [
[]
]
},
{
"id": "fe6ce9720617a4a4",
"type": "credentials",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1500,
"wires": [
[]
]
},
{
"id": "ddcda721ec3987b3",
"type": "credentials",
"z": "7dd036f831a5ca6e",
"g": "55af9abdd8c722e9",
"name": "id",
"props": [
{
"value": "id",
"type": "msg"
}
],
"x": 270,
"y": 1440,
"wires": [
[]
]
},
{
"id": "b9f3c3bb40a8aac4",
"type": "catch",

View file

@ -9392,7 +9392,7 @@
"t": "set",
"p": "default",
"pt": "msg",
"to": "",
"to": "home/current/electric meter",
"tot": "str"
}
],