iotredloop/flows/R.Parking.json

1548 lines
No EOL
28 KiB
JSON

[
{
"id": "66555f1b8174a7f6",
"type": "tab",
"label": "R.Parking",
"disabled": false,
"info": "",
"env": []
},
{
"id": "5bc9f7cf83238aeb",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "parking - bucket",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"7bf57edd9b912477",
"3a2f314ba935d912",
"a7adf44ae42183e7"
],
"x": 94,
"y": 19,
"w": 342,
"h": 82
},
{
"id": "81f2c0ba0afcc81a",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "parking - ui select room",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true,
"stroke": "#6f2fa0"
},
"nodes": [
"57edb1e8b87cefb2",
"dcf6e22992b1a266",
"7a168ca040e2e025",
"c8d93ea30a89c64b"
],
"x": 1054,
"y": 19,
"w": 582,
"h": 82
},
{
"id": "3211cfd21f9b3d50",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e98a6d9250456790",
"7df5dd6623e1931e",
"079cdcca76a08206"
],
"x": 68,
"y": 233,
"w": 2234,
"h": 374
},
{
"id": "2385ebb099d39679",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "parking - alexa",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"7cc72012db37a36f",
"dde0ba374db2eedf",
"553666c9dafd29aa"
],
"x": 68,
"y": 653,
"w": 1374,
"h": 374
},
{
"id": "8d1d52ddb56c2263",
"type": "group",
"z": "66555f1b8174a7f6",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"6a3fba78aca99579",
"2c13ccc1f39d9c03",
"869dcd5abf4c9bb5"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
},
{
"id": "e98a6d9250456790",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "3211cfd21f9b3d50",
"name": "parking - device - lighting",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"f055974ec99702a8",
"c205d9011b1d755d",
"21b27e23f84eeec9",
"dd3ebfb1ff642740",
"fc7d87833bd0e1de",
"295be0d4ddcc0203"
],
"x": 94,
"y": 259,
"w": 522,
"h": 262
},
{
"id": "7df5dd6623e1931e",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "3211cfd21f9b3d50",
"name": "parking - scene - lighting spots",
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"d7eda7ed1f610f4e",
"ad567a9cec27715e",
"dcee708239241769",
"d95f2ca72214b098",
"4f321829f6f7cc47",
"47d5788daef02cc1"
],
"x": 714,
"y": 311.5,
"w": 1022,
"h": 149.5
},
{
"id": "079cdcca76a08206",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "3211cfd21f9b3d50",
"name": "parking - scene - lighting lamp",
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"4dc06cde57a95b67",
"27f1e5191cf5e255",
"dfb1a9f530d400b5",
"e8d93eeb1ee07fad",
"d508dae06ba6ea5f",
"c47166a7181bf023",
"ada94e4f95af472a",
"037be326655205c3",
"f288cfc760dda385"
],
"x": 714,
"y": 499,
"w": 1562,
"h": 82
},
{
"id": "7cc72012db37a36f",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "2385ebb099d39679",
"name": "parking - alexa - light spots",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e9a0591d654a5d18",
"17193d3c2edc0a1b",
"faad30261c5c42b4",
"054b8502d9873700",
"fd3bddca4344299b",
"f9fa54799ed349a3",
"83890229fb39a593"
],
"x": 94,
"y": 679,
"w": 1322,
"h": 82
},
{
"id": "dde0ba374db2eedf",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "2385ebb099d39679",
"name": "parking - alexa - motion",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"98f376df7b0bbc5d",
"957e4911e1e7bcfd",
"49da4a79a0759025",
"59b3237828d69574",
"924613ad9e615565"
],
"x": 94,
"y": 919,
"w": 952,
"h": 82
},
{
"id": "553666c9dafd29aa",
"type": "group",
"z": "66555f1b8174a7f6",
"g": "2385ebb099d39679",
"name": "parking - alexa - temperature",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"25bf9e91d9fd1134",
"aa98bb2a582511ba",
"dbfc0b4bcc1a5399",
"6751e3fd6a6c45d9",
"dd4f8e5109c3f132"
],
"x": 94,
"y": 799,
"w": 972,
"h": 82
},
{
"id": "7bf57edd9b912477",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "5bc9f7cf83238aeb",
"name": "bucket",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "parking",
"tot": "str"
},
{
"t": "set",
"p": "bucket",
"pt": "flow",
"to": "bucket",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 60,
"wires": [
[
"a7adf44ae42183e7"
]
]
},
{
"id": "3a2f314ba935d912",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "5bc9f7cf83238aeb",
"name": "parking - bucket",
"links": [
"25445f5a9b787a0a"
],
"x": 135,
"y": 60,
"wires": [
[
"7bf57edd9b912477"
]
]
},
{
"id": "a7adf44ae42183e7",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "5bc9f7cf83238aeb",
"name": "parking - bucket",
"mode": "link",
"links": [
"21b27e23f84eeec9",
"2e7bb0e6e6079d56",
"9bf844aeef65ae08",
"668589ced855b77f"
],
"x": 395,
"y": 60,
"wires": []
},
{
"id": "57edb1e8b87cefb2",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "81f2c0ba0afcc81a",
"name": "parking - ui select room",
"mode": "link",
"links": [
"1be6ca3c2b8615a2"
],
"x": 1595,
"y": 60,
"wires": []
},
{
"id": "dcf6e22992b1a266",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "81f2c0ba0afcc81a",
"name": "parking - ui select room",
"links": [
"74172837e07ab80d"
],
"x": 1095,
"y": 60,
"wires": [
[
"c8d93ea30a89c64b"
]
]
},
{
"id": "7a168ca040e2e025",
"type": "ui-button",
"z": "66555f1b8174a7f6",
"g": "81f2c0ba0afcc81a",
"group": "36396f5285df476c",
"name": "",
"label": "Parking",
"order": 19,
"width": "2",
"height": "1",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "bucket",
"payloadType": "flow",
"topic": "topic",
"topicType": "msg",
"x": 1460,
"y": 60,
"wires": [
[
"57edb1e8b87cefb2"
]
]
},
{
"id": "c8d93ea30a89c64b",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "81f2c0ba0afcc81a",
"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": [
[
"7a168ca040e2e025"
]
]
},
{
"id": "f055974ec99702a8",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"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,
"y": 300,
"wires": [
[
"c205d9011b1d755d"
]
]
},
{
"id": "c205d9011b1d755d",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"name": "parking - device - lighting",
"mode": "link",
"links": [
"bfa594bf1f876c92"
],
"x": 575,
"y": 300,
"wires": []
},
{
"id": "21b27e23f84eeec9",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"name": "parking - device - lighting",
"links": [
"a7adf44ae42183e7"
],
"x": 135,
"y": 300,
"wires": [
[
"f055974ec99702a8",
"dd3ebfb1ff642740",
"fc7d87833bd0e1de",
"295be0d4ddcc0203"
]
]
},
{
"id": "dd3ebfb1ff642740",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"name": "lighting / timer / number / 10",
"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": "10",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 360,
"wires": [
[
"c205d9011b1d755d"
]
]
},
{
"id": "fc7d87833bd0e1de",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"name": "lighting / night / boolean / true",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "lighting",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "night",
"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": 350,
"y": 420,
"wires": [
[
"c205d9011b1d755d"
]
]
},
{
"id": "295be0d4ddcc0203",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "e98a6d9250456790",
"name": "lighting / motion / boolean / true",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "lighting",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "motion",
"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": 350,
"y": 480,
"wires": [
[
"c205d9011b1d755d"
]
]
},
{
"id": "d7eda7ed1f610f4e",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "parking - scene - lighting spots",
"links": [
"031a6afd8300356a"
],
"x": 755,
"y": 360,
"wires": [
[
"dcee708239241769"
]
]
},
{
"id": "ad567a9cec27715e",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "scene lighting / spots / boolean",
"rules": [
{
"t": "set",
"p": "scene",
"pt": "msg",
"to": "{}",
"tot": "jsonata"
},
{
"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": "spots",
"tot": "str"
},
{
"t": "set",
"p": "scene.format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "scene.type",
"pt": "msg",
"to": "lighting",
"tot": "str"
},
{
"t": "set",
"p": "scene.on",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "scene.off",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1490,
"y": 360,
"wires": [
[
"d95f2ca72214b098"
]
]
},
{
"id": "dcee708239241769",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "trigger",
"property": "path",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "parking/motion",
"vt": "str",
"case": false
},
{
"t": "eq",
"v": "parking/light/spots",
"vt": "str"
},
{
"t": "eq",
"v": "cuisine/command/remote",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 890,
"y": 360,
"wires": [
[
"ad567a9cec27715e"
],
[
"ad567a9cec27715e"
],
[
"4f321829f6f7cc47"
]
]
},
{
"id": "d95f2ca72214b098",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "parking - scene - lighting spots",
"mode": "link",
"links": [
"abdf34b12a5dd88d"
],
"x": 1695,
"y": 360,
"wires": []
},
{
"id": "4f321829f6f7cc47",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "remote",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "10",
"vt": "num",
"v2": "11",
"v2t": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1060,
"y": 420,
"wires": [
[
"47d5788daef02cc1"
]
]
},
{
"id": "47d5788daef02cc1",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "7df5dd6623e1931e",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload=11",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1240,
"y": 420,
"wires": [
[
"ad567a9cec27715e"
]
]
},
{
"id": "4dc06cde57a95b67",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "parking - scene - lighting lamp",
"links": [
"031a6afd8300356a"
],
"x": 755,
"y": 540,
"wires": [
[
"dfb1a9f530d400b5"
]
]
},
{
"id": "27f1e5191cf5e255",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "scene lighting / lamp / dimmer",
"rules": [
{
"t": "set",
"p": "scene",
"pt": "msg",
"to": "{}",
"tot": "jsonata"
},
{
"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": "lamp",
"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": "99",
"tot": "num"
},
{
"t": "set",
"p": "scene.off",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1130,
"y": 540,
"wires": [
[
"037be326655205c3"
]
]
},
{
"id": "dfb1a9f530d400b5",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "trigger",
"property": "path",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "system/mode/nycthemer",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 890,
"y": 540,
"wires": [
[
"27f1e5191cf5e255"
]
]
},
{
"id": "e8d93eeb1ee07fad",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "rsp",
"property": "routine.response",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1570,
"y": 540,
"wires": [
[
"c47166a7181bf023"
]
]
},
{
"id": "d508dae06ba6ea5f",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "parking - scene - lighting lamp",
"mode": "link",
"links": [
"fb4b4e2a3fb029df"
],
"x": 2235,
"y": 540,
"wires": []
},
{
"id": "c47166a7181bf023",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "",
"links": [
"dfec2e7efb555d4d"
],
"linkType": "static",
"timeout": "30",
"x": 1750,
"y": 540,
"wires": [
[
"f288cfc760dda385"
]
]
},
{
"id": "ada94e4f95af472a",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.routine.response=1?msg.scene.on:msg.scene.off",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2100,
"y": 540,
"wires": [
[
"d508dae06ba6ea5f"
]
]
},
{
"id": "037be326655205c3",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "",
"links": [
"c1a22098f4c6b607"
],
"linkType": "static",
"timeout": "30",
"x": 1390,
"y": 540,
"wires": [
[
"e8d93eeb1ee07fad"
]
]
},
{
"id": "f288cfc760dda385",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "079cdcca76a08206",
"name": "rsp",
"property": "routine.response",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "num"
},
{
"t": "eq",
"v": "-1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1930,
"y": 540,
"wires": [
[
"ada94e4f95af472a"
],
[
"ada94e4f95af472a"
]
]
},
{
"id": "e9a0591d654a5d18",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "parking - alexa - light spots",
"mode": "link",
"links": [
"df6a69e3a774eebc"
],
"x": 1375,
"y": 720,
"wires": []
},
{
"id": "17193d3c2edc0a1b",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "parking - alexa - light spots",
"links": [
"abd3bb3b24dd961a"
],
"x": 135,
"y": 720,
"wires": [
[
"faad30261c5c42b4"
]
]
},
{
"id": "faad30261c5c42b4",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "bucket",
"vt": "flow"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 270,
"y": 720,
"wires": [
[
"054b8502d9873700"
]
]
},
{
"id": "054b8502d9873700",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "spots",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 430,
"y": 720,
"wires": [
[
"f9fa54799ed349a3"
]
]
},
{
"id": "fd3bddca4344299b",
"type": "vsh-virtual-device",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "spots de l'entrée",
"topic": "parking/cible/spots",
"metadata": "{}",
"connection": "b156e6eff1bfadd1",
"template": "SWITCH",
"retrievable": true,
"passthrough": false,
"diff": false,
"filter": false,
"filterTopic": false,
"plan": "free",
"x": 920,
"y": 720,
"wires": [
[
"83890229fb39a593"
]
]
},
{
"id": "f9fa54799ed349a3",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "",
"links": [
"bac2afafe6b36787"
],
"linkType": "static",
"timeout": "30",
"x": 660,
"y": 720,
"wires": [
[
"fd3bddca4344299b"
]
]
},
{
"id": "83890229fb39a593",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "7cc72012db37a36f",
"name": "",
"links": [
"d71667633c63d82c"
],
"linkType": "static",
"timeout": "30",
"x": 1180,
"y": 720,
"wires": [
[
"e9a0591d654a5d18"
]
]
},
{
"id": "98f376df7b0bbc5d",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "dde0ba374db2eedf",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "bucket",
"vt": "flow"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 270,
"y": 960,
"wires": [
[
"49da4a79a0759025"
]
]
},
{
"id": "957e4911e1e7bcfd",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "dde0ba374db2eedf",
"name": "parking - alexa - motion",
"links": [
"8f6b9cabcee961b9"
],
"x": 135,
"y": 960,
"wires": [
[
"98f376df7b0bbc5d"
]
]
},
{
"id": "49da4a79a0759025",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "dde0ba374db2eedf",
"name": "scene",
"rules": [
{
"t": "set",
"p": "scene.bucket",
"pt": "msg",
"to": "bucket",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 430,
"y": 960,
"wires": [
[
"59b3237828d69574"
]
]
},
{
"id": "59b3237828d69574",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "dde0ba374db2eedf",
"name": "",
"links": [
"4f63773f3c770aa4"
],
"linkType": "static",
"timeout": "30",
"x": 650,
"y": 960,
"wires": [
[
"924613ad9e615565"
]
]
},
{
"id": "924613ad9e615565",
"type": "vsh-virtual-device",
"z": "66555f1b8174a7f6",
"g": "dde0ba374db2eedf",
"name": "mouvement de l'entrée",
"topic": "",
"metadata": "{}",
"connection": "b156e6eff1bfadd1",
"template": "MOTION_SENSOR",
"retrievable": true,
"passthrough": false,
"diff": false,
"filter": false,
"filterTopic": false,
"plan": "free",
"x": 920,
"y": 960,
"wires": [
[]
]
},
{
"id": "25bf9e91d9fd1134",
"type": "link in",
"z": "66555f1b8174a7f6",
"g": "553666c9dafd29aa",
"name": "parking - alexa - temperature",
"links": [
"a66c6d1f8e271921"
],
"x": 135,
"y": 840,
"wires": [
[
"aa98bb2a582511ba"
]
]
},
{
"id": "aa98bb2a582511ba",
"type": "switch",
"z": "66555f1b8174a7f6",
"g": "553666c9dafd29aa",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "bucket",
"vt": "flow"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 270,
"y": 840,
"wires": [
[
"6751e3fd6a6c45d9"
]
]
},
{
"id": "dbfc0b4bcc1a5399",
"type": "link call",
"z": "66555f1b8174a7f6",
"g": "553666c9dafd29aa",
"name": "",
"links": [
"50c950cddc1506ed"
],
"linkType": "static",
"timeout": "30",
"x": 650,
"y": 840,
"wires": [
[
"dd4f8e5109c3f132"
]
]
},
{
"id": "6751e3fd6a6c45d9",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "553666c9dafd29aa",
"name": "scene",
"rules": [
{
"t": "set",
"p": "scene.bucket",
"pt": "msg",
"to": "bucket",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 430,
"y": 840,
"wires": [
[
"dbfc0b4bcc1a5399"
]
]
},
{
"id": "dd4f8e5109c3f132",
"type": "vsh-virtual-device",
"z": "66555f1b8174a7f6",
"g": "553666c9dafd29aa",
"name": "température du parking",
"topic": "",
"metadata": "{}",
"connection": "b156e6eff1bfadd1",
"template": "TEMPERATURE_SENSOR",
"retrievable": true,
"passthrough": false,
"diff": false,
"filter": false,
"filterTopic": false,
"plan": "free",
"x": 930,
"y": 840,
"wires": [
[]
]
},
{
"id": "6a3fba78aca99579",
"type": "catch",
"z": "66555f1b8174a7f6",
"g": "8d1d52ddb56c2263",
"name": "catch error",
"scope": null,
"uncaught": false,
"x": 620,
"y": 60,
"wires": [
[
"2c13ccc1f39d9c03"
]
]
},
{
"id": "2c13ccc1f39d9c03",
"type": "change",
"z": "66555f1b8174a7f6",
"g": "8d1d52ddb56c2263",
"name": "topic",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "parking",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 790,
"y": 60,
"wires": [
[
"869dcd5abf4c9bb5"
]
]
},
{
"id": "869dcd5abf4c9bb5",
"type": "link out",
"z": "66555f1b8174a7f6",
"g": "8d1d52ddb56c2263",
"name": "catch error",
"mode": "link",
"links": [
"a52f0e788cd4dca3"
],
"x": 915,
"y": 60,
"wires": []
}
]