diff --git a/README.md b/README.md index 2e69f73..05a75b7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## ABOUT -iotredloop v0.0.1 +iotredloop v0.1.0 > Simple nodered home automation kernel This is a personnal project of home automation, it is highly limited to my needs. @@ -9,14 +9,14 @@ Main flows.json was cut into multiple files by tabs using [node-red-contrib-flow ## REQUIREMENTS -Flows are written under Node-red v3.1.9 with following nodes packages : +Flows are written under Node-red v4.0.2 with following nodes packages : * [node-red-contrib-flow-manager](https://flows.nodered.org/node/node-red-contrib-flow-manager) 0.7.4 * [node-red-contrib-msg-speed](https://flows.nodered.org/node/node-red-contrib-msg-speed) 2.1.0 * [node-red-contrib-queue-gate](https://flows.nodered.org/node/node-red-contrib-queue-gate) 1.5.5 * [node-red-contrib-simple-gate](https://flows.nodered.org/node/node-red-contrib-simple-gate) 0.5.2 * [node-red-contrib-stackhero-influxdb-v2](https://flows.nodered.org/node/node-red-contrib-stackhero-influxdb-v2) 1.0.4 -* [@flowfuse/node-red-dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard) 1.9.1 (nodered dashboard 2) +* [@flowfuse/node-red-dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard) 1.13.0 (nodered dashboard 2) * [node-red-contrib-cpu](https://flows.nodered.org/node/node-red-contrib-cpu) 0.0.4 * [node-red-contrib-moment](https://flows.nodered.org/node/node-red-contrib-moment) 5.0.0 * [node-red-contrib-bigtimer](https://flows.nodered.org/node/node-red-contrib-bigtimer) 2.8.6 @@ -28,12 +28,12 @@ Flows are written under Node-red v3.1.9 with following nodes packages : It additionnaly uses some Telegram, Proxmox, Unifi, Nextcloud (agenda) and Amazon Alexa stuff. -* [node-red-contrib-telegrambot](https://flows.nodered.org/node/node-red-contrib-telegrambot) 15.1.10 +* [node-red-contrib-telegrambot](https://flows.nodered.org/node/node-red-contrib-telegrambot) 16.0.1 * [node-red-contrib-proxmox](https://flows.nodered.org/node/node-red-contrib-proxmox) 0.0.2 * [node-red-contrib-unifi](https://flows.nodered.org/node/node-red-contrib-unifi) 0.3.15 * [@kuehnelbs/node-red-contrib-nextcloud](https://flows.nodered.org/node/@kuehnelbs/node-red-contrib-nextcloud) 0.1.3 * [node-red-contrib-alexa-remote2-applestrudel](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel) 5.0.50 -* [node-red-contrib-virtual-smart-home](https://flows.nodered.org/node/node-red-contrib-virtual-smart-home) 4.4.0 +* [node-red-contrib-virtual-smart-home](https://flows.nodered.org/node/node-red-contrib-virtual-smart-home) 4.4.1 **Flows also required a working MQTT broker and a InfluxDB database.** @@ -48,6 +48,7 @@ The better way is to : Tabs starting with: * K. Kernel tabs, required * P. Protocols tabs, depending of your devices +* A. API/Assistant tabs, depending of your needs * U. Dashboard tabs,required * R. Rooms tabs, not required, some exemples of rooms taken from my house diff --git a/config-nodes.json b/config-nodes.json index ed1ef38..3bc26cf 100644 --- a/config-nodes.json +++ b/config-nodes.json @@ -193,35 +193,6 @@ "userProps": "", "sessionExpiry": "" }, - { - "id": "442ad702808e3c66", - "type": "mqtt-broker", - "name": "mqtt rhasspy", - "broker": "10.40.0.111", - "port": "1883", - "clientid": "iotredloop-rhasspy", - "autoConnect": true, - "usetls": false, - "protocolVersion": "4", - "keepalive": "60", - "cleansession": true, - "autoUnsubscribe": true, - "birthTopic": "domotique/status", - "birthQos": "1", - "birthRetain": "true", - "birthPayload": "online", - "birthMsg": {}, - "closeTopic": "", - "closeQos": "0", - "closePayload": "", - "closeMsg": {}, - "willTopic": "", - "willQos": "0", - "willPayload": "", - "willMsg": {}, - "userProps": "", - "sessionExpiry": "" - }, { "id": "fcf92ce9c73cd90d", "type": "ui-page", @@ -231,31 +202,18 @@ "icon": "door", "layout": "flex", "theme": "0e53487482752cfe", - "order": 2, + "order": 1, "className": "", "visible": true, "disabled": "false" }, - { - "id": "d464a60fe4e4c421", - "type": "ui-group", - "name": "Tableau de bord", - "page": "90601eed5215748f", - "width": "6", - "height": "1", - "order": 1, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, { "id": "36396f5285df476c", "type": "ui-group", "name": "Pièce", "page": "fcf92ce9c73cd90d", "width": "6", - "height": "5", + "height": "1", "order": 1, "showTitle": true, "className": "", @@ -291,7 +249,9 @@ "ui-control" ], "showPathInSidebar": false, - "navigationStyle": "icon" + "showPageTitle": true, + "navigationStyle": "icon", + "titleBarStyle": "default" }, { "id": "018c8ded1126b49a", @@ -300,7 +260,7 @@ "page": "90601eed5215748f", "width": "6", "height": "3", - "order": 7, + "order": 3, "showTitle": true, "className": "", "visible": "true", @@ -313,7 +273,7 @@ "page": "90601eed5215748f", "width": "6", "height": "1", - "order": 6, + "order": 2, "showTitle": true, "className": "", "visible": "true", @@ -341,7 +301,7 @@ "icon": "cog", "layout": "flex", "theme": "0e53487482752cfe", - "order": 4, + "order": 3, "className": "", "visible": "true", "disabled": "false" @@ -359,19 +319,6 @@ "visible": "true", "disabled": "false" }, - { - "id": "b0bbfaa0e2f5be4a", - "type": "ui-group", - "name": "Moniteur", - "page": "103382107d295424", - "width": "6", - "height": "1", - "order": 4, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, { "id": "dc35508e5890fb69", "type": "ui-group", @@ -379,7 +326,7 @@ "page": "103382107d295424", "width": "6", "height": "5", - "order": 5, + "order": 3, "showTitle": true, "className": "", "visible": "true", @@ -392,7 +339,7 @@ "page": "103382107d295424", "width": "6", "height": "1", - "order": 6, + "order": 4, "showTitle": true, "className": "", "visible": "true", @@ -407,7 +354,7 @@ "icon": "tune", "layout": "flex", "theme": "0e53487482752cfe", - "order": 5, + "order": 4, "className": "", "visible": "true", "disabled": "false" @@ -427,33 +374,6 @@ "timeout": "10", "rejectUnauthorized": false }, - { - "id": "241fa70e798648e8", - "type": "ui-group", - "name": "Electricité", - "page": "8e909fed7a35e981", - "width": "6", - "height": "1", - "order": 3, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "8e909fed7a35e981", - "type": "ui-page", - "name": "Maison", - "ui": "2d75e4809d2a6fbf", - "path": "/", - "icon": "home", - "layout": "flex", - "theme": "0e53487482752cfe", - "order": 1, - "className": "", - "visible": true, - "disabled": "false" - }, { "id": "75a98516fdcdf832", "type": "ui-group", @@ -461,19 +381,6 @@ "page": "90601eed5215748f", "width": "6", "height": "1", - "order": 8, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "8bdaa1ba3eb700cc", - "type": "ui-group", - "name": "Température exterieur", - "page": "8e909fed7a35e981", - "width": "6", - "height": "1", "order": 4, "showTitle": true, "className": "", @@ -481,13 +388,28 @@ "disabled": "false" }, { - "id": "7f89503f8062898b", + "id": "8bdaa1ba3eb700cc", "type": "ui-group", - "name": "Humidité exterieur", - "page": "8e909fed7a35e981", + "d": true, + "name": "Température exterieur", + "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 5, + "order": 3, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "7f89503f8062898b", + "type": "ui-group", + "d": true, + "name": "Humidité exterieur", + "page": "fcf92ce9c73cd90d", + "width": "6", + "height": "1", + "order": 2, "showTitle": true, "className": "", "visible": "true", @@ -500,7 +422,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 11, + "order": 15, "showTitle": true, "className": "", "visible": false, @@ -513,7 +435,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 5, + "order": 9, "showTitle": true, "className": "", "visible": true, @@ -526,7 +448,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 6, + "order": 10, "showTitle": true, "className": "", "visible": "true", @@ -539,7 +461,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 13, + "order": 17, "showTitle": true, "className": "", "visible": "true", @@ -552,7 +474,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 14, + "order": 18, "showTitle": true, "className": "", "visible": "true", @@ -565,10 +487,10 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 7, + "order": 11, "showTitle": true, "className": "", - "visible": "true", + "visible": true, "disabled": "false" }, { @@ -578,7 +500,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 10, + "order": 14, "showTitle": true, "className": "", "visible": "true", @@ -591,7 +513,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 12, + "order": 16, "showTitle": true, "className": "", "visible": "true", @@ -604,7 +526,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 19, + "order": 22, "showTitle": true, "className": "", "visible": "true", @@ -617,20 +539,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 18, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "4deac0812bc789d5", - "type": "ui-group", - "name": "Eclairage", - "page": "fcf92ce9c73cd90d", - "width": "6", - "height": "1", - "order": 16, + "order": 21, "showTitle": true, "className": "", "visible": "true", @@ -643,20 +552,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 20, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "104179763815c332", - "type": "ui-group", - "name": "Ombrage", - "page": "fcf92ce9c73cd90d", - "width": "6", - "height": "1", - "order": 17, + "order": 23, "showTitle": true, "className": "", "visible": "true", @@ -669,20 +565,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 15, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "b7f2b376a6150162", - "type": "ui-group", - "name": "Jarvis", - "page": "fcf92ce9c73cd90d", - "width": "6", - "height": "1", - "order": 24, + "order": 19, "showTitle": true, "className": "", "visible": "true", @@ -695,7 +578,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 21, + "order": 24, "showTitle": true, "className": "", "visible": "true", @@ -708,7 +591,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 23, + "order": 26, "showTitle": true, "className": "", "visible": "true", @@ -749,7 +632,7 @@ "page": "90601eed5215748f", "width": "6", "height": "1", - "order": 5, + "order": 1, "showTitle": true, "className": "", "visible": "true", @@ -809,22 +692,9 @@ "icon": "calendar", "layout": "flex", "theme": "0e53487482752cfe", - "order": 3, + "order": 2, "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "1745449446f285ef", - "type": "ui-group", - "name": "Anniversaire", - "page": "8e909fed7a35e981", - "width": "6", - "height": "1", - "order": 8, - "showTitle": true, - "className": "", - "visible": "true", + "visible": true, "disabled": "false" }, { @@ -840,19 +710,6 @@ "visible": "true", "disabled": "false" }, - { - "id": "55e6ecdf43b1e380", - "type": "ui-group", - "name": "Poubelles", - "page": "8e909fed7a35e981", - "width": "6", - "height": "1", - "order": 7, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, { "id": "0e7c66df5c84175b", "type": "ui-group", @@ -860,7 +717,7 @@ "page": "90601eed5215748f", "width": "6", "height": "1", - "order": 9, + "order": 5, "showTitle": true, "className": "", "visible": "true", @@ -879,7 +736,7 @@ "page": "90601eed5215748f", "width": "6", "height": "5", - "order": 10, + "order": 6, "showTitle": true, "className": "", "visible": "true", @@ -902,7 +759,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 3, + "order": 7, "showTitle": true, "className": "", "visible": "true", @@ -915,7 +772,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 4, + "order": 8, "showTitle": true, "className": "", "visible": "true", @@ -924,15 +781,15 @@ { "id": "a7cbb932c183a9ce", "type": "ui-page", - "name": "Créateur", + "name": "Entités", "ui": "2d75e4809d2a6fbf", - "path": "/creator", + "path": "/entities", "icon": "auto-fix", "layout": "flex", "theme": "b9e3784065d1d1b2", - "order": 6, + "order": 5, "className": "", - "visible": "true", + "visible": true, "disabled": "false" }, { @@ -942,7 +799,7 @@ "page": "a7cbb932c183a9ce", "width": "6", "height": "1", - "order": 1, + "order": 4, "showTitle": true, "className": "", "visible": "true", @@ -955,7 +812,7 @@ "page": "a7cbb932c183a9ce", "width": "6", "height": "1", - "order": 2, + "order": 5, "showTitle": true, "className": "", "visible": "true", @@ -968,7 +825,7 @@ "page": "a7cbb932c183a9ce", "width": "6", "height": "1", - "order": 3, + "order": 6, "showTitle": true, "className": "", "visible": "true", @@ -980,21 +837,8 @@ "name": "Puissance électrique", "page": "fcf92ce9c73cd90d", "width": "6", - "height": "1", - "order": 2, - "showTitle": true, - "className": "", - "visible": "true", - "disabled": "false" - }, - { - "id": "b3fa33201c5f1de7", - "type": "ui-group", - "name": "Délestage", - "page": "103382107d295424", - "width": "6", - "height": "1", - "order": 3, + "height": "8", + "order": 6, "showTitle": true, "className": "", "visible": "true", @@ -1007,7 +851,7 @@ "page": "a7cbb932c183a9ce", "width": "18", "height": "1", - "order": 4, + "order": 7, "showTitle": true, "className": "", "visible": "true", @@ -1020,7 +864,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 22, + "order": 25, "showTitle": true, "className": "", "visible": "true", @@ -1033,7 +877,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 8, + "order": 12, "showTitle": true, "className": "", "visible": "true", @@ -1046,7 +890,7 @@ "page": "fcf92ce9c73cd90d", "width": "6", "height": "1", - "order": 9, + "order": 13, "showTitle": true, "className": "", "visible": "true", @@ -1069,5 +913,201 @@ "groupBorderRadius": "12px", "widgetGap": "4px" } + }, + { + "id": "732a8bfbf8ad27d9", + "type": "ui-page", + "name": "Scenes", + "ui": "2d75e4809d2a6fbf", + "path": "/scenes", + "icon": "puzzle", + "layout": "flex", + "theme": "b9e3784065d1d1b2", + "order": 6, + "className": "", + "visible": true, + "disabled": false + }, + { + "id": "86da7af07264458b", + "type": "ui-group", + "name": "Ajouter ou modifier une scene", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 1, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "eeb78a0cec96cfe6", + "type": "ui-group", + "name": "Ajouter un déclencheur", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 5, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "8b3cd32ecb695d93", + "type": "ui-group", + "name": "Liste des scènes", + "page": "732a8bfbf8ad27d9", + "width": "18", + "height": "1", + "order": 4, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "b2b7b4212f316b5b", + "type": "ui-group", + "name": "Liste des déclencheurs", + "page": "732a8bfbf8ad27d9", + "width": "18", + "height": "1", + "order": 8, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "c32053913a6bb245", + "type": "ui-group", + "name": "Supprimer un déclencheur", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 6, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "1834253e93442bc8", + "type": "ui-group", + "name": "Supprimer une scène", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 2, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "a62fb8e0d132955e", + "type": "ui-group", + "name": "Importer / exporter des scènes", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 3, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "6deb4e8479d0818e", + "type": "ui-group", + "name": "Importer / exporter des déclencheurs", + "page": "732a8bfbf8ad27d9", + "width": "6", + "height": "1", + "order": 7, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "c1cd47eafbe36514", + "type": "ui-group", + "name": "Ajouter une pièce", + "page": "a7cbb932c183a9ce", + "width": "6", + "height": "1", + "order": 1, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "773eef4fbdd58da8", + "type": "ui-group", + "name": "Supprimer une pièce", + "page": "a7cbb932c183a9ce", + "width": "6", + "height": "1", + "order": 2, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "851105d76914a281", + "type": "ui-group", + "name": "Importer / exporter des pièces", + "page": "a7cbb932c183a9ce", + "width": "6", + "height": "1", + "order": 3, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "63f4993fe010ac66", + "type": "ui-group", + "name": "Photovoltaïque", + "page": "fcf92ce9c73cd90d", + "width": "6", + "height": "1", + "order": 5, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "cde58fe11ffae273", + "type": "ui-group", + "name": "Agenda", + "page": "fcf92ce9c73cd90d", + "width": "6", + "height": "1", + "order": 4, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" + }, + { + "id": "b044f13129d03761", + "type": "ui-group", + "name": "Surcharge", + "page": "fcf92ce9c73cd90d", + "width": "6", + "height": "1", + "order": 20, + "showTitle": true, + "className": "", + "visible": "true", + "disabled": "false" } ] \ No newline at end of file diff --git a/flow-manager-nodes-order.json b/flow-manager-nodes-order.json index 93ef269..9f51d9b 100644 --- a/flow-manager-nodes-order.json +++ b/flow-manager-nodes-order.json @@ -1 +1 @@ -["ab51b1e8cad7b700","bcb4426f5301b9f2","68ee181e9defa139","bac2b08cd7c2e421","80f2ffd4953c67e9","a1e22fa468f03c15","b984eb4415408ed9","0cd436e03cba5cb6","03220402a282530b","f641ea2d0fb81a6f","f125f568d4e332ee","b66c229035856438","29b296e6cd0e71d4","0e52966a98143270","52347795767acd3f","bcb1eeac454a68aa","422511c2793ff288","e19f53e3dc7ab928","aab0c030de7df5cc","b928bb81c1e02961","eeb3b84351fc9295","1362a4b4f08f3d5b","677f66663a198839","c2bfa0fea66ef080","7b8b61c2b3de438c","22d006e54a3d540e","c753f3cc18b3d048","2b225e03b149417d","5771bd732671238b","854a244e296fdb4d","83779166f14173f8","f92af28dd3f79491","1deed2a6db13d46e","775754fc0aab4668","aa1ed312e8852b84","daa0be2fa53aaf46","4e21124fc8407bb1","9285414bd87e0146","82d1583d2c5dfc80","4ae92a5d07f513ee","66555f1b8174a7f6","e067074d6510b7f8","7dd036f831a5ca6e","052662428f6aa1c9","ae92592138b2c924","eefe7f96cf64784b","a0496edd95de60f3","3a98a00afc60d7cd","50456628f56ade66","96d8990f6a4978cc","648d078d534a93be","818a8590288d6409","0aeb80f7dfc7025e","f6132c9f3c5a2911","8ebd43deda9d56d4","b64c96e257072f51","2af6505c256f006d","a0476b1a7ec53d40","dad2ac027d4f9f24","dd003c121420d45a","e6f586ce062979fb","19589484518b9c6d","f2395f53893d1689","b797275a94ef83a0","ac8656880e79c64f","a36cc06f8dcbf00f","57bf8eefe70206c0","efb33694649f8cca","c09962536325e13b","0164b91ce85885f1","1fb10d380183f0fb","c761b34cfb83bf7b","3df91d363faee835","f7b8f0b4a2f0c6c9","dd7ef46856df793e","f12560e95cd346d2","dbf491fd689e7cd2","7e9cff1699c061ec","93075511ad056e6d","e653f3ec3dc88a8f","6f1f772c23d57e24","c3cbb2a2dd06d1bb","86745759c5123379","df46e2504e16fc3e","094bebacb1145e5f","8ff8200fb98a6c9f","d6b920b99b611bdf","9764355bf8f8caf8","068fb3ac81317e59","f147598b1853465c","610900e2bc688c66","1a4c91d77f5e3f12","a8afdde5118f03bd","7ca9480926549d67","85cf36fc3802a3fe","b475a609b6f58891","a80fd3f576f680d2","10c9d50559ed7215","380884ff4c222733","052f9d828fb52a35","d4d6d96350b622f2","64ae107fab0120ff","db501caf0bb9ee92","e8171983c5a482d5","3dfc4f4ef8899345","5e146180b8f60933","ad3ffab1b67d0abb","6595b51ed6ecedbf","52d62e3ff58d5f74","9a5f8bbe3eabf5fb","571cfd384a015b88","ef7759af584f1554","9244bfd4d05d9c3e","bbefe025338a4088","0cf81dc631df6bea","ba098df60748f1ec","d46561c0f240c1d9","ef46b000b033db2d","431e858f4040dc8b","d05973f2f05e6933","0aff5d7f470c281b","e59bed66f12534a0","b6b56adff82012bd","97f32de0144908e5","0c72531717a01ea2","7df081d38de8d887","45b2c91cc17508eb","fed2a5ee0a71e88f","6b28d5f0aa7b2318","9fed22b2831a8c22","a7b40f415a368a7f","b3bc1717c16dc7dc","796ef41c1dd2380c","5bbc579c9b6b5a17","53babb398943f380","cae3ed70c3a19a30","5db3e6f241fe1fac","6d6f0afcba784d9e","2bf0c433eb19ed82","579677136736aa01","555137194aeca274","cb3c4ecc11e622c8","9bab850d16a3435d","fe89a08f23620c96","1dff1743cac3569e","9e0ecda168e420f6","1e26da4be4f8adc8","8468b8d824c08276","69a73b90c860b5bb","7948e25906584158","6c2fa60b6c6bdfcb","584ba08358e13ed4","0f7d999eb3b798e6","089cb093a1dd98b4","acc2b68df2e02c74","1d3e2764fb8f6756","126a206e3b9f8d84","5bc9f7cf83238aeb","81f2c0ba0afcc81a","3211cfd21f9b3d50","2385ebb099d39679","86cde0c02708119b","a5e0401540764eef","e99823b45f28f9b0","44ab986c6e66fcf9","de65c4a0f8c1e52f","e4bd4a2012fa48a2","bd341c20c7b415af","b96dc0bda867749c","e43c869d4c1f98ef","3585fd11d948a35a","3103911afbd7999a","9b0476b848cb48b7","6d58e947dff110ee","19200e8e78557f65","9dd238c5169cf25c","881d596fdc82e61a","364b9761d8088f04","8ca43dfd53418157","0f0c98325e8cb3d1","f8d0942e587ff2f0","193537e1be29b7bc","3531a5b2fe7f7472","e2fb22c69e90b1fc","05c64f8a522d1f7c","42398ca23337f3ec","a9be1c4cda288957","03b87df7c419dd39","b18f55bc46b9a9e6","1a42cb5b3aebec2d","de6646430df70859","5c1abea1cfcde8b6","f12dac38b47c632d","b6b9427c3c510b12","93fb3d4a50d16da0","b6c65d5bcf82e1c3","26884f9b828f8c6f","dab5fc921cee75fa","3841b82f0cfd49a3","73b4bb2c91561401","a0606f85adc91298","e76e50d8cda3d62a","e7ca315b1535ec68","730f5de49d22c1a2","3eec7b031aa92737","8a42ebc0235e003c","2586210be8edd8b0","9221efcbe6459c88","2a092e7630bd6272","d5c4210cfb51fcc5","611e38cc078d94ec","c64ed6bbd72acaf8","28d8fc706f2774de","e27905de62c05348","39b272c7a895bc52","f5227a609c5c5182","e8f4a92ebb6cf506","ce9aeb65ad4bb6eb","acdddf3c8798ed8f","76531242ed6d1af4","28edba1c5e66d39d","b2aabcf1a98113d2","ef404d0f691f3bf3","f9e76a2bd231cd44","dcc2e8dea806a816","21de2f6b8276705d","b2b12ab5c8e153c9","0e5ad5285239671a","59e25ae2b1717262","1338205554153fa8","8a97ad21fb974dbd","e1a08515c0ecf6e6","2247172d871e19b2","835c4830d89d6f6a","6c796c0f0a2e4a4b","b0534c6abe4baf15","208c778a4cf58d22","ab32af53a59cbfa9","da6392b84b06972c","b2743c80684b0c5b","c520bebe00c3589e","f68e8c6415aca870","8661cca3effea007","5e1930143bbdc035","1bc8c44db291e514","0a2704782499abad","8a9bfa2c94d0cec4","49832240a78ee7ed","3ccaa4a7f8feaec3","0388977d451a1b30","f43720911c7d606b","40eb94cad73ff69b","698232352aa3c396","81316de6b17883c2","e62a158c1df8dc3a","0cbf03566bba035b","47f4a80322005699","484e67719e79c0ec","1d5546e81263f1fe","39dd71f6e8eb75c6","8d1d52ddb56c2263","d7fe6b32f7d450de","5766f83f3d113663","b9a706d9e4980c1e","c7f0e1480df909e9","0bf7882d384bbe3e","6c3162f93343ce7e","f391c9146d7bbd74","a3c29b70c82234cc","a2ec354825243259","537aac555c684ae3","9ebb276838bea666","72988ccecf802b11","0bcf11e13c87f1de","aaf2565e899722f4","17a8ab0a21c7790b","56334b8b.5fd224","7edde334.214fcc","5749f1a3ca81d04c","215a32642af29284","3c6b51ae156a9cac","d62c9cf0cb81a537","7a3b686f86cb9beb","4aa11d03f1b394a5","d163a291da272610","96eb2a79eb4c26b2","c77a914a05a8229b","3b06cf51ed60a17e","3ce65ca28b29922d","a057f7516f625581","1cefc23dde634662","b3a54f494cdd0908","ed710864874f0897","00e7c127dd88bf87","2a1bd2a4837e01f7","37f02e75f6e70daa","4de8933c464ab95f","2709d966425c269f","ede3bf8bba2dc2fc","46a08518c5bb9ce2","fae18e12a2dceed3","e8fbf877572c810c","4621825537b5ee7f","121d8155ecdd4ac3","062924d415d00ec7","7648b8bc73881420","3103dfba669667d9","1d91bf1faf9ffba5","6cecbfccc98f8423","98821f81dd5b1d8f","9c7267f8232f6cc4","da08238e3b97d435","4266b9a7527b5cab","65304d012b83460c","a4212c37abb32920","a50b1d34ca287645","55af9abdd8c722e9","e7814f99120a45d2","6c5d9361dd313b9f","6a1e1fb203c6236a","ca924b100cc8cff2","880406b4567be814","1d72cb06c368a2c9","c76679b82b664526","e6edd4684b272434","8ecd405cd0a1e5ac","a42719f70bda2d30","1ee72229287164ea","5f8004f897ab3f15","72f6a150361b45dd","aa0810b6b2b387aa","236196c013460cd6","513225e9f66ced5c","904772d5218d1a51","3056c200f5666da0","9a26161077fe4297","2291867418ef3d27","a625313e644032ef","52688eadbbc70821","e0c3e30c52231c9b","1aae9b0388d3b77d","56f91a15dd1455d7","16b7cb956bc0326a","65a983f3098b03d6","dc97d115c73345bc","35b625755a3e0460","81842bf5581a2a3f","35d3c87e78a23030","729d745d2f78ab73","297b2d3fd56440f9","48278b1e56c6d7ab","4206d30978748143","daf0cda4c7b1bea9","421c21bcc8c48ab9","86fcaceb70e78fec","fc882b005e4a84af","a3df49e3ec177d8d","80f986da1d02c67c","0db8801c7e0e4401","29b883f9654391c8","1efacea0cfc080e2","414cdce0186b98d1","e9594aa2f7507ac5","4c2fd374879bcc62","1f31199c6478bed6","5a56612ef35c5fd3","3110fe9246e63b1e","63149b5b57a97c5b","a8dc4fab59fdefb4","f67a857ae75d906f","a762a7a552cb9f03","bc29c56f900c8d36","3e71b89d61df9fd3","6386e9a459469b53","e9bd98a0b6e0d58c","20b116b788ef3f27","3711bd3352570a6c","bbf7bb18989048e1","9ea365cc69a1f2bf","cf7f82b8517f3250","0bdefb56ee5ef918","fedaeb34f9bc97e4","f8998acf5aadbdb9","fa7ddb9a4e76d4f4","74e688fe3aca2cf8","ce95f1d44dfe8e41","3ac47f7c0d888114","869c12168d4f1eff","846c648ed9c9e2f4","f29264eda4a17c64","669888077b4dd178","f65dfdda10900ffc","b0150193e3cce710","543a74289e049295","213d292b79e5fbcc","d0f7ea2cfc4571a3","ccc78d495cbd8f7d","e57e9c900c787424","8206912d2f9bab36","0af18fd6cc155518","c311204f22191fa2","868902cdeaa428fe","467ec12f292b2573","6c4b12585b58300e","72f51982c4844cb9","4014b042aee9da95","3c8f18d59bc57893","0c4ddf3cde7a1e48","aadbfea0ba5c45ac","04de52a5f5237233","84416ebc7a349dd4","4e8f7076589ea977","42c0f1473438a281","c9bfd06d94c778b0","964bf809761a572e","f203be2131a6857b","648c017fa768efff","ac4875632c3c08e1","315a7d88b33ec298","32b0e7dfab2726d5","f3fbbcf1b5165983","66948514053cd7ef","8bb6e6e526809dfc","ba0439c1fa954d4d","e47b49408799776a","ee13e249bc8f7cb8","4139f126d180c24e","697a44ba65900e43","b8071baa204e8be9","2e0d545ca1f1f751","bbbe67eb0c6352bc","5a940d986fd98e4f","7ec205f137c6c32f","432680d564c1569e","19df7e1ced610978","46f335e4a5e2f58f","19780ef67d75fab4","95639b2299991877","7df4891fb0f54c6a","a92f07dc2780d8bc","8903de87d27776de","68b5dafb14052979","d621563355a4fe91","2da7158c8343266e","016aea5aee729a42","c267a41dc3eea79e","be104700c7271732","0a50b28d4026a61d","f6435fdfdf88d839","c140123c0a2df7d3","dbe90b9341f05711","579d035d7902f85b","a63f48bf2ad99007","465fbb68bc8819d9","e8ec9cb7ed810eb1","913b1d1497543ac9","ea83926edf12f8f9","04e46863c1e5b152","9a2930d4a5225064","782b3f453d398052","04604742f88c50dc","c0b002df0f286108","9306ccb4b4f39b0f","4a380e4e6f98695d","7ba5b63508a29d7b","5b6ef9828f2cbf8a","5550170f30d4e17c","a20475bea97e7d94","7da83da639a48fc6","62705fcec5af5085","7e93a24c134aa8e3","29237f8ee2660ed5","0911ef2f51d2874d","636790a6de6bdeca","9cdc88788fe441f1","360ce5f1d0de3811","e7dd5536e7ec485b","c845a1c03f4d92c1","00798774fd655f5e","14e0d85a9ac6e841","1c534b810e84e08e","e99dd4c84ec9e592","ecbb15d090609fc8","5c6dcdea30bb06c9","dd0cd2517e6feaf8","6780505ad50ac4e1","ae46386170328f5c","908ea7d905a2dad7","51ceee5c0be8de4a","a02b86cff33f1dca","0682776dd86300a3","87b8cfe55d906fd5","31de927a663fcb1e","fb524b1a6da7faeb","5f7de2cef4af9bc6","d241362d80c610fa","1bacdb8e148b7ef2","2d16095457052f90","99b5327a504595cb","256d3616419c8f06","ae7e12b3bdb36104","ab67b3da085ffcc5","045e623bc9372013","3e3cab934a02705f","64c6321bb60023c8","25501926b0199872","b34b57138cb1f0b8","b69787e8c4f19d69","f988b45c3d4a17ef","9f00d3d0bf810df6","307791bd329226f2","9b5a799c5df750d4","141e7635970308b4","a48e05336cc1cc06","af4483b5eb251119","9133af06976af37d","d8bfcc7fbad989a9","f36d13db48680f24","b57e31429d877e40","14a357cf31812953","fd183971af58106f","13f77e42b44837fc","ca6e5594c10b00d0","aa047eea162db86e","d2d3d56d19f17173","ff6f186606d23a8e","68795225cdaa1056","bc2f5f0fdf3a95b1","4e85de651f8c65da","749ecc064675afd3","0c4b2ec7a86c7aa4","e4db17dafa209b9a","b4cb12ca795ea8b2","c8af7491aaad3384","bd89348c87a1c5ad","543119fcfc92825a","38252693eb7888ce","ebd2f1b772702a16","3ed9ca854a0f3323","a0a7213d6a2474dc","c1608187ad55152b","e2bcd290d3182190","ed48b41a8d65c068","460739902e4300ec","9c5befdabe842906","e98a6d9250456790","7df5dd6623e1931e","079cdcca76a08206","7cc72012db37a36f","dde0ba374db2eedf","553666c9dafd29aa","f55346abaea26094","e8e5a0caead5ab73","bdd7df89f79ee5b0","66132351e9273fcd","f3ae18fb49047b12","5cd3a909ce1f413c","ad3a401a720c0205","429a779029a4f320","083ae4d089979e3e","86adad1998422281","5d713dc2c655e1b0","36ed9b0277578855","dc8c7c2aeeae4259","1271496473181909","61e21fea0f35b657","37136f65e1f50cc9","02860064ff27f25f","f987f63e4046653b","60d916216398ec01","d4498f98e516542d","b3b1b4e2e2d75416","9fbe802ea1ae31a6","9d5beb0f52651723","63a11f3d13d3fd58","d19d63c0e3e6568e","b1cfcae0fa7d5696","19feb7590c49fcca","7a18a0b29c2d248d","5a0952c60ca71a4d","0fd00a5d28108c93","bf0c9db59b2649d8","5058bbe07bedfb71","1be2396c5ede7eef","894c18282dc09e6e","68459784543fb1cf","da8125bbd3c694a2","21cc071787ab2083","938c99ddd57b6792","08d5a70105b69f34","64f2280ea42ba108","2a2df1962e3f61d2","b71c6b6b455309ae","8ae5bd70e0bd1195","2ee147fe51899c0c","7fc3df883d80b93d","409f96b9508af728","5bc2ae9c533e2ad8","936e1a3bf5878102","412cf89aa30dd052","2e3cf26307050490","20ecdefdd15cb5e4","f4061614bc3562ee","5d561ed745969c32","f0f0d1d9fe2a60f0","930129cc2290712a","4043ed742e94c7c8","c706245ab487b7e2","d1b208e623179a25","0b208146fa232662","8da958032545bea4","903d9c5ac6cb73a3","8801b511fdbc13fc","923d47e4e1357966","59e1639fb2f9dbd2","9f4763bd1ceebfe9","684aedafb8190dcb","2b2d382f22d54df6","3790de2c4ed61abd","543a5aaf234599f8","5e4ac3a5a3f0b640","21a97f892caaafa1","565dfd041d13c3a1","e7543f28c830e84c","dd4ee9365a738a4a","1c3de7b17c69aac0","e48340d7cac113cd","e36d3f0399677791","202dc544739f7036","51f09b2cc21b958c","1d7c8643fcf26952","7b9188adf10a80f4","0f9e76651ff1aed0","5e25e92162acb08b","a9f89b5f63dc5b30","0bcc12317f704d00","7588dc8563233dd0","7952d4c5ec3d3baf","24a0b470cbec207f","a3b588bc5a5fcff6","4ae8609056fc3234","7675dd03f941bc9a","0b5e3bfbf0fb13c7","e3da4219d2723996","bf5fb6e0ee73d142","6c31c5a2c83b0cc9","a0fb7feea30116c9","4ff63042b674da2f","a78e3e12e55836b6","64f47d1c52b68079","7f58393ab187f86a","b674665f8dd964b7","b251175372f34ecd","600d9f10a798b096","6a0383dcf1a806c2","6426cf468533a94a","2881c2862153c497","078cb3994f4b5c71","2c42045e959e8efd","c009d3778e2d5d99","a9636a0d832e40c3","e456c4e7cfd87c26","fee31a77e542b203","0bf16a20b9656c59","518b634fa908a4aa","b40a3b0d2d310907","3ab6bcaac666ddc4","ae4487a0bf7f922f","1e687cd4c0cc0ece","b5e2408a7d09537d","cf382d5398b6de43","24eae452ebf32be6","a23c2aa7e24eb8f7","234feecbe12db6fa","3f9f8a0b4fa2c055","6e4f227cc28d0ae1","6e514e612809a95c","fe22668bd12059fe","2a395b7046ce9a55","e3693344db474a0a","709f263740a61967","c2f0571e97f072d9","71fe9ef70302b7fe","f617e52e297c8ad2","1e45572f1b441732","fb310bb48b3ab02d","37baa76cfd48b2fc","2c8e632985722562","3fd562a0e54bacd1","3fb79d89a2bd41ff","26ebc7d97f06c117","5967c186d2f9ebf3","874510c9886ca66e","a839571a87dd2aa6","56543977028aa001","e9ac143262e4b9a0","8c79dc3ef73d2580","95a74006c5eb9f38","70c4d454a29e1c45","2da7ce03f5191d38","304b2bd59bbb2dd7","5c9a983b8db0a524","f902f6ba6753215d","9f6b281b8dc7ed8e","9fe281cffb31e00c","20ebd48d15c9a606","b533b3a78677c7f6","6bf9fae4b0bc8907","669a920f894a115d","af4ed7f5e6452fe2","8e3558d0fd29e787","f560c75cc0e86a48","1585907d4d4bfa10","23cddca4f42fed09","dd17976080271c5b","6e3518534e87b660","b20e7bc8fbe86b50","de30f4e4c010908e","d2959fd404d63e14","a159d489843f4d84","bdd2440c99f0d065","93b32becb3f1dc05","0d87fcadccf95c03","f8be0b4c8fdf7515","1da397975de7d1ec","75150dc9074374a7","e99461e0ca98d7f7","c6cb89a1ee503d2d","49794532d925f87d","bfbcbfaa6778aa95","de09283c1daf628d","f5aa5e5de05036bc","33b6641b09b8c982","d9548e9b1a2e6f36","874075d44d19869a","266f4436dc45ce89","3be00f677c6457bd","4937527cddd45b61","bd21a8b1786d3ed2","b96253f786c81415","abae3c836f2269b3","67c721e1c392ce95","6d6cb3547780038f","af3293313a492113","e9b46670bc7283be","55552ce2fcab661e","edfd321fdae55df0","cfd2fc533d86ab94","3a47bd390630563b","65f5bcaeef2cb043","14365542ae0790c8","616054c1e71be9b5","bf3eb49f6340b632","60ffb41c372ca788","d95368da0fc1acec","8f721526b1bd8e11","9b11e3a85026957b","139783cbea6b84f0","bb2ebd173a2ba06c","96eb67f8be94bf98","90046052f5bcb625","707b31c0a7883fe2","a0938dfc54b55acc","48dd7d439fba9eda","35fa81df547b4491","486786996f8e512b","22dd0707e6d3a364","51fc92ba27d12eaa","cdd708cca8782382","8b2a4e4f622431e7","d6ba6007b1901314","ef0a4a5a649e056f","0bd651126b27aac6","442ad702808e3c66","fcf92ce9c73cd90d","d464a60fe4e4c421","36396f5285df476c","0e53487482752cfe","2d75e4809d2a6fbf","018c8ded1126b49a","88a7ce8d8fd7e72b","d96c0844834ca9d7","103382107d295424","5585a336703abb4e","b0bbfaa0e2f5be4a","dc35508e5890fb69","75b9549ee42d3246","90601eed5215748f","e408b55d1dc6870d","241fa70e798648e8","8e909fed7a35e981","75a98516fdcdf832","8bdaa1ba3eb700cc","7f89503f8062898b","82b3ef69e7817bbb","0083c332a401849d","1af30d82c94d6258","a8c4088f8bac709d","b09caf5d92ae87c0","0b218c608a39070c","73569c6c69828619","fb4d25e6dae3c8fd","d9226f161296ef5d","2da57f82233c276b","4deac0812bc789d5","28836135eb153545","104179763815c332","3f693201c9dfc80c","b7f2b376a6150162","3b3e6fe6f656ea0e","e807a144dac63624","b71b7e764b1feec5","535a857c71583573","3cfaa12a351bab8e","8c93df4a796cf540","fe0449063daf1386","b526fa97ad265f91","e6a8e17572dadf56","1745449446f285ef","6b152cf9e173ee4f","55e6ecdf43b1e380","0e7c66df5c84175b","b2b86208a514c8a7","c758b19593f570d4","b156e6eff1bfadd1","1a2635629b812ca3","e41130e3f4e3f1fe","a7cbb932c183a9ce","e5d4647d97841024","bb1749d6bdee813d","d97b07c77b6d5f1b","c19749d8e5cc1e1f","b3fa33201c5f1de7","234a71f9f37e0fe7","cfbed463c3e70b05","377461f11e162f6d","07c72906c906336b","b9e3784065d1d1b2","69041daa92bc0a8b","9262e99e20e0e654","d318afa2a81e4ff9","b2ccb6a2a248015d","9c89a41128573752","89d2eebcaafb5013","e93e8daa30075ae6","f61f5fe80ddf6ff1","637b84024e725f38","282bb73eb4892ab9","a2d25db2ace537ae","a4e3db9cc35fc9eb","7d45ca7ad7f363fe","70ae9d85820c14fb","6140ca98749acd85","bb1e8e34559c5a7f","83e8a9fa324dd4b9","51b002c497ad57cd","0b32686fe74c253f","5e3cb9bb3266089b","06581753b7673f83","14a0a0839924964f","411b13dfb3e989f0","4908c2284e498338","5891781e4a61525a","aa275d99ba85bee2","d34f38f155583ff7","5460a158225a328b","24058eec92534b27","1ceced58d0c32e85","ac4653be6ea01477","30220f4fe07e35a4","ba77500cd9f7f6da","b08802b0dbd9a58b","8f4503a19f2f639e","561aaceffe076a5d","0ff47b07b863d0ae","e6d11d0438e20b80","80459ca7317cce90","3e1b4213132404be","546f190f3ec0c90d","7f1a03ba2d4eb5d1","c3d88e1872a9789b","d85fe6335a6eae7b","d02f1b2f2c3a2a30","28b6c3fdb407e73b","7f76434616f622dc","eed8990163b1ca81","840c05ce502e7fdd","f02b4584af0d800c","1b98c37b3b7502e4","33f7a250a7341c43","ca442e58e65b32f8","c367834c9cccbe38","412878f8c488a0f4","7fa17301839c0fa6","764da2d0527c1ef6","d4146047c079ac62","074a67bf0fcf09ad","287d719de575c01f","004bb30c27c94fb4","867a71b7dae9c844","722c773f6314dd40","caa3c5097468f133","19a5c46ec6c71456","0f1e413815ecc824","d40db95f9a154c3a","630dfeb0e033a476","56d93c268a656fc4","2cc2cdcf0b1f710e","b961d989c357e6d6","af148bf44b019b35","0a4c943dc3a06f0d","e12bb3f8258f4439","a19b9fbac3e9f89c","0aca727fc835e615","afd6a49ad55de215","432e8063fae7039e","dfb4b5350a9383c9","9d4a1f539c9bf58c","43c695b9490f5104","44308739c0f759ad","be0beee97ed2d572","5205205461f48680","2356f963725e84c6","d3064571c2fde064","ede79ed6b82aa804","b1e2b474e4c77892","faeff76a4321bee2","4163673982458b27","4280a1f889505f0c","27e3bd6cada7b554","7c75b6b921f30409","a98fde87c6b47e6e","61b310386916497a","b43439c6ab36fbfc","e287e4f4d7f3a174","ec2704a8e18114ea","14a5f0183ce7ec8d","5c4a3b8ce0220dd9","58359ad51f36d68e","c5465d5f64db4b45","1cbff7f3a7317c5b","4176c5d5bc97709c","1102208726a88a10","b425ab40ef97a294","592483f2183c6711","c5dc4f8c357a596f","074313bb4e48de6f","a441e9df790a0c3c","285c9ffa2f524440","234620fe148e1dca","5a49d1f4b12618a7","e4e85a27e4775ac9","e6a4e861a99b196c","12f02c43a82b46f9","68ad3074767eb2c3","56d131373d4e2f78","3a4c72588bb27ab4","357c6d106dec5efd","8bbf418d277b4df7","e2ef5706b35de7b0","c15d0c66ed5af79f","4264ed01f3943e2f","031a6afd8300356a","206c1fb4a48067df","d7f0ba2534f27b82","ca80e5fe27609a11","6466ac9bacd083e2","4689a4035be0c82e","895db12fd6d94a67","82229e46e51f94f5","fc88fb69cac1e5a5","0d78bebcc5541e02","3c3fe996c199516b","c785aed10e83430a","9f055c7cccb634c1","b90652e7f7d28f66","ae5e8ae05adac7fd","0831bd7e7daa4915","dd79805b7971cbbb","582f8e6b17a9d9d1","6473c46ecd9304c7","3743db17cb401840","1e908b6060a584ea","eca0e6f3657f0564","7cd303d0aadd1433","a974cddec777bd94","8fdb5986494986cc","baaac9a301ef150a","85ea82a3282907b1","19dc49123e66ac71","1eea209368626bc1","149401230ed2ed4c","2ba23548e87b0292","3cd44612df58e32f","8413c966166387ab","92f76d0a8a4f1178","ee66fb38bde2fdf4","cd2ac560f85327a9","94c79b8f52f0b6ba","bfa594bf1f876c92","2dedf503efee73c8","e5f9a77af592fc78","35c936be0ce55676","c1d2a5b213c6568a","6d65af0eaae695a3","d3ac50a83c871cc8","fabb645e0d88c91c","e68b067b48b94ca2","acd42b52bd581740","d74bb73a0966b4bd","92dac97dfb662f2d","b0f54ce6c23c6da6","011c5e62deb510bb","4bab6cfef1e2c932","df1059b56622c582","7c98833082d48029","25445f5a9b787a0a","cb09b67a37901112","3e652e3da2c711ec","f7b2d28d9c7d66ae","464bfd100a5740b8","324b4e5e9a9419cc","d248a5e5ab11c9d7","d9b8f97fb0897586","d49116054bd5cd56","797eac89000183db","a52f0e788cd4dca3","2b16dee056f4ac27","4781986f3e559778","243984ca9c174883","26ee3b5b75b8d83f","f4e4d84dd55f9d0d","3308d2aa53cd0bbd","1266c0d95b69ccf5","a330cf9fee227d5f","9cb906bf8066d37e","94aa726ce8973d2c","66f70658751b68f3","13f4c9a49f9902dc","a55fb25ac5e89398","5d553844550b821e","1a40c588514eddb2","b8199d733a66766b","b9656cfcd1a2011e","3055080b9f38dbe8","9573e23ffd1bd3ec","37838aa1f7d06a7b","cf2b3440a4b8c304","c75d85a05c1d10d5","4812a1970cd7b6ca","33197b9fc4357637","981cd36f0eff2fe5","10af67697b451754","a222eb10b7ac30f7","9d71ae848c07c4ab","21fbe912a43d9c26","13f75c57c57e7423","d1e284b3f0851bb5","f1898b7dbc641cd6","afcaa4289efc76f2","af147f11a3d4d652","577298e83998f6d7","e5ceb5335c3b0d43","ce0256824b38971d","6a5bccc5dc98def6","f54479dc5f66620e","71e189afd8659a2d","b6d241198242a6e5","0e0adba49a29f70f","7662aba4a1cc9dd0","99e1c9e8654a9f81","4f02d67d81a83e86","e7ac1f9f3c8ae78c","ba9d70c1045cb088","6f7e7a5d7ebd031d","d40b223a978b9a1e","5070cadd19aa3954","f9f49c8d382ee23d","bc396dcc308c42ee","73a136cc319902eb","d84b5b147f5fa7a4","6ec40cadb83543dd","b6f0d1b534279a98","0414c3f0d95341ac","91841d3915124c8e","e112327c4a55aa35","c2532fc6bfffd154","31b42964ff3deb4f","4b32e84f6c624568","2e643b1746a93b44","c213314798c4a9be","bd6f2717b2f30241","825837a029db8ec5","45647475dad51f30","ef13c93a34fcab87","b75da43db9ea9e7e","a72b20551a3b1f8c","0385dd3208b83d41","2467c6c0b11061b2","20617e4a877c8fc3","2623529da72f4fab","2e0a9a817ddbf587","e37a5575a3f29d39","76d1c023d5b35ff4","c7a019355872d175","2ca73eb7becd74fa","67b1906b253417ba","c818166ce482c9ea","ddd39f991efd9d31","caa4b983330ad4e6","3b472a6e4d9e2543","32eced70dca88722","f4db36e02df945e3","fe7aea286ecc9d35","bef84cb5efd8c2ca","49927aaaafcc60ec","928c3fc0fa3c5d18","cc102f3a82a49a8e","13fd23967c40a92e","1efc470e05455106","aa96d5f77fcf68e5","2056847a88301b2a","c421ec88d5d06d7d","fc6bb2e0b3eb77b2","618d9c3f33eefa02","e68d7c0f7721c679","12b1109de2f09cfc","a064a6c08fd2f40e","6b4bc7764df41753","6c18cec9a1d74489","02373ad0b61f2a49","719eb321350dc033","0845a36d7c0aef49","333d8ba06abef807","276eb14e1448224d","e520201563045cb4","a8f829fc8739cbb4","c85ce3c75b98194c","72d48a3deee90360","e3a3ecfeaece1f56","4d2bb338a00188bc","88ccb4248f722c7c","786e0b4140b91eec","62542a01ce24c466","e3a35f2dd6b2effb","662f3d7d7dc36aa5","d6ab2dddb189d358","09bfbc7cb6a01b25","551ef31b794502a7","2910033beb566769","d443f248bce0dea7","5c82e25e697c0d09","c1a22098f4c6b607","f01348b36d2a9638","48d872c1b6b9f14e","d23ac11c26d59e4c","a69fbd6551e4fdc3","caaebc71902e0463","0ecfc7dac3dc83c0","c5b20f0c23888919","323c3fcbf4964c63","4ce06c7bae7e516c","410b8eabf0b0e224","4062a49e5518576b","7864c4a726691281","47a324541ec2b6d3","a161c5ca3d8a7cbd","6e52a200ac67e354","c46a31d677767693","6d71d5859b10c11e","4a635ad2a4ed1736","d0d24a8b117023f6","52a33cee0e647f92","6a0f0e71db157af3","9b3093c5a5deb452","b8b9d93908937f8c","22152f0515ad69cc","4d9991942988ca8c","d063b27f8e80f37a","4722e25f42aea056","cae336906ea60890","393ec8decef297e9","4424ab4df00e08ab","ffbd707de9b88a2a","e4e85b184291d354","868cdb733181338e","eca9437aa8d37772","e2dec83660823bf1","71ecc4394b7cd05d","61c2bd67b3234fc7","466c44b0fc1258a7","8ebbcb564e209cfe","f7baae7f1933153b","173b0a787256ad6e","f4fc24ae76a91012","3abf64e6a345da67","cf26b829266bd04d","ee16cba79f20cab6","4adbb709556ae11d","71518dbc12244577","7fa7e12c70c95e89","288d2e1448cc8b87","a657a100c0565a83","a39f08f65c396752","72d6ed833a034f7d","0ca5636806f3803d","d4b36602686961b1","89bf9e5c676a419c","7faaa39c9c2c3e20","5471122f3d914196","9143e0b7b9fb3da2","d8a3424e6a6f2827","38e608120e43ab47","b45278a6c6f45dfa","121a9d42a981eb6b","03700a180e6f8f5b","9817b8c4d33159f8","a91140dc661eacbf","e1587fba40d7939d","3543fc558bdce918","621c0f611ba16957","00f7d91e9a6c7617","56ad085f1663d4c0","a8bcb0395fa8accc","0d08a03de0051e7c","587236e6160da46c","5a60da9d02342972","fd900a26e130d2ff","d7babb57491ff7a8","7bfba4bb76a09e45","37f065b203f116d2","04fda8ed412120ca","cbe63d29435cb7ce","bfe242eadca39791","9dd47ae7d0e90c33","7953d461e902f8ac","364bfd0f8218efb1","834ce9850cdb0a72","8a154930c7214f18","23ef9aaffb31c21d","7017965f91bd177c","56d6ee950d3d34c2","eadfca81c8de4eb0","dfec2e7efb555d4d","ce2126235b863201","e09b198994376110","5cf04b3c11f23176","096892189e1be538","ecec645c51268d24","b51db40b65f89f75","0edba4106bc26051","c63c05889184c3bc","e19c1916670880d7","d806e40ba2ef7092","e667a9372137a0e2","b1fb932b0ddc8a02","9be1a70bcb57bda6","dfea66c91b07899f","fe78724dc1f72f65","4a5ceb9b3c8f086f","f71bea4c343fe0db","62c79bf2c5d8ec18","f0d22091d2275f34","87a3f60a0c03a21b","5fbf2cbdb32f0e97","68ca4fce9324436b","952e936c8f1df120","ec1f489e4f505a2f","434f87c8d8fc6bbe","c24f3d6f90d2b48c","1063523382ddaa94","4c8f3b4e9500ab16","aeb0d3b6747c9280","1b97b56ade9a8291","63d576c59c72d487","c8adad442791f18d","0993151366888a6b","887a9038d6639660","57578e259ab0268c","91e7dfc3c8108b06","e43d2ea5180895eb","2296b4ea298a4c72","eabe1caabd0e57bb","d6ae0dbd98f320d7","0ec06f9bc9a77ac2","a1b41356df668e41","68788cf7b1f1d8b6","ab77d6fa10f465f3","8e60adca1a22f123","0fe612fcfd28c570","77270fac9cacc97f","34e98bc055db6ee2","a270d561b0b64cf1","046bf60c40a4df98","2f88f0a1be78ca59","de7075aaec1a9391","480f2a2fe14c86b6","213f3332bd5e75c6","79081790a2dc825f","04a2a3c2efe76a2e","ac85bbf902727a33","c77cc75b5383fd64","3fdd7178e4840aa7","b9540a9c3a42d059","d9ad2029c6cc7096","1b1e4074f6d9749c","fb4b4e2a3fb029df","d873539070943718","2623289b88a15e8c","5cb838e78e40799e","941bac341d0a675c","ca2cf5afce064ad1","d05f93f2e9f3cbdb","633e93007ad7359e","f57a3d0eaf07945a","85ac6855ecab60c4","4abd6ee3b969ce9b","86001998b2c9a049","a7cc276245fb5eb8","5fba95ce87e859a6","7b5dccdef2f6448a","cf3ba5e22164d0c7","b33c70ce0d2aabf1","125055a75db7c431","c31540134ffb0645","328bedd9d4d34f5c","1c7cf4097ab0cbed","7e09bcecc5b75a86","786e22e4720b4a8e","d5b7a0d32f3b802b","ad02148724007b77","d38b51040114d7c8","8b41772765b3e57c","d457bc746893ac58","176ebff60e594972","c6a58914f588d386","4552a02c909cd24a","9438c1d79ed2b7e6","f14d76541b8726f8","01937dc263ac14f0","a9d7bde021ec65e2","1850a1a4ce01b83a","92c2e2a582e95f60","949c12d27fc455b9","88de00c38e5c7178","bec59d8a7eda2351","048bc1e501b0f9f2","3b8d8924bdb03f80","3e40fc1c77ed372a","b461040a6c998b61","3c808f997ae66a1c","069ab711c0c089a6","c20295d9b0ac3419","34992e101a5f7e1c","36eb92fa692e166c","d4c1d964e9c56e01","abd02925c2597211","8237897889d90162","e267a0404a5c5d6c","758acb218148a1d7","0728c8c3564e6e93","d1c7f4810b12afe2","35ea643afefc732d","abdf34b12a5dd88d","d8488a962c08af06","7f741e4487a27343","0dce2c644348616c","1e475c1be1dba2cd","3b9ded82962309a3","eabf5fc19efa675a","6e799ecb83c4920e","bee342e3eb1d1f39","e08e83753e727848","556fd5f1e5d631d9","3783da8f96cfca80","e3db60d3d55e1a82","05713976186ba442","585814f2cbaf139f","9e47c40faa28271b","bd24d82081661484","8c14a3d77196d0aa","034c93c5f54aaa15","9ea5b56f96986dba","e299cb1ffd37e0dd","ca723d146a37aa9c","e9387364f390f805","e3a86e68e388729d","85d5d5e5b6c9beac","12ac3919cf517ae2","f3016a806ce07c03","6cf5ea0631714bb0","b477ed692390898f","6884ba1cb7e75a11","9d43d1fbe3bcb62b","cb824661b1d4bd40","6c7ae838ce65d471","c6a33fe34a5837ef","69d3dde54511db87","c60f91aec0439742","06d25d3d5749d7c0","aa52c26b01cca971","07d45bb35ac762c9","2856d3bff393f9fc","f4e114d534bc63d0","d5aa33c47a8c4347","7fcd9ac436f62e8a","975a84254ad7876b","2f804afe437414b9","8437dc846be5af12","ed024e2049749de7","a03c879748913a66","ac33a83c23cf9ac4","529ecc895addf3ee","265028f88b277316","626362e80faff4aa","15cca280fbf063d8","eb17eac7299d63e4","12e852099c092194","b5c915e46370fdbf","037a4ceb2c2eea1d","6e323e666a12d51d","ef69f05d90e7ff12","8363918d71412add","9b91d71f1e44cf1f","1f775b469780132e","5d790b75e6de3e8e","966f04b51561351a","64dd7c45e1a03dfc","31d948d89d8fce18","6ee73fc308a1ae18","ed9a18a0fd50bd74","127aee2c7e878412","45b8cc265f3cddf8","bd9dfc574913ce15","ae6041e347419f20","b2b935c539b967cb","91fa8b3645c915f4","d8ed442b649d537b","bfe31c4fa949911a","b26be92dc4489eef","a3b1b1fd7087fd27","943f5d0e31f50195","da801457ddc7c6c7","74299b7d56b8388f","916db15ab2bd7a5a","dc388d7c05f4732e","ac8e865762d11a99","5b1bc1b9109a84b6","ee65481751fbbb14","4f03a790cab6b283","003ba471ff0ebfa4","e55d1ea6d7242bfc","bd3993636ad365be","75f29e3e2be3f5d7","4cfbcc42c42795e7","6e122c5defee75eb","e80ac9c6a2450e94","80614f90fc25ec4a","d3968cfcbfe1e2d4","77b05b9e59ec652c","dcd4b1194169d097","660daed15b476d7f","9bf15f012eba32fd","253eaf939b574f3a","0ad91c777d8ac1e1","fc725fd688697cae","f0dbfaf1061b3eb9","84760331e955a63c","23403b2e0efa08c0","7a3e5c86333a7ae0","121fed57229486de","dd5a3618de2a35cc","cb83cca146b17b71","e383a634f71ed9d5","c8ef0ce134c4de20","6a36741a719e6e4d","16d41222926b4e21","f3de19c8cb3d6f5e","e83020decb3a2dea","c9314de7ea6b9531","e5c65ab7f659b78c","05a0bf5c41fb1fad","8d40f4d6eaa344ac","5ea6ee43e920e092","3ae94b451aee5a01","c1bdda78a1a1cd4f","2c8763a31cb569ed","399cd9f81052ae3e","ae0a5d9f0b470cc1","44638c23fe15b9b9","e1f2c4546f0130dc","d2e269a6af2dfb1c","df0e4ab2e1efc286","11cf10d72d2c9472","636ca4080756bce2","03b03906a1eca939","d1074c913f8ce2e9","6c02b601fadbf658","6fd2028d522ac563","0ac217c2ced7927a","27183008d41a13ed","5f817c4189dc849f","b1ea37cc98323342","391a03c947ca3797","93a63d74ebc8b545","f772d4abf0871088","dfff0419d36524cf","74289a05cdddab34","a1385a4a89404636","e3978b35f4a099ab","2a7ee2b9643e48ab","c8c5507a879a6447","4baf1d36b4971cb5","09ef74553d2bf413","0e07c82f165989f8","d8bb30ab9b1d5e6a","bc523fc5dcd3f607","be79e50cd381ed04","0411a5a65ca13a67","dcc6c975447a9cd3","ef63242b0954ddd8","9e1b6551c2a77738","a8fe7d31170d65f8","54730608d846782c","b05b4ca61abd8608","4b95465c124aa834","0ce324166893b70a","7f69ccdbc41f82d2","d19444d55fc80292","dea0faa68144f674","51590cf6b20f47a3","b992e76203b16a72","a224ce84703d7913","631e6df32297fad4","804f5e47bf25b226","fa5fa5f551f340b8","df12c095346ac6e5","b929885ac70c377e","98770f13ab060020","bdcd4dd80dcbe2b9","359029339a166e29","b87c82c6c7d711b3","bf836542a7db7520","2fe005298161599c","6402f2306b4ca091","1f1862300f29f4be","502c26f59c72bc20","56cabe66c45f025e","b502be8f6570f52c","93834b48f9810d44","b25023459b4d1288","f03cb3f44a33d88e","f0bd4b1ffe5da318","5c64177e3bbfd337","4f0f1c286cdfedcd","cfeaa3a9e12b40eb","2b98ac8845853557","1b79850c96d3d208","014df3b24c891646","d67d4a70e837c744","b809a2344b2a162c","b5123d0e6886505f","2311d66d2d2f1a5a","d2ded0d940485aa7","80b02c9d206eb796","e50f34cde29f1023","502bf87b213069c7","4e6ed9498ff4530e","12cadcc5d1bee95b","b54dd8d3915e207f","06abf52a6249bd22","93d2b581d45d7631","cd96635eddc7da1f","4fc3e55ddfdaa010","529ee15b89c1a59a","559221227a779f47","5473623028666410","61a83a7757b78adc","889157da2139e8ff","503a81673f2d7fb0","a4c6172c4c4737ac","4cdca41467e84399","6335a0ba7e4fd02e","ffdbc6f74f0bd44a","1ff0b0648a927b0f","f0e65595e5827e60","54a377fdde983cc9","f3335edf661bfc8d","82489d3f8ae606cf","c91c042b412afd7f","8a7f5acb317722bc","aa80f7b58c825d6d","cbb6f339addc057f","772937ddeb3e1b72","1b11e45ef3e9f02f","3bc159f186c762cd","0ea437f46160f0e5","e7a80893daf9f5cd","85d6369076d887c9","1164fe72097e884c","0eb756ee244751a4","3a3af17d95ca520a","70c27df7cb0add1d","64754ad76b3561d6","f9fad454dec37bc7","55660ec49f882e13","f1240da189a60ba8","ecda411603ebcccf","f3eb2e8c09f67e89","f305bda7c25657e5","6a726c7db415e700","4658e2323b1a287a","37b31a14146e2a3f","92add418b3868c54","6893398018de38e9","266e831763ed3b77","ed42e96a79df8e09","7b43ab1cda2d8f3f","ff4225d872a9a0d3","623975efd8e9bbcd","be58e8ac1e1b6eb1","1ed6b5ff63020d07","69fda60f897db5fd","d75bdce71118a56f","5f6fd378f40e4c81","0fb59058d3aa9663","0998eafda2346961","a091b2e84a4e89e6","34e6817c2f435667","9ba0a97276e93540","147aa94543fa77cb","1452439e0c937126","15d8d0ba06961e4b","4b342483a51b0f93","8bbf52c2a83e09ea","0a9cb3219b03ca53","de7ea9b615e052e6","37844601d21c6184","e3dc3f877be31d77","6fbdfc1ab44f9754","85f9e2ad24cb8a5a","3099e4a17fd21410","a2b07c98d61de126","d09ad27d05d54698","4c169fc26f833802","a21c6a2db7aeab09","c7d315d762524494","e2c388ba43ec89f0","9eb8cf78caf3141d","313fbd5fc01985a5","b7ffd39578f29c8b","5cb2a229a6fec1aa","1c4fbd9e3d313b43","2aaf95392a970167","e78638ee35b8c069","2cb92368cb319c65","1dd82f8d7e2ccd52","4b2f0c80863bf5e7","91ee9f04019a9999","53f044d01f2d18b2","2df7aa160cbf3a71","db3681610a5d90d9","7869c56dce3123ed","ea0c6cadf1d594c3","285a0091abda1f58","96e92d4bad3792d3","3de9c88ac7ce9a77","6e120320180e5cfd","d237415ac7c1b47b","808426e9258cd024","659f9752db0967bc","9caafb8c1719d275","515b0c184c8a3628","13697bbd73295b46","c6fdc57a80266f04","b7bc73260cea8570","d60c017a8962d3f8","dc37631fe73fce2a","c932311ec07112b5","67e91e753d3708e2","a86e51fee3e3458d","f974a627497b4b7d","809635d5f2efc402","c9291360c0f0b490","f10733a435dc7390","f81152d8df61c845","bc4771242d5d3bd8","135b7546018ecfba","6bf593bd1612dbde","64405bce10cccde1","bf5b9cb6fe9e3550","6e4f87c323cc4659","104783a075f279a3","225fbec54fe689f8","efdfaa2b7173a43a","949a8ee5f18f108a","fae8eb23e8443ee5","c2589545c2409827","8f85c87887c020c4","55333767f9209bca","c5b547a57eb368ad","958bbeb30de3eada","9ca9625cd3f893dc","4efebf9bfd65df96","96d26c543c5fcf13","5f1e10e5657e3138","2039bf8bb21c10d1","21d8e3e1da7313ff","657fe886d2a3f59f","f513b11976d16bb9","73c382176ddebc2b","a900585cd904a957","873ead3b33da82c9","e069a71e517cb7ea","834fc1d89a1493b3","c79982618f4e3345","cb222ce1c4c3d7dc","3006243d30270236","1707bc7a4bb0daa5","ea848cdc88365d9a","e875ef56fb60ac9c","0c919f0ee88983ad","780cf693ea55249b","fb20d3e29fc3092d","2b4f4116011a9ca6","07b7d259f0949e49","a895f0ea053086fe","3683e8f63f0dc5aa","bae9495793960012","7837b5fcc1432bfa","6632e88ee0633e4c","01c20d4c1e5db317","3905527e91730097","87b35783671bc785","c52bde31f64b30dd","748b1f355c0e00f8","86cb7c12e7bccf56","c8d72dec2ba2b842","a91a6950282e40e0","7cc8434ffb22fe29","3b539d9347f6bb28","c3b17da928d7afba","818c3dadf81b379e","3325e4593048135a","05787fb2b77146c8","0ad08e9e45d5435d","8546ac1e37b1b1fc","1ef3db77515c5330","df67aa8c4eb08c4b","6b5f520afcf9e941","1c6a5f6cf7a4171a","e3ec96cdb6ecec1d","2235915bcd1a9228","df89dd445c170c34","539176543f03340e","528d193f3ad76c04","d259cbfd50910254","4f66f48da30fbb41","5543b63f4f841d35","16e115607aca11e2","573b86bbb0b274cd","6969a430e98620f8","c40a25fa809f3f3f","cad9f0d374763a50","9846cd104deb4095","80713009a92b1fb1","25b8f66cb5486055","25a206dee6cb2d38","10352a4c8044bff8","d1f398881a976c8c","e340056f7c0ff7e6","4f2f651b305df0d8","f8e8e4320c84ad84","b20175d86ac76169","06e4c17b8ac467e1","af3687a9f899e8da","9a0856ef24c6ecb1","905240083e6bd5a2","e57340f8784de737","1d84aac6c8e2a838","eaf239f4e4fd9d20","c84ad49be11b1bd9","78a8877be3e75897","2b15984780ad93da","7e164b153068131f","cdfbaf7f971088a0","c77835080e9f86f2","aaa4d5f3593d6d65","f897b93a09482883","6430485715d1b2a6","8c5505de0a4d3dcd","5b6872ce327b1bf3","82ef8057da8c77aa","6c25a04857d1716e","f2de43c0a6cb7bf1","9a2254b818f75188","86b0a6aba2f70fe6","9bc81eccbc500c73","997f6535a7397b5d","c548f2f0529f2243","b4e36b962e02a910","38fbbacd76a1ebc8","bcd49af0e6417d46","7a20b1c05a7278f5","c2bbb4adbb91e2eb","2c63586ece8ae18a","543a55099b4d2327","1cde90641d601c65","6f11b20b69a42029","31fc5fdc93b7363d","d7b616f51fec6d9a","c16f1ae420f44fb5","b491f7eb02575108","ca7f0d58c55a1358","3423fd727184042c","fa2acb5ac9bb8c8c","a34aeb4c51bcf655","b0b2d9829230be99","5d53068f8b9e6936","a7e18f888c96ad05","7a6db5a28141b284","06b7f0862564450a","9a0a261261c064da","ffd6cc9a833578f9","fd73f58e64fd7772","748e7d5f2122c46e","1865300f7f6a496b","3ef21f331dbced82","dfed6c0bfa8e23dd","f91f5e0c6aa9acbb","30df3f5abb68ce44","409a1c1265c25a4e","57f7200daa8de303","ab8a9f5e0f206718","c18b40f57f3bc595","8d777026352ee15e","0bf7b4f1f0b6d706","f125a16a38f72686","509d71fa751432cf","f2a4dd7129d6fbdf","757738144261f6d1","e7fd29793e5aef71","b21521b6cbd2de78","23093777025257b9","4b7ee33aecb98a13","cf350545542b3cfb","136467c932bcd5c7","a735610c7cb844e6","d111f1ba9ac15a3a","ca96add605101c24","2154dfc072f5104e","3d1e4fa0f23499e7","0c56a7bbcdedc95c","a8b3e0ae1a87461c","74c0ed863d1f8308","1a4d4ba352a6814f","c7c9dbd511ce3178","aa27feeb7f465ede","bd90c8853bb23bbc","1868c54d6625f422","277f13fc211becf2","a05655d2da0205bf","05b9c831fcbc4327","919ec72b0122125e","f86e15a9805df2eb","05b01da832e8dc8e","4b250474eef9ebf9","3f67497a06c6790b","40abdc0a6d9a02e0","ba66e66c54a87e85","bc5e8eb38502426b","0a2fa3c2042de32b","d1282e8de47bdf60","14a19cafbce9493f","3f944b3a650ccb02","2069657998805215","58a1beac4e88a457","64209e9b32b3069e","0c79eda0b1819a61","e9e3a2077a1fb722","582fd41fd3f9077e","cb0926c497a333b7","846e71a382cb0e4a","e75839a08fe8026b","18d6239a83c542f6","b1b7d0d0ebcf09f8","1ed7593011ad6d9d","559501a6882a7e03","4d6edf0867a50f9d","c54311f816c57545","cfd7f4d7cb8008c2","625e790911e89ba5","396a3bfdb0718a53","daf0d80c53e0db5f","12ee535e8df383e4","ada8e99555ab016e","e6c56ae4bc5df5d8","fbf9779ea5af2111","c04bcd7a0e7a788c","8a80d7d04901125e","4b701431b4a2a6cf","9386d8f8dd219a71","31b02672ea156965","9648a5fa00b709ec","76e4299fa08ddb99","fc4300b4cbfc7dac","5b20e4596518419e","bd94efd3c0d41ec1","77f89a4e117cdb43","977fce374c045aa2","64e62d9c80ee281f","1f51d9ea8a1bf1de","2b13cb6248d2f638","aeefd326e0d79eb2","cdb2ddeafa644131","246fe56fe7852fb7","1c45f45498655577","df6ef3b58ab095da","5de16c90c3283bc0","40b53bd7b2dd3fda","baa85c145ba7e3cd","7c7b0c1ef742761b","fd7c381284fe78b5","db5251d07949a8c0","67a3679a821559e1","6d3f4589b84a4ae0","cea82d4e74329977","20255790fade5c76","2c174532d49b2fa7","78c44721aa7e96ba","76c617de3fe57a72","72d6fffa4dada8c2","a08fafe0b15e2f0d","802a3e81458149bc","bd97281f3442270a","931bfb7a154e1d13","2475f7b012c187fb","24a3e98a92c0d57d","ed6bcbd32e72afe1","be945e0c2c2208b0","735774bdb56f6be4","014d8a5287538444","03eacf7a446d906c","a4f8287c851b1796","de0c34e8104574b0","f0991abcca9403bc","a39cfa7867f1affb","21ece2cf0225f84c","c0f802fd747208b3","957e5c162598e005","4125458fe3950d3d","d8907bcd74db249f","5b6791e0c3031934","7a5b0b5583ea7343","1b2d8f9617488c30","e7c8646d0179e346","7956edf72f807538","be033ed2f9099d29","2cd6d04618352d88","f0d61d7030f60516","4902a3b3378eb68c","197354399802c0d6","19b13887fb6925d7","6874cf6f062fb04a","33d5e527d6182be4","4260ec8334e317f2","de6506a93e799ba9","f2c9d7a95dbaeb38","d16b37d2939388d4","dbc8bb25a9189ad0","3f468d9127dbefd1","22ae28cd02b2ac40","f2a5994dd44a5161","e357d03ad7d6882e","ed6122dd6848d885","cc0ff5feddc37308","61d409cdd6107520","8f9164d97bb54bdc","0f053409eacfc57b","826e10a356b21321","1547b4b71e27b11b","3a56ad77ed759c12","0d54b77d8c9e9c2e","eb2dea648ab3cbf3","0dc72fc23588671b","6a57d40dff357bfa","8f6759a268add92e","da66f64898772e28","2743e40bf657513e","3ceac0cbe91463c5","2d105ceea6392f18","f2af422ed8da0c9f","4f9f216ecca80280","0cdcc7d5d4b9c579","cff5883034f77cb0","573db46bbc14f6e9","eba7097bf16acf67","b5e907f3ee711b07","372f04c4a067844d","ada7d594f73cc361","134fcbb851958c16","43cac53e0a0d9eee","f11a044ad0e20908","14186618daa0777a","3ecc82d3284673db","dc1da9165183247d","db246d9296a823b2","d29d128c44cded92","5ea3980a5d978b17","40de05671513ae04","42d5c8c10cedb468","b1443ec31cf4651d","8cac6d3317d16d9b","de7e38615805f3a5","14cb219896489fb7","93766a4847594832","c2e44a76c98cd7ae","3a8223f94768eb4c","d982fc8e308c3260","8237bbc2fead9706","a96ce0d1796adb63","93febb4421f30d87","f21af5e954aec1df","3b6e494f3b2508cf","1163d4337dbcccf6","2ec8ca0d27d00fed","4385665e61ddeef1","de48ab70a838d67e","c7ca4f7a643b3a2c","c7da23fa87be228d","f2fda89b10cab1fe","dc8432cb11ffb0d6","99a4e5dc5644cb4f","f75e69724e356e1c","5e07eabb2b7d8ce2","c491dadde798f841","1d31e1f4842e9321","00384275810d4079","97bc7bfd63052866","72d58a85b9a4aa52","39ac0b2fb3f505c0","e93a07a5851a14f2","7b6cf0c3453cf17b","a6ae8f35d17b3622","162055ff0b298da7","d051e2ecad8a4c91","25b1ac0e4bf27db0","0be54ddf68a672a5","bbeb040050524c9a","7906a1e6360e1d26","670e7395d0752414","0552a0e8ad4f3621","0454a289f1920bdf","9d5b5ecf823f3e06","42c7380d496e1a14","d6691e769350c0ac","1e1a6a213e5bed71","6a4924e86bc8630f","19b7b50be9592a5c","c892e02505855e89","1e457934d5466768","589c37cd53161a2b","f2a3784904b9112d","6b6b43283b748b66","19732dc56de56ff4","2f670c5c2a24ce20","64168fa4c56dcecc","341f5047f4a4fe5d","65f6a02b5d2c092d","fe5cbe149f478b8f","cb01f17b4f6d897a","74b35458f02dda86","6e2340865ef4c2ba","29f7aa56b6e32d61","746e7afab8f321b5","8fb070b26cad8e8c","3a92525692be8c0a","40746311949be945","b2f041d50556adbe","eec5f8a1287b092c","dcb1d3c98c1c8c60","9bce06553cc1164f","b4da65c019049b2e","c0e646f0c8352181","8480858c89a6eed5","dab0ca52a89d269d","bc2f27d32087dd9a","5cb5d81fb0a8ee1e","9c334872c8322cb1","0eb24d3273642740","fd4ec723ef30dfd8","5d0abf7735e4d38c","a3594a90f69fe537","0c032c944567a64d","fb76731a2064ad65","529f7e707934e514","7b89e1d6b81feb1d","57bd505da426547c","ac5c011465193c4e","6c324b24ca028984","3398dde44269eb08","08f26275ef69e598","818474999b1f4359","06a2c66e1e278b6a","966a83047616987a","dfbbe93ed61d87b2","ac0a600ca52f9c3e","6f6d7d45f826f275","db531fac813c8e66","f739db440f3d79b1","22ef5d09e03d19e0","4d1cd88e584eca79","6bf24cfdfefb1bb7","bb997600e486d015","ddda7783f50a0db4","a26d34138e9e5ac9","f60ae365fb4e2024","81d1299edeeec856","13199e203383201a","4fa1971ba6183d55","a0a58b0b53c68d3d","1b2b173864b5b18f","9d33432184b532c8","3fce7a45dd3670a4","68937215c80c0f7c","2b16e085b48c0440","34f9d3e13a7a926c","23cde9c0dc38671b","fad484a3f123ac37","96513a0fecdf10d8","b9beacf10a894eba","370a85c93a8d561d","fb8a232abeb978b3","96dc3b51e121f1c9","b463c81b1b187246","df0e7a06d243f473","4eb7f83fca4bcb34","06e81a86a3217a48","c6c8fa25720fcc15","79409b5134de7f76","c5b9d91c720d7091","a6900d3b869e3d1e","9ea62fd7b38d5c2a","f26c156abc555775","548e7018cac831bd","de267bb0a5ee01a3","96341058baa9083b","a26b411c2e416297","aca4e6e7d14bc594","e20cf17770949369","66467fdc455dc868","b3091e70cd5211b4","0d1a308fe2b59338","b1746f0094fd6091","a5360e4799f9e170","ff3a40b127910051","e285295f66b2b90f","fbe235d0cb60d161","4fcc72c14eaab8bb","d8ae76a5c0ba5f6a","c54192a41990cf11","4975550378291448","f06ba18faf97032b","7290c49c75ecae94","8e57dece73e9abd4","32d00a16ef133893","d66b347f3bce5f3d","177460bc6cfd066c","ee79788fa0dd99e5","f6a43d93fa9caf56","011799cd3edec2dc","facc68a5ef39eb24","1f491e6a49821d0e","808fb84d912540a7","aff9c7b218c52ff1","d0fa99cc77ef787c","83ba7411866b2702","1df2f73158e97776","23cb7e24572f04c1","82b83f7d81d2ba8f","66ba7737ec70b545","9ff7f0e7a1fb4788","9fc01637c5eca7b2","4b0831a713ce8dc0","bd13245a76f322a9","b1e5a947b2346874","fa5bb014ac36141b","89cc34a307fc8230","e46d811a29ddc59e","a21a4595db80d35a","dd0e8d1d231bdd94","dd58c47d1106a4bf","11ec7020f389b20d","eb509cc252ef4416","cfb8b7f11b653349","04fc27259c1f44bf","d5a5cd657c117207","30432e164675548f","2225245917b7a345","13489fb2d737e51c","7aeeeaf39212aa00","ef8d2d2fb12b659b","e32b80f9df4fe606","aa62981bca11ac74","1309d7af15e1fc3b","4482952c7504d00d","48beece72436149c","35e090f8c7faf406","f067f99223702cbd","6ecfab261b01f9c3","8d39935a442a5f68","33801fcadc63dce7","f668ac218120f382","9ac0d9e950466cdf","b87c542ba9b27bb5","61811e3af05e7627","7fcb14cf0abcfdc7","0a5cddbc797bd399","ef4f8454f3ec4dbe","c3ac6ed333078e5e","8d0c275c95303653","3b891fba4dfecf92","357802005b57cd25","7327ac2371d2c61e","7f3849dc4dede295","4175579ef516b417","9c2e6f0785e3d15e","a6e7cb7d734ff576","45b3204fc96f986e","6129043e9e44e401","ddcfded754ff2589","c72252e63ad47e9c","df73a0138e5eb1a2","678ee1ecfd2bd7b4","8da01c4e7e02c944","12a77bd93e3178cc","cb4e39396408f83a","e0704ac6164d8080","b8a506ad585dedf8","348b03cd790fc39d","7eff7f2e1f0574d0","fe8287ee6989a4af","07aa53e3f9ed5c5e","35473aebb652019e","36b0b5383d7ea0d9","9f1d0534b76da1e7","1f98f11f070b0415","230aac809f1b2cdf","069ed6873270c4ef","b49245576c4f4bc9","372240222a775d4f","59fe73b9b188de07","dfec8109ff57764a","ca4a8a1799332754","66550e9de816eb03","ea77f48c1d222cc2","c0886037ccb4c42f","ab023aa415991c4f","3f6c850249b7b7a4","445a5124b1d3b6ba","f0f9f0281acad3c4","f3c1fc23bc17ce5a","01d014a468d55ce0","d6f83986f164d9d1","2ab7993499d31bbd","b2ead3db76c4ae15","43cbbc293f2e38d6","d1420178d53a10af","d381cd4b08e2f495","4949856273c96f31","ffb38b5da98a825a","6df92a3791727361","61aa3b52edd2cf60","97c80fb2c749b970","da86ee3c4a435b50","24371de5255c7936","c288ba888d38a74d","e8d75052d713d6b0","ed3c5c95136138e9","0ecd4f80d94c7372","cfae06c36dd8db78","3eade78d0878580f","03f6a62f4708e206","97d3eebe58bb5985","a09a4a753b9fc72d","e5cbab5e28c8de7b","b618882d7f713f12","9983a70a0578c4f9","a1919db957b380fa","8ab95bcfe737b310","40e5f9f0e69cbf0c","c1256035b49c2bb1","7f1a014f3a67626b","70caec029fe23f10","787259a3f73535a8","c7da2bc733b697cb","68c3860c9fae5517","758a3d5a8018121f","f5939fa235e4cf9d","b206a6826946f259","9bdd13282dd84b6c","4582084ea33f3138","3104f63ffa2f71d1","8ad2befe24b148fa","266813c772c7eb42","facec84c0d632bcb","299b1f31bde3e4d4","cc33383330ef7115","04cb6aaa8eea0664","d846c551ea80153d","2b40c2df7323e8af","adbb1e631cfad35c","b329ce160f5f733a","a49224cb278e6662","c6eb92860bb829f8","d0fc50917dc16651","1347f6afde2719d6","1c7f22c9875595ea","501e6d96a73a9088","b47fbc4a28ea339b","8affc5ca98fa4897","2818a7a29e3d6043","6d9584c64548ce93","ca7f3971c86b027d","04c8ea40e1416dd8","91ef50a86cf538aa","9565abec6d5582d4","c1f7db9cb66dc783","6a91ccda006a7b1e","a14747cc11f09dca","46aaf1264fcb5bf8","54eb8ae585b6cd20","d817a6ca738c2860","f023a02d1b870d05","91619bc892c2f367","6ef165716dcf6229","bf6076f2668efe23","137c61fc6cd3b296","1bc0dec0b9dddbe2","78e8c4b7b4f9e582","b7b3c2c518c1c818","7157ad0d44c06b58","7fa52a5adb54be1a","d3f8302e1b74a106","85ee94aae40a4436","70520299b0fb1e7e","3320ef3f3756aa11","d203f9e048583564","cc33862cc2bcb9d1","888060d0043ce808","91a4c95f63913e23","c54c02a1bb45d163","bd77a65fc80868ea","02c82f93fc78e071","a5e2d099050bf1a9","18181d0455cede05","26c8f66f641451ac","b851d81e54e34734","ca7bb35596db70a1","4330bd30b21a41d3","54959d8ebb7a6a94","daf5f2bb0df1a76a","748946dc040568fd","439c47602f7560b5","961e963c5556fcc6","a39e9118de882577","e8191cdd969d017a","b9b3c6ff10434440","8381482825528158","4a2c2e932c76f64d","633a1e4957cf12d5","2cf054260d385cc3","c9778546fb264453","de8002c9432cac28","f0366fead862ee6e","9b579ed6e0d51eb9","c857889090f3e22b","18c9f623b0f8f8ba","7e81f275faa02d6b","a0e054509672e997","07cfbb3cf7a1c47a","9141d766151544f5","df19118b2c5130ce","52c2592695ee91c5","8f14ef8b0dec90ca","8b671de83e82e3c7","9ffbd2a425d3da08","2dd3539dc0c9fedf","f6760519bfacb95c","3b8f7825e86ca38f","d5ee121954c3165a","c76838030c694a7c","595a0330e482cd83","716d0d31801c55a2","0c7538718c2f2176","da52d77e97c46855","6614feac3aab5d48","0c68f6b037bb2c3f","94c509df2eefb756","4eec716927c54696","f5c2ab1d8a9d4f05","b4ab5729d8b915e3","b776ddbdb4b51028","a0599f25333072be","edfa688e83ba01ec","5e7190592d427d58","17d862b7c87a0c81","395101accdb746b0","49c51b54dbc8de4b","115d9ecf61c636e1","313791fb98411c32","6b94df736e3aae95","995fad47e619c553","ca10c66c7eb38d3a","de6adbd1a6a76e71","587efc609fd34f60","d0b465b95bb896ba","a12c8ea8c9ebce6e","465fd39cc57093ae","57c40fb9509f24f8","235c64c84c410ada","4eeff21a82a74216","cd0939042b525b67","a405297eaa582a12","27df9eeb4c4be0d9","4dfeb1671f086cf5","60e5aff00573dfee","4934e4e9bbbcf276","bd61789259c6755d","ab198f30438066cf","6167d3ab75e9020c","63ccb5cc65d41db0","b690e7b1952e6dbd","4a66fcf836959d2c","17477da0ab771aec","5184a5c010f3a471","a9fa8c0a0f9cc6c5","8a0b4fb72d78f2f6","595aaa04ece20f2b","72e91a01a0069d6d","dcad275631537041","e43044b50e8b545e","8200e47f3ac4a54c","bb470048978f0a5f","b89d73b977e671ac","5e96b8f5b93353a1","388c30abbe7958c4","f2e1359ef2aba23d","5f1b59b7430d9182","bb978f84aed3c56e","3d511a9b258bcb98","5b532049057ce244","40ab635d1b1ec345","6dbebb8a91c9165b","9c89f8ad918445b3","13a43ea0c63dc053","3dc23c43051c7f58","6ec6e8722ecb1ea8","8707ef443b2b75e6","366f7377fd513760","8e7510f792d7e993","c779c6dbb176753a","352a3a95ae907bb2","5cdbb02a7e351e0f","33f69aa26f1e209a","db79ea3229eaecba","e1728c824c18c918","2095d2a63909780c","46c8e45a70c3cba8","5d76905ae805599d","743adc10689eacac","1d68f0724b54ae79","4d69e994afd7044f","b9b9b74030d6b940","c50944ca0208faa9","59a05142f5ec6a47","d3bb44844809bc3a","cbbeb017488b22b2","6824a9460e4d8c9f","cde37a984b02d94f","27d5cfe560a97c94","0bd4017b28560194","1ee8ceb3125ebd76","3eb59215b6fb19e2","ebdbee7baef678a6","3738b065c50a0cac","1d8f71c67df6cec9","341bc94dee8e9f96","247945a0f503ac90","92d0d0a5798c06cf","62dd3e8d6c87a0f9","82908fcfdf7f599a","a6b8c9c223ea5942","af1f37a02c4c1955","d129c40c48c09bac","3226e1c699eaca3d","2128f35825dde7a6","86669a240762d83c","68455293ad284dd5","73bb43528b419bc3","e896de3485f98861","1ba6fff915be6924","ebe6d2bcd36db17e","502a76366d0afa9f","63c129e57bd851a1","7730cebb6d30dd0f","295541fe39be68c8","c52016c969292c72","9dff5591c0dc819e","425bce213a925d73","c839570ef7a78a9f","04c6c66a49433012","4c23495713170d6d","b21a4e42ed9c41ea","f4205715cfb82d3e","98015f2feffa655e","18c15e43576295d6","fb886b6e3cc21020","200dd435b42e8ec3","5ecc13865846db0e","46d4dc918d902684","76e3b03e619c3fbc","bec54e9477e4bd61","c69d13cea7af53c5","08e5a3df0b2c2c95","f4a990fd68343eba","63b29df0baadb63e","3b8391f25d2d2849","cdd076b6b818d38f","fbf0d71664d419d7","7dd6e99d1c259084","39e9e59dd42094bb","023a78297e355b65","b8e2db56d1fe5f75","b4066829ee5f163b","2ed2bc7ce44d3649","4ad7402573722786","93d12516213391e9","87bee795cb96b8ec","aa01a391bf2e3f28","fe51c69eebe4478d","4eae669ccbda7532","f91e7a1c2c512a0e","c73c3b488741b764","85c0a8032c692a9a","c8d1b777a117ee56","be2acafce4c2c74d","11a6de1c96795b4d","e60cbfea876d91e7","d4252f4120129d32","55db3023ac9ae3c1","a411175648a9f14e","1052950934d566bf","99fe787fc1aa2efe","a54905c20392b984","cd58e411fe4d34cd","61651b0ee41123b7","7c230d4cdca2bfea","4e3f5c09468d189b","4408e79a921abde7","9405d14c97dba7e5","61e245f74e07b10d","e3c4ae3ddd50eec2","011ade793e7bc445","fe303e4021a5b4be","038b2def0f9a28ae","2a9e3b488590c435","fa538e7bec527b6f","51b51889079ebf6c","ddd2fdbcdb9c86c1","584d6b722534c912","8aac22b29281bbb2","f0caf0d00683cab6","2ea0e31ea4bcc4e0","5075e1b00bd279ed","ed78d57addcfaed4","48d093a809c863d7","f71143d4a1e865c3","8608637b5a26bca7","5e888e23163ac3bf","6943689df4884df3","7634941bff66a6dd","af1d46d32e7d572e","1717b4b42c3de1df","28b4c85488f128d5","bffe192d318c5b7b","4a0ee4c3c569cf57","bc238f831322f260","5c02d7293ada883c","873fffb1d263db71","8156394d9b7d6e42","1ce065ee95e4bc96","da2926c9f2b6bf96","30827d65144b688f","c578d346dcc9f38e","6c341edbdc85864c","05632f2f980cdf7b","9ef2d8276441403e","0fb952b271143df6","99ba27f17405021f","7efac7e387d141ec","ba235aab7dfb1657","cfe63595d3b8995f","876b1f20d9cf3e10","8148c9d62d0a05ab","f202d1365abe395c","9d79f271f0274c74","ed0961c2ec67452b","8fa6a7c7df79344c","d5788e29f1e344be","efec7c8362bd6496","2c35832edfa0d2fc","1a5051a42ca6c504","bc4daaee49052e86","786bfd43841bb244","f721ca03be8ff260","f2a95a5b30167059","5d1d77696340830c","983cd159a0b40113","37d6df803145f6b3","0f9815dd4369b44e","dedd7481c1232f2b","221ee97bfed13f5d","f8b304d5bd41013d","ced32d247bfe4ecd","37b01079e497bc64","a4813736579f6a19","54880878ed729b66","aa72fc0611d255ca","1af45cb185475ea3","2aca27cd78517955","78056d2e854d07b8","8919c8979775e43c","bbfde2c30bb24f53","2efdb634d6eff450","d1e219d53c99be45","17db5a87405dc4cb","8f81968d65ec739b","c63d0c615d60abc8","68aeddd9bd26aa5b","16f4d5aef15c6bdd","08048d875b38ceb8","d5cdd8f60040d125","1d16f018c9c5ace2","a76580bfbb24a34e","e314d68876ac9938","192d06a39b1a1f66","517ffa31c1e561c3","8296521e661aabf6","b45f1179a641d133","3df393955c61492b","7a47df709c00596e","bbdfc8668282860e","6f71034627ce41c8","41fce6a2ccb96e9c","a917e4aa4ccb7790","00253031bbae4616","65c543a69d403cd7","42747e8a5076b140","0b2db761754711da","645a5c37a7442a3a","ba1b2e019bac57a0","6b69eabc1b4262e7","ea470f779e4827f9","b1329a14210f3a69","2c5ef02ab2fd4b04","6f09c4d0fd650430","735d536496e9ddda","fcb1ab6455b06283","2242e0f8f199a633","476acc2dcd7993ae","9c8f46ffc099ab23","7f10b42898985d21","4433605232813be4","626fbd5643a10cad","d05a833bc0944694","6bc13c7cf7683462","de60b0422ab7f7a1","d59e71f32dca20fe","9a4b65c56551cc5a","196a9e3b2963d54d","13df18e469dd5933","2ed136ebd92695c1","403ed8a53ec05449","487c23a4a5a0bdc3","61ad71f1a6e26708","6e5199207c64c314","747be65a91f87907","9ab1093bbdb724bd","1630d20b18ae1ca5","da2aec8e2b2edecf","6e55943b9d5ef0ee","01722dc818a6feda","9319869767e90c51","e0343612736a3dc9","d56dc907d5c1acec","fcfa41510d4d881d","6f98aa04e4ad50e2","0df2f6e07a121689","c58419a94fdc0937","ac9c9b4e7caf4c7c","40de83c24a607884","291134c3ae70e68a","72a29139af6e48a9","97176af7973174dd","e31b48fc04ade3f3","3dc94638f08bfde6","f5d43b55f6998570","5616c2ce5c283bbd","14040e777a789a38","f1de6feff23055f5","5b23a7e32b5b478a","ca0e3054dd71a6a8","8d4b985ec87645f6","5aa8eef8bc4e35d7","3520d6c943a27bd7","e928798f23941942","060ca3dab7e4b080","51101010f440af18","72120a886fd31b2a","e4d7334aa6d35ebe","16c8ef5f39faedc8","2864163617b6dd6c","56ceab158d68c63a","dba1fa5fbd2cfd9e","fdd481dbe4894850","e8f8bee92fde2e82","7630626c6be5570e","2178ab91615ab3c6","c1a9521d5c2df984","6933d070cb7edf0e","eb1d0f0e28c325e8","c46541e909051c68","39365494a23248b2","6f451f4ebeed8e97","ccb41a43aef262a4","d6d9f791250c41bb","3d8e4b20d731f744","e124ac3152daad4a","ecc903c459815c83","670aae3ad8057633","6668f87e92327f92","5e387209f4a1be63","faf3920e9b3b1478","437fa0c2d577fbc9","eb425da6f1b7889e","c0d50a1fb8d0f1e5","d063a1bacde5130a","4864c9af19e177c3","8fa6109ac6223210","1083f4f54bc42f5e","f037e2fb157a8b25","be43246d75af3c79","533fd9d852fab1e6","ee1c1f01b4ee6a18","5d3b655e7f244210","dc9f6147e95dfe12","f1d9b13e80b9da4c","a9620e892125509b","ea3596dc48c3ec0e","57a237179c63497b","21f3480ffd65a848","1e34caf8d58ccede","05f393bfd0e3e70a","25c52cd2a239764e","69a1e24e9ac476ce","de65664d8796084b","5d3cdc5678dffea3","f2cf9e463da48932","24c526789337c352","8501411864bb36f8","be619ebc2c7d2666","cb192f56408a8ff3","3e3adc36a85dd1b9","2e0345c8f0d03772","9b620936fdda027e","b969e76be824791f","fc06f906d9f837a5","fb4beab75b638852","901ab24afa4f1b8d","9c0306707722883d","1f168564661be280","e1ee7e8589f52914","478f53010b92ba99","8ce706fd6d4bd4d5","9e139cf6623e6acc","4f058fbe85475a4d","91836ce167f9dd36","675ca802b93b6f93","1c148e0bd7c295b9","0ccf37e7e252a91a","6f6b271339633822","b73d50059c10103d","4b88f1437eef0992","f33d7419f0933e00","06330e136aa9e321","13f363b0eb629d75","f307fcb894d1057b","62ac2376970d879c","65bebbc369c0e232","3feb59f890b63a71","daa2c7d2ba201c95","ea3455f4e7282a62","a471c698f7538a54","83efec5c7865bc6b","e7f86112802a7c6b","831eab530fc4d597","817e42ff3aa821fb","bbe172322c90608b","0e5ef46feda30def","2aa8a5b390abc180","14430fee4fec0da3","530387d722f39ba5","7f1f580cf68e57e1","ea50a440c88f8aea","67a277f90d7a0e1c","adc82daca86caf28","4d54bedff8837fa5","023fda95b7f38dac","c06288dac4891fd8","9c9fde57b61d7940","60cb67857c3df377","954579d4fb332d8c","7bd9fbd39d993b3b","0786bffad6b8fdf7","fe5ebdb4fc80af70","15b6568b0518c820","80cfcd4556e438dd","b1f1dbc3704216fb","69355695eba968c3","c626b38e996a84be","bf4f0e66f58b0244","f9c15b253d5cfe9e","eef5c76e1a875345","d2aa3c73e026ad21","dd21d8fe1aeb07cd","7adfd54792d5665e","10b0969f29554010","b9b4c51137ad7ec6","b3938cce2f3a2aa8","8bef1efda4bc84f8","56fb5ba6a12f4ee3","e655ef48edc2aab7","f9b35a7af604e2f4","0a5c4cda57c3d977","b8b499b9d37701f8","2d2e2407d8284f10","aac29449049140d7","9db6049a029acb14","1d10bb53fca97cd8","ddf72c47cd5f8a9c","a305e77188345b92","0a53f27ca3a07d20","1ebe28f2d643100a","f1368a26b36b490a","19e1233262d33eae","c9f8f3d06381d3b2","10ffdb0a0239caed","d85a30d3c5d03339","8ba30d16ad4c4e3d","b57d452ff1e8d06f","6bba536727ceb249","e1b3491d3edd75e0","1a18fcff73447981","51014181b4cbf1c9","62b15123b62762ae","a6e7e3de32ef63ca","ffaca9844c8ed35d","cbbf8c62de0a42bf","30497b91559e19be","44f0ce21a685646d","1366f3887e6de0cb","8231cb6e85943b7c","55cbb5ab30240ed6","3b2c87205ae7f992","bac2afafe6b36787","e4e7631c6fab2404","73a344f5aa76de1a","0cb8b001d26ab0f6","75754d6ac1aaec7b","249fef17f8771773","6535229c2dd376c9","d71667633c63d82c","fb111aaebf0f258e","446a0cefda006859","71c9fb8b232fe499","11c222e5ea163fdc","bffa617af6ce8c3d","50c950cddc1506ed","afa470c057243812","d112ec082c65d477","73c07a0bc5e5429b","57e31f09110f90bb","d36d0a56d64ac67f","47b11bbf1d3e7fcc","86f02da7eff1e3ba","5343778df9e41f37","fe6a5c2e3e4416b3","7af8e11321061713","57fe55dd66ce7430","f3671fca25729acb","5bbf3534937cb6fd","4f63773f3c770aa4","89f1bff02808524b","5b890ebe6c97c558","e5f05d2e50ad94c2","abd3bb3b24dd961a","87e913d97ffb7a61","df6a69e3a774eebc","4a684de1f0119272","e01b2ed76f5813e5","a66c6d1f8e271921","8f6b9cabcee961b9","e4b27a57cc6c68b2","c961c347fd2d14b5","0eb598bfeb13128a","6d91296005a60d65","340d0829b2817429","fc80a58fdafa773a","5de8989847f9f971","f2a5668521a88557","343850ed88d34457","bea29679dc04c1e3","fdbf3fd639e2816d","8fe237c19ff04689","ef3d95058c83d22a","73d4e0dc30041c36","92d08f37b5ebd992","928a16e58e1d2df1","321b80c73e592b7d","3f703a1a32c3f909","d2c146eec286df08","f6b9b81c233ba8d7","21d4d7a5a388de06","c0355b3c98fed255","0e7d2769799909af","49c88081983abecf","981daf7e528f93a4","ba866ee153e8e14f","5e1f61b100dc5e9f","5298351c16bc5872","b5c60f5b6f67d36f","f4b27d3a31761870","9303aa5b0ee47dcf","dc7d7c5316cfb32d","40fba6c8db067ba4","99e7f893cc8dae67","d57c1aa7c8da85f1","ec5f4de486b97abe","a8d85078f3957372","fc0e652128ecb25c","1e025ff7fc8568d1","7ff8d19e2e35e954","15f9ac6e39cd016d","648122455e4a957c","f97a07997323b23e","14eec5651b551dc4","76bd8af6b6128264","01452057616dc1a2","e444a1af33bee623","88df17dcb0946bf8","7b51138aecde4277","ecfa439ba7a35d03","03c130f6c64d6cde","7313123929b92e4c","fdab2741acb61ed1","dd1f42d36043f351","69564d0c8dc942c7","5bfc0d7121ebfd77","823b0b2460f6ef95","c227fdb52429c5c6","2260fb9363658a31","4d50622a83e8e8c2","1f6c0e47b1931294","4e181f8e271b0ba1","8257f8177d899a49","81b03b89f507e5ce","3eda424ef17379e9","af3082ef59725979","9518f42686aaf99c","6d6bcbb7ce10198f","da4da5b15f106b4a","d07502e0620ed3d9","4cfd419f66b58eda","4db395b3e8fa404f","d8b85eb94b57b81f","3a610a2616fc025c","2f629fa5.21d19","fdc00c7c.60095","cea3f288.bcb26","569f9335.f48c8c","a3e1b5e5.0d0ef8","66f3ea78.14b9b4","14899088.b01bef","f4fffe27.31ff5","96348320.b652a","bf1e93fc.bbeca","e596ecc0.c9616","382970a4.425d6","c22bbee6.47b7a","e05cb16e.ff2c2","32fe33ae.a321ac","5c5317f5.b9aae8","a8f7856e.e5d398","941e361c.d71418","29f39327.90d0bc","dda50597.594f58","77b65753.bbdb28","657f7682.77d688","ed993f37.53193","eee061d4.bf955","b64aec4c.52f8","51b518a6.4af478","8f9c20c3.fc37a","32ba92cf.54950e","9d1cfd56.737b9","da507502.f708e8","6603cd11.9802c4","cb6aeb0c.1e3338","35204a8af1b663ea","d4c5a5fae1f1b56f","0fe92c75f3eaef4a","2494e673a498ca2f","6f0233872e96cac2","9cb04c54a400ebcc","703f8f42adcce1da","0beb44e89b2e30b4","78f631485429d868","ca8f9cb7063f4dad","0d6d53c8baa5e907","8a0c5e7df26d88d5","081c50f9dcfb4b51","4dd71cfc1021aadf","f4c898d73ae26945","6b34b6cdde85efe0","4e2598ba2a349251","ad14707636c17a17","5d1da1947184e3f7","833f9ea0770f6e5a","03732989aa73f35a","85a64ab6.b23f08","bc8a2400.cf65c8","6e9a0d50.e1a814","7392637e.5ee6ac","5b76bba6.45fa64","35779147.0489ce","1963cac3.92fb35","fac9339ce8daa1a2","8e8fad5a3dc8ff2f","40349e29c54aadd9","10aafa2119bcdcac","ce8707c6.dc7138","2e0ae690.f2f90a","9f96e582.967208","5501246c.a0f3bc","c22b1683.523528","4f56bd52.514404","8dbe96dd.eab3b8","0ff84980aae53d0f","d0893099b20a4ecc","ef402ae5e4c37c13","2874910a1963721a","11bcee51878d81c8","93e8c15dd0559efb","8231b6a267d39bf2","e6e992ed3ab5057d","65c10ac9303d616b","461e40cdc9b83b48","a9b7311d0fdfef9b","2c561a436a935bc6","c28cd86afb368a68","1423657927f0381b","88c0a82bdddf789a","dd23d0e2ece16df7","316ed209c87c228e","35ddaf63494d655b","e5af41b779d62608","94517b52fbc7c222","90e4840756b8a410","8c27c7e68eca1a64","6697649d1c9b6c0e","5ec32bd48911e852","7dc93121ae6674e5","534311e383278b30","d69deeaa7e9d8299","cf9ce352e1e22189","51ac68fb3896f3c5","03eee1773e4b2310","e8ce95675101e8af","c991e97927420e81","d59ba3289c9140f5","294f1ce97f6089bd","01e78849a643e8a5","2f22451fdc194049","b03d810847d86c13","930ec55bdd15ae80","c98c8e1dd186a9e6","a6c40e0c7109ccfc","9ac1e60d77200847","72129b12981918d3","d14d8323f4b64b21","bd19832c18d23672","9d1cc9c17c4a70de","c8bc6bc3f69bd415","da845243f83992e3","e73144651291e1f3","e1cfda2f4b7b203d","15ae149127236493","7f180cad8bf1f211","a99440b2cd2f03bf","11628a7a4db100fe","30946c7743bfbcc8","0e7de263432880b9","7d4b7dd3f0f26094","5f97554e959fb27f","91714762765d1df4","f7c53c245cb82dbb","2b9f5994b30122d2","882c784fa50c695e","cccf7ae8e3728235","dc85e9205b9bc40a","558e2007055f9c38","3be41a89fb1c71f4","cdf962c271de3805","87eb4084ab2b6c4f","4e3c3057b42e2a2a","ce4d1a4c8f39d6ad","55aa1e8e4e61d51f","d9a8d6a331678098","56a01bb3a1823ca6","0c7e8c2914e9141c","7c990a9e25fd7abf","2eab37ce4e1d38c7","5c38dd887299ff9c","d0658792bccca939","a4572ddd98280be9","de28e8e397badc0d","cb4b8e74cf76ad20","1493b3ec590211ef","56268dd3950d582f","5b419a28f8338f2f","9af7b9c56907a138","592fa749c393ef14","f3cdc22dc1a6145b","5c4f2123036c754e","19134c8dcb4e84fd","e34fb98383954858","addd40dc7fbf27c9","5bea21ea2f447a5b","ac45d4c7f6f1a547","d0e2d7ea7c84203e","3a5d788b6c9b1490","b203a4b79c347218","af344ccaf295edf7","2e3fc4b6e967c768","db0cf67f4aecddf5","e485f554c91b63f6","647f561f3855b795","5bec85a040561e90","758726f2b1f2072d","0c86ad51105737f4","8d4968b4487ece04","6917e9365bf15cf3","3433733d6b9a8736","887cdd3998bb0a7b","05436cd3824bb9cc","c7adcee301e53907","ecba03e31652a0a8","0deb3214b824aa2f","b1720ba6a2ac3c26","c218bc6590a159a3","ccba35f51ea02cde","8c325fb9f9eedcc8","68df08774aae3089","5cce3ddc85ae4b7f","52e58ab14c13701d","ba7a5c79cd8542ce","cf344cfc63c703eb","7102b05e3a7f621d","ae85504297599271","d3b50627581cb177","f0ed6e5d36cbe523","c05215ab11c67472","ff67e3a2734a57e6","cc7f40c27b45b5f8","13a2d7fb2604e394","dcb86b8e023a9ff4","e5af9cdb8ad1782f","a04df5d6f5a664c9","aecf9a82cca1010b","8662a6d8d5df3801","bd2e646697352643","8553e21d99113958","649b628a9a4b5a76","c460eff7ee934acc","7f55efeecc6ec73e","a7443028dc8c4bcd","2177d6f5082386d2","8582c1a640e03d41","9932a3c5f71ec579","224c5d499abe0df3","b7cba9eee3f6e94e","2acf6f79f1b77e0f","258cd89a7735d78b","0ff6626531ef6198","a3f3004529ef18a2","d4c2cc2a91f5b2b9","e8d7f19acb5063f9","62950c83974ee5b3","c589887266c69450","b681fea6485e08de","372ede1593292145","6ff24a7e230722a8","b11dbfb8e7b04adc","c712b913351f15c2","1d7fdb59cd34b66c","bfa0e5df451fe2e9","cbd683a854a44b2e","b50546f63ce1639b","e0507a6e8e927e19","085b08d355309601","39408c8ef2fd9677","15d5032c9ec85d29","8e650ebd7375f518","86ab0804781ac276","9607eb8becc34592","b1d4a2a532f6cb19","e7fabccd7044ccb6","e66b05819afe5f9b","cf36484da72c0614","3e575131b157d58c","591d9584f2826895","ae506fba4bac5e81","9112bb2a8dc47460","b5afd4eb06f899a1","adb22cd4e76fd9eb","76323f6b74b3cf6e","a0264b96576e8fc6","42e6573c9c69f200","dbec9d8eafc144f8","308b8672ef449d0c","46e028f30bd1e4df","c6ac70f99bf92330","1de41c5ebf6163d6","60cbbe86ef1ca6c8","10fd8311c39ec414","fea797bca6360e73","3d380600a548966c","140844d72684e5fd","a3768ce65939db54","23929da1a8dc3ab1","1c774f316a83189f","0c26626f4e3adf41","5395e3432fb6a03a","7c482f95d5acd377","3be3338a465d07b4","73fc98b86fa09bd4","e463ecf298cb67dd","5a9bc4ec16bbbbdd","2c10659ba7fe0d2e","043c1679f6189be4","eba5563db4b6c071","e5a2a2539df70a6a","7ac6d616ebb5757c","e4bf0709d1045f3a","17e5368c34dd3491","7f8d43438348795d","1043788b4cd33ebf","643d93be5812d978","10eef034696319a1","70e4f4553c942c61","400c9b7813cf6d51","f675d1dd4067f84b","b1bb3606daf5a8eb","87c78a11cf031035","ee02a80588e4865e","939a9569896f434a","075ac2c97dc15b14","9b1c118db9a99b9e","148252a55589c509","b67ff7c8de31abd1","7757f127c3b4cace","be08cc3353798b38","7302166d0d52c751","be5d5fbef097ff89","b7808f0d1452b125","d3a356b2b25b55cc","23f8be1e8c0ed116","dbc00f1ad95d7531","e1768552a28f6516","c749dbb3c75164bd","486eab6cd67669f4","cd60eff79722f6a8","eddef41fac28be72","284f816c5e8bbfec","ed43589ee9e39cd5","6f3f8af06908f533","5def5c4c2f2f242a","f6aaeec4c6fdfabe","522b6c161afcb47e","502e6e4ee5518983","a68c83cf64464a78","9a09e268a979f777","9971e6ae76308194","254c6a165d02d73c","ad774d4c0392a7fd","27bee2c35bd62e53","8db58c6858a53e3b","6411bcf28b7ffa6f","fcb805254a062bbc","24fe1694a71b23a0","b28e23d2535310a5","f04f1b08715e2da9","21e0a26a69851550","eff9d80049182cee","c48efb433e1bac8b","f21a1bff030f3d3d","d210ac6cc3e866c0","ef0d3b8996ec469c","fb0afb89fb191395","3bd22b1740d9d8b2","43e68c058a7661d6","b3f5b970a9b03119","53e61734d5875604","f9ae231f709aa135","50bc182c3569008c","e01f4a19b0701f2c","61d20690dde8a991","bc345ebb0941581d","601b5a75c014b306","29f190c009d9bd2b","6877b109cf50132e","fc901a06715c2d2a","606f3caa9058900f","4e6003732b266fe2","68c4344a4704c54f","116de42631d4b17a","f138e16b633d9429","2690f4e06626ebda","177aee50c214945c","ca620b08c9922bd0","8d6827df412a4059","b6c03b0d5a9952c9","9a20f95447f8ddfd","d4f555ae99a41fee","48ee82efe7b41570","290e5853a51cb170","e15462f85288d3c0","66835e34ae95f3f0","9ee5e12567650c9d","3b74b2448cdb18a9","b2e5e7af716d4ec6","aa39991b7847c574","1dd86a8b8b446749","3ec4a86ec9ec37f6","ef424db05e8a1103","1c55a9cf641c38ba","4ed33d50e1b4ebc9","656d1866a8ae8cf8","9e4bfee0db3051d4","74172837e07ab80d","1be6ca3c2b8615a2","06976c9133796ab8","3d2ea19ae9c4b9d2","9043871af737eb1a","b6323e1460f6f50c","b375ca01bb8f1e43","dc4343f890e4a3e1","57e1a96c1bf54302","cd4ebdd2c6d86368","eed5df5df9eb8030","dfb1c71d12e96d7e","01e05de4b3ca9c5f","f4795bfce2a04229","1e12a54af3ef13b7","88b32f9b417c1d89","fd4ef897d9752a3c","24e20be30ebc92aa","8a52378a44bf7f3b","9615af109f15be41","59c93aa71ad35d29","6c94f5bf30aea70d","8fb6a9d9412b2bec","88b22e34de3b524d","d05c1a4eee3f01e4","e46801b96418c26a","d7aff9d041ae7444","a81fa955d6562f5f","5cc6b20c6df480dd","689bb472e2d91059","20c75ef7e51d5b8e","e0045ca80f8e03c1","0a90a652239db393","3fddcb78e40b1d2b","778d16bd84481a10","93a7acc4ebb52d85","c0b755705bfe5f7c","68ac80a46640bc8a","4f1473471bbae45e","8585e6f3431e8d42","83438124d9dced41","035559e237d36f74","24f76309a6dfe14a","6bd965a44bd48431","4adc84859872765c","78f2cb047057edc0","ef4532a3ebf0b36e","967fea7a3b32f198","50c35b8d464c83cd","d1904515488ddaf4","725065af055abe45","fb170cb858137be7","b74b0ea99d56eb7e","ea0406109e5de115","03b02d165b1d7e28","153555b528c18e18","263b6e6e05263288","b60115a1fd023b76","c2aa1840a5deddbf","62c1bb0cb832960f","8aa78c963092f63a","16094297767ce839","a2a26d3c15589044","fcaaaca3a27426b7","69fc7c7c14fa81f3","ec99f621f7253cd7","023b97f731941ec8","d83b592e2491dcb6","e44987d599f2b366","b6d352f0739c9c5d","e01a8d98754f1f85","3918bb15caaf1ec5","4a56f9148bd23d8e","fc6afa9a094180d3","c1d200de7bed7d83","44d4e7ddd6c2f416","20c48f73de388537","1f143110084f2d12","c95545cb575e900a","a521b0c77c8e1b96","057bd2913e07a3dc","588f7e8cf7861975","feae7dc17ccbe84b","40fb52f0b9b6d6f8","5943f812794763bb","280a3b24aff09fd6","13bb4993d29c190f","4fac1159c7fb1196","238894bac5405d86","ff3ea6db082a3ede","7a8446bfe5858de9","7ca84197b56de1f6","5f8cd6bd9f561403","3c5b954c4db04bdb","3a816c9d45c03626","d387848d485bbad4","88b4fa01095bf6be","9afdec924f923d90","6ef64156f6aee952","ab09e46f4313cec3","88a3ebf72baa83c9","7bde9e5371850ec6","94a9afc0489abcb3","76f6a0873cbd318f","a86d64f42452a3b7","2c63dd2b7c70df86","ce16a38c205cea88","223c9437360c96cb","8a1c1129f96fc4f7","2da12c408933c87b","9725fd4ac3730948","bb91528b79a7fef4","5ee9de3d5907e482","f8bf0c474caebb26","da46e6b6c18a5350","53c25ef43112837d","674e46c767bb1ff9","636a8238144e0df5","44795f19725dfb16","2b909499790cab01","73cb2cee63b22726","eeab0942d3417e79","23dabc507247dfc0","992ae204a4e2dac4","32acac8443b52345","b9f8b477c288e0f0","ecd8bf936f027cdc","c60c3603ff04bca1","5cc27b9e016bbe1b","fea7dd1138155750","ce300a4fa3da028b","5c3172390ae5eefb","898d54359ae10f09","4ca2710a68ee8cf7","9775046f290c1bf5","c32cc33c321acd07","8c7c93ce9d3d346c","b7732e5da33d4247","ae7ba0058dad62d1","0ff03eeb1954d8f2","8dfe90979253107e","b0e2b38384530493","adf79dcb4ba8b960","25fcf6d56ac6dc3a","308199e1755f6e79","18e8c1312e9832c1","2109f9c2efef71b7","d37f5597502da265","cecdc0524ebf11ca","c22c3490c00ce12b","3cb202072fae30ca","ea377511bda2edc5","8bb2921d3035f78f","d28afb23b014c0d3","2b7c57be9b721cd6","8baf81aaecbe3ab0","f64316cbc425c3fb","27ccfea85f2033da","529b8f85ea492b9a","154312b0a80ad157","3e26b34cc3ab9745","a8c19f86a71e21fe","8bc96e353c45fe20","af81b0a41bcf99df","6d6224968ba7c5d9","c6f86ceb44d413ed","227b59bd71d4ea5a","0667b13392452757","b4bde00bbca1c9c3","1c698f378d20c0c8","4468e5d7d722f524","b2720f096a0b488e","d0e8c2ef168e690c","f87851f6472299ee","e9d47e8d56320c0f","e1468bd07f7833d2","fd32c9160864393c","e92aecb14578b6f2","8511a4bc957115d4","08e432ec0eeec199","04ae900e7a8e5ac8","248ab1ebea76ecae","95a3aef8bfc333e1","d5b35dbd65c8c2b9","3cecd7c4f79dd7fe","6b79b66429521305","7b3f1aaec004ecfa","cfe03bc0196989f5","80c3ce3d49bd331a","3bc4111acd19c69a","55f064781c895892","ffe2a77ad5394471","44e6838e903b3566","90d065528adcfb62","c6dfc590e40a4878","b184b34450d43367","b70f40f78b57a9e9","276edc393b2b8718","9d9a9a166ac14a87","fb5636e8659a3798","f6a8e56f95d2e83f","188c450232762d9f","28383999950bc1ee","ab5070d8e2289db3","0b3ada9a154f8404","2a102caad43b93f6","47c0bf4047a645fd","82e320bbcec01dec","8ffac054b06e408a","47b82a6a458a6f25","3744b28f43a5bb2b","65e427add3ad7d5c","0556201671b0285e","fa99b8b44e92f9be","8b94e3c61d1c7e5d","eeae2c986dcc4fd5","1b2fe53f9f4527dc","e3241702c334a377","6eac671a3b5398ca","8e7e9d97a6c879c9","aeac844b38d85fc6","764bf2a2badb8940","ff242d9ca428610e","1191a4f0f73ac0a2","8cfe805309e7f14b","a53d417127982757","f8cca546e04eb48f","78919c58e908a11f","1debe93af15df2b3","3e0c8f89c9ad2c59","190cd8656368dea1","c98bc4cd21e70d26","8796089a19e22fe4","41178c35c209aac0","9251d2904afbdbde","b5e1b5781b6067d7","b8af5e3061c3fd5a","2c43537a0cf9e307","2ac79808a71cacb1","191e72ca8d7deecf","4f140e0b7bb038a6","68a06a849669ed22","3add54b2949c23ec","5f3f7c722ac856e1","60368ba60dfa48a3","6d778528ac85f061","2416eed2ad7fb675","cae48203992d0c58","0971602e6a24e9b7","44244979d1ad8528","d01299e89f601944","c9b6f8136ca0bd79","fa4bf780a0f34822","2839b9ab42bf552c","428c4887aeb1b8bf","2c47c873b0dfeb59","eba701577392c37d","f0f16786525d1859","246e55d292fe0f91","c863abef8c3dded1","caf4791638c6f452","1b1ed5db08fa516f","ea7482edacd656f7","4a96348eb648c97c","f9014dd138d70756","4ed4b78dc034a6c9","a95a9af12bbd3646","3ea01cdef09d498b","912811332f1921eb","27111821405d5644","0fa65bab1ee8568a","7280c7be1481cd40","7de1422ef0247bba","ac514b49b2018467","197667ca4e9cdc54","3bb2a286f77067a9","3996f05011c215e4","c81bc2696963b090","24db240be39b9a2a","e804fb2bad48ce0d","89d8b374ec0c8d64","cdf2ad725fe8ba54","7e8e1ce7414fbc36","38b3477f104b9d36","bc14b0716cd43585","9f05d32a15544b29","465d409da29c386d","a3a4cb31ebdbb809","f31fb49f04148c64","a0e5fc984e2031a8","8e95a2345189876d","6a476a7e62631884","e163c6ad2e2227d2","b7a0e4825f15e4a2","d84590265fa8da9a","5dd5e52ffb38148e","1d70860e3f2cb386","0217c5132e551168","c3d1a81ac0746df1","ad569b0b9d7deb89","1ebdf2bf88a5d99c","41ab086b1bafeb41","7d41bae2b6bb3e6a","0bac1457f2c3c913","fbcc441952a7c9da","4f0a78c09e88ac52","825e71c37d3c674a","b2a2d9d670500881","b456712facdb8f99","9eec2a58eea2f794","f7f44b26d3494661","60ec289316037465","438956ec28a1644e","e9be7bc2cece9e6b","4ad7e0736cb2f3e1","3dacfc613c2d6949","159905f89f658c3d","37342614a8bd3e6c","36b6ced1758a043b","55023cb2a00a038e","65f301cc578576a3","a0f6a91598012b9a","47f442e7e5c89435","962301d657a74408","eb891ec4b0a07cfe","3a821e7da32a3561","cf55e9963f617d17","0109e7088ec7040c","fb14e8329c2c77c8","628630966e299dce","57516cd75e235df7","a4d7386dea5c2987","0aa9ffb8eb4cd831","d59c718c84ca0c45","6974a448a0c0c431","3f26e65e9e14b140","165086f5eeb45889","26655f3b52fd390b","4f053126291b5804","656edb879555e04e","fd6b81a32bb8d757","17650efb4c8eac6d","35aed833a6fd89c9","78389a0e3cf80961","b5aef2391dcbcf4b","9bdb14efae83866c","6aa0699f4eb35c14","b21e235c39afcb03","bd985c8dc9609479","095ea15b0b3f109a","a0a1caf4e95d5a2b","230b7b206cbda14f","93ed91bff23ccae6","c369c0df4127877c","cd27de68d9e0cbc4","11e8012b77840d09","67c80d1f6f7f4480","862bd44140894d07","eb3242a9703a76df","42acd7f9ad626301","c3e90ec1d4493bb4","6ab8f6f585ebee36","c17daf8aa7e26a0c","7379c487515b9889","3a6f2959b098c17e","69f1300be1c6d8ab","32f30c6a0241b184","1313dd5a267993d9","1b38e8d77f15ac4a","d9d65b36d28ee1b5","af81a38fa86c6cc8","dbe559c73da68763","d88e0ed1a96a90b5","42c1dae9372de9c6","149cc130f5efb763","7eacb809027a3f29","992d3a4f1f2cef04","7f81ef3f4f7d218f","6aeea1de4587093e","2155a7e805ce62e5","db3dc40ea4b498e3","65dca07a06ffa9c6","d272a453214030a9","f89a84a4111a2df9","ccd498fdd2090daf","c7e91ffdb1fe5a2e","99abe6ab320bf6f1","5e8e9f03c92c72bf","cec940e246132dd8","bc3f1c8b796e6e94","55458de5ef49bb91","280b16759c50ec5d","f098e88f376a791b","c3a2ed381aba6a33","3fecb11ba25e2884","b73d1209033d8724","929e091f58d7e981","d23265902eda3894","a803317ea68e18fc","fadfc3bdbc68f76f","cbe25ff8706d300b","159202a1e2a32023","46ff4d153fc9736c","b2358081175b0301","04052562e24f52a7","d963d406dbde22b8","037325aca1c515e3","7b14579668c1af3f","fa5d15edbf72f647","b2e76bba0862cef8","639c01a19ae1a820","b129a76c891d0014","65d2993302d9e21b","5bc2441e8a6e0e82","283d461116d4ddad","142c5e63a5897acb","fc59359ff0fc3578","e4063f822861a8e3","6318eeea1f540ad8","6e9d7cb4048d2eef","ae5513076154ad8a","9a9eba7461771815","7f33cfc11587b83c","04f0f1dcc6935c42","51dd51d87769dfc4","999a7018d46ffc73","aa91636fd91822cd","8b02b507d6467dcb","510ee05b3d6497d4","7cdf67aea069fe46","699ec99e677c7dc7","3272b2668f830af9","0f1d5657502571bf","3d01f404ce8e4f2e","c8c8e81ef5a7a779","25c121f68955e797","815d0596d6b03dba","3cfbbbdec94a469c","8ba2fb2ae10d5f8a","12443294ea11d3c1","91b94a9d896e7e78","b525d95cb47e05e7","bb111dd74584e31e","d23964f1034cc332","2bf944e313216712","48fe1d10a3a37a85","22b8700637e578f9","24163d2ac0806a9e","395a54a40d57ff29","6c04bba89bc4d93f","ef1a0dcd39c2ebfa","75b4cef66ff5b569","a1fecc9bf61cbecc","7a5403df0db1a125","b308c52fad5e3003","31e66543c855840b","9fe066202aa296f9","82643125d8e7bae9","4c31f8c823796b9d","68ac0321fc403487","a3c2ced4e60f6aff","4155536a5f1ff708","1fde23683c7ff5d8","97b05bc746ae98eb","8422a13fa9dcca51","80ccf2e84836c3b9","2da226787a8deb51","5d01b01dda282884","95dbd0806f6e50e3","65ba5d4db252f373","8c26987fb7503da4","b4ade4e43f7f5619","1c5b37e443ea3a54","d66db8193ecbf5f3","11459cef626d8dd5","d48781c900013ee5","865b1e2e30c1406e","2c3c9f634bfc436b","01d61d75b12c086d","c18aac930067b2c5","f996e39f99239f8f","ef696b96885101ae","48a0cc5241d2549f","8360781eafaecfeb","c19b6e3169ebc381","1127e98653b5a27a","4183c52e2b2c85f1","5fbe5259545c7e84","52be14f6c954aaec","3c125c12aed493a6","17e00a50bca8a511","557d6369a161cd69","689e466df8f8c5c5","bc769b10e03830e1","1cfe4db12a78f24a","3ea1bb4e5ff3e53a","bf71f08c103ab9bf","6d4b70fa6bba8616","b8ed61d35607d163","4c93ed77e680ad7a","f1cc0ee7d294d743","6899ef31a931df1c","a2ed4c3380f63344","d66a556c8804aa96","5a3cf6eb82112299","3fbe41cfcb30b29f","8a877a1f0ad96a9f","86bf6614eaaed4fb","f1a67acc80e7df25","a734f97d04983224","5aa2370542c80557","417fbb2eb3a923ed","57e410937624c3d6","c17dc35aca46f82c","c35b2b2e8f2b4219","92754828aa30243d","473d6854093e32df","109b8b2fe8df33cb","98eb7016dea145b8","d51ca92136da8ea4","56484d472a10cece","e67a8cdad7117ce2","8e1e779d0e2a97e2","4db69cc034f21733","7b827a64c14fb9cb","5f218ee61959294d","6ebcb13cc88ec167","d58e31cbba7fe1fb","79e409df0c12d8bb","b90b3d45412b51d0","6d468d4c78e0a5d5","1356cf8e6dacc702","94e962dcf138ee98","a384b36f395ac476","b570fc100217d48f","2f0256ee1c8ee8bd","e416e76dbc779a5c","891441049126e441","f987368eb35277fe","ee59c5af14e637f3","a2ca1cbf65a3d6da","6b16733d5f1837c0","0211a14a27109897","3f34497743010927","69d61490df35d838","4e1d7986190989e5","9737afb19d9c9fbb","dd49b4996fb683ff","fbb1bdcb44abce21","6c6cf33417f59f97","fc673a36d8691d63","37aa96c6d80d8ade","1ef76a4c1fab9b78","adc6196b15cf8c39","26bdcbaa93cfcc27","c4f79cb042dc36a1","f391ba85b3d53073","7e364afe6e09d405","b8374382f89b46c6","5b4d546fd3646af7","fafbe160c912822f","f85914dec075a3d8","bd8ab43b4a91a2ae","19b6504e1bbece40","f968a8fc298f04c3","07108de5adf3ae2a","bcf6468037b4c2a6","37794c3da2ceda38","dfd8650d923f73e4","4c5adf85df17025b","26537f8818c29c61","a7420198a3e0f879","f23d5105ca948593","2efa063af4b505d2","6cc81c8342d6ef1c","f7ed99ce22cd37cb","348134507ffe8815","63561fec4fba2afd","53f7b3195f6dfeed","99e789a941d2af52","39615dab9370d868","e223793b9998818b","136162f12991809c","fb9711affc7d14af","a9e89b46159c4ec8","cb3f8f9fa322b59f","51dc21bc28ea3f06","272807d6b707d92f","4540d4f432f8742d","6d0cb16590b1da18","bfb0a473b6a09c81","61d316384ef1521b","27d7b08fb3646a52","3f9eefa51c1e5e9e","ff2211c1efd24971","f814aebd5bd599b5","8c3c9bc4a66b1e32","0711217590341f99","3930f84bd36fd5aa","b6f3145afc37707c","7a9f4d42d5c7497c","dd517b4d06983aac","e7dcdd83cf9e08e1","73dc6a2b0e041f8e","bcfed6ac5d278d3c","93e874f6e4a1f87a","fcbda9c625fdecac","f5cf184989e2cc69","3d40410e159beaab","4565730f04bd7072","95eb528329f90cf2","79764253e9e92fda","3e6cd35a857771f8","4ad97596d0efa64b","f19ecf4219ed5190","33fde1af7428bf26","2d0ce076b11e16ba","b394effe7a57f79a","c97e08992c83f769","3bd921f16659d915","8ee8772fa3a4c742","3473a74146113307","2feac259f3f849cf","6afc26adb1632a78","486df3adde8e9f19","caed2b0a311ef651","f8c9bdc9468519cc","d46a05d7499a2baf","1ff4a921e075affc","c20f3ad695b504d9","ace2b79f4bb79129","4ba85aac882689c9","f0af60c382a79669","9016e50cba8bfc51","511350d9f34ce767","7aaae6f81accc54b","20845c677b589935","acfd5fff279e15de","674dd33239c8c3e7","d2846ad9c776708a","4f9d174388a77ea5","f77679312512233c","f5f89b6efb421399","5673ce2c9088f475","f718cac6e7ec06c5","79fe08848f124125","a87c14e04ed75544","89fea9401e9ea5c1","fc11e57431b3bece","b1825677cbba4273","a06fcd9bc49dd111","8beb2a2f4c26c437","539d1393b0bcbaf6","4251d90a5ab9d7a1","58a80e8214149e12","5209317f54f78726","d5abdb129e7bdcb1","d201aa9375be8c18","0be97543e6033a9a","892332a6fc4a6710","97aa2e016643bfbd","383c38e98cd05755","5a5c10ecd5d798be","932e7fad1c98966f","baadaeea2e2d4f95","c5d646bd69c37865","9d8b8d237e2704ea","4da4c768067c032b","12fca45ce9ab2abb","c6383ca66673fd96","cd9ba8ff11c8036d","f520ba0c172598b7","327f0ed7b5fa48d2","f68f5c75e58e22cb","a8dd4b383d7eb632","4205795bed6b3290","2a45ad61a4b3d598","dcfb0cd127aa904e","22c8ba7a5b818ab1","d5a2226e7f24deda","fc6548d30b49e4d0","c72c85a05c057eb6","5f5234be5bf42b3a","8a6f97848d7b1a2c","63f153f048b1295f","130d6f3ddbbffdae","2923cfe0def7c0ad","2723a51ead34599a","f1f8c53efd3838a8","a1ac1aa658d58387","ecf7b9d277d80279","e61351b02452479b","4635fe1f7e4a367f","dbac3472fc6c8c6b","7475623aa0893639","626e1746ced16a4c","0691d9a37686f464","3c6ee783748b235e","761cb37547fe4dc2","a033c6dbdefb80f9","1d6b2ca73ae11560","befe8bfd3d3446cc","2936573edcac41e4","661f755eabe3c32b","45ec5e8001fad3fa","9c9162236e4b23a6","ce9aca3509c7c320","42cb1c19195b7aaf","6495af71a7195bb4","bf793e9865c9e834","5f4fe9067e1fd9a0","05b5a24c1547eb9a","b4a9884f6b553123","5ab53f45b766d97b","86f604b24a73308c","25609df681da5c1b","d2194c4dad790ec4","12697008ac3ea99d","97087ce25aae4515","4edb12baad4c5bd0","9958ae246d4edc9d","625142605bf476a4","4dcfe4665aa8fabf","ce3cb01895016d69","8be81912e014841a","6b8eff0718819266","b1ebe0e08e2084f1","fd421d21a13fd9cd","5994c74117a8e31c","ddcf6edbc20142df","055c0a0f268053e4","4751d9bbafc5bc21","a5bf2bb33f9ff5bb","16cca2765e899796","0cbdea1f752e09f9","3d3b69a92d3e5a3b","b2f7ebfba6bbc4d4","367ddcc943fb234e","b3e71ec6ef25bab1","661050a25f78f9a2","ef2769915480b0f6","4bea82d34bf79d91","ef9a2b91b42284b7","a4dbfc219ae2dcd8","9cab1d58af793873","174edf5e342c527e","c7121847509f1d08","989b7d7ecba85616","1fc6514464e22856","ede7f68b56764350","dd4ba0864d260f4c","45a643fb738127eb","3962dc523ff48938","a80b7e58e8b264f6","0e12a116cd5a645e","98ea4337ad7298c2","ab9f875320713f08","58e1c9e33b0a90f3","a8480038bfbf3fcc","d522ee9073fbd7f0","c90a6ddfd223af79","22b72e8520c12a40","ed28b9fa5c455f0c","1f6f49b445e2d521","b4c8c70bb7e8948d","b37b3ee777a644db","8fc146f9644edbbe","4e080e4032b4c4c8","988c34fbce846dcc","88a37cbdf2f5f465","e6cf92eef6f506ec","0bb31a889d427f54","ad3172b46080261c","0ecce96328bfdde4","2a4f2715f401f8f2","dc709a1842ae7a88","5ed94f8216251cb1","43a2549e341c526b","13dbb1a630d2cd7d","787028ce8e3aa268","a589feb1b401ea68","4ce96c7ddf9665c7","2034de4581f58c90","86076299a0fb4895","4e9259e00dbed0ac","61ed7b677cad542e","af46ed6d30e60e05","7f2dd140d1c88cb9","dad6bb6b40fef41e","a65aa958e432f9a5","a3e5f41d31ec8cc3","06648a9cfafa7763","3e2e4e9b894029c8","6c209c997c1913af","9137722c14af0906","ad3a18ea13234fa7","cb13c9daccf388ee","29a5cea9f00406df","42e7727aca3d42a1","8f75f6329e26fbc7","af4763dd0a68af6b","3702e76504099091","3abc2b9923687477","d608ad4cac54244d","4ac95d6cca44f46d","e6259c762aec16ea","3cb082c8274cf548","974a59dc173e747b","7750f047196281c7","3a4cd663457429f7","a3453a03261acf84","1a5f2695438cbfb8","90417422245553bb","4951ba32095bc5f2","3563d6cc5602d9c6","49a7645f7932ec41","e95d3ad0623d35fe","59a7c31353278ac1","6e9eab0fc1a758ae","93d9685cdee76b2d","62dd7eabb91e408b","3bdb97b4240b5f07","6ba28539428fe214","95108e6e070e7630","3902e4b05ebbbfaf","2294d7008f04fb84","6ad49aefeefbd09d","18531ed9a7d1af80","204d9ba1193ba811","92f84c3ac249f995","bd45f02bb3b3849b","6ae3dd31e136b128","a9a219cec32d41db","b476823397a6cb50","9c1497c3869ae5b0","6626de35491fc7e5","2948383446051f6c","e5267eaa5761e821","309706fa0b759907","1d92bf6b8fc98959","25b3542fda8fae4d","4b8267934ced5596","151d5194b8538480","f670239d8cf08808","a4b56ada8159bff6","990b4d58c23a68a2","ee3e358d88bbf249","6f096e24c9634c56","83b16f9aed4fa051","db3ebf0b6421aeae","10c3697bddec1a05","4f0ea1cdd4d0b719","738201cd36aef02d","9d154c219f206faf","6b1aeadab15d8e8c","1d1b97b90e8247f3","633ef89ae7ff3aac","7d77f0bc3fa0e695","73b58c6d90a26112","2d538ce8ed696396","2d7299cd90641836","1f487e161c7a3a9f","2e7bb0e6e6079d56","5f114cc4b6ae0579","7992580eefeada6a","6c95c42a1bb0e0e8","3cad0ebae9bab6a3","4e039b1bb507cbd3","c94f5e94ee5a1918","cea54c8794dd0ef6","518e99798b484eac","a4418ab91ed4c56d","503454da3c35d846","deca341e91bb7f09","c1a9384e4cb3acd2","9ff743b23cbe42cd","51a8b73d46163353","e5cbd1d6e36b3a71","60e62fd2914949fb","fdc89ddd1aa0f14a","8df78aa19a0af2aa","fcf36df06936ea4e","cb2e82e3ca5ad664","540ec68bb8166067","d0fcc8358b550646","1cd4711186e0eacd","72bdc2b803d56d5e","b866e5ea8c6f4135","e3c3329221c57637","33428cdad37f69b9","f03da2323ee09882","fbbdc47d5910770e","47eb8b39520f8641","402d82489d297c82","d8873ffc90a0b800","75fbca1d39c47339","374944ec7a1d4b47","306bc174ad2aaf84","04d40482183bc373","8bf7263e2c4b2732","de8190cc7acf1ab9","0f589b67cb910c6a","68d2962c711d3dd3","fb5f4b43f105eeee","c7337b13965771ee","82128d17e64350cb","a85ba25677fe8dd1","d9f51facbcafa156","36cdeec08c7a3dd8","6d4c2ec76c80126b","fdea9ff531a587a8","b09d639af149c549","e82029e6586f9f7e","c622c7d8b085a6d6","25579c2b6bf10a53","03f2f5c00addae38","316e053ce43b8176","1fe7191fde26e8cb","a8759eb49d4d47f1","035760b14c0a3455","83fc1a8db8e3774c","c115ad43edc89efe","e941b40b953cddbc","6964c9772d7bc5d6","7fbf24f2a6bb7f36","2b222d433afe409d","eb935fa8155701e2","ceffdbc65f225ed5","2936ec4c8c8ab565","d8de448ed73f17d3","91ba1b199e91916c","82150d4178a42162","6155deee9e0c160b","4a6b620a1d208d7e","21beb0360e865da3","29d27126cf3ba304","ee4607a9074fe742","cd5b164b7ad4bb78","ccc2df3ce92c67ad","8fe577cea4ac48fa","cad2fc584c39df0f","015f0472776f11b7","e7ffcd836be34681","72f3d70342e83655","c4df794af04292af","3fe28ab3d007c572","662c49c88089f00f","b40e12a183af125b","b9356dbf87d93bc5","b85e06a6ce56c496","8c9e51e853c941fe","471f98e80f09e7fc","d0602834860e1ad6","1723a88c57edd93a","723dec470a8f2678","85c927dcf9dfd8d6","890c995bc0b1bf4b","c8588ccd19d318e2","f9c4a58c92b5b4d9","ba6f0526fb7931c1","09d81adba4bcf125","9b17052c6b788f45","7a3535db9e7c5047","663a9910ecb7d4b7","e0b5e448c81dcca6","6c4bed6b5d616836","6ed2ba39d2ad3830","ad7fb302dbb22bcf","16192cfee4d23370","cffc4b31a6570cae","595853542a4259b5","705131420801edaf","156d8365a01c4fb4","1d9d8c969ccdf2be","e3bcd358aa687acc","66d5953240afce8e","0ae3184728b2a2c7","4f07f65ec7f8a5e2","da3dfd792007d0d0","72de98adadd34a6f","b5a5d39699459183","00103f2867eaf0af","7340045ba5d10c4d","29addac35906de8a","6236a5e8600f634e","5ce6d992ddb52bf9","8ecb5617ac72d19a","29f907f589e47ba6","5a6f8f519e070c79","cc9ae1f14650ea53","6b5dd5979114ad9c","69a45eebaa58325f","5d3538459077156c","5c6e003545ed92a0","740db566709021ed","4f087e589110693b","1519b923650e36db","45880c15ca4a61c5","f2ae81bacad53d72","9171766e1ee10649","21c200a736413965","06657762c4774a90","44bfa2b788405872","78f44a60b8f4cc68","80ce9cd387590b00","85db3cff53254780","a6bb0870c0eeda1d","c8456ba2aa6075ce","51a0b7fe34dab9a9","fd414e4814858c31","4ca6bf4176ebe985","c19a4a024ab45653","868f82b1a5ca2a85","f5b6bba2551b5bec","a327bc0ce37018cf","2e633d555e1a36f6","95727dfedbf37b0d","76a625401145af61","51977d236a5b4e17","463b42633dcf4058","28026a2ce29f6d72","83530f0e60512326","52f51be9fc39e849","422e1dd2aab1ae7d","f39f016b95fc3bb9","2241bb87e3791806","e87e17419a9dd28c","30ccf1e79a8c842a","be0fb9a04ea16004","fd0e7bccfabe2ee6","451c9ff36fe2e477","b940aaca8de45053","d4a55209a00a2850","090dbbbe36a15a24","6e172580996cd122","457282d09d5173fa","e9fecb57cdb7b4a1","d55073835b5cbfc3","41e9885bae118005","4731776cfc733e84","a6d607b465b7fe5e","2affc8f60f87bf7b","bf39b8d1716ca963","4f7352e714e2f497","9ee5440963269d27","da2f54e055f1d1ac","804c8129107645c1","ca7b372f821ad44a","aaee376ab741c976","11010cbbc6f9b2c8","e281bad48bd293b1","4dab258c1a09367d","35c1bab44d004988","de7d9964bf29e382","d41e4cebce2bca43","97dc196e81b7409d","0c700c804ad43278","0fd97492731debd9","ba0d99bb4b415430","6623e31afbcb8143","7639c6337690230d","928da51d7458e5c8","b517f0ddca2c408f","9115d56d55c93df5","349f3c40d1c1b12e","021f86a9f6ab04ae","34e6ce73275a532e","bf9261f8ae1151d3","24516baa1174ca38","ae364154f775506a","003aaac69cd1095e","04863aeaaaed38cf","ca06a9cb7106d9e8","97e27495865247db","587bde08ed6671de","c40ffe49c0a0ff99","8ff81811fc69c047","e7fce90947d78bb6","7162e871274ba773","9c410754eeed38a4","1d6431834655bebd","17ccab488210a553","0eaec60a9f3079c3","e5711a71b3892db1","f7f098848fd8f773","5230d94fd1a50ee4","832cdc9413fa68e9","346449e7aa3acf06","bc5b2e9697867707","b1c1797c1d7105fc","d192a18518dbaddb","66fc117529d78f16","edeeccf645772a19","76299bb5b2511493","337719979ff14b9d","d7b772643055b543","bf58597579fa65ac","eb0e20481326e5c8","9dbdaedc889b5e55","8a2cc36fee115da2","3ee329a652898c8e","c43a832d72d5f53c","35b93554c4c3380f","3c3ee84183ecc882","18ca1e572ed1016e","b0ed6159a28316ed","e161c2ee367d789c","30c1212e2308599a","8393b1d9a9587d31","58eb4557bbe9720b","caf9f9d55230f2c7","04c0023c70785d63","1b40d5db9a25ad98","5e8e2d18d89e920c","ab6b3f6d38264d59","14fc27d24bd74772","8a25ef86b6027c7c","b8192e76c51fbbc4","61f16e58b8dd9743","45366ae388d08a21","3d531a0a7bd86cc6","cc201fa7c244f54c","54939b731493ac8e","04d9f9e663d23588","c2f4ed65313c79e3","e6ea054f0c263d05","ea0a6bf7471569b8","7f27c671b36b7f0d","105c061631062fa1","a3dd1fa555510840","4746f7254a82e9bc","836e500a2c7822c7","dfaedc0968b10c81","593c443b02b44445","a5ba2de38ffe6ea3","62056c26d5ec8e87","705b7aecc5fbd42d","bbbe0888e1da93c3","f2e7804129259d9e","5ba738211e0c4eac","b4dcaf3216134966","ff1a30fbddcaa9fd","38177fb0e91fdd3e","d4a3fdcacd1fd1b5","490e37ccfca71dba","f4bd51a249bc40ab","8f3269222142f0f4","30972c85a28530dc","0ed67256bb147e2b","824a1416d7a3cfe1","b2547f7ff4878848","dff88b670b073ad9","ef2234fa4551184f","66b91b737f90ea46","b5f125bb007480a0","3839ed033b24f53f","043c5221abd8d856","77c59c4ebafe42bf","77736ba628ab516c","dfeb8a18db2eaef3","673139e4d39c82c4","38b4444508aa953e","3aa89a8bd365e23f","b17e3350f9ba81ad","deb62bbcd93f939a","724cba04d6600bc8","85184cd9cd45e820","b105c14c0fdc8160","bd3ccecd7ffb358a","30ef8005a9e47bc3","24ac821b70937ab9","0b20ddd97c1ede52","5a3104504f4a3395","a0f5fe52e7f961cd","a8090bc0c14620a4","ae20c2d4314177d6","117fb09fe859797f","c44f928da06c7300","7f49756b83bfd4c2","2c98293fd7165f55","8a2831b7ca3f44bb","444cfa997924f2d1","df6025b5aae9e534","6d0a3f786ee1e6dc","219a160adad0a1f0","882afb599b11dfc2","3942f23acf0c46ef","7c26fd276e02a4e0","9514e7483e1fbf25","aa2c1cbac43ce23d","5b377209d189ce5f","44098478ecf1656f","57d699f1b6a32708","f6d83a5f32df320b","3cc31621bae4b8f4","fad6ea5928c43d20","c44490a40f109a5c","14f915e43eee9cb9","3373b870924b043e","e26532940aaa52c6","b4802ba3090bfb72","da6f3da669e024d3","4f2f73098fe566cb","a7721a73d1926ce0","b5be1daf52eae0ec","8009a084ca3785ef","f53cc6991fe5640c","c0a84f51998336e3","da26fce301e2b672","28451c24664fea72","16111c5661efcc71","b1aec9ed9eb8059e","abbb527592df8f13","4d3db92ea8a04423","e83b088826de7bae","42207b73be13eb88","3631362524ac76c2","3093560fba474989","699d2f8babf2c777","32f83da1742957b9","1b94e49c6892430e","486b70cea417c936","35d6c8c0ecd67d15","cefb48c3c6af8823","f508a3f31bab139f","77a6b5d427afc6c4","06143f7b0cf08d31","9a98ec99a05b6bd2","4bb0b7fdcfbac2ec","dc928aa9dc8584f9","ce836243f955dacc","0fd0eeb840396afe","4fc76f6c3f766c17","e5ffb0daf3640ce6","dfc1b5a5332179d3","3e79ac3541f286cc","5597c735c47c9f96","8e19b120dae4551b","1ce50655a8c2c3fa","5ea98e4de1007f8a","544325135170880d","cc09d013af2551be","5091c04ccb0ab761","cf471b8980158bc0","444b573a678eae86","5e20f1a216d065db","cd757066177ff887","2a146094dde8c67c","61ec09a3e29e77c5","47f238a05f860cb8","c7abcfa95d057080","6938d471973bc8bc","9211d80f8af2ae48","222b3ef53e24b016","0c5f9cad2a1fc910","2adde777c1bbd4de","470dca557c06170b","294b6294066023f5","d825d08b9338b067","cbeae92b5052493c","4e99af88ffdba5db","efa356bb8b1556a7","04a79aac2088b2e7","6758f88a8d6ea407","8ecd0ebf784afdaf","c7751d4872064d44","c2dc31e0130a863a","e793ce4ebc5bfd58","9d1ff2ced120c248","cbb425cbf7f607de","cb76330540a412e2","4172bf899d0bf2ac","54bfe450e2c0b4c4","03dfda7ced4cff37","ce1d069be85a0c57","0a813fe1a03dd9d2","c9db5272d112461d","fa6ddb12553bf2a6","0e504e3987b7b54d","a45686b8b8fb6208","ec3963cba00585e6","a97dae7ab39393ae","a70dd192770618ae","8b9e4f8c047317ef","8ef54afe5d6ae844","254e14629bc80024","d494bd28da0b3b4f","35870d5de45b5eca","cc0d79a6d7d33ed8","a33484931cee65b0","4e15731a3c1a1e30","89feb0a79db2f26b","231b620ca0da576d","5e4d2999a1291797","75d8c07c0bbd922c","cc7d25ff439bf79d","2c7b8f31c26a0e08","4770c01b4d63433a","5a6eb0e1ac869f15","e25877a06b36a847","64318333e0c24a2e","ccb5ea956a7da538","cff2ab3b56cd2174","09baf70e95e7762d","0de88cb98f4ac083","3327fe2406c6e2c1","8f85c7c6560c355f","bdd43096dd5eab70","8784a0f9a054e833","c98f340f5d9ac0b8","ad55dad3f3184232","b8b2c1e43d867cbc","3ba2643a6e6c5587","8f8a3cf8eff18bc0","f620a10cb84b0914","327d1d80ce752cf8","966e823f9845138b","6bee304b74fb96f3","71f5cd653ffb691b","76bdf3e75bb52977","db59293ab30afab9","f6b8460ac62f1dbf","1207082eb2d5f932","bd3f4e71aaf79212","f762d7e599c668a1","1d348c07b64bfe99","96e411d1924431d6","25a38080c58dafa9","d2c6adba46be3cde","8862ebb60d770b07","53c846ba990d0f66","e288dac3c4b41d1e","e10e034eaf7affdc","a49760dc27919f2e","872028e754776b74","f361ceb11d5419b4","3166ca865c58ab56","ea42809413c3275a","7d99acd55cdc636a","cdf924cd7fecf0ed","49a0dd7d8cce0e8c","5ed6fb51c21792c4","a4d8eac11d9627da","9d3cfa6585f174bb","347aea6f7d971370","e2860eebc60710f1","a87057b9b37d5acc","0fa2c2c36e7857ae","6cf742d1462fe51f","4fbdefca2a81f3db","8a2e25c353236ea7","02e83902db6f2095","54f566beee2bf915","80ec78b7eebc9aa5","c2a86c4367422bab","f9007d094495cf1e","e959a705e61b2af2","7cd892b62dd21dce","91b1a3ba200b7224","10809fbcb58e7b57","88cbf187e19ac35c","b8e78b8410b6e649","2a6fa1ae5525a75e","c4d69a3eae0c83ef","26cae0d4e5242b12","ec804897907337da","7b7d209612be6c16","c9092af874161855","a843eb029ae7f201","b5bc4310321b1731","29343b8ebe517525","254eee2678120cf3","bfd0b1ea1714250f","99be15052a15c189","14f62bd272d8de3a","bb4c95232da30fce","016f3f5a3657de3a","e2462c311d89f2ca","68af043bd05046dd","8930fcc47c05b10e","eae52aeb7020086f","af13aea998f5e85c","f6df529b06c4fa42","f5258c11e0ecb735","93004228b3f80782","6c3d877602cdb8f4","d1f40d903ba49ae7","32eb12f106b8c786","07a07e509b818c1f","c32288ec6571a37f","68823f1adeca7d61","4bec446170e0294c","065cece9562e787b","6c9ecc5fe46a02a5","1c80c2edc1e21840","68a233d0b60bf782","8c2ef16fb2ddd993","1ceb6708c71a814b","aa2c3406c988ef4b","b0da73a9ef6b358d","8820bdb5b422a686","90eddf07569aadc0","5b6c97eb42f7b833","417badba7b8593d3","cfd1c312affb0a45","aaba9cf674e8cfe0","4eb13f33c92436a9","a103f8cc78fc5ad7","61464b0778183fdb","9cd19202a5858a27","9401ba1506c0d201","f59d0b8138fa7525","43b5266fef6d73b9","55366488e4c7e9c3","649a5ab3d32438c5","5c6b98d2f2d16291","e9341386035b1f2c","d274c198b7d6186e","41f5791b1f5773f4","d5741bb4d825808f","608c1dd85cfe7947","385e81d9be142966","3737a5a641de4ed0","acda966a000b4e22","d4e3490de6550eea","b15ee9861786845f","eeff7c0a47ecf9ee","5a86c32a699d6a2e","1ff5fd68e1799ae5","2a90b9bd2e0a777c","7a76fc8d520b5b9e","772791bd8b527740","34f9df4fdd3bd8df","2302782a6ca41102","a69d70a155c21ef3","64b5b7635347827c","c9b9040f42eb915b","60a8e2bc9a992202","8b6c9751b1c7cc20","3f99221db2a977d1","a7ec84c30a5b9423","5a8db78f84b2088e","d6a7e2cef723dc90","49f81da257fd1bd5","7ff98ad5230b737a","240c90223cbaf8f6","21bccbf56993b294","3ee0a4f45b33ed48","ed98374ec783034a","56c276c8a4ae111c","c2f640d18dc94adc","0659b767ec4e012c","b5ed74e350f06160","7ab6751fb11b15ea","d4229cd1226cf5d7","0d0769513efd3793","df53fc8e041f623d","3c821a2ed1fb5b4b","ce1a4efb5352db26","0341dba34c381ced","beaa3fccedefbf80","1d012568a67e2708","5d99d091abcaa81f","2f9a992ca1d139aa","111a586617b6e513","7f0b17be16628023","4cdc594a062b6204","d47a5d29139aca1c","540ed3f299c779d4","d39bf4e7d227b64a","64765643b13c207f","5aa1466e5d029218","438b7d7c7b096219","e56fe4b2ada641c9","f58f803cd183fe23","a695670fa9127502","2376f33d0687b642","02c07a0cc8b4cceb","0d69fef38ca34a4c","a2a8a9a71afb5ea7","e909099a38791a7c","6b360e1d934c11cc","2d60bdc66ca76fc9","c191b52abbb3cc42","c93078a74a653a7a","989253ae6d34a634","be3ec6995065eeca","c8d1453e98c3f5e3","dded4c6dc3976c7a","b7be61ae48f2be69","972b344656fc59c2","25d2a91ae6a7bf32","9c29e34475ca460c","923d447e577e2169","3b207d904a7a2908","51cb46c26d90cd1c","f59050d2f607d356","422c17888a527a84","0b1a1d86ddb09f65","b4fc6e264531f8dc","f154c49fde9e478d","a66f6aafa52fa41c","ca9b5d2aab8875c2","0fcfb6644949f4c4","77a5eb0c4cd17bfa","b730c8754d5fc2c3","a629c78a79a3ee17","6ba22e84394777c7","92e5847f6900c415","06a05a3b06eca91f","1ec1ddf8b0a9bcdf","0638fd5334b851ae","29dbd45ee8f262dd","42f17a35a7d311ab","e7d74944116148e1","2ff0940468e68dbc","b6335ea10e33770a","30092c240105f345","74517c27f24c0f32","912556577f30a22e","35f16b1c6d64b20e","96a581d46acd8867","22c593dda8fceaf6","846814ea1666f8b1","b924cf12aceef8a9","afc2c10fc0e2820a","31871c4bdba68a2a","d09d369c82d6c731","b388903f5f5511a8","547b853f945e5abe","6775a3b43f86623d","b41c55b4d5f168ad","9bb27cb83a75d4ac","9133cb910fbe540d","3829ccb07ef39a34","3ac51af95fa58e22","41849f136ab59985","aa77bc3cbcc423f9","a89dbae39e9a3522","09d1c9d3cee4487c","773ef2907aeba7f5","9e0acd59780a5b7f","edf9bf83038418d2","8b43350290b32368","57dd994c663b6f01","e4a18f2fda66f01e","08fe0836aeba21fe","02b3d1fe54b763bf","fd405f97a4afd11a","478a0f6fd1c7f151","1d84350961683c91","d0d2f50ee401dbca","2b91b319787bc0f2","e2ee65d36f0e6f28","2250e14f2b2d0140","7ff240db7b508375","48b389c74e8408e5","1f0752e42a5e6a86","0503bf7758416919","d1fa2ec297591574","768aebc01cc24cfa","ad63214ce50f5495","a5fc38ca37079972","8662fd24f04f483b","62b57faadf2550ef","ddeae25c8bef7c47","2b375ba2d1bbb595","fdd7ba07c8184ce8","0b6de9d9798032f1","e5336cc68f763eda","3227d14f3ba539ce","0880975b9db20173","b3380764591d9ba5","4ed06d4b4b51b0ec","371e0dec06aeef70","105a17cf332e374f","c8a251f692e4088d","a5d16e445fcf58a5","f9286b6cf9d128d4","15043d9c76e4c35a","afb9c3a95d82a067","cecf7014427b11c6","c1a650a10d67b96b","aadf852eae4da194","34fc2c459ff7a48f","3d0a3f1f31f95ffe","747c2171386a3327","0ebdf99f03fdf629","c53c5aef8e76fedd","1413c1c102d52a09","3171b316cb1adaeb","98289e234ca7ef12","57f6669382255c80","24a719c390b3f22f","cb0e9f2d44a4d439","cbfdde042605f25a","ee5bffae090f4f0a","20ff4415fd4e6595","ddf09a33f9d51e7f","688678bca50b4911","47b0bec6b79462ee","65725013d8d62c50","e035e232e2747fed","ddd7a64191f066e2","1ce42313fa49e65c","5dd35feb703da51b","1ccf084222189e6f","9f6e59d6bff54b3f","56833e1ff5565e6b","ba6b54792ca46359","6df1e17773517b72","aa7b6ce7671e2eec","3f6cb72502b1116f","4335202ca878a5da","02c43596227a787d","588385f03a20298b","52b59fc8ef0553fe","dd44ff42bcd1e053","4891cf30f176c576","a72c1a80a1c23c90","fc33f164d4208460","3bb670b7c782d0fe","90c2212a5870ab4d","40a1233e15703902","7a48d3b28afb9335","89735cb301bdea99","e1f047b857bb87e9","0ff0fadc83ac38d1","cf514e4790cf30b2","c86c464bb9aa4ec7","3762437c4d4b168c","76fff1f1e6767cb1","f078c245986b329c","c952edfa67754b49","5bdae1b3b0632ad1","ac6b4421c7675b8f","079402876ffb0af4","151c6168bcca45e8","ce088fb02cc8d95e","b178cd11693d5684","938259965bdd9849","12407f33e3e39829","f0f6469a83e81a42","4a57670feb22dd22","18401f448b0bd35f","1961ac6e5cc5b6de","95b38fc6b2a4af14","4526a823900a3869","337f1fd20587c947","f3292a2299ec19e0","e23aea66f45514ec","df117909ca6f83c1","5dbdc36616507f47","73cb90b1dfb06aa9","33ea1104d94debcf","de134f8b977ac772","65462b7ee4a5168d","5f57bad104da1bb5","05413d613ec94002","b9fe73e26911aaea","ba3a12bbfa7dbe86","ba9250c147aa9d48","9fa653a9386bb2e5","d1d0415b7d813382","1e3b8d99ed08adb7","642da2bcf6357c3c","423f24e6507e9b52","2b51f6d2b81ca6e1","50caf13d5ab98e42","20de5faab9823f0c","938e3b8f717989d7","c39d452224c976fc","f5924745dcabad19","db361792222e4bb7","33e547c06606c98d","a3905f1dcacd55e8","2df681beb21344f6","0d372b0e4b2f2360","ed1ae61e8d69a9aa","34e70de8849460a5","4bf3c5a0bea3af8a","35e75fc4201d5603","0d3d1508f236270c","9bbbb26dc6afdcde","978e78059fb4414c","e667a270b77f91b0","57552e6a0714b66e","31055bcd80a97f51","d389394d4cb81acd","ab9ebc10154d36b5","33aad6ca5d82c61a","fc7968c5df682e3e","97b86208fbe743ac","2f04adde7e34d56b","fb359b34c6ea6085","359a14f857843fd9","86042032f5f091f0","d6efb975ce14727e","986d34de7ec45972","29876145b02128ba","5ef3cfc4ecb15968","12524f8ba90c6cdc","35e382c59a86017f","2a9d3ecd8577a6f1","2c612fdffe67f6a1","612e867d7b172634","08a14eabf5f21905","e7a2800f3ce83a11","7aa57835f17b84c0","192e8f224ae18f09","fe5a163a6b387bd1","494718f442ad9e57","143cc975ef19f3d9","f4bc99ae10349c67","82f016c6bec5fe59","c7ef0929493297a5","4820c8ccc02ce067","029a4bde088b95c6","b9fc8e23199f0b8b","a41d16fbb1fe6529","decc21690ddd08c0","49aa561e7f267942","afd97549392e0e45","887c96a79a17ae77","8c4f101eaabd11ac","eee1367b24f15bfe","229c7cd129b5b39e","0857f7c3fc012063","e6615272da1c215c","408a51c88533e506","3f54da8de46b11fd","44602db9953f8773","199a605adc3d5f37","865379b6b8d74d10","df80bf9d6d6154e8","462f2494744e496f","302510abb50cfea2","3786b8bbfc974f98","0722a161ba65e3ee","d69ab28cf343b28a","791047f44f1cf255","f8906d76f5343b41","b6a2940bd526bdc5","1d4248d9b171f328","8c0c2cd9c2c43953","261a84504ea5b4e6","27a69d45ec54d88e","d5c079ecca4bd388","ccf9d9303cfe8587","4e36cd77592dabca","f2750547782fb50f","e36d20f0d844b5fc","14a8e3b1a1dbf959","8544c2374ddcf80d","d0f591f1b7afa3d8","f410fe38cd8f7bac","483a5fade5592d4c","d14cd6b52b330cdf","4b285e7f94d3b8eb","cfa9b679a6b777b5","4d7778e0678c41e6","e6e1bdcedd4890e9","bbf50f3943683db6","d6202f83353ef991","82bd3b8afaedc020","79d4649faa2ab9c9","bba3f0353d4702db","9d3a986866c3febc","94c9fb94b0b972e2","2b30160f07c7d626","1c2cef0a488b0be5","ad5fb20957fedf7a","add6c1d206525445","a17226be170b1430","e8b4b03dac6d2c7e","40c44f05d6195e9c","52c65b4926c01dcf","af06cacb11fff5fe","42c6c2fa748e4af6","6c0c55fd0aa68012","80a47335698bad24","0c10e86097e8a88a","ea130ca46f50e095","75ca38de7d418b17","2f05be15df782458","83dd74e85a3b5fd8","cddcfbc2907339b1","ef749476b5d2419f","cfa5810aefc53216","eaab34a171566bb1","9e4ed658bd7288e2","14d6f28a5706817e","4f50879f03a7d340","4751aa206605fdd9","b203a0f8c491d028","f78d99bc5070f731","4afc1164fa9d0bc4","b89d513cb14aa267","21c371f9cb1f0be5","656bc46cc7b25d65","969c901f6f98bc4b","5f003111067c7d2b","355dea2ef11fc895","12b4bbe2a3116456","7cb9a6573bc17516","72159ff35b8394bc","835ca54b2c05e702","c0a55948a7acf5c0","e478ab070cb0d613","0820fa2f25f5b3e5","ef0e9a242ec12c56","f56d1d16f4d9639b","1657ab8a09c38f8d","ec3479b50d1505c8","e01a6d6bba78f910","5a9f5f59fe2f1895","c6c31559827ca01c","5107d4ed014b5903","c7cf50bce96c5614","f3ceac8db9d047c3","b0b0619cf4c004aa","53ce8727ed8bebf5","513869c72f839bbb","8e432b3f5389073d","5bc5a072069c9a6f","703b7b7e7e5aeae4","ce81192e8abd530e","2fc64bf10a61d9b2","7d0c3dcca5bf5eb5","eec0c12c5dac7ac0","8388bb4d2b40b661","9820c6e109f25a2a","8c34f8d5d160a2f0","aecd5a7c5f50d8c2","9ecb67f7b26011ec","08eb4a92ce6a7c9f","a4c75626ec98b096","3a55ad6cad68cacf","0930baefdf606e18","73c00ab854915f0b","7fe96d9bc8352b59","11a0a71bf9647c0d","7ffffa2ece43a63d","88f4876b7fca2d49","ece9dd6478665c78","1b38b821bd0f406c","4225e25eb6c02d9f","4887de1593d7a056","5542118edd118b1b","4ebdb59506295e5f","dd8ff99cd31dc65e","7084763610063647","2c10bd38d75146f4","29b4dd7362e5f911","965caf1c42f05bc8","328540081f61de9b","7f778ea774345419","a6f980bdef332418","a602b1bcbf8c1b85","ad10a81066f01ab7","2c0f3c351bf1249b","685b21aa930b1258","678f4d76359ba6b2","cd6a4d6b402cf64a","0eb26c512ae2d3bb","f7379d9f99699209","e5d0b74f2672d4bb","9466a626346eb4a2","7aa40d34e49446ca","b82fc05a14b170cf","fd2f2860794605a9","c5652bf083077eba","da3a569002e98615","5210e53a3de14b07","32e16735ae209dca","9e912bb0465fa05e","a13a3a1b07c83616","e0ee48357ee30544","84aad657cc3015c1","e49b6f4bdb07be6f","5bbd0b165d5f1fee","1cfbe54662e9b23a","628c8a895c2e279a","8597feeb4b605f92","aa8d956dd8bfa039","ef311ab9b2e13fca","690fcba131e45d62","100b75c92fbd601d","0ec19ecfc3edabbd","b093388b9cc75bbe","e6fc2089ba99b2bc","4e3ee2464a6b28f4","de3e2b7e328619b4","9262e0fb13586f2d","2b3309b59a846a67","c74a666bba808d6d","2259763191c453d7","77c776cd9ef0cb9d","8f0b1f8de9fbfc9f","a18093f080f96d45","7dc41ad29651ef76","e5a462512741a399","825c6a07253e3f7c","6fbbe6a2246171b8","0b9f3f203827134a","c3a40e7ae347bd0c","f40451bd5ad5da32","c96c2505d7bf729c","6f68ca407a424b1e","c801828dba0fbcf9","76b1e23db6909882","013567ba389aabcd","9edb54ab80252b68","cca22b7f0f9138d3","7b7c892ba4bb0419","d52d258a4b9d1645","688f0c12262837f7","e95d1fc6ef10f897","6433289d7d93ee19","6c613c9e4e6f5c5b","68515fd752af5e00","4325a9dd6302aade","9ff01555b9aa10a7","bfa0a16074ab7806","0541af21bf0367c1","316b126659c231f7","2f7b8a55b836be0c","e7bea9abb4d2ec97","8be784bef40da342","7123394c089fa2b3","588fd67f01cc3fcd","130968fabd2142bc","1997fcf3535f0f1c","e3526f4be161ed45","d7c0f15bcf4b068e","56cfd0c4850a5eec","43b98467f038a2a7","4f436f02ac97f81c","8967bafc6b5c1f70","c11914e72f89fb79","6b83b5c2984312c4","6d7741852c9642a4","2eb66117568d1437","b3e1bdc238826389","6d1ed5ed6224be09","ca7d3990ef97db7b","11f0727b22f78909","f7994cd99c6fdd1d","ff9a756b21c19d16","bd44350642348e5b","2e69629cbed4769a","a6e3131657859f58","e0fa87f660359168","41c0a6ba4a34abdc","2a2936eed1173930","5516293bd614b2f0","deb4efbe2acc06f2","224f4bfc95c21c76","21405e1e0c0a8ea9","35ce5932964b81ac","279736ff56117fae","b762bc046e1118b6","614f639c58a785cb","66524b3e4f8afc52","6a866b0b21f943f2","ed675684aac11c5e","aa2fa03953f2ca1f","0a1b36abacf7869b","1b555401a144af7c","ebec82062f5e909a","4b6610e1102bcb7e","02ef117d816fc098","6527f93da9bd8783","4ac770e285052ab8","6669f15f3960a695","7fb534abf26057b7","c12e265ae95e5500","10d6c373818531d9","3cc080156ec677bf","b7d1a1b7abd8efad","d7c09b7acb97a3f4","668a343981badf28","d9435658511d2531","9e08854ef865d0d7","30fec57efcc31787","3ebb767dd60fa7e9","78e99b7f5010b616","89f3d6996d451326","91a4d952fb3ed03f","0ba4943daf9bfaa9","2e1d939d984571fe","4531745035773d3e","32570cbbb91d3d5f","9a200e88cdab07fa","0fa2ffecb9982cf5","9de139c6a0bb109f","2095bb5437e6bba0","1e101e88455caf6a","55b1d876c3f25d5e","b8b95fbb0c46875e","920498c87637d301","f08fe7b4b871821b","08f0460698d0c815","3e25c616be545e45","339b74120cebdaf7","dd483df0d2980560","bba86e872f5e2e77","520adefc1310c5fb","690dd048f1082d82","ab7f0faa07bb10c5","825b1d36c119ef53","64e0af5ac57be506","ca190028075a02c4","53b0704ceac188a8","a635791973ebfcde","1e12dbe6025675cd","d0fb887b17f71649","e62259066f5cdb88","7d119b2f7b8ce528","2311f2404970f228","df2a43bb66b9583c","3d309e5ca950760b","eb6013e0ba671951","2010a9b4e058170d","86744397a30aaac2","56ddaec6b46fba54","ec1390554328493c","77101da728821929","332aa628b5bee5dd","f62a05821139fc1e","96adf7bcdf4b3817","f0cdb8833d87ccef","617968107f41030e","b9f58601ba0550e7","ff10168a22e047ee","76d19272d40945b0","f7eb577ae292417e","530ee5ce8f580218","05e5385c749967ed","c1a5a0a2230a8b98","7d917be95d53a6f9","1f1c36211d6c6e3e","8226866f28bc8f49","78faed5fd6e42436","edb8e02f45cd5927","146c30524040e1a6","8e8d71622e4232b6","f55b8639cbbde380","2a5f056b32bbf7d6","d5e508f404ff4666","dbcbd35c164eb721","0e6bd35eeb693ec7","5d9dcc57155d67d6","1e2cb1f46a96c406","744a8a430aa0a2cf","d5927599e8114a95","99df377886e17599","f631246d6067b58f","cac5196e33449ffd","c0cd5d8eeaea465d","7a68daf9e90126f5","3011c3dab8b1aa9a","94744f7b1ec149b3","cb162919929860f4","2ced5243fb4aa8a7","59edf2ef15973f3e","2a7e2b52961ac1ef","5527061ead3cbc7d","13a93bd3f7a3672f","a05d52024af694a6","e1a6efb156baf93f","870ddd4f9751bd91","30670826a567b32b","afa9c51f3a086810","4bae7b79cf3f9945","3637aa2caa12cece","ecdbc3a31c49a7d2","2ff2bb5003d47ac8","e274def2288682e6","97a269b01fb0ff43","c9df7838fd1a8501","329a87daeda3e439","9eb98db9c6e96276","0d57767e32774568","73482d9d88fdef53","6e0b77ebe3b69630","38b6dc5cd93214cc","53f36bbe7d518779","7a8994d1355025ce","dc2ee52df8318615","8292405e3dc98f62","70be59ca12458735","5d48dadb1a60ce5a","2278390b570ae980","7061f569e5f0ad5b","d930593447d74525","044893e956607076","2d70ad7ef6ca22f1","a27b78d407299408","094180182929275a","ff30c1aa35e732b7","95f0e8f3358ad11d","1eb47e24551d2f4a","ceb7b3fb0ab08696","94dc5b27b388cb10","ed7daed08524c5a5","98eb85ab31bd9fd2","deecf900e1f84e2d","0ba288f7a70cbf6b","ae1418a3a4a9fe5e","4713cfc3e2bffb73","5152dd03c2077de5","ba5a67871ca82e7f","373177447eceb805","059bc731f92bb473","4f25f9337e727c75","099bcc479f19f5e8","5123b7fdb7991201","08acd66b57bf1077","30b79bef19c885d0","2c97fceb2be5bfbb","3e0916086ca22bc8","2d281d07956505d2","9cdb7a982560149b","f0787ea0361e5681","9e04baa884da0324","4b6dea986cd8e347","6dc8754b02a8e394","1c49a16bada75606","4a23c2b4e9f0823c","a28264f20b2cf5f2","fb80ebfe423ea247","860c2b170c31bd2b","43971c69a84860cb","6f4850f14b12df44","7c3e851dad0d20e4","307e1f98694a09a1","b6f1ed2afe61b123","4bc8ee0732597c4b","e3fe379ac83c5554","4c910e8366eb3035","de270b56bddd19a8","ce627d8b1fb9ab32","76f580ce95432e31","2b8110c0119a28a4","ae2335757c6d04a4","5a895a19cd5b14cf","1f869a31b679338e","c469093ebb0005f9","151c140cd7171c80","1d9a435df06b91d7","6b26fe9b4ec5566d","f9a5f3efcf6dd1d7","3c9cd0b272eaafbf","4e3538dd029ace28","10a794c2cd723226","665bf103363e9e1d","ce4929e72a0fbf7c","b8690e2acb308498","170b7bbf9e361ce2","e0b2b3dc43e06e81","30601584c9066166","8fdd67ff97167a4b","5cb3f7f48f2b3b4d","f86fafcd26769762","f68c05d1fc946175","3476ec8b48dd8737","e006057ce662d897","9f47e5ef38471d1f","db5e711b4e91558e","9c2d12143d4f28f9","a6277f03b0a2b72e","b68031a9dfe052d2","bb35875d14bfedc3","80441520af8573a9","97025b876582e65a","a5be20f4016a1b5c","51db44b0cd098872","e5f1fb7a8e6da302","984ef38ef127408d","ac9f5f4cbc9cc653","7002d1cbc5990b7c","5d016affdba0db87","565cc3a0c6f7dbeb","86a7b684b6dbe1b1","9d8d5a2c4331cc1a","fb7e243e68514e99","7544f23d7669ef75","8407471b62e3c9e6","167294a666df090a","7bfbfd723b885933","e2aa02ff47ac881e","54c70f89850cfc1d","304c4a4a8af6dd27","c6b8bc158aeebac2","ccd530a40dec79f3","be213fcd6188de9f","8a580a5036e63408","e5ab3823d8dc5843","47adcf7a30e0e1af","7a8026935b002ae6","f64adf998668ae97","ddba90fd486d839d","37b076f40502ae57","3dc0abb4933cf52c","1c655633eb533a22","4a2c85990a2b061e","1be8c140c1dd5d7a","4a4601fc68652bd4","2250bd89d8d43c5d","4f3656338050c097","0d802f81bc344203","8a002e685540bdff","ea402d03b6273db8","b3f12c566ff3d0eb","4be887eea8fda77b","e0395c593211c049","3db710d8b9023738","5d21d54e34a502e0","d16996f856feb47f","da3237aaf9d3372a","dbeb8c9d35d9e43c","eb043e4efb3b1c52","284778f82ecffc1f","021ed4766414be0d","7faf686a74225948","3443dfbd6f1f63b4","7c6a878c6b2dc981","f82f77715b307e5e","5b42722f1d104fcd","6dac5ce5889dafe5","6b680c2c78d03f83","95c744aad95da9bb","e901d9b380ddcf56","25b95ce76db7282c","ea68b84984bcd5e6","333614e4585c61ca","09a089f9de8ff5f4","38e4cb80ea1e3fa8","46f7c514e74a6238","98f1142bc59070ee","6b48c8a8f6cf2b74","29cd5a25950cd39a","f060f376b8b95641","641b763f8c402bb1","2db3a0fe91cdca2c","a85d3c59019c3f55","9f856d08973bdbd2","c1d2607422d1182d","a04ea0a755b509dd","c6e37f6b57c07865","4d3d46033f209d6f","9c97074ceef682a8","cf9ef266c6a8ce02","cc68069930b2479b","0ffed8fdad553396","b5fb778a5f959426","fc6933940b9b258e","2a59a755a1e84e12","30a4c71f8d02384d","663171ca016f7dc9","377374bc3cc49bc5","476feb575075a915","ab8f732932d99b17","10dddc528a72d52c","7e8d0f8ce92a7afe","ebe2f8029bf3db01","46bbf85405ae20a9","3576d6844b1470a6","954d9b806b8227a8","2945f64fc88ab06d","2b971632d5bc1ff9","859ec44e839237d7","94ae75b4ddf5cc3a","3330543761d78e58","2de6256021c37086","b1e863424ff2705e","dc8f25b6384a7675","e019588e48011a10","2c27e193b70e02a1","15367243a010781c","6c3ccae58cdb8180","124b22b5f5e84b4a","0f92a16252f1df75","c873fafacd9c4dee","0f438cecf3747714","feef715d3f66ac99","f418d5018c521e07","feb01b6b528eca0b","90395a4af2f2cd31","8991d1dbf96fba5f","6c263afeb989803a","74a8eb160f0453c1","5eecd48ff130b3f6","d98b05158545ccd0","bba90de32296b2b6","1cdeda1f832ad6ae","03f7513bc15a7970","0a42f841db6eeb29","153d6c79ddb6a61b","5588600e048bb7ec","cb2c15acf0d304bf","c10f9df1d2567205","4a9c3f3e6824d0f3","2d23c818628833ec","791a8850301eb5ab","059867e6b2a77ca8","582b6a7ea3b56bca","6c48c7a61c0d093a","768e9d23bb8da222","3c3c58dfa896a7a9","9f90b3631947d4a8","c34f068176628307","c10bfa259d445594","41ba9594faf12ef2","ad3fd833430ad4f8","29c94887623c7f17","17fa49462f1cd0d0","ed696ccf025c9ea6","fc0429db9ca2e788","fe0b88b5a3708f00","2d3c55726a3b4596","c979677403c2fc22","a8e125a8e1315ddb","75b658a5c36bf6d2","0724c54c1d040bed","2414f4d2a325c335","abc61cd9f3d45c52","80820f5afa4a387f","48ccea69f6924811","55c079be3de2c0a7","fe8f81fd4f0f21c5","f46d58cad61a3af9","cf11131afc297ceb","3dcf7d94822b69ce","3859758a7fa85959","8e100ef9757cbc9a","bb050db7168b02f5","33998200e1925e5e","956bdcf315610791","c729f7835ec2ea89","33361db30f7155ac","6fcd8d2982928436","bab1296d2f16c5fa","d7378c576ca6583b","5dbc953c7bf31694","f4f3e9824b0a85b8","0a21f1c3c8c31ff9","70a7e504ff1a46bb","65d1aae873b7206a","c57984f9ea96ac0d","331b6dc245510fd9","a7519d9f19c4c34d","1203dd4a94f48276","e2ecba6aed6b6aeb","715af9136699d378","757c3d9ab9d0959d","57931bd357455424","e09ed41400ba1f5b","17eda99bebc9ddc6","a34eb58b749615b6","7bf57edd9b912477","3a2f314ba935d912","a7adf44ae42183e7","57edb1e8b87cefb2","dcf6e22992b1a266","7a168ca040e2e025","c8d93ea30a89c64b","f055974ec99702a8","c205d9011b1d755d","21b27e23f84eeec9","dd3ebfb1ff642740","fc7d87833bd0e1de","295be0d4ddcc0203","d7eda7ed1f610f4e","ad567a9cec27715e","dcee708239241769","d95f2ca72214b098","4f321829f6f7cc47","47d5788daef02cc1","4dc06cde57a95b67","27f1e5191cf5e255","dfb1a9f530d400b5","e8d93eeb1ee07fad","d508dae06ba6ea5f","c47166a7181bf023","ada94e4f95af472a","037be326655205c3","f288cfc760dda385","e9a0591d654a5d18","17193d3c2edc0a1b","faad30261c5c42b4","054b8502d9873700","fd3bddca4344299b","f9fa54799ed349a3","83890229fb39a593","98f376df7b0bbc5d","957e4911e1e7bcfd","49da4a79a0759025","59b3237828d69574","924613ad9e615565","25bf9e91d9fd1134","aa98bb2a582511ba","dbfc0b4bcc1a5399","6751e3fd6a6c45d9","dd4f8e5109c3f132","6a3fba78aca99579","2c13ccc1f39d9c03","869dcd5abf4c9bb5","0a87d6e296fbe795","f77161cc0db67bcc","36ce7ba8c84903c3","019a3a8edd5faf37","0588224c71e286ea","d697151e2ef67c05","a9b99ed7c9b72669","03f7e26d1b1288fc","78d84c1894326c39","20505ee695e362db","31d14fe33ea1b7b2","bd5525663470a457","d28f44d60a337af9","881ee38178f240b8","aec95b13f785534f","c47619a61a7f717c","9e57918218d94872","45ba97e1d323ea90","578976906b639a1f","92528dc3bdf6bca3","c43c58ceb78e8396","c64c9b003dc202fb","c3ece85a0f147597","88b4e25b46ebf594","bc11e38a9ca782cd","dba923df2e5ed1bf","7ba75393f3b506b5","f2a1727027fecf49","e128ce4fb84c14c9","bc0564795bc5055b","a4a6ad066aafffab","2cf1c8b51221bbd5","175b8e4604b208a0","1b7fe8d3f6312441","6b9224991ba9932d","e553aecf4940374f","b22ad51c1e17a489","491cb8fe9bda19d7","d3cdfbcb73f0b397","32612f428f89f04b","2ebfdbe6c2797383","54dacc2fd5d0195e","e1f0f157800a0cf4","237bf8ce3c8e7ef6","80423adf085377db","fef5a211b5cca153","9cab12b971634428","c988ea54961f1403","4cd46b3578c8bae0","d8e97b2e6b69c796","44cdd18cc189cc13","77f75b7329f5305f","1af788b4074a5858","c81a8c2eb50047e0","ec9549e3f799c682","f6b933588a05f15e","d99cc436ba4ac06c","94d6e6b681750c4c","5782587779b166d8","cd91dcb74480e2bb","05f6965eeca20da3","60d2ce80fb0685cb","2736c226d2a4e8a9","628c2e8014a8c40c","a05d5930c2e71184","553643b4e18545ba","0d601d3e95908328","f8f9a6db99bb33e8","9b60d0fdfcda5257","f4ca06eee7fc7376","ad5d6657510d4e95","2c774c7cde335304","7f6d6bbaadea9039","b0ec9dc39c0e4a04","6ccad4521acbf705","bbae4d26e41478ea","f1ddd31035db0cc4","31f89f6c208761ec","83cf796714185454","b2fc7377968a4425","3a7e10be0513fe02","ec16e55b9c303ae7","84add143f23bfe25","ad43a0610ba77d34","41856b3f50fd450b","0a20a19873de330c","8d7b277f0f787f97","79f750d31979bd28","af6e09cdd2199095","18e1932e46a71274","45ebf96bc050779f","fc02e2aced7cc118","44bf80d373658b2d","dc88725defb60f1a","aecf378340209352","860baaacdaa8d80a","67cd83496d94405e","d0cdac452033d9a2","2e6ed52694d41627","1513c26ff341a038","d80a2413afd47cb4","5a11d81b87c8c228","3e29987b76decd02","84f721530d4dc2c1","38b14b135a076818","1411c6ca5cae8fcc","7d7b81b4f6fdbfe0","61afa8c6a05d66c5","89b53294d8fbd82e","48fb85cf9fc816df","a54a3aabac3983d2","58f3ce75b71246f5","80b27695fbae59d5","957b48265862f076","a191a48eeb80647b","4c73eaf96768680c","bf5283284d6841db","3f67eea63eaebbbb","21f1942b8adfc779","66df46ed2b905f63","bffbafc983d76a7a","946ab6f15c353f7c","0a2c323ab16c9ba6","7ef4f958fd99d744","bd6f934f3ae87f2d","522c4cc59f174867","ab4ea3a7f94bbae5","e2aaad9021c8ec04","9eece0ba7e2b5866","3da179ca7c5c4b92","9bdd2b22b7cc671b","fda87b491f013484","f4e15d0614494621","cfdebd278d97e165","5b177ccee8820469","96985f64f73726bc","b9f3c3bb40a8aac4","06ff43449dd81c02","d69c9016584d1fd3","a1daebcc0d70b88c","41bfea5f19dee5bc","112b58b0d1bddfa7","c23dbacdf69f7903","3e7e82f5949c02b7","90e893281187cbd7","7df3b728c45ae895","6ef8c960ce0c783d","69a6821590b9af4e","2b9a31e32b37d0b2","8d981dbcb03a77ba","3ae64c90c8fa5ac1","047b73ed2eaa4786","9ca587e88e68491a","79c6e7f9f2a9ba7f","3e90b816e874b630","5d8b2b366bd26383","671c1c7d6e2be7dc","9cc69dc05e868c7c","bc11ee4332f56481","7bf79299171b0038","703da3e421c584aa","6cd456ba34400a6a","e62e7b2d85b3997c","8db8818d7469cdac","d9050545c93458f2","20e7e61a48e6cb88","64bf3c38db50d4a0","88c9e1067f008d00","ff2bf968a219bd4a","c2adb3a0d11c327d","57011fcce6cf91ce","04cb4d114a04fa16","ad4d9d26c2abe527","cb0e895fd183d56c","387241262fb9c754","115e9f4956a8c25b","4834eb28e9b70598","c91624f0b3f55351","a87d753d12b5df17","a005b311f1c694f4","2d98edaf9d6e15ce","21a6d74ba4a33c8a","8aeb5b360245906b","812bc24a987fc405","89b841ac00dc6d37","94174fb3965d51f5","251128455c53d96c","bceefffb42f84f2d","d8d03fc024720f90","6c6aeae0d1cd2dec","3266e87bcd98deec","d063a776bac586a6","4c67090f1c608d32","1bea0b5deabc652b","d56ce72fe8ca303e","665497a5770702cc","7fe1a6c98410eb18","afd8f3a9262a6b2b","bd692339d274cb6d","aac903fa89536260","8c6a49f6bfc1489c","1abdcd583acf98b3","96ad68746204ca2f","19a6166e5849a994","e7cfaeb61c083f59","d282578a332382dd","10e09aa988492867","093ecb27dc1884f1","bd808902c41bd7f4","8337dfc8754614c1","ee67c189281fdd25","6ec240c40fbd1cd7","67c7ac0b784e24ab","d59071cf2488a46e","9353e7617add3953","cc6af7bc87cb33ee","18a18ef9ed11ad89","85f46b3605d814c5","fe78f8b441d511fa","9a065d1c01359039","e0fe5671f8061def","bf730ed10a3c0f1d","00b6e5c70f38f1d0","a6ffe5aaf5f33dc4","82b1766e7f8e0df2","7e2da2acb43d4d1b","c7bd909bde4eead7","0b89339eaace90d7","b01d2b8600a9b1df","bb7e4f28c0d803ec","61f467bded814c15","d04e824288daa16a","a620c7c7954ebe42","e2173712f7b8b21d","eae521ecfa4e75ee","9a3e3afe80b2b701","9aa48c5a5b2f8219","858f53169f187b6f","7eb3af450e7feb43","d9d911e71f46b498","cf33127d5b4160c2","81f78825676ff52c","5e1272f15265c058","458dcd241f42f86c","1bccadafd36ce740","adb06e988c525829","bf0064c918cfee2e","c83237a835271220","1755f51b70198f94","b36d91897c83206b","ef89e4fd1b8c967f","df410ec73d003545","0181f0f8d99ea612","c755278ee751f366","f7839b8837b2d95e","d50ca6a4e9c166bf","eaacd1af2e776ff9","923f795588762414","19536a91d302f897","80c42a875617340d","770b458aa74200a4","7442d8e94b85e17e","eabdc2a598d33742","3be1b6ce9e29368c","ed767498863459fa","fb3c46d6b8a5823d","5fdc93e24b4aab7a","ea8d91e647710404","638b91a14af8ef56","0d1e539c816ee2d9","05b91c163e2c8e4e","ed62831e34aaa973","1b3fddac1d77bb6f","e0146519b18268a4","700a0931f08ceb50","501adb72a5fc2535","9c4a65990a3230da","ed8a19ae040afcef","6751f12601192ce6","dcc29065336c95ee","4752c2d57409e4b5","1b0a04a9bdbc1365","106e1aba33c21cc5","ed3a6b87a3bf56b2","1b1e57da3ec4f82a","adddf66639d5fb1a","60475260b49e8979","2134c68038f2f74e","4d2e3d8689320f62","cfe1fbed31fd6f5c","b5ef929b8fbf5e96","6cf803a0904c42f4","aa511b07336bc955","67fa985f43e3907e","3c2a4fa97ee2c9cb","e162aa2ab40c7d67","7351d25a91d6c96d","e02be9529de6bf5b","1bec25082881caf8","1ec2e702d1c4e994","0bd88686a62ceef8","b36191ebf2128fa6","80ee24a238ee4cc4","fd30d7a9efba8a21","17b5df2a81db51fe","bcf4f6502ea902e5","6018c4c0f5de11e3","11e4a13a14b2db0c","d2e6526b18e57ae5","dfc59d84107f5fbf","1ceb5654d26ab8a8","3436462671d779a3","76160440ef7f84da","7e6b0c04367ed1fe","050edfb63ade33f3","ac82d152567bc410","ec790f90ede73303","485bab401a1dc762","7a5d21ddadd2cbfb","5dbb90216322d3b0","d7193af83e53ebd3","e592f5c7275cc578","4097f2410f74c08e","91d073ca24a8b60f","73be256945a2d6b1","cf7bbf07214c061b","3942b791afecf694","6792603cd1cdc593","9c31ef80f83fbb1b","1ff4ecd1225c79ee","471dbc0a4fcba4c1","0690373968e00536","4bd2db4713334d9a","4c6c2dd7e6add17c","8376500a6b984d31","6feb1307126021b0","0193c4f2510b8f3f","f3afc9e6821ad3a2","5e48b10a50ebd294","5b158a24f12a5717","fecafcb029cf39b5","50d3b95ba403e02c","ab24c0e7ae3c0d34","c6dadb1961abce64","6891edca23725f22","bea00a0f918feafb","03549bad1b5b3fe7","20829f223b884cd3","0d1a2421eec3b23c","60793e600fa2b3b8","435558c8cdbc400c","6c539dcc2fb5384f","8beecff5558378ba","227ee77a028152c1","e0b4dab350d58779","0312a5d4734230cb","b9d7264ac08efb68","de8866a73ca9a5a9","1d8435c109d80c90","ca17b1d934f07ed7","e64f449817ccb3ba","1b50aa014fb91b25","6385831f0138e4e0","f75efd9a442078e1","f3b753a7d5135f1d","3f8d3219478ac2fc","38313a8a2af39ef5","452c7dc0c5f78227","a83059fedc29cc25","e06c9df4f520a307","d727faca2abd4f8f","74c38fe78832c29e","1758e454a149d326","7716d7d57ac9d5ba","41d88b77497cc978","944842c2ab66a690","28bd116bccd89ab3","fc677e52ab6c281b","6ddbf8d437c2723c","16fff1ddb6aa4c2c","9bf844aeef65ae08","d25f4a083406230e","53e56dfd722c9a0d","49b83bddef12740c","94b5da1c39bf5b25","b6e1fef312e1fef1","9944fe7b1107bdf5","0b5db55da89761d4","464abf9bb2b39a29","a358b80cf5b7fd3e","b5e85fbe4ccc18da","f4bfaf4b248564cd","191e98f25a40d6ae","2102ee1a36edc0de","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","db43162d657a70b2","825d57214a3d1f72","d3628ce51ab79320","3017dfd34fa2e6b2","47e1f8be04be30f9","7d6ec9cdece99d5f","0bc2fa7ec4df2b59","c4dc44e0eb65e4ec","fe6ce9720617a4a4","ddcda721ec3987b3","5ed3e98ca4457785","908d2271a90c6e2a","a6c9620c84637393","c5837cb76a95373d","6d0ef0315dcfeea5","17e1e87a7ce7485f","3bab96694179fa3c","95543dbe851ec8d8","d7ee554ca1e12fbf","de0ec49c5344ce82","64efc8a9e8807f11","c56f905f0dc3a3fe","2dfb1d687d5296d6","013bf83f6e610dc9","a8efaaef95728c79","c12b11a9133c451d","b8efcf0879efb924","ae21c95b725bcdac","ca1c62b04152ce23","0862c7e7b6e0e8f5","a1caab01fd87a271","fd74eaebfa73edb4","daf2739ddbaea6e5","1249dc707643b70f","ebfb19cd6c05434b","7237fd47764d31cf","352ea3978e6f1b59","0b5962b210d1a6fc","ca44b774d9e89aba","bb0963914ef620fa","c2c9a78b237f4d38","419d975a116f259f","35a561a02c7394cd","48350e3084957111","ab8491370b4f3838","cc50048d622c3510","ca0c4d5f0ff6058d","05737da6290cf8d9","9376be249f98bf60","bf42fe6e92b62f12","214e87ab473e3fac","e82c57f41acefd1f","57ba3f0f5b36e47a","c2980ca5953b710b","045722929d5d6d66","e425e9dd73683671","099cd57ad49c94de","f95bc9bfa5be39a7","a67b460e38395a75","101c48669e0de2e1","c0ce719dae608230","fb48c39bfa5d9693","6bc5f2643d64435a","0f2aa8622149bf21","9875bed5f836701d","02bef643e9a6316b","5bb391e01c291936","67eb5761e841a1a4","04e335778f6bc84c","a77aed8f8b21898e","4237008a2beaf77f","5d77004921836ab9","8ede1875e4496979","e931980c9fad395b","08c5012fac6e27be","b7956899c95d6cba","05cc49a4df45d5cd","6e6b82140c236603","76b90a7041aa26fd","1ff40807621f73c2","f1e3a6f1f9824e38","c2e686332a242d86","cdeb43cf454cdb5a","c202250cb43f7858","8adfde29668c5873","1a805ab187592cb2","16136d1df4d47da6","94fb6b8ec6ee2883","8f95239c80a9e5c0","36377533c4ab2d20","0628e9848bdd1852","bd8ce1c1b118deca","3303b4e8e608541b","41c360fc4fbb160a","c40ff844dd2331be","f7dcd2b0b67ae95c","b6797740ddbfdc31","9e172dccc52202e9","ce356d0dbca4f157","ad06c3265ca316c5","ecdb89989bc6cfda","3f8eedb7511f6d4b","402b3bacddd7969e","8b5a0b89f12ce487","983accefa965ae3b","2fc967e63de4e547","a907c7cf0dc2321a","03917a36af4d68b4","2429a24772c36d60","0392facae287f1c1","c1de47361f28be60","14b341398068e50a","950c7e41be3b431f","c0e1011957abf44a","4b367a6794c1c02b","fa5497688eb8ee35","2c593aa5c3cc64ad","f31baa24aeac69bd","eb178403b0453389","e54e9dfdc3b312ec","9fc89d4f93b076e1","a57dadebc90cb6a7","71f88edd928fa13a","0b2a82c8c72139f4","8fdc0ab2b7fadb49","173e0da8e8278c08","7993168529c40611","d8585174fdd6097c","a35aaf65004eeaac","f61fef9768da8558","5cbb323f0e362aed","3b8629192cde74db","82a9ec30d38dec10","9c5d6532a1c36bc4","804a2d1f3c05de7e","c170b43fcf7a5bc2","e1663eb05a273810","60a8b6c3b2e72ae2","d5cbc2f49e5bcf37","a0b0a47a4719edd4","11886766f827e1fd","9dc49d567806c040","db296997eb05a7e3","de88d060a6e9ab68","4209dce5b520e62e","2cda217228ab8a5f","7c192da441c0e46b","8d1ed0f3a77d2bb9","209e2b300932e1ce","c61e55af251c1588","c1d7285b5e0a4ef9","7f74332e39e8c3b6","ea4ed028bce71805","c22a1d18683ea7c0","1dee4c1bfd86f78c","c11de5fcb0565144","d60df3cdcb5355ed","a5610da475c5e78e","ab0e0267be067354","6d8b9ac84c8dc897","cf6474d8d06d0270","b986d701532491f9","d8f18951a98cd40c","216fcd9d7b66d1b0","8c211879313393ab","79afd202ec008f23","91c703633597c793","de290a244c6eeb68","226531a3a5fbeaf5","ca97b99d897803ba","165a73ca453fb514","9379409dd3374a57","1b8a2673193d20c8","a7e9c8667e809203","f223833693840d74","622714c53aea49c8","cadd4b3e31abda90","d9c7b7e7036acb50","26da09d4d93fdb54","9a411efd8d782784","a0900ecba7483912","b0615a8b925c2a1e","57da444ff6a08761","7ec590a29c9644e9","777caf84fbc17ac4","627447b0ec972fad","de0a0d586916ab0a","70900b24b581bb03","ed10eaa200be8111","97c76b46acec597a","2d7460e83e45f6fe","d86c73f41f1c0a09","5f43398278d755b7","110c42bacf7a84eb","75e1b24c5aaa1167","7110eb15cfddfcf3","c1cfc09f7c596d30","cdfca4745c436b9b","fb0064cdad40050d","9d44b3d59e20d35e","a9df5f12ddfa6c7e","9f45e18e4edbe2b1","75e409ff7d8f6f73","4e9f8b6ae5dc5a9a","fa344f3b42836488","01bdaee277401c15","15ff0a0169806055","a5e91e12f7ecfedc","7f90999f113cb458","20c8bf0069977a11","18bf3df549328c13","be6c15d2da17946f","69d1a5ab3f4c9fb1","b127f9b286dd8226","6776ac4a3f4a2d18","98f3ff1523b62349","ce2b0a43f5487a52"] +["ab51b1e8cad7b700","bcb4426f5301b9f2","68ee181e9defa139","bac2b08cd7c2e421","80f2ffd4953c67e9","a1e22fa468f03c15","b984eb4415408ed9","0cd436e03cba5cb6","03220402a282530b","f641ea2d0fb81a6f","f125f568d4e332ee","b66c229035856438","29b296e6cd0e71d4","52347795767acd3f","bcb1eeac454a68aa","422511c2793ff288","aab0c030de7df5cc","1362a4b4f08f3d5b","2365e16185f43e03","677f66663a198839","c2bfa0fea66ef080","7b8b61c2b3de438c","ae92592138b2c924","eefe7f96cf64784b","a0496edd95de60f3","3a98a00afc60d7cd","50456628f56ade66","96d8990f6a4978cc","648d078d534a93be","818a8590288d6409","0aeb80f7dfc7025e","f6132c9f3c5a2911","8ebd43deda9d56d4","b64c96e257072f51","2af6505c256f006d","a0476b1a7ec53d40","dad2ac027d4f9f24","dd003c121420d45a","19589484518b9c6d","f2395f53893d1689","b797275a94ef83a0","a36cc06f8dcbf00f","57bf8eefe70206c0","efb33694649f8cca","c09962536325e13b","0164b91ce85885f1","1fb10d380183f0fb","3df91d363faee835","f7b8f0b4a2f0c6c9","dd7ef46856df793e","f12560e95cd346d2","dbf491fd689e7cd2","7e9cff1699c061ec","93075511ad056e6d","e653f3ec3dc88a8f","6f1f772c23d57e24","c3cbb2a2dd06d1bb","86745759c5123379","094bebacb1145e5f","8ff8200fb98a6c9f","d6b920b99b611bdf","9764355bf8f8caf8","068fb3ac81317e59","f147598b1853465c","610900e2bc688c66","1a4c91d77f5e3f12","a8afdde5118f03bd","7ca9480926549d67","85cf36fc3802a3fe","b475a609b6f58891","a80fd3f576f680d2","10c9d50559ed7215","380884ff4c222733","052f9d828fb52a35","d4d6d96350b622f2","64ae107fab0120ff","db501caf0bb9ee92","e8171983c5a482d5","3dfc4f4ef8899345","5e146180b8f60933","ad3ffab1b67d0abb","6595b51ed6ecedbf","52d62e3ff58d5f74","9a5f8bbe3eabf5fb","571cfd384a015b88","ef7759af584f1554","9244bfd4d05d9c3e","bbefe025338a4088","0cf81dc631df6bea","ba098df60748f1ec","ef46b000b033db2d","431e858f4040dc8b","d05973f2f05e6933","0aff5d7f470c281b","e59bed66f12534a0","b6b56adff82012bd","97f32de0144908e5","0c72531717a01ea2","7df081d38de8d887","45b2c91cc17508eb","fed2a5ee0a71e88f","6b28d5f0aa7b2318","9fed22b2831a8c22","b3bc1717c16dc7dc","796ef41c1dd2380c","53babb398943f380","93fb3d4a50d16da0","39b272c7a895bc52","f5227a609c5c5182","e8f4a92ebb6cf506","59e25ae2b1717262","1338205554153fa8","8a97ad21fb974dbd","e1a08515c0ecf6e6","2247172d871e19b2","835c4830d89d6f6a","6c796c0f0a2e4a4b","b0534c6abe4baf15","208c778a4cf58d22","ab32af53a59cbfa9","da6392b84b06972c","b2743c80684b0c5b","f68e8c6415aca870","8661cca3effea007","5e1930143bbdc035","b9a706d9e4980c1e","c7f0e1480df909e9","0bf7882d384bbe3e","6c3162f93343ce7e","f391c9146d7bbd74","a3c29b70c82234cc","a2ec354825243259","537aac555c684ae3","9ebb276838bea666","72988ccecf802b11","215a32642af29284","3c6b51ae156a9cac","d62c9cf0cb81a537","7a3b686f86cb9beb","4aa11d03f1b394a5","d163a291da272610","96eb2a79eb4c26b2","c77a914a05a8229b","3b06cf51ed60a17e","3ce65ca28b29922d","a057f7516f625581","1cefc23dde634662","b3a54f494cdd0908","ed710864874f0897","00e7c127dd88bf87","e7814f99120a45d2","6c5d9361dd313b9f","6a1e1fb203c6236a","ca924b100cc8cff2","880406b4567be814","1d72cb06c368a2c9","c76679b82b664526","e6edd4684b272434","8ecd405cd0a1e5ac","fc882b005e4a84af","616054c1e71be9b5","cec3ab5a35c60f2d","29799cbbbafa3ded","391ec7c03beaed05","3a3b15706a4f52c8","ba3f7159e9c41676","77a176666a9075c0","19ce5669b4839310","fa9acbe70d9d6582","768610170c894620","55a7f287721494a0","e6436a8697d9ab89","62f311d43397df29","087716156d7ca3c7","b8a64a86d3eb3506","433d0b51637d03f5","57c26f082d249f70","62360180166d750d","7015463582304bfb","3e2b5d0f1dd7c70c","152a1afefb8c6055","1d10dc102aa4bd1a","241e58e3b15dd775","282f949a47889a3f","d4515d96db20b8d7","881d596fdc82e61a","cab1d33fe68e104a","611e38cc078d94ec","7ea88218db2031a8","f8d0942e587ff2f0","0a219a57d46e2698","584ba08358e13ed4","0f7d999eb3b798e6","98b925f2d48de029","9e0ecda168e420f6","1e26da4be4f8adc8","1f3ca5dea990900b","126a206e3b9f8d84","64f9e71d8f809cf2","a9be1c4cda288957","03b87df7c419dd39","f6298a8bc392a7ac","dab5fc921cee75fa","73b4bb2c91561401","a0606f85adc91298","01d3f189ca7fcb6c","b96dc0bda867749c","99ef784dbb63db88","44ab986c6e66fcf9","93cca6576bb86885","f12dac38b47c632d","b6b9427c3c510b12","584d6b767bbcc0df","8a42ebc0235e003c","3eec7b031aa92737","2586210be8edd8b0","e8718d77c5e86517","b2b12ab5c8e153c9","21de2f6b8276705d","0e5ad5285239671a","c7b0cc4c9eef3f06","76531242ed6d1af4","b2aabcf1a98113d2","4178da7a23e7be95","2385ebb099d39679","e2bebe682a962bdd","cb3c4ecc11e622c8","555137194aeca274","579677136736aa01","fb464453730ccb7f","9b0476b848cb48b7","df46e2504e16fc3e","ca328d57424013a3","c9e818a567724ec0","7ad8c7d614a6550d","4f3050e222b9d901","b211976dfc18123b","690626cfbeb2561c","dcc6c15deafac254","70381517043fd6a9","bb2ebd173a2ba06c","a0938dfc54b55acc","f415bb3d48bbe3f8","15c8b4ba4882bbdd","6785647c31ba1f13","a3df49e3ec177d8d","80f986da1d02c67c","0db8801c7e0e4401","29b883f9654391c8","1efacea0cfc080e2","414cdce0186b98d1","e9594aa2f7507ac5","4c2fd374879bcc62","1f31199c6478bed6","5a56612ef35c5fd3","3110fe9246e63b1e","63149b5b57a97c5b","a8dc4fab59fdefb4","f67a857ae75d906f","a762a7a552cb9f03","bc29c56f900c8d36","3e71b89d61df9fd3","6386e9a459469b53","e9bd98a0b6e0d58c","20b116b788ef3f27","3711bd3352570a6c","bbf7bb18989048e1","9ea365cc69a1f2bf","cf7f82b8517f3250","0bdefb56ee5ef918","fedaeb34f9bc97e4","f8998acf5aadbdb9","fa7ddb9a4e76d4f4","74e688fe3aca2cf8","ce95f1d44dfe8e41","f29264eda4a17c64","669888077b4dd178","f65dfdda10900ffc","b0150193e3cce710","543a74289e049295","213d292b79e5fbcc","d0f7ea2cfc4571a3","ccc78d495cbd8f7d","e57e9c900c787424","8206912d2f9bab36","0af18fd6cc155518","c311204f22191fa2","868902cdeaa428fe","467ec12f292b2573","6c4b12585b58300e","72f51982c4844cb9","4014b042aee9da95","3c8f18d59bc57893","0c4ddf3cde7a1e48","aadbfea0ba5c45ac","4e8f7076589ea977","42c0f1473438a281","c9bfd06d94c778b0","964bf809761a572e","f203be2131a6857b","648c017fa768efff","ac4875632c3c08e1","315a7d88b33ec298","32b0e7dfab2726d5","f3fbbcf1b5165983","66948514053cd7ef","8bb6e6e526809dfc","ba0439c1fa954d4d","e47b49408799776a","ee13e249bc8f7cb8","4139f126d180c24e","697a44ba65900e43","b8071baa204e8be9","2e0d545ca1f1f751","bbbe67eb0c6352bc","5a940d986fd98e4f","7ec205f137c6c32f","432680d564c1569e","19df7e1ced610978","46f335e4a5e2f58f","19780ef67d75fab4","95639b2299991877","7df4891fb0f54c6a","a92f07dc2780d8bc","8903de87d27776de","68b5dafb14052979","d621563355a4fe91","2da7158c8343266e","016aea5aee729a42","c267a41dc3eea79e","be104700c7271732","0a50b28d4026a61d","f6435fdfdf88d839","c140123c0a2df7d3","dbe90b9341f05711","579d035d7902f85b","a63f48bf2ad99007","465fbb68bc8819d9","e8ec9cb7ed810eb1","913b1d1497543ac9","ea83926edf12f8f9","04e46863c1e5b152","9a2930d4a5225064","782b3f453d398052","04604742f88c50dc","c0b002df0f286108","9306ccb4b4f39b0f","4a380e4e6f98695d","7ba5b63508a29d7b","5b6ef9828f2cbf8a","5550170f30d4e17c","a20475bea97e7d94","7da83da639a48fc6","62705fcec5af5085","7e93a24c134aa8e3","29237f8ee2660ed5","0911ef2f51d2874d","636790a6de6bdeca","9cdc88788fe441f1","360ce5f1d0de3811","e7dd5536e7ec485b","c845a1c03f4d92c1","00798774fd655f5e","14e0d85a9ac6e841","1c534b810e84e08e","e99dd4c84ec9e592","ecbb15d090609fc8","5c6dcdea30bb06c9","dd0cd2517e6feaf8","6780505ad50ac4e1","ae46386170328f5c","908ea7d905a2dad7","51ceee5c0be8de4a","a02b86cff33f1dca","0682776dd86300a3","87b8cfe55d906fd5","31de927a663fcb1e","fb524b1a6da7faeb","5f7de2cef4af9bc6","1bacdb8e148b7ef2","2d16095457052f90","99b5327a504595cb","256d3616419c8f06","ab67b3da085ffcc5","045e623bc9372013","3e3cab934a02705f","64c6321bb60023c8","25501926b0199872","b34b57138cb1f0b8","b69787e8c4f19d69","f988b45c3d4a17ef","9f00d3d0bf810df6","307791bd329226f2","9b5a799c5df750d4","c706245ab487b7e2","d1b208e623179a25","0bcc12317f704d00","7588dc8563233dd0","7952d4c5ec3d3baf","24a0b470cbec207f","a3b588bc5a5fcff6","4ae8609056fc3234","e456c4e7cfd87c26","fee31a77e542b203","0bf16a20b9656c59","518b634fa908a4aa","b40a3b0d2d310907","3ab6bcaac666ddc4","ae4487a0bf7f922f","1e687cd4c0cc0ece","b5e2408a7d09537d","cf382d5398b6de43","24eae452ebf32be6","3f9f8a0b4fa2c055","6e4f227cc28d0ae1","6e514e612809a95c","fe22668bd12059fe","e3693344db474a0a","709f263740a61967","c2f0571e97f072d9","71fe9ef70302b7fe","f617e52e297c8ad2","1e45572f1b441732","fb310bb48b3ab02d","37baa76cfd48b2fc","2c8e632985722562","3fd562a0e54bacd1","3fb79d89a2bd41ff","26ebc7d97f06c117","5967c186d2f9ebf3","874510c9886ca66e","a839571a87dd2aa6","56543977028aa001","e9ac143262e4b9a0","8c79dc3ef73d2580","95a74006c5eb9f38","70c4d454a29e1c45","2da7ce03f5191d38","304b2bd59bbb2dd7","5c9a983b8db0a524","f902f6ba6753215d","9f6b281b8dc7ed8e","9fe281cffb31e00c","20ebd48d15c9a606","b533b3a78677c7f6","6bf9fae4b0bc8907","669a920f894a115d","af4ed7f5e6452fe2","8e3558d0fd29e787","f560c75cc0e86a48","1585907d4d4bfa10","23cddca4f42fed09","dd17976080271c5b","de30f4e4c010908e","d2959fd404d63e14","a159d489843f4d84","bdd2440c99f0d065","93b32becb3f1dc05","f8be0b4c8fdf7515","1da397975de7d1ec","bfbcbfaa6778aa95","de09283c1daf628d","f5aa5e5de05036bc","33b6641b09b8c982","67c721e1c392ce95","6d6cb3547780038f","bf3eb49f6340b632","60ffb41c372ca788","d95368da0fc1acec","c3b6b0792764609a","5ede26c96e5cab06","0d183185e153399c","ecc0370d843384ba","a8e111e3fe3d2a80","9d5beb0f52651723","63a11f3d13d3fd58","d19d63c0e3e6568e","b1cfcae0fa7d5696","19feb7590c49fcca","51f09b2cc21b958c","1d7c8643fcf26952","7b9188adf10a80f4","0fd00a5d28108c93","bf0c9db59b2649d8","5058bbe07bedfb71","1be2396c5ede7eef","543119fcfc92825a","38252693eb7888ce","ebd2f1b772702a16","3ed9ca854a0f3323","bc2f5f0fdf3a95b1","4e85de651f8c65da","749ecc064675afd3","0c4b2ec7a86c7aa4","e4db17dafa209b9a","e2bcd290d3182190","ed48b41a8d65c068","460739902e4300ec","9c5befdabe842906","21cc071787ab2083","938c99ddd57b6792","08d5a70105b69f34","64f2280ea42ba108","2a2df1962e3f61d2","b71c6b6b455309ae","0b208146fa232662","8da958032545bea4","923d47e4e1357966","59e1639fb2f9dbd2","9f4763bd1ceebfe9","684aedafb8190dcb","2b2d382f22d54df6","083ae4d089979e3e","86adad1998422281","5d713dc2c655e1b0","36ed9b0277578855","66132351e9273fcd","f3ae18fb49047b12","5cd3a909ce1f413c","936e1a3bf5878102","412cf89aa30dd052","2e3cf26307050490","20ecdefdd15cb5e4","f4061614bc3562ee","5d561ed745969c32","f0f0d1d9fe2a60f0","930129cc2290712a","4043ed742e94c7c8","21a97f892caaafa1","565dfd041d13c3a1","5e4ac3a5a3f0b640","e7543f28c830e84c","dd4ee9365a738a4a","1c3de7b17c69aac0","e48340d7cac113cd","6426cf468533a94a","2881c2862153c497","6a0383dcf1a806c2","078cb3994f4b5c71","2c42045e959e8efd","c009d3778e2d5d99","a9636a0d832e40c3","7675dd03f941bc9a","a0fb7feea30116c9","4ff63042b674da2f","a78e3e12e55836b6","64f47d1c52b68079","7f58393ab187f86a","b674665f8dd964b7","0e70b66661697d73","a44eadb85e2851d2","7cc72012db37a36f","dde0ba374db2eedf","553666c9dafd29aa","aa047eea162db86e","d2d3d56d19f17173","ca6e5594c10b00d0","d8bfcc7fbad989a9","f36d13db48680f24","b57e31429d877e40","14a357cf31812953","fd183971af58106f","13f77e42b44837fc","c2eb376301fe5e53","61e21fea0f35b657","37136f65e1f50cc9","02860064ff27f25f","f987f63e4046653b","60d916216398ec01","e27bdf5e4cdc9e39","cf7114b43871c414","04de52a5f5237233","84416ebc7a349dd4","61fa65faa84a6ec6","305f8572101f2828","9b11e3a85026957b","486786996f8e512b","48dd7d439fba9eda","aa5b3856a38f9e8d","90046052f5bcb625","35fa81df547b4491","af3293313a492113","edfd321fdae55df0","cfd2fc533d86ab94","e9b46670bc7283be","55552ce2fcab661e","3a47bd390630563b","65f5bcaeef2cb043","14365542ae0790c8","b72b30ef40073df1","6402ef93b3ea92bd","4b0e15b62cc0c407","450d06a664f3f2f1","b207e6938438fab3","93e889d3cd4867e3","59756c1861505dd2","d9548e9b1a2e6f36","874075d44d19869a","266f4436dc45ce89","3be00f677c6457bd","4937527cddd45b61","bd21a8b1786d3ed2","b96253f786c81415","abae3c836f2269b3","a4306c9de01d4722","28f6e572f0c46f4f","69645e55501064d8","1021acef5727d683","c2b4fa36fd86cf59","22dd0707e6d3a364","51fc92ba27d12eaa","cdd708cca8782382","8b2a4e4f622431e7","d6ba6007b1901314","ef0a4a5a649e056f","0bd651126b27aac6","fcf92ce9c73cd90d","36396f5285df476c","0e53487482752cfe","2d75e4809d2a6fbf","018c8ded1126b49a","88a7ce8d8fd7e72b","d96c0844834ca9d7","103382107d295424","5585a336703abb4e","dc35508e5890fb69","75b9549ee42d3246","90601eed5215748f","e408b55d1dc6870d","75a98516fdcdf832","8bdaa1ba3eb700cc","7f89503f8062898b","82b3ef69e7817bbb","0083c332a401849d","1af30d82c94d6258","a8c4088f8bac709d","b09caf5d92ae87c0","0b218c608a39070c","73569c6c69828619","fb4d25e6dae3c8fd","d9226f161296ef5d","2da57f82233c276b","28836135eb153545","3f693201c9dfc80c","3b3e6fe6f656ea0e","e807a144dac63624","b71b7e764b1feec5","535a857c71583573","3cfaa12a351bab8e","8c93df4a796cf540","fe0449063daf1386","b526fa97ad265f91","e6a8e17572dadf56","6b152cf9e173ee4f","0e7c66df5c84175b","b2b86208a514c8a7","c758b19593f570d4","b156e6eff1bfadd1","1a2635629b812ca3","e41130e3f4e3f1fe","a7cbb932c183a9ce","e5d4647d97841024","bb1749d6bdee813d","d97b07c77b6d5f1b","c19749d8e5cc1e1f","234a71f9f37e0fe7","cfbed463c3e70b05","377461f11e162f6d","07c72906c906336b","b9e3784065d1d1b2","732a8bfbf8ad27d9","86da7af07264458b","eeb78a0cec96cfe6","8b3cd32ecb695d93","b2b7b4212f316b5b","c32053913a6bb245","1834253e93442bc8","a62fb8e0d132955e","6deb4e8479d0818e","c1cd47eafbe36514","773eef4fbdd58da8","851105d76914a281","63f4993fe010ac66","cde58fe11ffae273","b044f13129d03761","69041daa92bc0a8b","9262e99e20e0e654","d318afa2a81e4ff9","b2ccb6a2a248015d","9c89a41128573752","89d2eebcaafb5013","e93e8daa30075ae6","f61f5fe80ddf6ff1","637b84024e725f38","282bb73eb4892ab9","a2d25db2ace537ae","a4e3db9cc35fc9eb","7d45ca7ad7f363fe","70ae9d85820c14fb","6140ca98749acd85","bb1e8e34559c5a7f","83e8a9fa324dd4b9","51b002c497ad57cd","0b32686fe74c253f","5e3cb9bb3266089b","06581753b7673f83","14a0a0839924964f","411b13dfb3e989f0","4908c2284e498338","5891781e4a61525a","aa275d99ba85bee2","d34f38f155583ff7","5460a158225a328b","24058eec92534b27","1ceced58d0c32e85","ac4653be6ea01477","30220f4fe07e35a4","ba77500cd9f7f6da","b08802b0dbd9a58b","8f4503a19f2f639e","561aaceffe076a5d","0ff47b07b863d0ae","e6d11d0438e20b80","80459ca7317cce90","3e1b4213132404be","546f190f3ec0c90d","7f1a03ba2d4eb5d1","c3d88e1872a9789b","d85fe6335a6eae7b","d02f1b2f2c3a2a30","28b6c3fdb407e73b","7f76434616f622dc","eed8990163b1ca81","840c05ce502e7fdd","f02b4584af0d800c","1b98c37b3b7502e4","33f7a250a7341c43","ca442e58e65b32f8","c367834c9cccbe38","412878f8c488a0f4","7fa17301839c0fa6","764da2d0527c1ef6","d4146047c079ac62","074a67bf0fcf09ad","287d719de575c01f","004bb30c27c94fb4","867a71b7dae9c844","722c773f6314dd40","caa3c5097468f133","19a5c46ec6c71456","0f1e413815ecc824","d40db95f9a154c3a","630dfeb0e033a476","56d93c268a656fc4","2cc2cdcf0b1f710e","b961d989c357e6d6","af148bf44b019b35","0a4c943dc3a06f0d","e12bb3f8258f4439","a19b9fbac3e9f89c","0aca727fc835e615","afd6a49ad55de215","432e8063fae7039e","dfb4b5350a9383c9","9d4a1f539c9bf58c","43c695b9490f5104","44308739c0f759ad","be0beee97ed2d572","5205205461f48680","2356f963725e84c6","d3064571c2fde064","ede79ed6b82aa804","b1e2b474e4c77892","faeff76a4321bee2","4163673982458b27","4280a1f889505f0c","27e3bd6cada7b554","7c75b6b921f30409","a98fde87c6b47e6e","61b310386916497a","b43439c6ab36fbfc","e287e4f4d7f3a174","ec2704a8e18114ea","14a5f0183ce7ec8d","5c4a3b8ce0220dd9","58359ad51f36d68e","c5465d5f64db4b45","1cbff7f3a7317c5b","4176c5d5bc97709c","1102208726a88a10","b425ab40ef97a294","592483f2183c6711","c5dc4f8c357a596f","074313bb4e48de6f","a441e9df790a0c3c","285c9ffa2f524440","234620fe148e1dca","5a49d1f4b12618a7","e4e85a27e4775ac9","e6a4e861a99b196c","12f02c43a82b46f9","68ad3074767eb2c3","56d131373d4e2f78","3a4c72588bb27ab4","357c6d106dec5efd","8bbf418d277b4df7","e2ef5706b35de7b0","c15d0c66ed5af79f","4264ed01f3943e2f","031a6afd8300356a","206c1fb4a48067df","d7f0ba2534f27b82","ca80e5fe27609a11","6466ac9bacd083e2","4689a4035be0c82e","895db12fd6d94a67","82229e46e51f94f5","fc88fb69cac1e5a5","0d78bebcc5541e02","3c3fe996c199516b","c785aed10e83430a","9f055c7cccb634c1","b90652e7f7d28f66","ae5e8ae05adac7fd","0831bd7e7daa4915","dd79805b7971cbbb","582f8e6b17a9d9d1","6473c46ecd9304c7","3743db17cb401840","1e908b6060a584ea","eca0e6f3657f0564","7cd303d0aadd1433","a974cddec777bd94","8fdb5986494986cc","baaac9a301ef150a","85ea82a3282907b1","19dc49123e66ac71","1eea209368626bc1","149401230ed2ed4c","2ba23548e87b0292","3cd44612df58e32f","8413c966166387ab","92f76d0a8a4f1178","ee66fb38bde2fdf4","cd2ac560f85327a9","94c79b8f52f0b6ba","bfa594bf1f876c92","2dedf503efee73c8","e5f9a77af592fc78","35c936be0ce55676","c1d2a5b213c6568a","6d65af0eaae695a3","d3ac50a83c871cc8","fabb645e0d88c91c","e68b067b48b94ca2","acd42b52bd581740","d74bb73a0966b4bd","92dac97dfb662f2d","b0f54ce6c23c6da6","011c5e62deb510bb","4bab6cfef1e2c932","df1059b56622c582","7c98833082d48029","25445f5a9b787a0a","cb09b67a37901112","3e652e3da2c711ec","f7b2d28d9c7d66ae","464bfd100a5740b8","324b4e5e9a9419cc","d248a5e5ab11c9d7","d9b8f97fb0897586","d49116054bd5cd56","797eac89000183db","a52f0e788cd4dca3","2b16dee056f4ac27","4781986f3e559778","243984ca9c174883","26ee3b5b75b8d83f","f4e4d84dd55f9d0d","3308d2aa53cd0bbd","1266c0d95b69ccf5","a330cf9fee227d5f","9cb906bf8066d37e","94aa726ce8973d2c","66f70658751b68f3","13f4c9a49f9902dc","a55fb25ac5e89398","5d553844550b821e","1a40c588514eddb2","b8199d733a66766b","b9656cfcd1a2011e","3055080b9f38dbe8","9573e23ffd1bd3ec","37838aa1f7d06a7b","cf2b3440a4b8c304","9d71ae848c07c4ab","21fbe912a43d9c26","13f75c57c57e7423","d1e284b3f0851bb5","f1898b7dbc641cd6","77bc37b9d8f69f5e","7aea7cca7eb973e8","2ceb381ba0bf7995","083e2e406bc15eb5","1bae0aa3b8156a13","c7c8a09626ba3a9a","a9b3a11e9a293e92","3f5c348f99494011","dec821295a7e7458","afcaa4289efc76f2","af147f11a3d4d652","577298e83998f6d7","e5ceb5335c3b0d43","ce0256824b38971d","6a5bccc5dc98def6","f54479dc5f66620e","71e189afd8659a2d","b6d241198242a6e5","0e0adba49a29f70f","7662aba4a1cc9dd0","99e1c9e8654a9f81","4f02d67d81a83e86","e7ac1f9f3c8ae78c","ba9d70c1045cb088","6f7e7a5d7ebd031d","d40b223a978b9a1e","5070cadd19aa3954","f9f49c8d382ee23d","bc396dcc308c42ee","73a136cc319902eb","d84b5b147f5fa7a4","6ec40cadb83543dd","b6f0d1b534279a98","0414c3f0d95341ac","91841d3915124c8e","e112327c4a55aa35","c2532fc6bfffd154","31b42964ff3deb4f","4b32e84f6c624568","2e643b1746a93b44","c213314798c4a9be","bd6f2717b2f30241","825837a029db8ec5","45647475dad51f30","ef13c93a34fcab87","b75da43db9ea9e7e","a72b20551a3b1f8c","0385dd3208b83d41","2467c6c0b11061b2","20617e4a877c8fc3","2623529da72f4fab","2e0a9a817ddbf587","e37a5575a3f29d39","76d1c023d5b35ff4","c7a019355872d175","2ca73eb7becd74fa","67b1906b253417ba","c818166ce482c9ea","ddd39f991efd9d31","caa4b983330ad4e6","3b472a6e4d9e2543","32eced70dca88722","f4db36e02df945e3","fe7aea286ecc9d35","bef84cb5efd8c2ca","49927aaaafcc60ec","928c3fc0fa3c5d18","cc102f3a82a49a8e","13fd23967c40a92e","1efc470e05455106","aa96d5f77fcf68e5","2056847a88301b2a","c421ec88d5d06d7d","fc6bb2e0b3eb77b2","618d9c3f33eefa02","e68d7c0f7721c679","12b1109de2f09cfc","a064a6c08fd2f40e","6b4bc7764df41753","6c18cec9a1d74489","02373ad0b61f2a49","719eb321350dc033","0845a36d7c0aef49","333d8ba06abef807","276eb14e1448224d","e520201563045cb4","a8f829fc8739cbb4","c85ce3c75b98194c","72d48a3deee90360","e3a3ecfeaece1f56","4d2bb338a00188bc","88ccb4248f722c7c","786e0b4140b91eec","62542a01ce24c466","e3a35f2dd6b2effb","662f3d7d7dc36aa5","d6ab2dddb189d358","2910033beb566769","d443f248bce0dea7","5c82e25e697c0d09","c1a22098f4c6b607","f01348b36d2a9638","48d872c1b6b9f14e","d23ac11c26d59e4c","a69fbd6551e4fdc3","caaebc71902e0463","0ecfc7dac3dc83c0","c5b20f0c23888919","323c3fcbf4964c63","4ce06c7bae7e516c","410b8eabf0b0e224","4062a49e5518576b","7864c4a726691281","47a324541ec2b6d3","a161c5ca3d8a7cbd","6e52a200ac67e354","c46a31d677767693","6d71d5859b10c11e","4a635ad2a4ed1736","d0d24a8b117023f6","52a33cee0e647f92","6a0f0e71db157af3","9b3093c5a5deb452","b8b9d93908937f8c","22152f0515ad69cc","4d9991942988ca8c","d063b27f8e80f37a","4722e25f42aea056","cae336906ea60890","393ec8decef297e9","4424ab4df00e08ab","ffbd707de9b88a2a","e4e85b184291d354","868cdb733181338e","eca9437aa8d37772","e2dec83660823bf1","71ecc4394b7cd05d","61c2bd67b3234fc7","466c44b0fc1258a7","8ebbcb564e209cfe","f7baae7f1933153b","173b0a787256ad6e","f4fc24ae76a91012","3abf64e6a345da67","cf26b829266bd04d","ee16cba79f20cab6","4adbb709556ae11d","71518dbc12244577","7fa7e12c70c95e89","288d2e1448cc8b87","a657a100c0565a83","a39f08f65c396752","72d6ed833a034f7d","0ca5636806f3803d","d4b36602686961b1","89bf9e5c676a419c","7faaa39c9c2c3e20","5471122f3d914196","9143e0b7b9fb3da2","d8a3424e6a6f2827","38e608120e43ab47","b45278a6c6f45dfa","121a9d42a981eb6b","03700a180e6f8f5b","9817b8c4d33159f8","a91140dc661eacbf","e1587fba40d7939d","3543fc558bdce918","621c0f611ba16957","00f7d91e9a6c7617","56ad085f1663d4c0","a8bcb0395fa8accc","0d08a03de0051e7c","587236e6160da46c","5a60da9d02342972","fd900a26e130d2ff","37f065b203f116d2","04fda8ed412120ca","cbe63d29435cb7ce","bfe242eadca39791","9dd47ae7d0e90c33","7953d461e902f8ac","834ce9850cdb0a72","8a154930c7214f18","23ef9aaffb31c21d","7017965f91bd177c","56d6ee950d3d34c2","eadfca81c8de4eb0","dfec2e7efb555d4d","ce2126235b863201","e09b198994376110","096892189e1be538","ecec645c51268d24","b51db40b65f89f75","0edba4106bc26051","c63c05889184c3bc","e19c1916670880d7","d806e40ba2ef7092","e667a9372137a0e2","b1fb932b0ddc8a02","9be1a70bcb57bda6","dfea66c91b07899f","fe78724dc1f72f65","4a5ceb9b3c8f086f","f71bea4c343fe0db","62c79bf2c5d8ec18","f0d22091d2275f34","87a3f60a0c03a21b","5fbf2cbdb32f0e97","68ca4fce9324436b","952e936c8f1df120","ec1f489e4f505a2f","434f87c8d8fc6bbe","c24f3d6f90d2b48c","1063523382ddaa94","4c8f3b4e9500ab16","aeb0d3b6747c9280","1b97b56ade9a8291","63d576c59c72d487","c8adad442791f18d","0993151366888a6b","887a9038d6639660","57578e259ab0268c","91e7dfc3c8108b06","e43d2ea5180895eb","2296b4ea298a4c72","eabe1caabd0e57bb","d6ae0dbd98f320d7","0ec06f9bc9a77ac2","a1b41356df668e41","68788cf7b1f1d8b6","ab77d6fa10f465f3","8e60adca1a22f123","0fe612fcfd28c570","77270fac9cacc97f","34e98bc055db6ee2","a270d561b0b64cf1","046bf60c40a4df98","990a132bdc19ba61","d23cdc7e80275f61","bde274663e77041e","bad6bd5983b2fc9f","c30c5a2566decb7b","f102fde8fbfe7c18","3ace672b36b6d59a","da8810eee603cc4b","f887a03f0fb2827a","303274117f982501","d5c3ea38b7e24cce","73754465446fef43","1f5be99b367a12d0","0e78c14186033ece","000413191731e86e","af2d889126787278","e763cda95bda7657","d5b08905e305cd02","920db71eee0d2d26","6dbe204f4d963e3e","17369ae97fa88814","2f88f0a1be78ca59","213f3332bd5e75c6","04a2a3c2efe76a2e","d9ad2029c6cc7096","1b1e4074f6d9749c","fb4b4e2a3fb029df","d873539070943718","2623289b88a15e8c","941bac341d0a675c","ca2cf5afce064ad1","d05f93f2e9f3cbdb","633e93007ad7359e","f57a3d0eaf07945a","85ac6855ecab60c4","4abd6ee3b969ce9b","048bc1e501b0f9f2","3b8d8924bdb03f80","3e40fc1c77ed372a","b461040a6c998b61","3c808f997ae66a1c","069ab711c0c089a6","c20295d9b0ac3419","34992e101a5f7e1c","36eb92fa692e166c","d4c1d964e9c56e01","abd02925c2597211","e267a0404a5c5d6c","758acb218148a1d7","0728c8c3564e6e93","d1c7f4810b12afe2","35ea643afefc732d","abdf34b12a5dd88d","0dce2c644348616c","1e475c1be1dba2cd","3b9ded82962309a3","eabf5fc19efa675a","6e799ecb83c4920e","bee342e3eb1d1f39","e08e83753e727848","556fd5f1e5d631d9","3783da8f96cfca80","e3db60d3d55e1a82","05713976186ba442","585814f2cbaf139f","9e47c40faa28271b","8c14a3d77196d0aa","034c93c5f54aaa15","e9387364f390f805","e3a86e68e388729d","85d5d5e5b6c9beac","07d45bb35ac762c9","2856d3bff393f9fc","f4e114d534bc63d0","d5aa33c47a8c4347","7fcd9ac436f62e8a","975a84254ad7876b","2f804afe437414b9","8437dc846be5af12","d2e269a6af2dfb1c","6e5d97fd5f511366","2ea571ad93364449","8f1009a9502a5516","3d54b31ec68172cf","b0a067f702405dd8","56cb9892b5febb14","ba1ad3b1c11760c5","a205fd735ab69076","c0b5773a6bf24fa0","56aeeccb6faf8480","b7b4f3e199cff4e1","b3e6c30cb9035dee","e9f918d732ed4390","7660a519a43dca38","e3935a8921558315","05cb38d49efdd621","435b7ba53d3b3f3d","5cf10abb34d2afd9","de95eb8bc9cedb87","7af2f9f85dfa9434","9f7db667a3e5cce9","9c4f5df3df617722","08ab0de6523813f1","e4a851ee51659fbe","5aaa598948695182","4e5dc7fe86199d6d","da742d7b236d74e9","0b8cfb72bb0f3e13","b15b9bb27e18cc28","df48aef72bf72d15","6ea014398476684e","85772c505d998011","4ddccddf03e3d4d4","a07d6dd6d1c29a6a","eeb585f11f6823ce","ce174d9aa3f86e80","81521b1b53a011cf","a5ccd36e26d9f6d9","0e492506da218846","37da6809fc64b9e4","db475389de188a0c","7fd8ffaab7b5e644","e4bcc2150345266e","d104d5773963a340","1acc8b4f519da72e","bb270d49658a693f","b0cca198cd40b4b7","57ab09d50f789b03","174cc227ba703f1c","f1475eafde58ef48","fe15947cd1dee943","bebe5c9f233bc014","b72d94de9f872ddf","decfc56647d266cf","0afac8df8c0ad593","d39803577094b080","102eb508957fee9a","99f3818ae330dad4","394846d13b3f3ad5","828954124f9d5f18","a1e311e659c0a082","6d05765c48afd703","0a11184001fe0640","5391e717f6dca308","906b6acddcc68024","2ff1d9f7d0cd1e1c","309b17151899bda1","6ffbc9731bd5e6ae","3d8af1903f187678","ee316a30d7d76949","deed3da8baf03817","9909e92faf9def23","22d518d36e04716c","a1ef7c28be93a984","0cd574bde14391d4","4b76b340559fb347","82aa18736b702cd8","d8f45ef2a1ef83db","1864089149dd1020","3d78b859e586fa91","9cb403d67f5020f4","0365c97a2f5bfd4a","3f3b9ea1c2157e30","564fec2392c7191d","8f0ff756ad2dce52","36fedc6b0be804e7","e61e9d413554539f","08678fd952d0718b","75bb87ae3f2c0e0a","ab4fc8c6e09cc5c2","a0fa2c85acd788b9","6790e3c9c69ca682","d15334a68d41f0c1","82b63e4a511b74b1","406126819aeb6e7a","9824552e3d00a585","e1f16ee8824ca937","0f4579886aba5d44","5d63e702c0356933","e2b5d164394915e1","222a2cb866b5d927","f4ad016915b58f34","1b526a505cca4b38","05d83797479be408","ff50da859f9ab394","9d69c9b73ed6d46a","42352296ba1a9b8f","ac52cc5b1a310d97","a7985c79389939ee","35328fc67036b0b7","aab05884f02c9ae5","c24662116bd8d039","d87d6edb5c6df065","ee2f9913c385850b","fee856239ffcf41d","092fe634cc63515f","6b28323c8b96ebdb","179270593d4a9213","029a7d6759da4e71","3db7c0647f6f3b27","f800de19b190bb45","66144194d3248dab","1ea871e1ad0c448e","aa6fd304e5255f29","e80f200967e6e92e","8a6e80bb7690df1a","154ca07785fc4a03","32abed02d0722808","3ada84cb46c4cf59","d7a5fb49638d61c7","07a2f1dafbf1361b","2ac3ee9cfd871785","cf9bb9f13aa683ed","b1d8ee0c1293ac1d","a246dabb539abf36","0f6fdddafa87cee7","ee662244b88ac05c","c47576e23f709bb0","1b0cbe0fc795ac63","3be19cd8f49a0c90","7e60e1c2ce2b33b5","588b2a84691acfcc","779a7ca67f93706e","75552a6e9aeabca1","30505f159e3df7fb","057d3226a76029a3","086c6a1d782a1f2b","0bba3390b421b942","cb1e39e2071036cb","c7cc959fe94dc6ec","4bb9a5575ff72468","a2ca81a4a0f17f2b","ac34f353008f720b","cc0c27e2ec0f27c3","077d26e64b31245a","f1253a4898076087","979e5dadb00816e2","345bfad057c2239b","5e4211383e41daf1","46f096fb26163aaf","dbf634344f4eb19d","b784f74024662869","3b1fb9312071cef4","dc2fab4bf098df8c","6764b95646ec77db","45bd2f5743776c20","7550c60a97723c5b","d6ec98126b0438ab","84f1bb54c15f032d","f05d34dd5ff9746b","df0e4ab2e1efc286","11cf10d72d2c9472","636ca4080756bce2","03b03906a1eca939","d1074c913f8ce2e9","6c02b601fadbf658","6fd2028d522ac563","0ac217c2ced7927a","27183008d41a13ed","5f817c4189dc849f","b1ea37cc98323342","391a03c947ca3797","93a63d74ebc8b545","f772d4abf0871088","dfff0419d36524cf","74289a05cdddab34","a1385a4a89404636","e3978b35f4a099ab","2a7ee2b9643e48ab","c8c5507a879a6447","4baf1d36b4971cb5","09ef74553d2bf413","0e07c82f165989f8","d8bb30ab9b1d5e6a","bc523fc5dcd3f607","be79e50cd381ed04","0411a5a65ca13a67","dcc6c975447a9cd3","ef63242b0954ddd8","9e1b6551c2a77738","a8fe7d31170d65f8","54730608d846782c","b05b4ca61abd8608","4b95465c124aa834","0ce324166893b70a","7f69ccdbc41f82d2","d19444d55fc80292","dea0faa68144f674","51590cf6b20f47a3","b992e76203b16a72","a224ce84703d7913","631e6df32297fad4","804f5e47bf25b226","fa5fa5f551f340b8","df12c095346ac6e5","b929885ac70c377e","98770f13ab060020","bdcd4dd80dcbe2b9","359029339a166e29","b87c82c6c7d711b3","bf836542a7db7520","2fe005298161599c","6402f2306b4ca091","1f1862300f29f4be","502c26f59c72bc20","56cabe66c45f025e","b502be8f6570f52c","93834b48f9810d44","b25023459b4d1288","f03cb3f44a33d88e","025e219749a67439","34429d11d196843d","8132d29defa08323","97fc1790a2645359","978da5d0e2dd6cd6","8bcefb815fc8435c","088a7d890760254f","ded3021e1648bbc7","252c4251489738e4","047190c9d2c62ebe","1519fd79c475d95a","e25ebb310bbeb26b","f0bd4b1ffe5da318","5c64177e3bbfd337","4f0f1c286cdfedcd","cfeaa3a9e12b40eb","2b98ac8845853557","1b79850c96d3d208","014df3b24c891646","d67d4a70e837c744","b809a2344b2a162c","b5123d0e6886505f","2311d66d2d2f1a5a","d2ded0d940485aa7","80b02c9d206eb796","e50f34cde29f1023","502bf87b213069c7","4e6ed9498ff4530e","12cadcc5d1bee95b","b54dd8d3915e207f","06abf52a6249bd22","93d2b581d45d7631","cd96635eddc7da1f","4fc3e55ddfdaa010","529ee15b89c1a59a","559221227a779f47","5473623028666410","61a83a7757b78adc","889157da2139e8ff","503a81673f2d7fb0","a4c6172c4c4737ac","4cdca41467e84399","6335a0ba7e4fd02e","ffdbc6f74f0bd44a","1ff0b0648a927b0f","f0e65595e5827e60","54a377fdde983cc9","f3335edf661bfc8d","82489d3f8ae606cf","c91c042b412afd7f","8a7f5acb317722bc","aa80f7b58c825d6d","cbb6f339addc057f","772937ddeb3e1b72","1b11e45ef3e9f02f","3bc159f186c762cd","0ea437f46160f0e5","e7a80893daf9f5cd","85d6369076d887c9","1164fe72097e884c","0eb756ee244751a4","3a3af17d95ca520a","70c27df7cb0add1d","64754ad76b3561d6","f9fad454dec37bc7","55660ec49f882e13","f1240da189a60ba8","ecda411603ebcccf","f3eb2e8c09f67e89","f305bda7c25657e5","6a726c7db415e700","4658e2323b1a287a","37b31a14146e2a3f","92add418b3868c54","6893398018de38e9","266e831763ed3b77","ed42e96a79df8e09","7b43ab1cda2d8f3f","ff4225d872a9a0d3","623975efd8e9bbcd","be58e8ac1e1b6eb1","1ed6b5ff63020d07","69fda60f897db5fd","d75bdce71118a56f","5f6fd378f40e4c81","0fb59058d3aa9663","0998eafda2346961","a091b2e84a4e89e6","34e6817c2f435667","9ba0a97276e93540","147aa94543fa77cb","1452439e0c937126","15d8d0ba06961e4b","4b342483a51b0f93","8bbf52c2a83e09ea","0a9cb3219b03ca53","de7ea9b615e052e6","37844601d21c6184","e3dc3f877be31d77","6fbdfc1ab44f9754","85f9e2ad24cb8a5a","3099e4a17fd21410","a2b07c98d61de126","d09ad27d05d54698","4c169fc26f833802","a21c6a2db7aeab09","c7d315d762524494","e2c388ba43ec89f0","9eb8cf78caf3141d","313fbd5fc01985a5","b7ffd39578f29c8b","5cb2a229a6fec1aa","1c4fbd9e3d313b43","2aaf95392a970167","e78638ee35b8c069","2cb92368cb319c65","1dd82f8d7e2ccd52","4b2f0c80863bf5e7","91ee9f04019a9999","53f044d01f2d18b2","2df7aa160cbf3a71","db3681610a5d90d9","7869c56dce3123ed","ea0c6cadf1d594c3","285a0091abda1f58","96e92d4bad3792d3","3de9c88ac7ce9a77","6e120320180e5cfd","d237415ac7c1b47b","808426e9258cd024","659f9752db0967bc","9caafb8c1719d275","515b0c184c8a3628","13697bbd73295b46","c6fdc57a80266f04","b7bc73260cea8570","d60c017a8962d3f8","dc37631fe73fce2a","c932311ec07112b5","67e91e753d3708e2","a86e51fee3e3458d","f974a627497b4b7d","809635d5f2efc402","c9291360c0f0b490","f10733a435dc7390","f81152d8df61c845","bc4771242d5d3bd8","135b7546018ecfba","6bf593bd1612dbde","64405bce10cccde1","bf5b9cb6fe9e3550","6e4f87c323cc4659","104783a075f279a3","225fbec54fe689f8","efdfaa2b7173a43a","949a8ee5f18f108a","fae8eb23e8443ee5","c2589545c2409827","8f85c87887c020c4","55333767f9209bca","c5b547a57eb368ad","958bbeb30de3eada","9ca9625cd3f893dc","4efebf9bfd65df96","96d26c543c5fcf13","5f1e10e5657e3138","2039bf8bb21c10d1","21d8e3e1da7313ff","657fe886d2a3f59f","f513b11976d16bb9","73c382176ddebc2b","a900585cd904a957","873ead3b33da82c9","e069a71e517cb7ea","834fc1d89a1493b3","c79982618f4e3345","cb222ce1c4c3d7dc","3006243d30270236","1707bc7a4bb0daa5","ea848cdc88365d9a","e875ef56fb60ac9c","0c919f0ee88983ad","780cf693ea55249b","fb20d3e29fc3092d","2b4f4116011a9ca6","07b7d259f0949e49","a895f0ea053086fe","3683e8f63f0dc5aa","bae9495793960012","7837b5fcc1432bfa","6632e88ee0633e4c","01c20d4c1e5db317","3905527e91730097","87b35783671bc785","c52bde31f64b30dd","748b1f355c0e00f8","86cb7c12e7bccf56","c8d72dec2ba2b842","a91a6950282e40e0","7cc8434ffb22fe29","3b539d9347f6bb28","c3b17da928d7afba","818c3dadf81b379e","f6875e4f57839bc7","3325e4593048135a","05787fb2b77146c8","0ad08e9e45d5435d","8546ac1e37b1b1fc","1ef3db77515c5330","df67aa8c4eb08c4b","6b5f520afcf9e941","1c6a5f6cf7a4171a","e3ec96cdb6ecec1d","2235915bcd1a9228","df89dd445c170c34","539176543f03340e","528d193f3ad76c04","d259cbfd50910254","4f66f48da30fbb41","5543b63f4f841d35","16e115607aca11e2","573b86bbb0b274cd","6969a430e98620f8","c40a25fa809f3f3f","cad9f0d374763a50","9846cd104deb4095","80713009a92b1fb1","25b8f66cb5486055","25a206dee6cb2d38","10352a4c8044bff8","d1f398881a976c8c","e340056f7c0ff7e6","4f2f651b305df0d8","f8e8e4320c84ad84","b20175d86ac76169","06e4c17b8ac467e1","af3687a9f899e8da","9a0856ef24c6ecb1","905240083e6bd5a2","e57340f8784de737","1d84aac6c8e2a838","eaf239f4e4fd9d20","c84ad49be11b1bd9","78a8877be3e75897","2b15984780ad93da","7e164b153068131f","cdfbaf7f971088a0","c77835080e9f86f2","aaa4d5f3593d6d65","f897b93a09482883","6430485715d1b2a6","8c5505de0a4d3dcd","5b6872ce327b1bf3","82ef8057da8c77aa","6c25a04857d1716e","f2de43c0a6cb7bf1","9a2254b818f75188","86b0a6aba2f70fe6","9bc81eccbc500c73","997f6535a7397b5d","c548f2f0529f2243","b4e36b962e02a910","38fbbacd76a1ebc8","bcd49af0e6417d46","7a20b1c05a7278f5","c2bbb4adbb91e2eb","2c63586ece8ae18a","543a55099b4d2327","1cde90641d601c65","6f11b20b69a42029","31fc5fdc93b7363d","d7b616f51fec6d9a","c16f1ae420f44fb5","b491f7eb02575108","ca7f0d58c55a1358","3423fd727184042c","fa2acb5ac9bb8c8c","a34aeb4c51bcf655","b0b2d9829230be99","5d53068f8b9e6936","a7e18f888c96ad05","7a6db5a28141b284","06b7f0862564450a","9a0a261261c064da","ffd6cc9a833578f9","fd73f58e64fd7772","748e7d5f2122c46e","1865300f7f6a496b","3ef21f331dbced82","dfed6c0bfa8e23dd","f91f5e0c6aa9acbb","30df3f5abb68ce44","409a1c1265c25a4e","57f7200daa8de303","ab8a9f5e0f206718","c18b40f57f3bc595","8d777026352ee15e","0bf7b4f1f0b6d706","f125a16a38f72686","509d71fa751432cf","f2a4dd7129d6fbdf","757738144261f6d1","e7fd29793e5aef71","b21521b6cbd2de78","23093777025257b9","4b7ee33aecb98a13","cf350545542b3cfb","136467c932bcd5c7","a735610c7cb844e6","d111f1ba9ac15a3a","ca96add605101c24","2154dfc072f5104e","3d1e4fa0f23499e7","0c56a7bbcdedc95c","a8b3e0ae1a87461c","74c0ed863d1f8308","1a4d4ba352a6814f","07ae64e387aaded3","c7c9dbd511ce3178","aa27feeb7f465ede","bd90c8853bb23bbc","1868c54d6625f422","277f13fc211becf2","a05655d2da0205bf","05b9c831fcbc4327","919ec72b0122125e","f86e15a9805df2eb","05b01da832e8dc8e","4b250474eef9ebf9","3f67497a06c6790b","40abdc0a6d9a02e0","ba66e66c54a87e85","bc5e8eb38502426b","0a2fa3c2042de32b","d1282e8de47bdf60","14a19cafbce9493f","3f944b3a650ccb02","2069657998805215","58a1beac4e88a457","64209e9b32b3069e","0c79eda0b1819a61","e9e3a2077a1fb722","582fd41fd3f9077e","cb0926c497a333b7","846e71a382cb0e4a","e75839a08fe8026b","18d6239a83c542f6","b1b7d0d0ebcf09f8","1ed7593011ad6d9d","559501a6882a7e03","4d6edf0867a50f9d","c54311f816c57545","cfd7f4d7cb8008c2","625e790911e89ba5","396a3bfdb0718a53","daf0d80c53e0db5f","12ee535e8df383e4","ada8e99555ab016e","e6c56ae4bc5df5d8","fbf9779ea5af2111","c04bcd7a0e7a788c","8a80d7d04901125e","4b701431b4a2a6cf","9386d8f8dd219a71","31b02672ea156965","9648a5fa00b709ec","76e4299fa08ddb99","fc4300b4cbfc7dac","5b20e4596518419e","bd94efd3c0d41ec1","77f89a4e117cdb43","977fce374c045aa2","64e62d9c80ee281f","1f51d9ea8a1bf1de","2b13cb6248d2f638","aeefd326e0d79eb2","cdb2ddeafa644131","246fe56fe7852fb7","1c45f45498655577","df6ef3b58ab095da","5de16c90c3283bc0","40b53bd7b2dd3fda","baa85c145ba7e3cd","7c7b0c1ef742761b","fd7c381284fe78b5","db5251d07949a8c0","67a3679a821559e1","6d3f4589b84a4ae0","cea82d4e74329977","20255790fade5c76","2c174532d49b2fa7","78c44721aa7e96ba","76c617de3fe57a72","72d6fffa4dada8c2","a08fafe0b15e2f0d","802a3e81458149bc","bd97281f3442270a","931bfb7a154e1d13","2475f7b012c187fb","24a3e98a92c0d57d","ed6bcbd32e72afe1","be945e0c2c2208b0","735774bdb56f6be4","014d8a5287538444","03eacf7a446d906c","a4f8287c851b1796","de0c34e8104574b0","f0991abcca9403bc","a39cfa7867f1affb","21ece2cf0225f84c","c0f802fd747208b3","957e5c162598e005","4125458fe3950d3d","d8907bcd74db249f","5b6791e0c3031934","7a5b0b5583ea7343","1b2d8f9617488c30","e7c8646d0179e346","7956edf72f807538","be033ed2f9099d29","2cd6d04618352d88","f0d61d7030f60516","4902a3b3378eb68c","197354399802c0d6","46c2ddc6460d5706","5e2137ccda0c95ec","19b13887fb6925d7","6874cf6f062fb04a","33d5e527d6182be4","4260ec8334e317f2","de6506a93e799ba9","f2c9d7a95dbaeb38","d16b37d2939388d4","dbc8bb25a9189ad0","3f468d9127dbefd1","22ae28cd02b2ac40","f2a5994dd44a5161","e357d03ad7d6882e","ed6122dd6848d885","cc0ff5feddc37308","61d409cdd6107520","8f9164d97bb54bdc","0f053409eacfc57b","826e10a356b21321","1547b4b71e27b11b","3a56ad77ed759c12","0d54b77d8c9e9c2e","eb2dea648ab3cbf3","0dc72fc23588671b","6a57d40dff357bfa","8f6759a268add92e","da66f64898772e28","2743e40bf657513e","3ceac0cbe91463c5","2d105ceea6392f18","f2af422ed8da0c9f","4f9f216ecca80280","0cdcc7d5d4b9c579","cff5883034f77cb0","573db46bbc14f6e9","eba7097bf16acf67","b5e907f3ee711b07","372f04c4a067844d","ada7d594f73cc361","134fcbb851958c16","43cac53e0a0d9eee","f11a044ad0e20908","14186618daa0777a","3ecc82d3284673db","dc1da9165183247d","db246d9296a823b2","d29d128c44cded92","5ea3980a5d978b17","40de05671513ae04","42d5c8c10cedb468","b1443ec31cf4651d","8cac6d3317d16d9b","de7e38615805f3a5","14cb219896489fb7","93766a4847594832","c2e44a76c98cd7ae","3a8223f94768eb4c","d982fc8e308c3260","8237bbc2fead9706","a96ce0d1796adb63","93febb4421f30d87","f21af5e954aec1df","3b6e494f3b2508cf","1163d4337dbcccf6","2ec8ca0d27d00fed","4385665e61ddeef1","de48ab70a838d67e","c7ca4f7a643b3a2c","c7da23fa87be228d","f2fda89b10cab1fe","dc8432cb11ffb0d6","99a4e5dc5644cb4f","f75e69724e356e1c","5e07eabb2b7d8ce2","c491dadde798f841","1d31e1f4842e9321","00384275810d4079","97bc7bfd63052866","72d58a85b9a4aa52","39ac0b2fb3f505c0","e93a07a5851a14f2","7b6cf0c3453cf17b","a6ae8f35d17b3622","162055ff0b298da7","d051e2ecad8a4c91","25b1ac0e4bf27db0","0be54ddf68a672a5","bbeb040050524c9a","7906a1e6360e1d26","670e7395d0752414","0552a0e8ad4f3621","0454a289f1920bdf","9d5b5ecf823f3e06","42c7380d496e1a14","d6691e769350c0ac","1e1a6a213e5bed71","6a4924e86bc8630f","19b7b50be9592a5c","c892e02505855e89","1e457934d5466768","589c37cd53161a2b","f2a3784904b9112d","6b6b43283b748b66","19732dc56de56ff4","2f670c5c2a24ce20","64168fa4c56dcecc","341f5047f4a4fe5d","65f6a02b5d2c092d","fe5cbe149f478b8f","cb01f17b4f6d897a","74b35458f02dda86","6e2340865ef4c2ba","29f7aa56b6e32d61","746e7afab8f321b5","8fb070b26cad8e8c","3a92525692be8c0a","40746311949be945","b2f041d50556adbe","eec5f8a1287b092c","dcb1d3c98c1c8c60","9bce06553cc1164f","b4da65c019049b2e","c0e646f0c8352181","8480858c89a6eed5","dab0ca52a89d269d","bc2f27d32087dd9a","5cb5d81fb0a8ee1e","9c334872c8322cb1","0eb24d3273642740","fd4ec723ef30dfd8","5d0abf7735e4d38c","a3594a90f69fe537","0c032c944567a64d","fb76731a2064ad65","529f7e707934e514","7b89e1d6b81feb1d","57bd505da426547c","ac5c011465193c4e","6c324b24ca028984","3398dde44269eb08","08f26275ef69e598","818474999b1f4359","06a2c66e1e278b6a","966a83047616987a","dfbbe93ed61d87b2","ac0a600ca52f9c3e","6f6d7d45f826f275","db531fac813c8e66","f739db440f3d79b1","22ef5d09e03d19e0","4d1cd88e584eca79","6bf24cfdfefb1bb7","bb997600e486d015","ddda7783f50a0db4","a26d34138e9e5ac9","f60ae365fb4e2024","81d1299edeeec856","13199e203383201a","4fa1971ba6183d55","a0a58b0b53c68d3d","1b2b173864b5b18f","9d33432184b532c8","3fce7a45dd3670a4","68937215c80c0f7c","2b16e085b48c0440","34f9d3e13a7a926c","23cde9c0dc38671b","fad484a3f123ac37","96513a0fecdf10d8","b9beacf10a894eba","370a85c93a8d561d","fb8a232abeb978b3","96dc3b51e121f1c9","b463c81b1b187246","df0e7a06d243f473","4eb7f83fca4bcb34","06e81a86a3217a48","c6c8fa25720fcc15","79409b5134de7f76","c5b9d91c720d7091","a6900d3b869e3d1e","9ea62fd7b38d5c2a","f26c156abc555775","548e7018cac831bd","de267bb0a5ee01a3","96341058baa9083b","a26b411c2e416297","aca4e6e7d14bc594","e20cf17770949369","66467fdc455dc868","b3091e70cd5211b4","0d1a308fe2b59338","b1746f0094fd6091","a5360e4799f9e170","ff3a40b127910051","e285295f66b2b90f","fbe235d0cb60d161","4fcc72c14eaab8bb","d8ae76a5c0ba5f6a","c54192a41990cf11","4975550378291448","f06ba18faf97032b","7290c49c75ecae94","8e57dece73e9abd4","32d00a16ef133893","d66b347f3bce5f3d","177460bc6cfd066c","ee79788fa0dd99e5","f6a43d93fa9caf56","011799cd3edec2dc","facc68a5ef39eb24","1f491e6a49821d0e","808fb84d912540a7","aff9c7b218c52ff1","d0fa99cc77ef787c","83ba7411866b2702","1df2f73158e97776","23cb7e24572f04c1","82b83f7d81d2ba8f","66ba7737ec70b545","9ff7f0e7a1fb4788","9fc01637c5eca7b2","4b0831a713ce8dc0","bd13245a76f322a9","b1e5a947b2346874","fa5bb014ac36141b","89cc34a307fc8230","e46d811a29ddc59e","a21a4595db80d35a","dd0e8d1d231bdd94","dd58c47d1106a4bf","11ec7020f389b20d","eb509cc252ef4416","cfb8b7f11b653349","04fc27259c1f44bf","d5a5cd657c117207","30432e164675548f","2225245917b7a345","13489fb2d737e51c","7aeeeaf39212aa00","ef8d2d2fb12b659b","e32b80f9df4fe606","aa62981bca11ac74","1309d7af15e1fc3b","4482952c7504d00d","48beece72436149c","ee32a0f1c1e7e347","d1093d7665412d0d","85217d0a7ee82761","23d5a67c28493de7","bd25515e42e5e7c6","25e179d817dc6640","e32d8e7d0147fa21","9c5b207416ce0b67","70bae9fd74cf303e","174d3fd440189377","88f385dcb120d9da","060aa5a9c74c5787","63ae92bf6c0df942","8e1684ab2141ec67","f34a2f252fd409da","582711f64841c886","8870d998a44837b0","35e090f8c7faf406","f067f99223702cbd","6ecfab261b01f9c3","8d39935a442a5f68","33801fcadc63dce7","f668ac218120f382","9ac0d9e950466cdf","b87c542ba9b27bb5","61811e3af05e7627","7fcb14cf0abcfdc7","0a5cddbc797bd399","ef4f8454f3ec4dbe","c3ac6ed333078e5e","8d0c275c95303653","3b891fba4dfecf92","357802005b57cd25","7327ac2371d2c61e","7f3849dc4dede295","4175579ef516b417","9c2e6f0785e3d15e","a6e7cb7d734ff576","45b3204fc96f986e","6129043e9e44e401","ddcfded754ff2589","c72252e63ad47e9c","df73a0138e5eb1a2","678ee1ecfd2bd7b4","8da01c4e7e02c944","12a77bd93e3178cc","cb4e39396408f83a","e0704ac6164d8080","b8a506ad585dedf8","348b03cd790fc39d","7eff7f2e1f0574d0","fe8287ee6989a4af","07aa53e3f9ed5c5e","35473aebb652019e","36b0b5383d7ea0d9","9f1d0534b76da1e7","1f98f11f070b0415","230aac809f1b2cdf","069ed6873270c4ef","b49245576c4f4bc9","372240222a775d4f","59fe73b9b188de07","dfec8109ff57764a","ca4a8a1799332754","66550e9de816eb03","ea77f48c1d222cc2","c0886037ccb4c42f","ab023aa415991c4f","3f6c850249b7b7a4","445a5124b1d3b6ba","f0f9f0281acad3c4","f3c1fc23bc17ce5a","01d014a468d55ce0","d6f83986f164d9d1","2ab7993499d31bbd","b2ead3db76c4ae15","43cbbc293f2e38d6","d1420178d53a10af","d381cd4b08e2f495","4949856273c96f31","ffb38b5da98a825a","6df92a3791727361","61aa3b52edd2cf60","97c80fb2c749b970","da86ee3c4a435b50","24371de5255c7936","c288ba888d38a74d","e8d75052d713d6b0","ed3c5c95136138e9","0ecd4f80d94c7372","cfae06c36dd8db78","3eade78d0878580f","03f6a62f4708e206","97d3eebe58bb5985","a09a4a753b9fc72d","e5cbab5e28c8de7b","b618882d7f713f12","9983a70a0578c4f9","a1919db957b380fa","8ab95bcfe737b310","40e5f9f0e69cbf0c","c1256035b49c2bb1","7f1a014f3a67626b","70caec029fe23f10","787259a3f73535a8","c7da2bc733b697cb","68c3860c9fae5517","758a3d5a8018121f","f5939fa235e4cf9d","b206a6826946f259","9bdd13282dd84b6c","4582084ea33f3138","3104f63ffa2f71d1","8ad2befe24b148fa","266813c772c7eb42","facec84c0d632bcb","299b1f31bde3e4d4","cc33383330ef7115","04cb6aaa8eea0664","d846c551ea80153d","2b40c2df7323e8af","adbb1e631cfad35c","b329ce160f5f733a","a49224cb278e6662","c6eb92860bb829f8","d0fc50917dc16651","1347f6afde2719d6","1c7f22c9875595ea","501e6d96a73a9088","b47fbc4a28ea339b","8affc5ca98fa4897","2818a7a29e3d6043","6d9584c64548ce93","ca7f3971c86b027d","04c8ea40e1416dd8","91ef50a86cf538aa","9565abec6d5582d4","c1f7db9cb66dc783","6a91ccda006a7b1e","a14747cc11f09dca","46aaf1264fcb5bf8","54eb8ae585b6cd20","d817a6ca738c2860","f023a02d1b870d05","91619bc892c2f367","6ef165716dcf6229","bf6076f2668efe23","137c61fc6cd3b296","1bc0dec0b9dddbe2","78e8c4b7b4f9e582","b7b3c2c518c1c818","7157ad0d44c06b58","7fa52a5adb54be1a","d3f8302e1b74a106","85ee94aae40a4436","70520299b0fb1e7e","3320ef3f3756aa11","d203f9e048583564","cc33862cc2bcb9d1","888060d0043ce808","91a4c95f63913e23","c54c02a1bb45d163","bd77a65fc80868ea","02c82f93fc78e071","a5e2d099050bf1a9","18181d0455cede05","26c8f66f641451ac","b851d81e54e34734","ca7bb35596db70a1","4330bd30b21a41d3","54959d8ebb7a6a94","daf5f2bb0df1a76a","748946dc040568fd","439c47602f7560b5","961e963c5556fcc6","a39e9118de882577","e8191cdd969d017a","b9b3c6ff10434440","8381482825528158","4a2c2e932c76f64d","633a1e4957cf12d5","2cf054260d385cc3","c9778546fb264453","de8002c9432cac28","f0366fead862ee6e","9b579ed6e0d51eb9","c857889090f3e22b","18c9f623b0f8f8ba","7e81f275faa02d6b","a0e054509672e997","07cfbb3cf7a1c47a","9141d766151544f5","df19118b2c5130ce","52c2592695ee91c5","8f14ef8b0dec90ca","8b671de83e82e3c7","9ffbd2a425d3da08","2dd3539dc0c9fedf","f6760519bfacb95c","3b8f7825e86ca38f","d5ee121954c3165a","c76838030c694a7c","595a0330e482cd83","716d0d31801c55a2","0c7538718c2f2176","da52d77e97c46855","6614feac3aab5d48","0c68f6b037bb2c3f","94c509df2eefb756","4eec716927c54696","f5c2ab1d8a9d4f05","b4ab5729d8b915e3","b776ddbdb4b51028","a0599f25333072be","edfa688e83ba01ec","5e7190592d427d58","17d862b7c87a0c81","395101accdb746b0","49c51b54dbc8de4b","115d9ecf61c636e1","313791fb98411c32","6b94df736e3aae95","995fad47e619c553","ca10c66c7eb38d3a","de6adbd1a6a76e71","587efc609fd34f60","d0b465b95bb896ba","a12c8ea8c9ebce6e","465fd39cc57093ae","57c40fb9509f24f8","235c64c84c410ada","4eeff21a82a74216","cd0939042b525b67","a405297eaa582a12","27df9eeb4c4be0d9","4dfeb1671f086cf5","60e5aff00573dfee","4934e4e9bbbcf276","bd61789259c6755d","ab198f30438066cf","6167d3ab75e9020c","63ccb5cc65d41db0","b690e7b1952e6dbd","4a66fcf836959d2c","17477da0ab771aec","5184a5c010f3a471","a9fa8c0a0f9cc6c5","8a0b4fb72d78f2f6","595aaa04ece20f2b","72e91a01a0069d6d","dcad275631537041","e43044b50e8b545e","8200e47f3ac4a54c","bb470048978f0a5f","b89d73b977e671ac","5e96b8f5b93353a1","388c30abbe7958c4","f2e1359ef2aba23d","5f1b59b7430d9182","bb978f84aed3c56e","3d511a9b258bcb98","5b532049057ce244","40ab635d1b1ec345","6dbebb8a91c9165b","9c89f8ad918445b3","13a43ea0c63dc053","3dc23c43051c7f58","6ec6e8722ecb1ea8","8707ef443b2b75e6","366f7377fd513760","8e7510f792d7e993","c779c6dbb176753a","352a3a95ae907bb2","5cdbb02a7e351e0f","33f69aa26f1e209a","db79ea3229eaecba","e1728c824c18c918","2095d2a63909780c","46c8e45a70c3cba8","5d76905ae805599d","743adc10689eacac","1d68f0724b54ae79","4d69e994afd7044f","b9b9b74030d6b940","c50944ca0208faa9","59a05142f5ec6a47","d3bb44844809bc3a","cbbeb017488b22b2","6824a9460e4d8c9f","cde37a984b02d94f","27d5cfe560a97c94","0bd4017b28560194","1ee8ceb3125ebd76","3eb59215b6fb19e2","ebdbee7baef678a6","3738b065c50a0cac","1d8f71c67df6cec9","341bc94dee8e9f96","247945a0f503ac90","92d0d0a5798c06cf","62dd3e8d6c87a0f9","82908fcfdf7f599a","a6b8c9c223ea5942","af1f37a02c4c1955","d129c40c48c09bac","3226e1c699eaca3d","2128f35825dde7a6","86669a240762d83c","68455293ad284dd5","73bb43528b419bc3","e896de3485f98861","1ba6fff915be6924","ebe6d2bcd36db17e","502a76366d0afa9f","63c129e57bd851a1","7730cebb6d30dd0f","295541fe39be68c8","c52016c969292c72","9dff5591c0dc819e","425bce213a925d73","c839570ef7a78a9f","04c6c66a49433012","4c23495713170d6d","b21a4e42ed9c41ea","f4205715cfb82d3e","98015f2feffa655e","18c15e43576295d6","fb886b6e3cc21020","200dd435b42e8ec3","5ecc13865846db0e","46d4dc918d902684","76e3b03e619c3fbc","bec54e9477e4bd61","c69d13cea7af53c5","08e5a3df0b2c2c95","f4a990fd68343eba","63b29df0baadb63e","3b8391f25d2d2849","cdd076b6b818d38f","fbf0d71664d419d7","7dd6e99d1c259084","39e9e59dd42094bb","023a78297e355b65","b8e2db56d1fe5f75","b4066829ee5f163b","2ed2bc7ce44d3649","4ad7402573722786","93d12516213391e9","87bee795cb96b8ec","aa01a391bf2e3f28","fe51c69eebe4478d","4eae669ccbda7532","f91e7a1c2c512a0e","c73c3b488741b764","85c0a8032c692a9a","c8d1b777a117ee56","be2acafce4c2c74d","11a6de1c96795b4d","e60cbfea876d91e7","d4252f4120129d32","55db3023ac9ae3c1","a411175648a9f14e","1052950934d566bf","99fe787fc1aa2efe","a54905c20392b984","cd58e411fe4d34cd","61651b0ee41123b7","7c230d4cdca2bfea","4e3f5c09468d189b","4408e79a921abde7","9405d14c97dba7e5","61e245f74e07b10d","e3c4ae3ddd50eec2","011ade793e7bc445","fe303e4021a5b4be","038b2def0f9a28ae","2a9e3b488590c435","fa538e7bec527b6f","51b51889079ebf6c","ddd2fdbcdb9c86c1","584d6b722534c912","8aac22b29281bbb2","f0caf0d00683cab6","2ea0e31ea4bcc4e0","5075e1b00bd279ed","ed78d57addcfaed4","48d093a809c863d7","f71143d4a1e865c3","8608637b5a26bca7","5e888e23163ac3bf","6943689df4884df3","7634941bff66a6dd","af1d46d32e7d572e","1717b4b42c3de1df","28b4c85488f128d5","bffe192d318c5b7b","4a0ee4c3c569cf57","bc238f831322f260","5c02d7293ada883c","873fffb1d263db71","8156394d9b7d6e42","1ce065ee95e4bc96","da2926c9f2b6bf96","30827d65144b688f","c578d346dcc9f38e","6c341edbdc85864c","05632f2f980cdf7b","9ef2d8276441403e","0fb952b271143df6","99ba27f17405021f","7efac7e387d141ec","ba235aab7dfb1657","cfe63595d3b8995f","876b1f20d9cf3e10","8148c9d62d0a05ab","f202d1365abe395c","9d79f271f0274c74","ed0961c2ec67452b","8fa6a7c7df79344c","d5788e29f1e344be","efec7c8362bd6496","2c35832edfa0d2fc","1a5051a42ca6c504","bc4daaee49052e86","786bfd43841bb244","f721ca03be8ff260","f2a95a5b30167059","5d1d77696340830c","983cd159a0b40113","37d6df803145f6b3","0f9815dd4369b44e","dedd7481c1232f2b","221ee97bfed13f5d","f8b304d5bd41013d","ced32d247bfe4ecd","37b01079e497bc64","a4813736579f6a19","54880878ed729b66","aa72fc0611d255ca","1af45cb185475ea3","2aca27cd78517955","78056d2e854d07b8","8919c8979775e43c","bbfde2c30bb24f53","2efdb634d6eff450","d1e219d53c99be45","17db5a87405dc4cb","8f81968d65ec739b","c63d0c615d60abc8","68aeddd9bd26aa5b","16f4d5aef15c6bdd","08048d875b38ceb8","d5cdd8f60040d125","1d16f018c9c5ace2","a76580bfbb24a34e","e314d68876ac9938","192d06a39b1a1f66","517ffa31c1e561c3","8296521e661aabf6","b45f1179a641d133","3df393955c61492b","7a47df709c00596e","42747e8a5076b140","0b2db761754711da","645a5c37a7442a3a","ba1b2e019bac57a0","6b69eabc1b4262e7","ea470f779e4827f9","b1329a14210f3a69","2c5ef02ab2fd4b04","6f09c4d0fd650430","735d536496e9ddda","fcb1ab6455b06283","2242e0f8f199a633","476acc2dcd7993ae","9c8f46ffc099ab23","7f10b42898985d21","4433605232813be4","626fbd5643a10cad","d05a833bc0944694","6bc13c7cf7683462","de60b0422ab7f7a1","d59e71f32dca20fe","9a4b65c56551cc5a","196a9e3b2963d54d","13df18e469dd5933","2ed136ebd92695c1","403ed8a53ec05449","487c23a4a5a0bdc3","61ad71f1a6e26708","6e5199207c64c314","747be65a91f87907","9ab1093bbdb724bd","1630d20b18ae1ca5","da2aec8e2b2edecf","6e55943b9d5ef0ee","01722dc818a6feda","0df2f6e07a121689","c58419a94fdc0937","ac9c9b4e7caf4c7c","40de83c24a607884","291134c3ae70e68a","72a29139af6e48a9","97176af7973174dd","e31b48fc04ade3f3","3dc94638f08bfde6","f5d43b55f6998570","5616c2ce5c283bbd","14040e777a789a38","f1de6feff23055f5","5b23a7e32b5b478a","8d88dcb327d3404d","efcf7b575d53e6c0","0b957131451db9ef","f8309e72971c027c","1f263044e8a9dd75","17e9b81d88b1604a","da360449dd96785f","09dc99fbf771a617","07107ca09790b060","c9eb3c5aa51745b0","968b644498d1743a","6469fe2f046f5112","4d37e0a09b4ce70b","f064e16a50e5d575","f6323a0b9073240d","20d7953a9ead353a","60efdc17c7f5ad29","808db065967c9e6d","babc2bc27fa9f0e2","5b5a2f2cb0f13d57","28812ef076d967f4","7f0910ae6f903617","85890de261cf2a1f","ac912f36def02119","ffb6d8f6427b4d52","7a46605f38735c66","b9f3d00e902f65a2","1acc4b7b4c392c1f","59e31b73c4ea2253","5e6d3072053bc3d4","61f1ad5814d37ec9","685a0ab8aaa24747","260725a140f7cb61","62d9811cb83cb6dd","44266579fe2f82fd","0acceaea33c8972d","4a4b8dcde9348a97","7f8e16b6edfac5e4","8d4b985ec87645f6","5aa8eef8bc4e35d7","3520d6c943a27bd7","e928798f23941942","060ca3dab7e4b080","51101010f440af18","72120a886fd31b2a","e4d7334aa6d35ebe","16c8ef5f39faedc8","2864163617b6dd6c","56ceab158d68c63a","dba1fa5fbd2cfd9e","fdd481dbe4894850","e8f8bee92fde2e82","7630626c6be5570e","2178ab91615ab3c6","c1a9521d5c2df984","6933d070cb7edf0e","eb1d0f0e28c325e8","c46541e909051c68","39365494a23248b2","6f451f4ebeed8e97","ccb41a43aef262a4","d6d9f791250c41bb","3d8e4b20d731f744","e124ac3152daad4a","ecc903c459815c83","670aae3ad8057633","6668f87e92327f92","5e387209f4a1be63","faf3920e9b3b1478","437fa0c2d577fbc9","eb425da6f1b7889e","c0d50a1fb8d0f1e5","d063a1bacde5130a","4864c9af19e177c3","8fa6109ac6223210","1083f4f54bc42f5e","f037e2fb157a8b25","be43246d75af3c79","533fd9d852fab1e6","ee1c1f01b4ee6a18","5d3b655e7f244210","dc9f6147e95dfe12","f1d9b13e80b9da4c","a9620e892125509b","ea3596dc48c3ec0e","57a237179c63497b","21f3480ffd65a848","1e34caf8d58ccede","05f393bfd0e3e70a","25c52cd2a239764e","69a1e24e9ac476ce","de65664d8796084b","5d3cdc5678dffea3","f2cf9e463da48932","24c526789337c352","8501411864bb36f8","be619ebc2c7d2666","cb192f56408a8ff3","3e3adc36a85dd1b9","2e0345c8f0d03772","9b620936fdda027e","b969e76be824791f","fc06f906d9f837a5","fb4beab75b638852","901ab24afa4f1b8d","9c0306707722883d","1f168564661be280","e1ee7e8589f52914","62ac2376970d879c","65bebbc369c0e232","3feb59f890b63a71","daa2c7d2ba201c95","ea3455f4e7282a62","a471c698f7538a54","83efec5c7865bc6b","e7f86112802a7c6b","831eab530fc4d597","817e42ff3aa821fb","bbe172322c90608b","0e5ef46feda30def","2aa8a5b390abc180","14430fee4fec0da3","530387d722f39ba5","7f1f580cf68e57e1","ea50a440c88f8aea","67a277f90d7a0e1c","adc82daca86caf28","4d54bedff8837fa5","023fda95b7f38dac","c06288dac4891fd8","9c9fde57b61d7940","60cb67857c3df377","954579d4fb332d8c","7bd9fbd39d993b3b","0786bffad6b8fdf7","fe5ebdb4fc80af70","15b6568b0518c820","80cfcd4556e438dd","b1f1dbc3704216fb","69355695eba968c3","c626b38e996a84be","bf4f0e66f58b0244","f9c15b253d5cfe9e","eef5c76e1a875345","d2aa3c73e026ad21","dd21d8fe1aeb07cd","7adfd54792d5665e","10b0969f29554010","b9b4c51137ad7ec6","b3938cce2f3a2aa8","8bef1efda4bc84f8","56fb5ba6a12f4ee3","e655ef48edc2aab7","f9b35a7af604e2f4","0a5c4cda57c3d977","b8b499b9d37701f8","2d2e2407d8284f10","aac29449049140d7","9db6049a029acb14","8ba30d16ad4c4e3d","b57d452ff1e8d06f","6bba536727ceb249","e1b3491d3edd75e0","1a18fcff73447981","51014181b4cbf1c9","62b15123b62762ae","a6e7e3de32ef63ca","ffaca9844c8ed35d","cbbf8c62de0a42bf","30497b91559e19be","44f0ce21a685646d","1366f3887e6de0cb","8231cb6e85943b7c","55cbb5ab30240ed6","3b2c87205ae7f992","bac2afafe6b36787","e4e7631c6fab2404","73a344f5aa76de1a","0cb8b001d26ab0f6","75754d6ac1aaec7b","249fef17f8771773","6535229c2dd376c9","d71667633c63d82c","fb111aaebf0f258e","446a0cefda006859","71c9fb8b232fe499","11c222e5ea163fdc","bffa617af6ce8c3d","50c950cddc1506ed","afa470c057243812","d112ec082c65d477","73c07a0bc5e5429b","57e31f09110f90bb","d36d0a56d64ac67f","47b11bbf1d3e7fcc","86f02da7eff1e3ba","5343778df9e41f37","fe6a5c2e3e4416b3","7af8e11321061713","57fe55dd66ce7430","f3671fca25729acb","5bbf3534937cb6fd","4f63773f3c770aa4","89f1bff02808524b","5b890ebe6c97c558","e5f05d2e50ad94c2","abd3bb3b24dd961a","87e913d97ffb7a61","df6a69e3a774eebc","4a684de1f0119272","e01b2ed76f5813e5","a66c6d1f8e271921","8f6b9cabcee961b9","e4b27a57cc6c68b2","c961c347fd2d14b5","0eb598bfeb13128a","6d91296005a60d65","340d0829b2817429","fc80a58fdafa773a","5de8989847f9f971","f2a5668521a88557","343850ed88d34457","fdbf3fd639e2816d","8fe237c19ff04689","ef3d95058c83d22a","73d4e0dc30041c36","92d08f37b5ebd992","928a16e58e1d2df1","d2c146eec286df08","f6b9b81c233ba8d7","21d4d7a5a388de06","c0355b3c98fed255","0e7d2769799909af","49c88081983abecf","981daf7e528f93a4","ba866ee153e8e14f","5e1f61b100dc5e9f","5298351c16bc5872","b5c60f5b6f67d36f","f4b27d3a31761870","9303aa5b0ee47dcf","dc7d7c5316cfb32d","ecfa439ba7a35d03","03c130f6c64d6cde","7313123929b92e4c","fdab2741acb61ed1","dd1f42d36043f351","69564d0c8dc942c7","5bfc0d7121ebfd77","823b0b2460f6ef95","c28cd86afb368a68","1423657927f0381b","88c0a82bdddf789a","dd23d0e2ece16df7","316ed209c87c228e","35ddaf63494d655b","e5af41b779d62608","94517b52fbc7c222","90e4840756b8a410","8c27c7e68eca1a64","6697649d1c9b6c0e","5ec32bd48911e852","7dc93121ae6674e5","534311e383278b30","d69deeaa7e9d8299","cf9ce352e1e22189","51ac68fb3896f3c5","03eee1773e4b2310","e8ce95675101e8af","c991e97927420e81","d59ba3289c9140f5","294f1ce97f6089bd","01e78849a643e8a5","2f22451fdc194049","b03d810847d86c13","930ec55bdd15ae80","c98c8e1dd186a9e6","a6c40e0c7109ccfc","9ac1e60d77200847","72129b12981918d3","d14d8323f4b64b21","bd19832c18d23672","9d1cc9c17c4a70de","c8bc6bc3f69bd415","da845243f83992e3","e73144651291e1f3","e1cfda2f4b7b203d","15ae149127236493","7f180cad8bf1f211","a99440b2cd2f03bf","11628a7a4db100fe","30946c7743bfbcc8","0e7de263432880b9","7d4b7dd3f0f26094","5f97554e959fb27f","91714762765d1df4","f7c53c245cb82dbb","2b9f5994b30122d2","882c784fa50c695e","cccf7ae8e3728235","dc85e9205b9bc40a","558e2007055f9c38","3be41a89fb1c71f4","cdf962c271de3805","87eb4084ab2b6c4f","4e3c3057b42e2a2a","ce4d1a4c8f39d6ad","55aa1e8e4e61d51f","d9a8d6a331678098","56a01bb3a1823ca6","0c7e8c2914e9141c","7c990a9e25fd7abf","2eab37ce4e1d38c7","5c38dd887299ff9c","d0658792bccca939","a4572ddd98280be9","de28e8e397badc0d","cb4b8e74cf76ad20","1493b3ec590211ef","56268dd3950d582f","5b419a28f8338f2f","9af7b9c56907a138","592fa749c393ef14","f3cdc22dc1a6145b","5c4f2123036c754e","19134c8dcb4e84fd","e34fb98383954858","addd40dc7fbf27c9","5bea21ea2f447a5b","ac45d4c7f6f1a547","d0e2d7ea7c84203e","3a5d788b6c9b1490","b203a4b79c347218","af344ccaf295edf7","2e3fc4b6e967c768","db0cf67f4aecddf5","e485f554c91b63f6","647f561f3855b795","5bec85a040561e90","758726f2b1f2072d","0c86ad51105737f4","8d4968b4487ece04","6917e9365bf15cf3","3433733d6b9a8736","887cdd3998bb0a7b","05436cd3824bb9cc","c7adcee301e53907","ecba03e31652a0a8","0deb3214b824aa2f","b1720ba6a2ac3c26","c218bc6590a159a3","ccba35f51ea02cde","8c325fb9f9eedcc8","68df08774aae3089","5cce3ddc85ae4b7f","52e58ab14c13701d","ba7a5c79cd8542ce","cf344cfc63c703eb","7102b05e3a7f621d","ae85504297599271","d3b50627581cb177","f0ed6e5d36cbe523","c05215ab11c67472","ff67e3a2734a57e6","cc7f40c27b45b5f8","13a2d7fb2604e394","dcb86b8e023a9ff4","e5af9cdb8ad1782f","a04df5d6f5a664c9","aecf9a82cca1010b","8662a6d8d5df3801","bd2e646697352643","8553e21d99113958","649b628a9a4b5a76","c460eff7ee934acc","7f55efeecc6ec73e","a7443028dc8c4bcd","2177d6f5082386d2","8582c1a640e03d41","9932a3c5f71ec579","224c5d499abe0df3","b7cba9eee3f6e94e","2acf6f79f1b77e0f","258cd89a7735d78b","0ff6626531ef6198","a3f3004529ef18a2","d4c2cc2a91f5b2b9","e8d7f19acb5063f9","62950c83974ee5b3","c589887266c69450","b681fea6485e08de","372ede1593292145","6ff24a7e230722a8","b11dbfb8e7b04adc","c712b913351f15c2","1d7fdb59cd34b66c","bfa0e5df451fe2e9","cbd683a854a44b2e","b50546f63ce1639b","e0507a6e8e927e19","085b08d355309601","39408c8ef2fd9677","15d5032c9ec85d29","8e650ebd7375f518","86ab0804781ac276","9607eb8becc34592","b1d4a2a532f6cb19","e7fabccd7044ccb6","e66b05819afe5f9b","cf36484da72c0614","3e575131b157d58c","591d9584f2826895","ae506fba4bac5e81","9112bb2a8dc47460","b5afd4eb06f899a1","adb22cd4e76fd9eb","76323f6b74b3cf6e","a0264b96576e8fc6","42e6573c9c69f200","dbec9d8eafc144f8","308b8672ef449d0c","46e028f30bd1e4df","c6ac70f99bf92330","1de41c5ebf6163d6","60cbbe86ef1ca6c8","10fd8311c39ec414","fea797bca6360e73","3d380600a548966c","140844d72684e5fd","a3768ce65939db54","23929da1a8dc3ab1","1c774f316a83189f","0c26626f4e3adf41","5395e3432fb6a03a","7c482f95d5acd377","3be3338a465d07b4","73fc98b86fa09bd4","e463ecf298cb67dd","5a9bc4ec16bbbbdd","2c10659ba7fe0d2e","043c1679f6189be4","eba5563db4b6c071","e5a2a2539df70a6a","7ac6d616ebb5757c","e4bf0709d1045f3a","17e5368c34dd3491","7f8d43438348795d","1043788b4cd33ebf","643d93be5812d978","10eef034696319a1","70e4f4553c942c61","400c9b7813cf6d51","f675d1dd4067f84b","b1bb3606daf5a8eb","87c78a11cf031035","ee02a80588e4865e","939a9569896f434a","075ac2c97dc15b14","9b1c118db9a99b9e","148252a55589c509","b67ff7c8de31abd1","7757f127c3b4cace","be08cc3353798b38","7302166d0d52c751","be5d5fbef097ff89","b7808f0d1452b125","d3a356b2b25b55cc","23f8be1e8c0ed116","dbc00f1ad95d7531","e1768552a28f6516","c749dbb3c75164bd","486eab6cd67669f4","cd60eff79722f6a8","eddef41fac28be72","284f816c5e8bbfec","ed43589ee9e39cd5","5def5c4c2f2f242a","f6aaeec4c6fdfabe","522b6c161afcb47e","502e6e4ee5518983","a68c83cf64464a78","9a09e268a979f777","9971e6ae76308194","254c6a165d02d73c","ad774d4c0392a7fd","27bee2c35bd62e53","8db58c6858a53e3b","6411bcf28b7ffa6f","fcb805254a062bbc","24fe1694a71b23a0","b28e23d2535310a5","f04f1b08715e2da9","21e0a26a69851550","eff9d80049182cee","c48efb433e1bac8b","f21a1bff030f3d3d","6957810565336218","d82d93f92871f901","606f3caa9058900f","4e6003732b266fe2","68c4344a4704c54f","116de42631d4b17a","f138e16b633d9429","2690f4e06626ebda","177aee50c214945c","ca620b08c9922bd0","8d6827df412a4059","b6c03b0d5a9952c9","9a20f95447f8ddfd","d4f555ae99a41fee","48ee82efe7b41570","290e5853a51cb170","e15462f85288d3c0","66835e34ae95f3f0","9ee5e12567650c9d","3b74b2448cdb18a9","b2e5e7af716d4ec6","aa39991b7847c574","1dd86a8b8b446749","3ec4a86ec9ec37f6","ef424db05e8a1103","1c55a9cf641c38ba","4ed33d50e1b4ebc9","656d1866a8ae8cf8","9e4bfee0db3051d4","1be6ca3c2b8615a2","06976c9133796ab8","9043871af737eb1a","b6323e1460f6f50c","dc4343f890e4a3e1","57e1a96c1bf54302","cd4ebdd2c6d86368","dfb1c71d12e96d7e","01e05de4b3ca9c5f","f4795bfce2a04229","1e12a54af3ef13b7","88b32f9b417c1d89","fd4ef897d9752a3c","24e20be30ebc92aa","8a52378a44bf7f3b","9615af109f15be41","59c93aa71ad35d29","6c94f5bf30aea70d","8fb6a9d9412b2bec","88b22e34de3b524d","d05c1a4eee3f01e4","e46801b96418c26a","d7aff9d041ae7444","a81fa955d6562f5f","5cc6b20c6df480dd","689bb472e2d91059","20c75ef7e51d5b8e","e0045ca80f8e03c1","0a90a652239db393","3fddcb78e40b1d2b","778d16bd84481a10","93a7acc4ebb52d85","c0b755705bfe5f7c","68ac80a46640bc8a","4f1473471bbae45e","8585e6f3431e8d42","83438124d9dced41","035559e237d36f74","24f76309a6dfe14a","6bd965a44bd48431","4adc84859872765c","78f2cb047057edc0","ef4532a3ebf0b36e","967fea7a3b32f198","50c35b8d464c83cd","d1904515488ddaf4","725065af055abe45","fb170cb858137be7","b74b0ea99d56eb7e","ea0406109e5de115","03b02d165b1d7e28","153555b528c18e18","263b6e6e05263288","b60115a1fd023b76","c2aa1840a5deddbf","62c1bb0cb832960f","8aa78c963092f63a","16094297767ce839","a2a26d3c15589044","fcaaaca3a27426b7","69fc7c7c14fa81f3","ec99f621f7253cd7","023b97f731941ec8","d83b592e2491dcb6","e44987d599f2b366","b6d352f0739c9c5d","e01a8d98754f1f85","3918bb15caaf1ec5","4a56f9148bd23d8e","fc6afa9a094180d3","c1d200de7bed7d83","44d4e7ddd6c2f416","20c48f73de388537","1f143110084f2d12","c95545cb575e900a","a521b0c77c8e1b96","057bd2913e07a3dc","588f7e8cf7861975","feae7dc17ccbe84b","40fb52f0b9b6d6f8","5943f812794763bb","280a3b24aff09fd6","13bb4993d29c190f","4fac1159c7fb1196","238894bac5405d86","44795f19725dfb16","2b909499790cab01","73cb2cee63b22726","eeab0942d3417e79","23dabc507247dfc0","992ae204a4e2dac4","32acac8443b52345","b9f8b477c288e0f0","ecd8bf936f027cdc","c60c3603ff04bca1","5cc27b9e016bbe1b","fea7dd1138155750","ce300a4fa3da028b","5c3172390ae5eefb","898d54359ae10f09","4ca2710a68ee8cf7","b0e2b38384530493","adf79dcb4ba8b960","25fcf6d56ac6dc3a","308199e1755f6e79","18e8c1312e9832c1","2109f9c2efef71b7","d37f5597502da265","cecdc0524ebf11ca","c22c3490c00ce12b","3cb202072fae30ca","ea377511bda2edc5","8bb2921d3035f78f","d28afb23b014c0d3","2b7c57be9b721cd6","8baf81aaecbe3ab0","f64316cbc425c3fb","27ccfea85f2033da","529b8f85ea492b9a","154312b0a80ad157","3e26b34cc3ab9745","a8c19f86a71e21fe","8bc96e353c45fe20","458c9a22f37b6191","314561e371cc1d33","d261fda32fe95984","37a5b70ff95bdfaa","a236904666d238af","9ff63582ab95f6c6","e5e35f07fafcaa5b","5a9f17c8e8298b92","b8e3afedf42e1ec0","cd511cc2255f17b9","613dd73590f50433","150f3acd97d50753","8db09f7819d2fc6d","daab9b7b09d11bac","775c66f414eb199a","d19c82d1654a04ca","8db4331ffeff0ab1","2eb4bd8b2ab468ef","6a027347453d83c3","342b305e6299276c","5827a4b8ae9ce58a","e55be2c582d3618f","a58b09ccb8f97924","28ae56ce57b30c92","c99676ea32c261f1","5383281dc0065107","7c1941c9ed1317fd","69c1098076e822f6","edf6d818fc24d922","c7fb4cc0446dbf74","daf44778ff19113d","1a58eab278d161f3","95b83d4f7b2e36d6","6888bb4727921ff4","aa0d0e7c55d0ca77","0cdf527eea858d38","fa60e7b17b73d75a","38113221fd7ac74f","e62675c777ab078d","816e8f38b155770a","5e69f8525379ec0c","20fe207df07074ca","e0a3e77a2e5cc677","96f6b4a768453df2","686debd2a5597828","e9015b7aad0145df","e53a56f681d4ca9e","b7fbf4650b5dac3a","b4c42dd5263f05c2","0467047fa991d42e","7dc1c5c9ba185887","3bd22b1740d9d8b2","43e68c058a7661d6","b3f5b970a9b03119","53e61734d5875604","f9ae231f709aa135","50bc182c3569008c","3ea1bb4e5ff3e53a","bf71f08c103ab9bf","b8ed61d35607d163","4c93ed77e680ad7a","f1cc0ee7d294d743","6899ef31a931df1c","a2ed4c3380f63344","d66a556c8804aa96","5a3cf6eb82112299","3fbe41cfcb30b29f","8a877a1f0ad96a9f","86bf6614eaaed4fb","417fbb2eb3a923ed","c17dc35aca46f82c","92f84c3ac249f995","e5267eaa5761e821","309706fa0b759907","367ddcc943fb234e","b3e71ec6ef25bab1","ef2769915480b0f6","4bea82d34bf79d91","a4dbfc219ae2dcd8","9cab1d58af793873","174edf5e342c527e","c7121847509f1d08","989b7d7ecba85616","1fc6514464e22856","ede7f68b56764350","a80b7e58e8b264f6","0e12a116cd5a645e","3902e4b05ebbbfaf","18531ed9a7d1af80","204d9ba1193ba811","ef9a2b91b42284b7","d5a2226e7f24deda","fc6548d30b49e4d0","c72c85a05c057eb6","5f5234be5bf42b3a","8a6f97848d7b1a2c","63f153f048b1295f","130d6f3ddbbffdae","2923cfe0def7c0ad","2723a51ead34599a","f1f8c53efd3838a8","a1ac1aa658d58387","ecf7b9d277d80279","7475623aa0893639","626e1746ced16a4c","c90a6ddfd223af79","22b72e8520c12a40","ed28b9fa5c455f0c","511350d9f34ce767","7aaae6f81accc54b","20845c677b589935","acfd5fff279e15de","674dd33239c8c3e7","d2846ad9c776708a","4f9d174388a77ea5","f77679312512233c","f5f89b6efb421399","5673ce2c9088f475","f718cac6e7ec06c5","79fe08848f124125","a87c14e04ed75544","61ed7b677cad542e","af46ed6d30e60e05","7f2dd140d1c88cb9","dad6bb6b40fef41e","a65aa958e432f9a5","0691d9a37686f464","3c6ee783748b235e","761cb37547fe4dc2","a033c6dbdefb80f9","1d6b2ca73ae11560","befe8bfd3d3446cc","2936573edcac41e4","661f755eabe3c32b","45ec5e8001fad3fa","9c9162236e4b23a6","ce9aca3509c7c320","42cb1c19195b7aaf","6495af71a7195bb4","bf793e9865c9e834","5f4fe9067e1fd9a0","05b5a24c1547eb9a","b4a9884f6b553123","5ab53f45b766d97b","86f604b24a73308c","25609df681da5c1b","d2194c4dad790ec4","12697008ac3ea99d","97087ce25aae4515","4edb12baad4c5bd0","58e1c9e33b0a90f3","af81b0a41bcf99df","6d6224968ba7c5d9","c6f86ceb44d413ed","227b59bd71d4ea5a","0667b13392452757","b4bde00bbca1c9c3","1c698f378d20c0c8","4468e5d7d722f524","b2720f096a0b488e","d0e8c2ef168e690c","f87851f6472299ee","e9d47e8d56320c0f","e1468bd07f7833d2","fd32c9160864393c","e92aecb14578b6f2","8511a4bc957115d4","08e432ec0eeec199","04ae900e7a8e5ac8","248ab1ebea76ecae","95a3aef8bfc333e1","d5b35dbd65c8c2b9","3cecd7c4f79dd7fe","6b79b66429521305","7b3f1aaec004ecfa","c7e91ffdb1fe5a2e","99abe6ab320bf6f1","5e8e9f03c92c72bf","cec940e246132dd8","bc3f1c8b796e6e94","55458de5ef49bb91","f098e88f376a791b","c3a2ed381aba6a33","3fecb11ba25e2884","b129a76c891d0014","280b16759c50ec5d","48fe1d10a3a37a85","22b8700637e578f9","557d6369a161cd69","2ac79808a71cacb1","191e72ca8d7deecf","4f140e0b7bb038a6","68a06a849669ed22","3add54b2949c23ec","5f3f7c722ac856e1","60368ba60dfa48a3","6d778528ac85f061","2416eed2ad7fb675","cae48203992d0c58","d01299e89f601944","c9b6f8136ca0bd79","fa4bf780a0f34822","2839b9ab42bf552c","428c4887aeb1b8bf","2c47c873b0dfeb59","eba701577392c37d","f0f16786525d1859","246e55d292fe0f91","c863abef8c3dded1","caf4791638c6f452","1b1ed5db08fa516f","ea7482edacd656f7","4a96348eb648c97c","f9014dd138d70756","4ed4b78dc034a6c9","a95a9af12bbd3646","3ea01cdef09d498b","912811332f1921eb","27111821405d5644","0fa65bab1ee8568a","7280c7be1481cd40","7de1422ef0247bba","ac514b49b2018467","639c01a19ae1a820","283d461116d4ddad","689e466df8f8c5c5","197667ca4e9cdc54","3bb2a286f77067a9","3996f05011c215e4","c81bc2696963b090","24db240be39b9a2a","e804fb2bad48ce0d","89d8b374ec0c8d64","cdf2ad725fe8ba54","7e8e1ce7414fbc36","38b3477f104b9d36","bc14b0716cd43585","9f05d32a15544b29","465d409da29c386d","a3a4cb31ebdbb809","f31fb49f04148c64","a0e5fc984e2031a8","8e95a2345189876d","6a476a7e62631884","e163c6ad2e2227d2","b7a0e4825f15e4a2","d84590265fa8da9a","5dd5e52ffb38148e","1d70860e3f2cb386","0217c5132e551168","c3d1a81ac0746df1","ad569b0b9d7deb89","1ebdf2bf88a5d99c","41ab086b1bafeb41","7d41bae2b6bb3e6a","0bac1457f2c3c913","fbcc441952a7c9da","4f0a78c09e88ac52","825e71c37d3c674a","b2a2d9d670500881","142c5e63a5897acb","17e00a50bca8a511","cfe03bc0196989f5","80c3ce3d49bd331a","3bc4111acd19c69a","55f064781c895892","ffe2a77ad5394471","44e6838e903b3566","90d065528adcfb62","c6dfc590e40a4878","b184b34450d43367","b70f40f78b57a9e9","276edc393b2b8718","9d9a9a166ac14a87","fb5636e8659a3798","f6a8e56f95d2e83f","188c450232762d9f","28383999950bc1ee","ab5070d8e2289db3","0b3ada9a154f8404","2a102caad43b93f6","47c0bf4047a645fd","82e320bbcec01dec","8ffac054b06e408a","47b82a6a458a6f25","3744b28f43a5bb2b","65e427add3ad7d5c","65d2993302d9e21b","999a7018d46ffc73","aa91636fd91822cd","8b02b507d6467dcb","510ee05b3d6497d4","7cdf67aea069fe46","699ec99e677c7dc7","3272b2668f830af9","0f1d5657502571bf","3d01f404ce8e4f2e","c8c8e81ef5a7a779","25c121f68955e797","815d0596d6b03dba","3cfbbbdec94a469c","12443294ea11d3c1","91b94a9d896e7e78","b525d95cb47e05e7","bb111dd74584e31e","d23964f1034cc332","2bf944e313216712","8ba2fb2ae10d5f8a","3c125c12aed493a6","0556201671b0285e","fa99b8b44e92f9be","8b94e3c61d1c7e5d","eeae2c986dcc4fd5","1b2fe53f9f4527dc","e3241702c334a377","6eac671a3b5398ca","8e7e9d97a6c879c9","aeac844b38d85fc6","764bf2a2badb8940","ff242d9ca428610e","1191a4f0f73ac0a2","8cfe805309e7f14b","a53d417127982757","f8cca546e04eb48f","78919c58e908a11f","1debe93af15df2b3","3e0c8f89c9ad2c59","190cd8656368dea1","c98bc4cd21e70d26","8796089a19e22fe4","41178c35c209aac0","9251d2904afbdbde","b5e1b5781b6067d7","b8af5e3061c3fd5a","2c43537a0cf9e307","5bc2441e8a6e0e82","24163d2ac0806a9e","395a54a40d57ff29","6c04bba89bc4d93f","ef1a0dcd39c2ebfa","75b4cef66ff5b569","a1fecc9bf61cbecc","7a5403df0db1a125","b308c52fad5e3003","31e66543c855840b","9fe066202aa296f9","82643125d8e7bae9","4155536a5f1ff708","a3c2ced4e60f6aff","68ac0321fc403487","4c31f8c823796b9d","1fde23683c7ff5d8","97b05bc746ae98eb","8422a13fa9dcca51","80ccf2e84836c3b9","2da226787a8deb51","52be14f6c954aaec","b456712facdb8f99","9eec2a58eea2f794","f7f44b26d3494661","60ec289316037465","438956ec28a1644e","e9be7bc2cece9e6b","4ad7e0736cb2f3e1","3dacfc613c2d6949","159905f89f658c3d","37342614a8bd3e6c","36b6ced1758a043b","55023cb2a00a038e","65f301cc578576a3","a0f6a91598012b9a","47f442e7e5c89435","962301d657a74408","eb891ec4b0a07cfe","3a821e7da32a3561","cf55e9963f617d17","0109e7088ec7040c","fb14e8329c2c77c8","628630966e299dce","57516cd75e235df7","a4d7386dea5c2987","0aa9ffb8eb4cd831","fc59359ff0fc3578","5d01b01dda282884","95dbd0806f6e50e3","65ba5d4db252f373","8c26987fb7503da4","b4ade4e43f7f5619","1c5b37e443ea3a54","d66db8193ecbf5f3","11459cef626d8dd5","d48781c900013ee5","865b1e2e30c1406e","2c3c9f634bfc436b","c18aac930067b2c5","01d61d75b12c086d","f996e39f99239f8f","ef696b96885101ae","48a0cc5241d2549f","8360781eafaecfeb","c19b6e3169ebc381","1127e98653b5a27a","4183c52e2b2c85f1","5fbe5259545c7e84","d59c718c84ca0c45","6974a448a0c0c431","3f26e65e9e14b140","165086f5eeb45889","26655f3b52fd390b","4f053126291b5804","656edb879555e04e","fd6b81a32bb8d757","17650efb4c8eac6d","35aed833a6fd89c9","78389a0e3cf80961","b5aef2391dcbcf4b","9bdb14efae83866c","6aa0699f4eb35c14","b21e235c39afcb03","bd985c8dc9609479","095ea15b0b3f109a","a0a1caf4e95d5a2b","230b7b206cbda14f","93ed91bff23ccae6","c369c0df4127877c","cd27de68d9e0cbc4","11e8012b77840d09","67c80d1f6f7f4480","862bd44140894d07","eb3242a9703a76df","d963d406dbde22b8","037325aca1c515e3","7b14579668c1af3f","fa5d15edbf72f647","b2e76bba0862cef8","46ff4d153fc9736c","04052562e24f52a7","b2358081175b0301","b73d1209033d8724","929e091f58d7e981","d23265902eda3894","a803317ea68e18fc","fadfc3bdbc68f76f","cbe25ff8706d300b","159202a1e2a32023","e4063f822861a8e3","bc769b10e03830e1","42acd7f9ad626301","c3e90ec1d4493bb4","6ab8f6f585ebee36","c17daf8aa7e26a0c","7379c487515b9889","3a6f2959b098c17e","69f1300be1c6d8ab","32f30c6a0241b184","1313dd5a267993d9","1b38e8d77f15ac4a","d9d65b36d28ee1b5","af81a38fa86c6cc8","dbe559c73da68763","d88e0ed1a96a90b5","42c1dae9372de9c6","149cc130f5efb763","7eacb809027a3f29","992d3a4f1f2cef04","7f81ef3f4f7d218f","6aeea1de4587093e","2155a7e805ce62e5","db3dc40ea4b498e3","65dca07a06ffa9c6","d272a453214030a9","f89a84a4111a2df9","ccd498fdd2090daf","6318eeea1f540ad8","6e9d7cb4048d2eef","ae5513076154ad8a","9a9eba7461771815","7f33cfc11587b83c","04f0f1dcc6935c42","51dd51d87769dfc4","1cfe4db12a78f24a","9737afb19d9c9fbb","dd49b4996fb683ff","fbb1bdcb44abce21","6c6cf33417f59f97","fc673a36d8691d63","37aa96c6d80d8ade","1ef76a4c1fab9b78","adc6196b15cf8c39","26bdcbaa93cfcc27","c4f79cb042dc36a1","f391ba85b3d53073","7e364afe6e09d405","b8374382f89b46c6","5b4d546fd3646af7","fafbe160c912822f","f85914dec075a3d8","bd8ab43b4a91a2ae","19b6504e1bbece40","f968a8fc298f04c3","07108de5adf3ae2a","bcf6468037b4c2a6","37794c3da2ceda38","dfd8650d923f73e4","4c5adf85df17025b","26537f8818c29c61","a7420198a3e0f879","f23d5105ca948593","2efa063af4b505d2","6cc81c8342d6ef1c","f7ed99ce22cd37cb","348134507ffe8815","63561fec4fba2afd","53f7b3195f6dfeed","99e789a941d2af52","39615dab9370d868","e223793b9998818b","136162f12991809c","fb9711affc7d14af","a9e89b46159c4ec8","cb3f8f9fa322b59f","51dc21bc28ea3f06","272807d6b707d92f","4540d4f432f8742d","6d0cb16590b1da18","bfb0a473b6a09c81","61d316384ef1521b","27d7b08fb3646a52","3f9eefa51c1e5e9e","ff2211c1efd24971","f814aebd5bd599b5","8c3c9bc4a66b1e32","0711217590341f99","3930f84bd36fd5aa","b6f3145afc37707c","7a9f4d42d5c7497c","dd517b4d06983aac","e7dcdd83cf9e08e1","73dc6a2b0e041f8e","bcfed6ac5d278d3c","93e874f6e4a1f87a","fcbda9c625fdecac","f5cf184989e2cc69","3d40410e159beaab","4565730f04bd7072","95eb528329f90cf2","79764253e9e92fda","3e6cd35a857771f8","4ad97596d0efa64b","f19ecf4219ed5190","33fde1af7428bf26","1d92bf6b8fc98959","25b3542fda8fae4d","4b8267934ced5596","151d5194b8538480","f670239d8cf08808","a4b56ada8159bff6","990b4d58c23a68a2","ee3e358d88bbf249","6f096e24c9634c56","83b16f9aed4fa051","db3ebf0b6421aeae","10c3697bddec1a05","4f0ea1cdd4d0b719","ad09f7f6ad1acedd","7bb3239b80bb5650","97aa2e016643bfbd","383c38e98cd05755","5a5c10ecd5d798be","932e7fad1c98966f","baadaeea2e2d4f95","c5d646bd69c37865","9d8b8d237e2704ea","4da4c768067c032b","12fca45ce9ab2abb","c6383ca66673fd96","cd9ba8ff11c8036d","f520ba0c172598b7","327f0ed7b5fa48d2","f68f5c75e58e22cb","a8dd4b383d7eb632","4205795bed6b3290","2a45ad61a4b3d598","dcfb0cd127aa904e","22c8ba7a5b818ab1","4e080e4032b4c4c8","988c34fbce846dcc","88a37cbdf2f5f465","e6cf92eef6f506ec","0bb31a889d427f54","ad3172b46080261c","0ecce96328bfdde4","2a4f2715f401f8f2","738201cd36aef02d","9d154c219f206faf","6b1aeadab15d8e8c","d3ecaf8ee5a9a5f3","892aa8fda585f5b2","e0cb1aec4e0fda1c","31254c9a4c46f49c","943c9a5e7bb69227","94b3fd103974e612","44bb7746b927fef2","a8f14d2493aa1ccc","11f218242b107b91","9d11ec1e81b17e3d","143b6433267f0fa1","4bd89dce27b61c84","2c68008e717394eb","e4e4dde43d4eef06","a2bcd5bf77abacdd","c7dde6eba09fbd5a","b3fb451be3c81d2b","96c183ca09036f9e","207c8c517b76a96d","41be9069ac8254e1","f7df745c748863ac","fae60b32c35a15e2","f8787219bfa0b999","7acbbb904086727c","36f2cc31fc4e1e37","94ecac051c7ae0c0","c3fd837c967f3c0d","8d582cfd231d8e30","1d1b97b90e8247f3","633ef89ae7ff3aac","7d77f0bc3fa0e695","73b58c6d90a26112","2d538ce8ed696396","2d7299cd90641836","2e7bb0e6e6079d56","5f114cc4b6ae0579","7992580eefeada6a","6c95c42a1bb0e0e8","3cad0ebae9bab6a3","4e039b1bb507cbd3","c94f5e94ee5a1918","cea54c8794dd0ef6","518e99798b484eac","a4418ab91ed4c56d","503454da3c35d846","deca341e91bb7f09","c1a9384e4cb3acd2","9ff743b23cbe42cd","51a8b73d46163353","e5cbd1d6e36b3a71","60e62fd2914949fb","fdc89ddd1aa0f14a","8df78aa19a0af2aa","fcf36df06936ea4e","cb2e82e3ca5ad664","540ec68bb8166067","d0fcc8358b550646","1cd4711186e0eacd","72bdc2b803d56d5e","b866e5ea8c6f4135","e3c3329221c57637","33428cdad37f69b9","f03da2323ee09882","fbbdc47d5910770e","47eb8b39520f8641","402d82489d297c82","d8873ffc90a0b800","75fbca1d39c47339","374944ec7a1d4b47","306bc174ad2aaf84","04d40482183bc373","8bf7263e2c4b2732","de8190cc7acf1ab9","0f589b67cb910c6a","68d2962c711d3dd3","fb5f4b43f105eeee","c7337b13965771ee","82128d17e64350cb","a85ba25677fe8dd1","d9f51facbcafa156","36cdeec08c7a3dd8","6d4c2ec76c80126b","fdea9ff531a587a8","b09d639af149c549","e82029e6586f9f7e","c622c7d8b085a6d6","25579c2b6bf10a53","03f2f5c00addae38","316e053ce43b8176","1fe7191fde26e8cb","a8759eb49d4d47f1","035760b14c0a3455","c115ad43edc89efe","e941b40b953cddbc","6964c9772d7bc5d6","7fbf24f2a6bb7f36","2b222d433afe409d","eb935fa8155701e2","ceffdbc65f225ed5","2936ec4c8c8ab565","d8de448ed73f17d3","91ba1b199e91916c","82150d4178a42162","6155deee9e0c160b","4a6b620a1d208d7e","21beb0360e865da3","29d27126cf3ba304","ee4607a9074fe742","cd5b164b7ad4bb78","ccc2df3ce92c67ad","8fe577cea4ac48fa","cad2fc584c39df0f","015f0472776f11b7","e7ffcd836be34681","72f3d70342e83655","c4df794af04292af","3fe28ab3d007c572","662c49c88089f00f","b40e12a183af125b","b9356dbf87d93bc5","b85e06a6ce56c496","8c9e51e853c941fe","471f98e80f09e7fc","d0602834860e1ad6","1723a88c57edd93a","723dec470a8f2678","85c927dcf9dfd8d6","890c995bc0b1bf4b","c8588ccd19d318e2","f9c4a58c92b5b4d9","ba6f0526fb7931c1","09d81adba4bcf125","9b17052c6b788f45","7a3535db9e7c5047","663a9910ecb7d4b7","e0b5e448c81dcca6","6c4bed6b5d616836","6ed2ba39d2ad3830","ad7fb302dbb22bcf","16192cfee4d23370","cffc4b31a6570cae","595853542a4259b5","705131420801edaf","156d8365a01c4fb4","1d9d8c969ccdf2be","e3bcd358aa687acc","66d5953240afce8e","0ae3184728b2a2c7","4f07f65ec7f8a5e2","da3dfd792007d0d0","72de98adadd34a6f","b5a5d39699459183","00103f2867eaf0af","7340045ba5d10c4d","29addac35906de8a","6236a5e8600f634e","5ce6d992ddb52bf9","8ecb5617ac72d19a","29f907f589e47ba6","5a6f8f519e070c79","cc9ae1f14650ea53","6b5dd5979114ad9c","69a45eebaa58325f","5d3538459077156c","5c6e003545ed92a0","740db566709021ed","4f087e589110693b","1519b923650e36db","45880c15ca4a61c5","f2ae81bacad53d72","9171766e1ee10649","21c200a736413965","06657762c4774a90","44bfa2b788405872","78f44a60b8f4cc68","80ce9cd387590b00","85db3cff53254780","a6bb0870c0eeda1d","c8456ba2aa6075ce","51a0b7fe34dab9a9","fd414e4814858c31","4ca6bf4176ebe985","c19a4a024ab45653","868f82b1a5ca2a85","f5b6bba2551b5bec","a327bc0ce37018cf","2e633d555e1a36f6","95727dfedbf37b0d","76a625401145af61","51977d236a5b4e17","463b42633dcf4058","28026a2ce29f6d72","83530f0e60512326","52f51be9fc39e849","422e1dd2aab1ae7d","f39f016b95fc3bb9","2241bb87e3791806","e87e17419a9dd28c","30ccf1e79a8c842a","be0fb9a04ea16004","fd0e7bccfabe2ee6","451c9ff36fe2e477","b940aaca8de45053","d4a55209a00a2850","090dbbbe36a15a24","6e172580996cd122","457282d09d5173fa","41e9885bae118005","4731776cfc733e84","a6d607b465b7fe5e","2affc8f60f87bf7b","bf39b8d1716ca963","4f7352e714e2f497","9ee5440963269d27","e7c533a4825e3889","389909b07238cc3a","6934471d55d3dc61","a0738c4dddf29c0c","7becb48e82e41f4d","77618bede4cd20a4","0031d2f1a7c3c8ac","6076cbdfef84255d","cb1e6d4592635001","cf0c81d932939eeb","c819a68d55e52a48","1b7806eb440632ce","52c9ef8bf5d5f352","bbc4e7be116546f6","69f377a19c3aaebb","44639ce55332cbf7","b39e6b36efa2837a","28b0fb497ecfebb2","8e60fec05ccbd504","eb03f7c93f8b43a3","66b74056a86a68c5","66d2402c36529cd8","e665cef3b57e2e30","be1564c06fdecf2b","7b09dadab4169774","9804124babada246","dc7b00050a7d145a","39c9aaaef7274169","9b255197471d7224","d4606f08690adde6","607bdd179757b5c7","2e60e757450968dc","33a339c0afc1ba9a","ae105b35b7dfbc69","a0202211b5f8a9ce","d24a1016b1615427","726ccca1e080bf6b","695be3c75559690b","b7488a10a88f20a9","0949b6119fa62e77","9606333fe00f01bb","5c4aa68efe456371","f83897b1f3c48879","20a79d9eeb90fda6","1fa905f4d19b3376","d2997f50cec29cce","6f0c74e816a70334","8d4d236424edbea8","f14ce35482fb5f06","087ef495d3f3bf63","c8ca16b97279bf5f","6eafb2a9c1ec95c0","39740b8338a622fd","4e5188bf59004a54","cc946bae3f4b46d8","fc14608145819575","57833b8882f2f3f0","a07c3bb746445ea8","65f60f513ebfb4ec","a1054d58b95dbc48","85ebc176bf8b3f38","d92386370d84c100","72ffa082cbdc1b9d","5a9f6ed4d2782bc6","8baf78fc5b3a6764","c92344781b6fad03","db579c1fe924a2c1","dd61619c1c937b10","ab93c45aeece527e","d63fa2d9ced27469","96bab19558d83451","748c32f25da38ab8","d353d0189ecf7f81","1d722faea8f3efce","106e37a95380121b","019d4edaff49edac","72c3e43d1bd7d71e","0a3d4794e7dbc8fc","d0562d12417ddbcd","a61a9ab22c564e7c","7a1b01a19814bffe","a3749ef3434a4a01","abd5ad5bc01e3c20","f978ae555f7467c1","301581685dbc451a","f5ad10239eb3cfc3","68428fa55c773d0e","48cf2bbb95097f63","ee26946f7325dc17","8419fa139418385a","d0b1eeb6835b62fc","43166899a8759ba8","251f1801fba21ab0","06e646e07d966f1f","c715b34bd8c7144e","acf663c8932fb635","852b5a25f14c20c6","2cc720203fa29afe","c0d3cb23c9507a3b","d29ab01e7feb7c8a","74a4ed4dc627a311","70e8540a9e38ea1b","6a28b7fcc76e5423","52995e16ab89a506","18abfea89e3b41b7","bab19150c0c5380a","a808a0b1094b6686","92b4cb9321db429e","284a076d451ace1d","a8104e49d5de21fc","0f613980bbb88aec","7e331b1381065059","e44628f535d5b1cb","aeb2a0a395a07f56","2ad50ca6f102ad06","be4e8eb0027dcf54","8012222b2d1c8511","75cebf8401b56f16","ef40f0f28d4b23a0","92d3382419ded8c9","609602a97afb8342","dfe33f11952c084b","460ba30d5c96b8cc","b4448524cdeff7e5","80a0e335e884b052","9790caaee9c5957b","12b058f0dc39a192","264193b117c3f150","adab55e820cad54d","534f26b628d7ca3c","d72e4ee0d2b4084d","502addd457658917","210ef3304012897f","6f93c6bcc4a65c4d","357a49acee942fd1","61282a89cda06158","964d600b050df4fc","5d3298bda1ca0932","f8749556560c8526","3bbe844fffdf20ed","7044da8f08b09895","242995af11794e53","1870deac817325e5","13da4488e5901405","6a1a8f3a27e993b3","2accc11944283ad8","c98c47082b028dd0","eae0eb6cb3648279","77b5fcb42cefbcf7","52a7726c278388da","16438bfdddf3750d","8dc9910ee0b4af8a","f3b0e08392296b29","33daf357f466a619","fc63cc48fc705844","07f809162cd1c7ff","dc8e1ea48d3d1380","9c9c71c664eee075","af55e037ae50391e","f2369a7f542517f2","3f26dd11ba94f7c0","3b9bcd70499a72a7","2b5138253f338bd9","ee9f0a9d9f5bfded","9555f3b85c4c0239","33023e6e1a555bef","4f54be59fa4e6633","0a0de1ee87778882","d32dc8a93d1ac3ad","7d84766600c7d5a9","380eefbfb46f3a27","ca5d39b702b03571","d24a93e61eae3c55","e9aff2124a3f14e7","5531a15abd8c4ad6","d33123fad66d11c4","955c0f58ef5493c0","31afb8af4711d764","9ad653eca9183816","2c8d914c36108517","99cc12fec7e55af6","c02d9cf308c8c689","6c7268e12e4ddb66","c9f65b1df2bc4d0d","18e76789cedf987f","ac0bce161d183ebb","26bd80d9092552c2","444340c4439ad7df","59d564a9bad5b8d7","f999a6940f409b25","a609d98d8b043604","75cc148180be472d","dcd32241c9d8f9b4","e01a71eb14501808","4c457d101747e608","9509fcecd56acf35","98256ab7befa37da","3067689be2297942","91316e3eefbcc0cf","8354904bf42824c1","15fa91642ca84b97","c05eff78970180b9","f0e0dfead2456763","1a28a0f57cacac56","c7bd298ffb4de55f","922afa0f092ea7ac","63a06048dc8ec077","5647d49696914090","c08574254bd03c3d","3c1e652d59e2bc73","d2ca5cbd23e2cf88","3822cfa6e7343451","df9cad37a3d97a08","4ffb1946a7f3e562","4b6a5d60e2d13046","51fd890f206eb658","273bd58e8316eb5b","6ffe6ce67f84f151","7a1c0e3a684f732e","af0dcb4755815ad4","ebebd4050c80114d","a428f5c3eb5f8470","95a06b05b8a280dd","e3306978b68a0c62","b766961b6627377c","ee71cf476db60370","5ccb44d34776aeb2","3ecde7539b026698","a8c6849c3d6984a4","fbb6b0967cfaf84c","b9ccd0540ef6392a","3664ee38f2da0806","32f125658d78f3aa","d89153f5c2db6207","ec120ed7d3da5269","7f077aece50a67f1","aea93e1a9e4fe7c3","90755f813c5b2497","f0e3c9e062d72dcf","81dc69f880d9c871","864cbc5606ca463a","da61b3bf319b4fbf","8bb1bba6cd29a251","ee01b93bd48330c2","8d98777b03b2341f","9e20d3f498cdecdb","0d7f6889440560fb","7e1540e06576c37e","8b992a342f07cc51","58195b7dcdf542c3","11d2871802dc1814","470f6755223e9f3e","feafb2a13eb7aba6","59453ef087594e15","9008dc6f58df69ce","1e77b920b8ef44ae","595d539c1bb100e0","160e62d5b3260c7c","4b8667d43dd55dcb","78ada15151491066","2a2ca29c5017745d","161d87de410f8612","075be5218f4a7fd6","476328732ceaa3e8","87bd2247fe3acc62","8f5a63bf49aa9299","739230f415142b7d","b242db668b449c24","13aa9d0fd7bfb031","c277eb1591ca3505","e7b794a92adb0fc0","9a8393b8175a1953","e63dd52ce5b17aeb","d1d25dc67949b213","a21488eb16a467fa","aaa2bf978d45930d","8f08891f13eb42cf","841c8fa552e5c988","6bc8b0dde43bc773","a70b23ea1fb58b14","81de773ed143c87b","772f392435a3dd17","94f92b94173718ae","464dc2d69be4c4d2","82b97ac85ee0461e","2caa3526ed6f318d","7cea5f900cc829a2","3b1b60fd4fe7a75d","0b77f4879755cf4a","c640900fa4f67a47","9c3c4a7cb6430948","30c14a02c0f6f44c","0a7482cc6cdd853f","40b4d19bc941757b","7f2170d4bb4d440a","2ff8057143b92a16","8350a6fe02a6fcc9","3e66e02f29a82d4a","5d78a0715292c3c2","b6cbee8201e44c52","d64496badea11c6f","0ac636db144a9397","f9d3e83b4c3b52ab","877b1f7344ccaf70","e4a004f86ff46aff","a136f953ea376b1d","fb6eb587f18161c1","602a5ab8762865d1","67c7aaf0ff7fab34","9ead5bc677f88efe","272f978cb81b3211","93217e0ac33a366c","c8b9c27367760c26","4ac9c6a1b0a30d5a","7acc5347e55f2e72","239125f620dff4e7","83d00933c4468207","0913162f8b198348","149e032cefd16ade","5e78b5bb6e312f78","26785f8d855e5ba6","6c449a3408acee90","d7f64b57a1fb0517","53a481fea28e6249","3b9388e0f23ff779","958736f2da5c8819","6d4a931be23710cc","520e9f66eace001e","bef5ab6442d83bbf","97f9e55756ff6676","3214c7c1cc0f2f6f","f41474a7c0413436","55b514867cc57453","a1dc3da3138ba471","03d6c2dca518cd6c","0bf124ea6478968e","eaa3f051c198b9de","52b0cc774f439302","f76cec2087f5d1e2","458d90e34479960c","9635cf6ffe5f5df1","a3febe192ff0e350","7115d9982b314618","ae1b070d9513420f","79ad5f668b24679c","860477dbbd58b587","fcc5ebf1cf66f1ba","f06ff4146bf015e0","ab92b4e884625b66","d9e7fdd4b2064d1f","9bee7aa2fd078097","d351a3cbef1355a1","1645bbe018d66145","67040f324dd5eda2","2bbb2ae05167c591","e6aaca278df20666","06c3aeb3acba71e8","4d787b54987fe0b5","954786b6d749db39","5279e5dbd0cd1b08","7a051a6f4f35abc8","1e5bc4b34e21f8e5","3263d6b1a159b0ff","30b864529ddd7036","c77a886f99e247b6","3b26932b59001243","2e2979bb6dcc6553","7716fc16ed250b25","934dc60f940169b5","f50307318be3d784","9f397c7d7826bf47","8251db7646a04b2f","c633fa7af533e323","5f01b08428c9fcf8","0a5f22f2163e13e8","c0f36549d2db9101","93b51078eda8436a","4f02ff1eca2682e7","b267f5eaee065241","14826dace9f64caa","4677d65857fdd766","2939004b027e19c6","71081512cddb5646","7a783c20a805ad05","3253e25dfac0d9e4","12a0232b035189a9","5201f0235b76c6fd","2f50e7532f5ba3bb","3e8ef8b3ae6caa63","6f7cf94ff85a540e","0cad5e616228dbe6","6f850f006fee6ac4","d9d897c67d8052e6","5d841c98941a9b5a","bb054a0ac21c4e2a","27e11297c93404a6","71e09030c5018a86","b0d65e1138250625","7dc2df581430d4d1","c41fa2b682849fca","345de8645bc89741","07746cda447f9699","f6c8c74c3a9498c9","ab9e2cc1419356f3","40bf6c3509b0b82a","01761be97488508b","dec2bb5c514b76a9","628815a97e6a49d4","65d34bdd2f650120","3d22e5ebcc67c6a4","ba9ac89e95fd17d8","ce6e7ee22c2f80e1","c9c47f942aa9e47c","bf20df3841df8f08","e082053ef394efe4","f7b90fe6011a828b","5436202610d4bda0","9afda004f8a34bfe","5c4464e9a6f4156d","9c9fe6dcf666a4f5","fdc361fd00366501","2a05b7fd7c41803e","080732e991ac90fa","5ddb0d681bee936e","297f97a073fc8b2b","3b307fadcb62da76","3bd767f2b6f40d10","361dbaae56cc5dcf","41b449c7d8e26289","cdde925551f9a2f0","fc9bbcdfe0657653","bdc3bb4cfb40ad78","b7e0ba1ac6f9000a","0351d85db24c2a3e","5593308d95ecb45d","311d865b504f9e2b","1c251fd76d55194c","313c321884c92f08","dc9f51f48adc1d8a","86f50642027670e1","98d0f4551cf7be28","611c8a5cd84bb73d","eaddd489b98a436f","3d81cbda3748f441","56e2b31789bb941e","dc0df57eb59c0a2c","a575dd7d3df63cc2","da2f54e055f1d1ac","804c8129107645c1","ca7b372f821ad44a","aaee376ab741c976","11010cbbc6f9b2c8","e281bad48bd293b1","4dab258c1a09367d","35c1bab44d004988","de7d9964bf29e382","d41e4cebce2bca43","97dc196e81b7409d","0c700c804ad43278","0fd97492731debd9","ba0d99bb4b415430","6623e31afbcb8143","7639c6337690230d","928da51d7458e5c8","b517f0ddca2c408f","9115d56d55c93df5","349f3c40d1c1b12e","021f86a9f6ab04ae","34e6ce73275a532e","bf9261f8ae1151d3","24516baa1174ca38","ae364154f775506a","003aaac69cd1095e","04863aeaaaed38cf","ca06a9cb7106d9e8","97e27495865247db","587bde08ed6671de","c40ffe49c0a0ff99","8ff81811fc69c047","e7fce90947d78bb6","7162e871274ba773","9c410754eeed38a4","1d6431834655bebd","17ccab488210a553","0eaec60a9f3079c3","e5711a71b3892db1","f7f098848fd8f773","5230d94fd1a50ee4","832cdc9413fa68e9","346449e7aa3acf06","bc5b2e9697867707","b1c1797c1d7105fc","d192a18518dbaddb","66fc117529d78f16","edeeccf645772a19","76299bb5b2511493","337719979ff14b9d","d7b772643055b543","bf58597579fa65ac","eb0e20481326e5c8","9dbdaedc889b5e55","8a2cc36fee115da2","3ee329a652898c8e","c43a832d72d5f53c","35b93554c4c3380f","3c3ee84183ecc882","18ca1e572ed1016e","b0ed6159a28316ed","e161c2ee367d789c","30c1212e2308599a","8393b1d9a9587d31","58eb4557bbe9720b","caf9f9d55230f2c7","04c0023c70785d63","1b40d5db9a25ad98","5e8e2d18d89e920c","ab6b3f6d38264d59","14fc27d24bd74772","8a25ef86b6027c7c","b8192e76c51fbbc4","61f16e58b8dd9743","45366ae388d08a21","3d531a0a7bd86cc6","cc201fa7c244f54c","54939b731493ac8e","04d9f9e663d23588","b4dcaf3216134966","ff1a30fbddcaa9fd","38177fb0e91fdd3e","d4a3fdcacd1fd1b5","490e37ccfca71dba","f4bd51a249bc40ab","8f3269222142f0f4","30972c85a28530dc","0ed67256bb147e2b","824a1416d7a3cfe1","b2547f7ff4878848","dff88b670b073ad9","ef2234fa4551184f","66b91b737f90ea46","b5f125bb007480a0","3839ed033b24f53f","043c5221abd8d856","77c59c4ebafe42bf","77736ba628ab516c","dfeb8a18db2eaef3","673139e4d39c82c4","38b4444508aa953e","3aa89a8bd365e23f","b17e3350f9ba81ad","deb62bbcd93f939a","724cba04d6600bc8","85184cd9cd45e820","b105c14c0fdc8160","bd3ccecd7ffb358a","30ef8005a9e47bc3","24ac821b70937ab9","0b20ddd97c1ede52","5a3104504f4a3395","a0f5fe52e7f961cd","a8090bc0c14620a4","ae20c2d4314177d6","117fb09fe859797f","c44f928da06c7300","7f49756b83bfd4c2","2c98293fd7165f55","8a2831b7ca3f44bb","444cfa997924f2d1","df6025b5aae9e534","6d0a3f786ee1e6dc","219a160adad0a1f0","882afb599b11dfc2","3942f23acf0c46ef","7c26fd276e02a4e0","9514e7483e1fbf25","aa2c1cbac43ce23d","5b377209d189ce5f","44098478ecf1656f","57d699f1b6a32708","f6d83a5f32df320b","3cc31621bae4b8f4","fad6ea5928c43d20","c44490a40f109a5c","14f915e43eee9cb9","3373b870924b043e","e26532940aaa52c6","b4802ba3090bfb72","da6f3da669e024d3","4f2f73098fe566cb","a7721a73d1926ce0","b5be1daf52eae0ec","8009a084ca3785ef","f53cc6991fe5640c","c0a84f51998336e3","da26fce301e2b672","16111c5661efcc71","b1aec9ed9eb8059e","abbb527592df8f13","4d3db92ea8a04423","e83b088826de7bae","42207b73be13eb88","3631362524ac76c2","3093560fba474989","699d2f8babf2c777","32f83da1742957b9","1b94e49c6892430e","486b70cea417c936","35d6c8c0ecd67d15","cefb48c3c6af8823","f508a3f31bab139f","77a6b5d427afc6c4","06143f7b0cf08d31","9a98ec99a05b6bd2","4bb0b7fdcfbac2ec","dc928aa9dc8584f9","ce836243f955dacc","0fd0eeb840396afe","4fc76f6c3f766c17","e5ffb0daf3640ce6","dfc1b5a5332179d3","3e79ac3541f286cc","5597c735c47c9f96","8e19b120dae4551b","1ce50655a8c2c3fa","5ea98e4de1007f8a","544325135170880d","cc09d013af2551be","5091c04ccb0ab761","cf471b8980158bc0","444b573a678eae86","5e20f1a216d065db","cd757066177ff887","2a146094dde8c67c","61ec09a3e29e77c5","47f238a05f860cb8","c7abcfa95d057080","6938d471973bc8bc","9211d80f8af2ae48","222b3ef53e24b016","0c5f9cad2a1fc910","2adde777c1bbd4de","470dca557c06170b","294b6294066023f5","d825d08b9338b067","cbeae92b5052493c","4e99af88ffdba5db","efa356bb8b1556a7","04a79aac2088b2e7","6758f88a8d6ea407","8ecd0ebf784afdaf","c7751d4872064d44","c2dc31e0130a863a","e793ce4ebc5bfd58","9d1ff2ced120c248","cbb425cbf7f607de","cb76330540a412e2","4172bf899d0bf2ac","54bfe450e2c0b4c4","03dfda7ced4cff37","ce1d069be85a0c57","0a813fe1a03dd9d2","c9db5272d112461d","fa6ddb12553bf2a6","0e504e3987b7b54d","a45686b8b8fb6208","ec3963cba00585e6","a97dae7ab39393ae","a70dd192770618ae","8b9e4f8c047317ef","8ef54afe5d6ae844","5a6eb0e1ac869f15","e25877a06b36a847","64318333e0c24a2e","ccb5ea956a7da538","cff2ab3b56cd2174","c2a86c4367422bab","f9007d094495cf1e","e959a705e61b2af2","7cd892b62dd21dce","91b1a3ba200b7224","10809fbcb58e7b57","88cbf187e19ac35c","b8e78b8410b6e649","2a6fa1ae5525a75e","c4d69a3eae0c83ef","26cae0d4e5242b12","ec804897907337da","7b7d209612be6c16","c9092af874161855","a843eb029ae7f201","b5bc4310321b1731","29343b8ebe517525","254eee2678120cf3","bfd0b1ea1714250f","99be15052a15c189","14f62bd272d8de3a","bb4c95232da30fce","016f3f5a3657de3a","e2462c311d89f2ca","68af043bd05046dd","8930fcc47c05b10e","eae52aeb7020086f","af13aea998f5e85c","f6df529b06c4fa42","f5258c11e0ecb735","d1f40d903ba49ae7","32eb12f106b8c786","07a07e509b818c1f","c32288ec6571a37f","6337b865cf950f75","9b3b8bcdc0855c1e","b828dd28be2d989e","5bebd5edcaa27d4a","081ee35748300e41","219a16797f4e660b","941c328aa789cd20","50f976acb93639ae","86e872ce81dbe1db","d97a1426ddf5daa7","d26c676d569b6493","83ab06e68c831d58","41bbda7f511c5b0e","356c903039ddfce7","0b19e3eea697dc84","99ce56d98201828a","a1d41139aa3a5c13","228d06b3bd715a6b","711c5bc0a5934b37","7c4e8673f8d8b792","af2a612b4b2c9920","c6a9b69aea5a9499","0bb26accb9a85c1d","f3389085895c7a52","92eb163189c941c8","a5545316cd07a12d","4c8301f4f4f9d22c","9955845661cb93e3","28fd1db5907e99c4","0aba07706a309cb3","067b3ebf52d05fb3","d22de47308056f7f","d2636d6f38eb5682","5f0e5572410a109e","b689b18c57b97204","4c0b8b1cef01a74c","547a266fcc858486","a240016548c6caa5","68823f1adeca7d61","4bec446170e0294c","065cece9562e787b","6c9ecc5fe46a02a5","1c80c2edc1e21840","68a233d0b60bf782","8c2ef16fb2ddd993","1ceb6708c71a814b","aa2c3406c988ef4b","b0da73a9ef6b358d","8820bdb5b422a686","90eddf07569aadc0","5b6c97eb42f7b833","cfd1c312affb0a45","aaba9cf674e8cfe0","4eb13f33c92436a9","a103f8cc78fc5ad7","61464b0778183fdb","9cd19202a5858a27","9401ba1506c0d201","f59d0b8138fa7525","43b5266fef6d73b9","55366488e4c7e9c3","649a5ab3d32438c5","5c6b98d2f2d16291","e9341386035b1f2c","d274c198b7d6186e","41f5791b1f5773f4","d5741bb4d825808f","608c1dd85cfe7947","385e81d9be142966","3737a5a641de4ed0","acda966a000b4e22","d4e3490de6550eea","b15ee9861786845f","eeff7c0a47ecf9ee","5a86c32a699d6a2e","1ff5fd68e1799ae5","2a90b9bd2e0a777c","7a76fc8d520b5b9e","772791bd8b527740","34f9df4fdd3bd8df","2302782a6ca41102","a69d70a155c21ef3","64b5b7635347827c","c9b9040f42eb915b","60a8e2bc9a992202","8b6c9751b1c7cc20","27a767a07e780b79","cc58fa2dc61acc60","d7987f4bac2a1be7","06183d3762a605b4","6c0c33d1effc0c8d","648265bba2a83bd7","21bccbf56993b294","d47a5d29139aca1c","540ed3f299c779d4","64765643b13c207f","438b7d7c7b096219","a695670fa9127502","2376f33d0687b642","02c07a0cc8b4cceb","0d69fef38ca34a4c","e909099a38791a7c","6b360e1d934c11cc","2d60bdc66ca76fc9","c191b52abbb3cc42","c93078a74a653a7a","989253ae6d34a634","be3ec6995065eeca","c8d1453e98c3f5e3","dded4c6dc3976c7a","b7be61ae48f2be69","972b344656fc59c2","25d2a91ae6a7bf32","9c29e34475ca460c","923d447e577e2169","3b207d904a7a2908","51cb46c26d90cd1c","f59050d2f607d356","422c17888a527a84","0b1a1d86ddb09f65","b4fc6e264531f8dc","f154c49fde9e478d","a66f6aafa52fa41c","1bebf669a16f0cf4","04efa665c6f70f9f","49e3763b37b96d09","a0fcd3bad88c6ec3","13b83844304c4a92","740a5f7e8bcc49ea","03317bd2d7cb8df3","4d2cca4cdfaafc93","f26be1e222ba0b75","d97113119fa403ac","984cf98109a6bfbb","aab0d57048737a7b","8b6b413e7a091290","844058a6afdd0a45","2a089d575c979306","cae6bff0196ba48b","b924cf12aceef8a9","afc2c10fc0e2820a","31871c4bdba68a2a","d09d369c82d6c731","b388903f5f5511a8","547b853f945e5abe","6775a3b43f86623d","aa12fd4135008286","b41c55b4d5f168ad","9bb27cb83a75d4ac","9133cb910fbe540d","3829ccb07ef39a34","3ac51af95fa58e22","41849f136ab59985","aa77bc3cbcc423f9","abda63cad8884695","a89dbae39e9a3522","09d1c9d3cee4487c","773ef2907aeba7f5","9e0acd59780a5b7f","edf9bf83038418d2","0cf96013c496e328","8b43350290b32368","57dd994c663b6f01","e4a18f2fda66f01e","08fe0836aeba21fe","02b3d1fe54b763bf","84855a1ca89f3bb6","fd405f97a4afd11a","478a0f6fd1c7f151","1d84350961683c91","d0d2f50ee401dbca","2b91b319787bc0f2","fec573511bf99197","047f5728c25d07ef","5832a2b474ba1173","1a9de1d3b381132e","afb9c3a95d82a067","cecf7014427b11c6","c1a650a10d67b96b","aadf852eae4da194","34fc2c459ff7a48f","3d0a3f1f31f95ffe","747c2171386a3327","ed08013ff53695bc","0ebdf99f03fdf629","c53c5aef8e76fedd","1413c1c102d52a09","3171b316cb1adaeb","98289e234ca7ef12","b9c3688b6dfe9ac1","57f6669382255c80","24a719c390b3f22f","cb0e9f2d44a4d439","cbfdde042605f25a","ee5bffae090f4f0a","034ee78dfb804c99","e0b402b05bd9f297","9daada6397b35018","6f4d864cfc484640","a72c1a80a1c23c90","fc33f164d4208460","3bb670b7c782d0fe","90c2212a5870ab4d","40a1233e15703902","7a48d3b28afb9335","89735cb301bdea99","de64d7fec2bc3b13","e1f047b857bb87e9","0ff0fadc83ac38d1","cf514e4790cf30b2","c86c464bb9aa4ec7","3762437c4d4b168c","8619304ad7a58106","76fff1f1e6767cb1","f078c245986b329c","c952edfa67754b49","5bdae1b3b0632ad1","ac6b4421c7675b8f","aa237bf32aadef48","079402876ffb0af4","151c6168bcca45e8","ce088fb02cc8d95e","b178cd11693d5684","938259965bdd9849","afc9a80a851cf719","fd8732102d63c9ac","b7414d9f033b3c10","c1c290657fb9026f","c39d452224c976fc","33e547c06606c98d","2df681beb21344f6","a23f758c8b86ba3b","ed1ae61e8d69a9aa","34e70de8849460a5","4bf3c5a0bea3af8a","35e75fc4201d5603","0d3d1508f236270c","9bbbb26dc6afdcde","978e78059fb4414c","184e90f06812b608","e667a270b77f91b0","57552e6a0714b66e","31055bcd80a97f51","d389394d4cb81acd","ab9ebc10154d36b5","ee6855c201a2eac6","33aad6ca5d82c61a","fc7968c5df682e3e","97b86208fbe743ac","2f04adde7e34d56b","fb359b34c6ea6085","359a14f857843fd9","86042032f5f091f0","864d885655b30d79","51874217c18a11e5","8cfdcec16302da89","0b7b7c70ddc3021c","afd97549392e0e45","eee1367b24f15bfe","0857f7c3fc012063","4b7f359993232bde","408a51c88533e506","3f54da8de46b11fd","44602db9953f8773","199a605adc3d5f37","865379b6b8d74d10","df80bf9d6d6154e8","462f2494744e496f","bf3b2e2010041180","302510abb50cfea2","3786b8bbfc974f98","0722a161ba65e3ee","d69ab28cf343b28a","791047f44f1cf255","0b61db3d960d89d5","f8906d76f5343b41","b6a2940bd526bdc5","1d4248d9b171f328","8c0c2cd9c2c43953","261a84504ea5b4e6","71ca12359743e21a","27a69d45ec54d88e","d5c079ecca4bd388","ccf9d9303cfe8587","4e36cd77592dabca","f2750547782fb50f","f84cfe0c74c0309d","db66cf9a3a659614","cf7306463c5339a2","4551f72e4fc2a436","af06cacb11fff5fe","42c6c2fa748e4af6","6c0c55fd0aa68012","80a47335698bad24","0c10e86097e8a88a","ea130ca46f50e095","75ca38de7d418b17","6a5f3950c93d7a09","2f05be15df782458","83dd74e85a3b5fd8","cddcfbc2907339b1","ef749476b5d2419f","cfa5810aefc53216","d0cbdbc0612f57dd","eaab34a171566bb1","9e4ed658bd7288e2","14d6f28a5706817e","4f50879f03a7d340","4751aa206605fdd9","433fe1697e40374e","b203a0f8c491d028","f78d99bc5070f731","4afc1164fa9d0bc4","b89d513cb14aa267","21c371f9cb1f0be5","d486d0216dad4f01","8a58b40a83277a6d","bac8ff20c72e789e","65a5332454860046","eec0c12c5dac7ac0","9820c6e109f25a2a","9ecb67f7b26011ec","eebbcaccd66deff2","a4c75626ec98b096","3a55ad6cad68cacf","0930baefdf606e18","73c00ab854915f0b","7fe96d9bc8352b59","11a0a71bf9647c0d","7ffffa2ece43a63d","044ab6ebeea11608","88f4876b7fca2d49","ece9dd6478665c78","1b38b821bd0f406c","4225e25eb6c02d9f","4887de1593d7a056","7c4daf7c822100e7","5542118edd118b1b","4ebdb59506295e5f","dd8ff99cd31dc65e","7084763610063647","2c10bd38d75146f4","7830016da963fa5d","29b4dd7362e5f911","965caf1c42f05bc8","328540081f61de9b","7f778ea774345419","a6f980bdef332418","804912111aa045a6","a602b1bcbf8c1b85","ad10a81066f01ab7","2c0f3c351bf1249b","685b21aa930b1258","678f4d76359ba6b2","cd6a4d6b402cf64a","0eb26c512ae2d3bb","de4a4fe8842325bb","2e9a2ab993fc4634","709e6385cbdb0aac","973348528a2351d8","9e912bb0465fa05e","e0ee48357ee30544","84aad657cc3015c1","1cfbe54662e9b23a","f1893d60a602f7ea","100b75c92fbd601d","0ec19ecfc3edabbd","728c1a0d95292887","8f0b1f8de9fbfc9f","7dc41ad29651ef76","6fbbe6a2246171b8","0b9f3f203827134a","c3a40e7ae347bd0c","f40451bd5ad5da32","889daefd60d30c31","4bd2a17a2163845f","76b1e23db6909882","013567ba389aabcd","9edb54ab80252b68","cca22b7f0f9138d3","7b7c892ba4bb0419","d52d258a4b9d1645","688f0c12262837f7","93521d82f8191a9a","e95d1fc6ef10f897","6433289d7d93ee19","6c613c9e4e6f5c5b","68515fd752af5e00","4325a9dd6302aade","d3cfe4bbb77c2cbd","9ff01555b9aa10a7","bfa0a16074ab7806","0541af21bf0367c1","316b126659c231f7","2f7b8a55b836be0c","7932a494966ed9d0","e7bea9abb4d2ec97","8be784bef40da342","7123394c089fa2b3","588fd67f01cc3fcd","130968fabd2142bc","24203ece7219a912","fcc3f348635792ed","82bebc2eaecb5277","b30a32196a57bd07","2a2936eed1173930","5516293bd614b2f0","deb4efbe2acc06f2","224f4bfc95c21c76","21405e1e0c0a8ea9","35ce5932964b81ac","279736ff56117fae","94e423acca99118f","b762bc046e1118b6","614f639c58a785cb","66524b3e4f8afc52","6a866b0b21f943f2","ed675684aac11c5e","e629bcd96f25459a","aa2fa03953f2ca1f","0a1b36abacf7869b","1b555401a144af7c","ebec82062f5e909a","4b6610e1102bcb7e","a41077afea27060c","02ef117d816fc098","6527f93da9bd8783","4ac770e285052ab8","6669f15f3960a695","7fb534abf26057b7","261fc1951db718df","12ba1e6d80d75002","8435bde6860119cf","cb536b6126ca5965","339b74120cebdaf7","dd483df0d2980560","bba86e872f5e2e77","520adefc1310c5fb","690dd048f1082d82","ab7f0faa07bb10c5","825b1d36c119ef53","a7a12b4b56de3d07","64e0af5ac57be506","ca190028075a02c4","53b0704ceac188a8","a635791973ebfcde","1e12dbe6025675cd","d0fb887b17f71649","e62259066f5cdb88","795a4f8667f09f6f","7d119b2f7b8ce528","2311f2404970f228","df2a43bb66b9583c","3d309e5ca950760b","eb6013e0ba671951","ee759e53ae98313b","6d138e6f66011672","1d45d7d42af779bf","bd219b1f60082794","94744f7b1ec149b3","2ced5243fb4aa8a7","5527061ead3cbc7d","8cfc86a4457eb9e3","13a93bd3f7a3672f","a05d52024af694a6","e1a6efb156baf93f","870ddd4f9751bd91","30670826a567b32b","afa9c51f3a086810","4bae7b79cf3f9945","f136cd2a59970102","3637aa2caa12cece","ecdbc3a31c49a7d2","2ff2bb5003d47ac8","e274def2288682e6","97a269b01fb0ff43","c9df7838fd1a8501","329a87daeda3e439","f0850994034e6274","9eb98db9c6e96276","0d57767e32774568","73482d9d88fdef53","6e0b77ebe3b69630","38b6dc5cd93214cc","b34c64f5494b47de","53f36bbe7d518779","7a8994d1355025ce","dc2ee52df8318615","8292405e3dc98f62","70be59ca12458735","b76b825d273c6733","5d48dadb1a60ce5a","2278390b570ae980","7061f569e5f0ad5b","d930593447d74525","044893e956607076","80960100114c3bb9","2d70ad7ef6ca22f1","a27b78d407299408","094180182929275a","ff30c1aa35e732b7","95f0e8f3358ad11d","b1add34f1a24287e","1eb47e24551d2f4a","ceb7b3fb0ab08696","94dc5b27b388cb10","ed7daed08524c5a5","98eb85ab31bd9fd2","deecf900e1f84e2d","0ba288f7a70cbf6b","0ae2259086f8ec0d","ae1418a3a4a9fe5e","4713cfc3e2bffb73","5152dd03c2077de5","ba5a67871ca82e7f","373177447eceb805","f1bd083ce2f746dc","f3eb1ff21da3093c","e803b0efee6c4f05","587a52d01f82e880","5a895a19cd5b14cf","c469093ebb0005f9","151c140cd7171c80","f9a5f3efcf6dd1d7","5147709b171ba02a","b8690e2acb308498","170b7bbf9e361ce2","a5b50c40486e75fd","6f4850f14b12df44","307e1f98694a09a1","e3fe379ac83c5554","4c910e8366eb3035","de270b56bddd19a8","ce627d8b1fb9ab32","9596952835a37354","89fe905b47adc77b","30601584c9066166","8fdd67ff97167a4b","5cb3f7f48f2b3b4d","f86fafcd26769762","f68c05d1fc946175","3476ec8b48dd8737","e006057ce662d897","7a3df8ab32c5fc28","9f47e5ef38471d1f","db5e711b4e91558e","9c2d12143d4f28f9","a6277f03b0a2b72e","b68031a9dfe052d2","54881ecd4204c5fa","bb35875d14bfedc3","80441520af8573a9","97025b876582e65a","a5be20f4016a1b5c","51db44b0cd098872","b783ed1c03e7d5e7","e5f1fb7a8e6da302","984ef38ef127408d","ac9f5f4cbc9cc653","7002d1cbc5990b7c","5d016affdba0db87","e3929184a957bc8f","08afc7cf20c8c90b","260daf01b309dba5","60e82b8115622e6e","b3f12c566ff3d0eb","e0395c593211c049","3db710d8b9023738","da3237aaf9d3372a","4e2e4e32844d82c7","021ed4766414be0d","7faf686a74225948","d5b98356147518b8","3dc0abb4933cf52c","4a2c85990a2b061e","2250bd89d8d43c5d","4f3656338050c097","0d802f81bc344203","8a002e685540bdff","2cdb054fc7bd2d1f","7a38acbcb6f7b1e4","7c6a878c6b2dc981","f82f77715b307e5e","5b42722f1d104fcd","6dac5ce5889dafe5","6b680c2c78d03f83","95c744aad95da9bb","e901d9b380ddcf56","ec832780fa3819d3","25b95ce76db7282c","ea68b84984bcd5e6","333614e4585c61ca","09a089f9de8ff5f4","38e4cb80ea1e3fa8","ad8d83913007eb92","46f7c514e74a6238","98f1142bc59070ee","6b48c8a8f6cf2b74","29cd5a25950cd39a","f060f376b8b95641","8443083b2d57fccc","641b763f8c402bb1","2db3a0fe91cdca2c","a85d3c59019c3f55","9f856d08973bdbd2","c1d2607422d1182d","99954902f613608a","22ada886ab252ea3","6bac9c2b67d6407f","4b9a3c7128d04ee5","30a4c71f8d02384d","377374bc3cc49bc5","10dddc528a72d52c","9729e87552ab749e","03f7513bc15a7970","0a42f841db6eeb29","153d6c79ddb6a61b","5588600e048bb7ec","cb2c15acf0d304bf","c10f9df1d2567205","4a9c3f3e6824d0f3","f8f2807c9e6361e1","2d23c818628833ec","791a8850301eb5ab","059867e6b2a77ca8","582b6a7ea3b56bca","6c48c7a61c0d093a","768e9d23bb8da222","3c3c58dfa896a7a9","3a55310fa1aa31b4","9f90b3631947d4a8","c34f068176628307","c10bfa259d445594","41ba9594faf12ef2","ad3fd833430ad4f8","29c94887623c7f17","17fa49462f1cd0d0","5f9eec169dc39c23","ed696ccf025c9ea6","fc0429db9ca2e788","fe0b88b5a3708f00","2d3c55726a3b4596","c979677403c2fc22","b88456b1f90401bd","a8e125a8e1315ddb","75b658a5c36bf6d2","0724c54c1d040bed","2414f4d2a325c335","abc61cd9f3d45c52","568f6aa1cf8ca3f6","80820f5afa4a387f","48ccea69f6924811","55c079be3de2c0a7","fe8f81fd4f0f21c5","f46d58cad61a3af9","b26d14cde713834d","bfb389e89be30b29","9f0f03244eb21857","9d6c6c6c97b77737","98c90965632e6fe8","2252136deee38517","4fe34feaf613a8f9","67cd76a031ccf5a0","c18ca6901058d1c0","abca9c4b9b514c49","c6b6cf26659665af","7466994560d26e32","ce2fcec75f6a16eb","e7c1a3f81b5386cf","e69843b37e67d943","63b962e7bf263c38","23c56a806c2921f8","4f0a85579ae9bb76","1a348b9f38a5c29c","a588296046a7c2b2","e9a0591d654a5d18","17193d3c2edc0a1b","faad30261c5c42b4","054b8502d9873700","fd3bddca4344299b","f9fa54799ed349a3","83890229fb39a593","cb29ad933672419f","98f376df7b0bbc5d","957e4911e1e7bcfd","49da4a79a0759025","59b3237828d69574","924613ad9e615565","c01c3a359a580114","25bf9e91d9fd1134","aa98bb2a582511ba","dbfc0b4bcc1a5399","6751e3fd6a6c45d9","dd4f8e5109c3f132","9a5b8182e97b5f29","547932ecb837ae12","64a8c235183d0680","c13e0829a8fe3fa1","b0ec9dc39c0e4a04","bbae4d26e41478ea","f1ddd31035db0cc4","b2fc7377968a4425","c1270283d9c3f8b0","ad43a0610ba77d34","41856b3f50fd450b","0253575b4a58eede","628c2e8014a8c40c","553643b4e18545ba","f8f9a6db99bb33e8","9b60d0fdfcda5257","ad5d6657510d4e95","2c774c7cde335304","3dfab5f6f901f8d5","cf716df51e33d20c","bc0564795bc5055b","a4a6ad066aafffab","2cf1c8b51221bbd5","175b8e4604b208a0","1b7fe8d3f6312441","6b9224991ba9932d","e553aecf4940374f","f3605d4cffea94fe","b22ad51c1e17a489","491cb8fe9bda19d7","d3cdfbcb73f0b397","32612f428f89f04b","2ebfdbe6c2797383","7b4de30f8e6f5c49","54dacc2fd5d0195e","e1f0f157800a0cf4","237bf8ce3c8e7ef6","80423adf085377db","fef5a211b5cca153","1550ec84c0a7219a","9cab12b971634428","c988ea54961f1403","4cd46b3578c8bae0","d8e97b2e6b69c796","44cdd18cc189cc13","77f75b7329f5305f","1af788b4074a5858","57166415604ba8dc","c81a8c2eb50047e0","ec9549e3f799c682","f6b933588a05f15e","d99cc436ba4ac06c","94d6e6b681750c4c","8532180bbbbc530a","5782587779b166d8","cd91dcb74480e2bb","05f6965eeca20da3","60d2ce80fb0685cb","2736c226d2a4e8a9","5e36c1707f8fcd99","e01b468d4b883aad","228f6fb7fd224f8c","f99e109526cd765b","01139e9e540729b9","ad88dd45cc61f45d","14a38319c3774c3c","83ffbd5ae58044f9","ef88e495c9982d2a","44fdb6071c1270db","56a1c63c9ffef1ed","d6eda1fca813b292","7765d7c8c2171704","64155cb10ad9f607","48fb85cf9fc816df","a54a3aabac3983d2","58f3ce75b71246f5","80b27695fbae59d5","957b48265862f076","a191a48eeb80647b","4c73eaf96768680c","5e8ab4c79b05a2bd","bf5283284d6841db","3f67eea63eaebbbb","21f1942b8adfc779","66df46ed2b905f63","bffbafc983d76a7a","964e0963ed2b28d2","946ab6f15c353f7c","0a2c323ab16c9ba6","7ef4f958fd99d744","bd6f934f3ae87f2d","522c4cc59f174867","f23d5319b5a4eb8b","ab4ea3a7f94bbae5","e2aaad9021c8ec04","9eece0ba7e2b5866","3da179ca7c5c4b92","9bdd2b22b7cc671b","e6edc72d1c9961e7","fda87b491f013484","f4e15d0614494621","cfdebd278d97e165","5b177ccee8820469","96985f64f73726bc","e1eb9c95069bf648","62b57faadf2550ef","ddeae25c8bef7c47","8662fd24f04f483b","192e8f224ae18f09","e7a2800f3ce83a11","7aa57835f17b84c0","fe5a163a6b387bd1","56cfd0c4850a5eec","9e04baa884da0324","304c4a4a8af6dd27","90395a4af2f2cd31","8991d1dbf96fba5f","6c263afeb989803a","74a8eb160f0453c1","5eecd48ff130b3f6","d98b05158545ccd0","bba90de32296b2b6","1cdeda1f832ad6ae","1203dd4a94f48276","e2ecba6aed6b6aeb","715af9136699d378","757c3d9ab9d0959d","57931bd357455424","e09ed41400ba1f5b","17eda99bebc9ddc6","a34eb58b749615b6","08241b095164717f","2ecf7207d27bb785","42c36b63863ecb77","00d464429222b699","a8c9f90575fc417d"] diff --git a/flows/A.Agenda.json b/flows/A.Agenda.json index 3c26e57..2697416 100644 --- a/flows/A.Agenda.json +++ b/flows/A.Agenda.json @@ -42,13 +42,12 @@ "31de927a663fcb1e", "fb524b1a6da7faeb", "5f7de2cef4af9bc6", - "d241362d80c610fa", "1bacdb8e148b7ef2" ], "x": 68, "y": 293, "w": 2694, - "h": 2054 + "h": 1754 }, { "id": "97f32de0144908e5", @@ -64,13 +63,33 @@ "2d16095457052f90", "99b5327a504595cb", "256d3616419c8f06", - "ae7e12b3bdb36104", "ab67b3da085ffcc5" ], "x": 68, "y": 2393, "w": 2674, - "h": 1334 + "h": 1154 + }, + { + "id": "b0534c6abe4baf15", + "type": "group", + "z": "b66c229035856438", + "name": "catch error", + "style": { + "fill": "#ff0000", + "fill-opacity": "0.05", + "label": true, + "stroke": "#ff0000" + }, + "nodes": [ + "51014181b4cbf1c9", + "62b15123b62762ae", + "a6e7e3de32ef63ca" + ], + "x": 534, + "y": 19, + "w": 422, + "h": 82 }, { "id": "31de927a663fcb1e", @@ -194,39 +213,6 @@ "w": 1312, "h": 922 }, - { - "id": "d241362d80c610fa", - "type": "group", - "z": "b66c229035856438", - "g": "b6b56adff82012bd", - "name": "agenda - birthday - ui - home", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "478f53010b92ba99", - "8ce706fd6d4bd4d5", - "9e139cf6623e6acc", - "4f058fbe85475a4d", - "91836ce167f9dd36", - "675ca802b93b6f93", - "1c148e0bd7c295b9", - "0ccf37e7e252a91a", - "6f6b271339633822", - "b73d50059c10103d", - "4b88f1437eef0992", - "f33d7419f0933e00", - "06330e136aa9e321", - "13f363b0eb629d75", - "f307fcb894d1057b" - ], - "x": 94, - "y": 1879, - "w": 1172, - "h": 262 - }, { "id": "1bacdb8e148b7ef2", "type": "group", @@ -246,7 +232,7 @@ "ea3455f4e7282a62" ], "x": 94, - "y": 2179, + "y": 1879, "w": 752, "h": 142 }, @@ -352,34 +338,6 @@ "w": 1332, "h": 502 }, - { - "id": "ae7e12b3bdb36104", - "type": "group", - "z": "b66c229035856438", - "g": "97f32de0144908e5", - "name": "agenda - trash - ui - home", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "1d10bb53fca97cd8", - "ddf72c47cd5f8a9c", - "a305e77188345b92", - "0a53f27ca3a07d20", - "1ebe28f2d643100a", - "f1368a26b36b490a", - "19e1233262d33eae", - "c9f8f3d06381d3b2", - "10ffdb0a0239caed", - "d85a30d3c5d03339" - ], - "x": 94, - "y": 3379, - "w": 1192, - "h": 142 - }, { "id": "ab67b3da085ffcc5", "type": "group", @@ -399,31 +357,10 @@ "1a18fcff73447981" ], "x": 94, - "y": 3559, + "y": 3379, "w": 752, "h": 142 }, - { - "id": "b0534c6abe4baf15", - "type": "group", - "z": "b66c229035856438", - "name": "catch error", - "style": { - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ff0000" - }, - "nodes": [ - "51014181b4cbf1c9", - "62b15123b62762ae", - "a6e7e3de32ef63ca" - ], - "x": 534, - "y": 19, - "w": 422, - "h": 82 - }, { "id": "8d4b985ec87645f6", "type": "comment", @@ -1347,7 +1284,8 @@ "links": [ "1c148e0bd7c295b9", "206c1fb4a48067df", - "a9620e892125509b" + "a9620e892125509b", + "99a002b04c9f0bd2" ], "x": 2695, "y": 660, @@ -2032,7 +1970,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 3, + "order": 4, "width": "6", "height": "1", "name": "ev1", @@ -2104,7 +2042,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 4, + "order": 5, "width": "6", "height": "1", "name": "ev2", @@ -2126,7 +2064,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 5, + "order": 6, "width": "6", "height": "1", "name": "ev3", @@ -2148,7 +2086,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 6, + "order": 7, "width": "6", "height": "1", "name": "ev4", @@ -2170,7 +2108,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 7, + "order": 8, "width": "6", "height": "1", "name": "ev5", @@ -2192,7 +2130,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 8, + "order": 9, "width": "6", "height": "1", "name": "ev6", @@ -2214,7 +2152,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 9, + "order": 10, "width": "6", "height": "1", "name": "ev7", @@ -2236,7 +2174,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 10, + "order": 11, "width": "6", "height": "1", "name": "ev8", @@ -2258,7 +2196,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 11, + "order": 12, "width": "6", "height": "1", "name": "ev9", @@ -2280,7 +2218,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 2, + "order": 3, "width": "6", "height": "1", "name": "ev0", @@ -2377,7 +2315,7 @@ "z": "b66c229035856438", "g": "5f7de2cef4af9bc6", "group": "b526fa97ad265f91", - "order": 1, + "order": 2, "width": "6", "height": "1", "name": "tomorrow", @@ -2447,390 +2385,6 @@ ] ] }, - { - "id": "478f53010b92ba99", - "type": "change", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun anniversaire aujourd'hui", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 1980, - "wires": [ - [ - "8ce706fd6d4bd4d5" - ] - ] - }, - { - "id": "8ce706fd6d4bd4d5", - "type": "ui-text", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "group": "1745449446f285ef", - "order": 1, - "width": "6", - "height": "1", - "name": "today", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 1920, - "wires": [] - }, - { - "id": "9e139cf6623e6acc", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "today", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 650, - "y": 1920, - "wires": [ - [ - "b73d50059c10103d" - ] - ] - }, - { - "id": "4f058fbe85475a4d", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "tomorrow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 650, - "y": 2100, - "wires": [ - [ - "4b88f1437eef0992" - ] - ] - }, - { - "id": "91836ce167f9dd36", - "type": "ui-text", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "group": "1745449446f285ef", - "order": 1, - "width": "6", - "height": "1", - "name": "tomorrow", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1180, - "y": 2100, - "wires": [] - }, - { - "id": "675ca802b93b6f93", - "type": "change", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun anniversaire demain", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 2040, - "wires": [ - [ - "91836ce167f9dd36" - ] - ] - }, - { - "id": "1c148e0bd7c295b9", - "type": "link in", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "agenda - birthday - ui - home - metric", - "links": [ - "031a6afd8300356a", - "437fa0c2d577fbc9" - ], - "x": 135, - "y": 1920, - "wires": [ - [ - "0ccf37e7e252a91a" - ] - ] - }, - { - "id": "0ccf37e7e252a91a", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "agenda", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 1920, - "wires": [ - [ - "6f6b271339633822" - ] - ] - }, - { - "id": "6f6b271339633822", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "birthday", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 460, - "y": 1920, - "wires": [ - [ - "9e139cf6623e6acc", - "4f058fbe85475a4d" - ] - ] - }, - { - "id": "b73d50059c10103d", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "payload", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "nempty" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 820, - "y": 1920, - "wires": [ - [ - "8ce706fd6d4bd4d5" - ], - [ - "478f53010b92ba99" - ] - ] - }, - { - "id": "4b88f1437eef0992", - "type": "switch", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "payload", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "empty" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 820, - "y": 2100, - "wires": [ - [ - "675ca802b93b6f93" - ], - [ - "91836ce167f9dd36" - ] - ] - }, - { - "id": "f33d7419f0933e00", - "type": "link in", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "agenda - birthday - ui - home - load", - "links": [ - "074a67bf0fcf09ad", - "94c79b8f52f0b6ba" - ], - "x": 135, - "y": 1980, - "wires": [ - [ - "06330e136aa9e321" - ] - ] - }, - { - "id": "06330e136aa9e321", - "type": "delay", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "1 min", - "pauseType": "delay", - "timeout": "1", - "timeoutUnits": "minutes", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 1980, - "wires": [ - [ - "13f363b0eb629d75", - "f307fcb894d1057b" - ] - ] - }, - { - "id": "13f363b0eb629d75", - "type": "change", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics.agenda.birthday.today", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 630, - "y": 1980, - "wires": [ - [ - "b73d50059c10103d" - ] - ] - }, - { - "id": "f307fcb894d1057b", - "type": "change", - "z": "b66c229035856438", - "g": "d241362d80c610fa", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics.agenda.birthday.tomorrow", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 630, - "y": 2040, - "wires": [ - [ - "4b88f1437eef0992" - ] - ] - }, { "id": "62ac2376970d879c", "type": "link in", @@ -2839,7 +2393,7 @@ "name": "agenda - birthday - telegram report addon", "links": [], "x": 135, - "y": 2220, + "y": 1920, "wires": [ [ "3feb59f890b63a71" @@ -2855,7 +2409,7 @@ "mode": "link", "links": [], "x": 805, - "y": 2220, + "y": 1920, "wires": [] }, { @@ -2879,7 +2433,7 @@ "to": "", "reg": false, "x": 290, - "y": 2220, + "y": 1920, "wires": [ [ "daa2c7d2ba201c95" @@ -2906,7 +2460,7 @@ "repair": false, "outputs": 2, "x": 480, - "y": 2220, + "y": 1920, "wires": [ [ "65bebbc369c0e232" @@ -2937,7 +2491,7 @@ "to": "", "reg": false, "x": 660, - "y": 2280, + "y": 1980, "wires": [ [ "65bebbc369c0e232" @@ -3507,7 +3061,8 @@ "links": [ "0a53f27ca3a07d20", "206c1fb4a48067df", - "f9c15b253d5cfe9e" + "f9c15b253d5cfe9e", + "959cdd09db6a54e5" ], "x": 2675, "y": 2700, @@ -4235,254 +3790,6 @@ ] ] }, - { - "id": "1d10bb53fca97cd8", - "type": "change", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune poubelle demain", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 3480, - "wires": [ - [ - "ddf72c47cd5f8a9c" - ] - ] - }, - { - "id": "ddf72c47cd5f8a9c", - "type": "ui-text", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "group": "55e6ecdf43b1e380", - "order": 1, - "width": "6", - "height": "1", - "name": "tomorrow pb", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1190, - "y": 3420, - "wires": [] - }, - { - "id": "a305e77188345b92", - "type": "switch", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "tomorrow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 650, - "y": 3420, - "wires": [ - [ - "19e1233262d33eae" - ] - ] - }, - { - "id": "0a53f27ca3a07d20", - "type": "link in", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "agenda - trash - ui - home - metric", - "links": [ - "031a6afd8300356a", - "954579d4fb332d8c" - ], - "x": 135, - "y": 3420, - "wires": [ - [ - "1ebe28f2d643100a" - ] - ] - }, - { - "id": "1ebe28f2d643100a", - "type": "switch", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "agenda", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 3420, - "wires": [ - [ - "f1368a26b36b490a" - ] - ] - }, - { - "id": "f1368a26b36b490a", - "type": "switch", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "trash", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 460, - "y": 3420, - "wires": [ - [ - "a305e77188345b92" - ] - ] - }, - { - "id": "19e1233262d33eae", - "type": "switch", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "payload", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "nempty" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 820, - "y": 3420, - "wires": [ - [ - "ddf72c47cd5f8a9c" - ], - [ - "1d10bb53fca97cd8" - ] - ] - }, - { - "id": "c9f8f3d06381d3b2", - "type": "link in", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "agenda - trash - ui - home - load", - "links": [ - "074a67bf0fcf09ad", - "94c79b8f52f0b6ba" - ], - "x": 135, - "y": 3480, - "wires": [ - [ - "10ffdb0a0239caed" - ] - ] - }, - { - "id": "10ffdb0a0239caed", - "type": "delay", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "1 min", - "pauseType": "delay", - "timeout": "1", - "timeoutUnits": "minutes", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 3480, - "wires": [ - [ - "d85a30d3c5d03339" - ] - ] - }, - { - "id": "d85a30d3c5d03339", - "type": "change", - "z": "b66c229035856438", - "g": "ae7e12b3bdb36104", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics.agenda.trash.tomorrow", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 630, - "y": 3480, - "wires": [ - [ - "19e1233262d33eae" - ] - ] - }, { "id": "8ba30d16ad4c4e3d", "type": "link in", @@ -4491,7 +3798,7 @@ "name": "agenda - trash - telegram report addon", "links": [], "x": 135, - "y": 3600, + "y": 3420, "wires": [ [ "6bba536727ceb249" @@ -4507,7 +3814,7 @@ "mode": "link", "links": [], "x": 805, - "y": 3600, + "y": 3420, "wires": [] }, { @@ -4531,7 +3838,7 @@ "to": "", "reg": false, "x": 290, - "y": 3600, + "y": 3420, "wires": [ [ "e1b3491d3edd75e0" @@ -4558,7 +3865,7 @@ "repair": false, "outputs": 2, "x": 480, - "y": 3600, + "y": 3420, "wires": [ [ "b57d452ff1e8d06f" @@ -4589,7 +3896,7 @@ "to": "", "reg": false, "x": 660, - "y": 3660, + "y": 3480, "wires": [ [ "b57d452ff1e8d06f" diff --git a/flows/A.Alexa.json b/flows/A.Alexa.json index 64d7954..71d129e 100644 --- a/flows/A.Alexa.json +++ b/flows/A.Alexa.json @@ -46,8 +46,8 @@ "823b0b2460f6ef95" ], "x": 74, - "y": 999, - "w": 692, + "y": 939, + "w": 672, "h": 142 }, { @@ -93,7 +93,7 @@ "343850ed88d34457" ], "x": 74, - "y": 879, + "y": 819, "w": 672, "h": 82 }, @@ -116,42 +116,8 @@ ], "x": 68, "y": 253, - "w": 4144, - "h": 374 - }, - { - "id": "d46561c0f240c1d9", - "type": "group", - "z": "29b296e6cd0e71d4", - "name": "alexa - scene - alexa volume", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "40fba6c8db067ba4", - "99e7f893cc8dae67", - "d57c1aa7c8da85f1", - "ec5f4de486b97abe", - "a8d85078f3957372", - "fc0e652128ecb25c", - "1e025ff7fc8568d1", - "7ff8d19e2e35e954", - "15f9ac6e39cd016d", - "648122455e4a957c", - "f97a07997323b23e", - "14eec5651b551dc4", - "76bd8af6b6128264", - "01452057616dc1a2", - "e444a1af33bee623", - "88df17dcb0946bf8", - "7b51138aecde4277" - ], - "x": 74, - "y": 699, - "w": 2402, - "h": 142 + "w": 4164, + "h": 248 }, { "id": "208c778a4cf58d22", @@ -419,20 +385,17 @@ "label": true }, "nodes": [ - "bea29679dc04c1e3", "fdbf3fd639e2816d", "8fe237c19ff04689", "ef3d95058c83d22a", "73d4e0dc30041c36", "92d08f37b5ebd992", - "321b80c73e592b7d", - "3f703a1a32c3f909", "d2c146eec286df08" ], "x": 534, "y": 279, "w": 822, - "h": 322 + "h": 142 }, { "id": "0682776dd86300a3", @@ -455,7 +418,7 @@ ], "x": 1454, "y": 279, - "w": 1002, + "w": 1022, "h": 82 }, { @@ -478,7 +441,7 @@ "9303aa5b0ee47dcf", "dc7d7c5316cfb32d" ], - "x": 2554, + "x": 2574, "y": 279, "w": 1632, "h": 82 @@ -587,7 +550,7 @@ "z": "29b296e6cd0e71d4", "g": "9244bfd4d05d9c3e", "name": "alexa - cookie", - "active": false, + "active": true, "tosidebar": true, "console": false, "tostatus": false, @@ -595,8 +558,8 @@ "targetType": "msg", "statusVal": "", "statusType": "auto", - "x": 640, - "y": 1100, + "x": 620, + "y": 1040, "wires": [] }, { @@ -607,8 +570,8 @@ "name": "", "account": "b71b7e764b1feec5", "option": "initialise", - "x": 440, - "y": 1100, + "x": 420, + "y": 1040, "wires": [ [ "1366f3887e6de0cb" @@ -634,7 +597,7 @@ "allowrate": false, "outputs": 1, "x": 250, - "y": 1100, + "y": 1040, "wires": [ [ "8231cb6e85943b7c" @@ -651,7 +614,7 @@ "44f0ce21a685646d" ], "x": 115, - "y": 1100, + "y": 1040, "wires": [ [ "55cbb5ab30240ed6" @@ -1344,7 +1307,8 @@ "0a42f841db6eeb29", "791a8850301eb5ab", "c34f068176628307", - "f82f77715b307e5e" + "f82f77715b307e5e", + "9f0f03244eb21857" ], "x": 865, "y": 1220, @@ -1441,7 +1405,10 @@ "03f7513bc15a7970", "2d23c818628833ec", "9f90b3631947d4a8", - "7c6a878c6b2dc981" + "7c6a878c6b2dc981", + "bfb389e89be30b29", + "abca9c4b9b514c49", + "44fdb6071c1270db" ], "x": 1035, "y": 1400, @@ -1684,7 +1651,8 @@ "name": "alexa - measurement - socket", "mode": "link", "links": [ - "fc7968c5df682e3e" + "fc7968c5df682e3e", + "c6b6cf26659665af" ], "x": 865, "y": 1280, @@ -1708,7 +1676,7 @@ } }, "x": 370, - "y": 920, + "y": 860, "wires": [ [ "343850ed88d34457" @@ -1728,7 +1696,7 @@ "onceDelay": 0.1, "topic": "", "x": 170, - "y": 920, + "y": 860, "wires": [ [ "5de8989847f9f971" @@ -1750,58 +1718,9 @@ "statusVal": "", "statusType": "auto", "x": 610, - "y": 920, + "y": 860, "wires": [] }, - { - "id": "bea29679dc04c1e3", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "a02b86cff33f1dca", - "name": "alexa / actif / boolean / true", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "alexa", - "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": 940, - "y": 380, - "wires": [ - [ - "ef3d95058c83d22a" - ] - ] - }, { "id": "fdbf3fd639e2816d", "type": "link in", @@ -1846,16 +1765,11 @@ "y": 320, "wires": [ [ - "bea29679dc04c1e3", "92d08f37b5ebd992", - "321b80c73e592b7d", - "3f703a1a32c3f909", "d2c146eec286df08" ], [ "92d08f37b5ebd992", - "321b80c73e592b7d", - "3f703a1a32c3f909", "d2c146eec286df08" ] ] @@ -1914,14 +1828,14 @@ "t": "set", "p": "measurement", "pt": "msg", - "to": "alexa", + "to": "volume", "tot": "jsonata" }, { "t": "set", "p": "field", "pt": "msg", - "to": "actif", + "to": "alexa", "tot": "jsonata" }, { @@ -1950,143 +1864,45 @@ "type": "comment", "z": "29b296e6cd0e71d4", "g": "ba098df60748f1ec", - "name": "alexa / actif", + "name": "volume / alexa", "info": "", "x": 190, "y": 460, "wires": [] }, - { - "id": "321b80c73e592b7d", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "a02b86cff33f1dca", - "name": "alexa / high / number / 50", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "alexa", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "high", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "50", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 930, - "y": 440, - "wires": [ - [ - "ef3d95058c83d22a" - ] - ] - }, - { - "id": "3f703a1a32c3f909", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "a02b86cff33f1dca", - "name": "alexa / low / number / 25", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "alexa", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "low", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "25", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 930, - "y": 500, - "wires": [ - [ - "ef3d95058c83d22a" - ] - ] - }, { "id": "d2c146eec286df08", "type": "change", "z": "29b296e6cd0e71d4", "g": "a02b86cff33f1dca", - "name": "alexa / volume / number / 25", + "name": "volume /alexa / dimmer / 20", "rules": [ { "t": "set", "p": "measurement", "pt": "msg", - "to": "alexa", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", "to": "volume", "tot": "str" }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "alexa", + "tot": "str" + }, { "t": "set", "p": "format", "pt": "msg", - "to": "number", + "to": "dimmer", "tot": "str" }, { "t": "set", "p": "default", "pt": "msg", - "to": "25", + "to": "20", "tot": "num" } ], @@ -2096,7 +1912,7 @@ "to": "", "reg": false, "x": 940, - "y": 560, + "y": 380, "wires": [ [ "ef3d95058c83d22a" @@ -2166,14 +1982,15 @@ "type": "split", "z": "29b296e6cd0e71d4", "g": "0682776dd86300a3", - "name": "", + "name": "buckets", "splt": "\\n", "spltType": "str", "arraySplt": 1, "arraySpltType": "len", "stream": false, "addname": "bucket", - "x": 1950, + "property": "payload", + "x": 1960, "y": 320, "wires": [ [ @@ -2199,7 +2016,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2110, + "x": 2130, "y": 320, "wires": [ [ @@ -2218,14 +2035,14 @@ "t": "set", "p": "measurement", "pt": "msg", - "to": "alexa", + "to": "volume", "tot": "str" }, { "t": "set", "p": "field", "pt": "msg", - "to": "volume", + "to": "alexa", "tot": "str" }, { @@ -2241,7 +2058,7 @@ "from": "", "to": "", "reg": false, - "x": 2280, + "x": 2300, "y": 320, "wires": [ [ @@ -2259,7 +2076,7 @@ "links": [ "206c1fb4a48067df" ], - "x": 2415, + "x": 2435, "y": 320, "wires": [] }, @@ -2284,7 +2101,7 @@ } } }, - "x": 3550, + "x": 3570, "y": 320, "wires": [ [ @@ -2301,7 +2118,7 @@ "links": [ "031a6afd8300356a" ], - "x": 2595, + "x": 2615, "y": 320, "wires": [ [ @@ -2320,14 +2137,14 @@ "rules": [ { "t": "eq", - "v": "alexa", + "v": "volume", "vt": "str" } ], "checkall": "false", "repair": false, "outputs": 1, - "x": 2760, + "x": 2780, "y": 320, "wires": [ [ @@ -2346,14 +2163,14 @@ "rules": [ { "t": "eq", - "v": "volume", + "v": "alexa", "vt": "str" } ], "checkall": "false", "repair": false, "outputs": 1, - "x": 2950, + "x": 2970, "y": 320, "wires": [ [ @@ -2372,7 +2189,7 @@ "t": "set", "p": "device", "pt": "msg", - "to": "devices[msg.bucket]alexa.volume.id", + "to": "devices[msg.bucket][msg.measurement][msg.field]id", "tot": "global" }, { @@ -2388,7 +2205,7 @@ "from": "", "to": "", "reg": false, - "x": 3130, + "x": 3150, "y": 320, "wires": [ [ @@ -2410,7 +2227,7 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 3910, + "x": 3930, "y": 320, "wires": [] }, @@ -2432,7 +2249,7 @@ "bytopic": "topic", "topic": "device", "outputs": 1, - "x": 3340, + "x": 3360, "y": 320, "wires": [ [ @@ -2440,495 +2257,6 @@ ] ] }, - { - "id": "40fba6c8db067ba4", - "type": "link in", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "alexa - scene - alexa volume", - "links": [ - "031a6afd8300356a" - ], - "x": 115, - "y": 740, - "wires": [ - [ - "e444a1af33bee623" - ] - ] - }, - { - "id": "99e7f893cc8dae67", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "alexa", - "vt": "str" - }, - { - "t": "eq", - "v": "mode", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 700, - "y": 740, - "wires": [ - [ - "d57c1aa7c8da85f1" - ], - [ - "fc0e652128ecb25c" - ] - ] - }, - { - "id": "d57c1aa7c8da85f1", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "high", - "vt": "str" - }, - { - "t": "eq", - "v": "low", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 890, - "y": 740, - "wires": [ - [ - "ec5f4de486b97abe" - ], - [ - "ec5f4de486b97abe" - ] - ] - }, - { - "id": "ec5f4de486b97abe", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "from devices", - "rules": [ - { - "t": "set", - "p": "device", - "pt": "msg", - "to": "devices[msg.bucket]alexa.volume.id", - "tot": "global" - }, - { - "t": "set", - "p": "volume", - "pt": "msg", - "to": "$number(msg.payload)", - "tot": "jsonata" - }, - { - "t": "set", - "p": "sound", - "pt": "msg", - "to": "metrics.system.mode.sound", - "tot": "global" - }, - { - "t": "set", - "p": "actif", - "pt": "msg", - "to": "metrics[msg.bucket]alexa.actif", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1070, - "y": 740, - "wires": [ - [ - "a8d85078f3957372" - ] - ] - }, - { - "id": "a8d85078f3957372", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "mode sound", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "sound", - "vt": "msg" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1270, - "y": 740, - "wires": [ - [ - "15f9ac6e39cd016d" - ] - ] - }, - { - "id": "fc0e652128ecb25c", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "sound", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 890, - "y": 800, - "wires": [ - [ - "7b51138aecde4277" - ] - ] - }, - { - "id": "1e025ff7fc8568d1", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "payload", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "off", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1240, - "y": 800, - "wires": [ - [ - "648122455e4a957c" - ] - ] - }, - { - "id": "7ff8d19e2e35e954", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "from devices", - "rules": [ - { - "t": "set", - "p": "device", - "pt": "msg", - "to": "devices[msg.bucket]alexa.volume.id", - "tot": "global" - }, - { - "t": "set", - "p": "volume", - "pt": "msg", - "to": "payload.alexa[msg.volume]", - "tot": "msg" - }, - { - "t": "set", - "p": "actif", - "pt": "msg", - "to": "metrics[msg.bucket]alexa.actif", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1930, - "y": 800, - "wires": [ - [ - "15f9ac6e39cd016d" - ] - ] - }, - { - "id": "15f9ac6e39cd016d", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "alexa actif", - "property": "actif", - "propertyType": "msg", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2120, - "y": 740, - "wires": [ - [ - "01452057616dc1a2" - ] - ] - }, - { - "id": "648122455e4a957c", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "buckets", - "rules": [ - { - "t": "set", - "p": "volume", - "pt": "msg", - "to": "payload", - "tot": "msg", - "dc": true - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1420, - "y": 800, - "wires": [ - [ - "f97a07997323b23e" - ] - ] - }, - { - "id": "f97a07997323b23e", - "type": "split", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 1590, - "y": 800, - "wires": [ - [ - "14eec5651b551dc4" - ] - ] - }, - { - "id": "14eec5651b551dc4", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "alexa", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "alexa", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1750, - "y": 800, - "wires": [ - [ - "7ff8d19e2e35e954" - ] - ] - }, - { - "id": "76bd8af6b6128264", - "type": "link out", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "alexa - scene - alexa volume", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 2435, - "y": 740, - "wires": [] - }, - { - "id": "01452057616dc1a2", - "type": "change", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "alexa", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "volume", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "volume", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2300, - "y": 740, - "wires": [ - [ - "76bd8af6b6128264" - ] - ] - }, - { - "id": "e444a1af33bee623", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "mode master", - "property": "metrics.system.mode.master", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "about.automate", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 740, - "wires": [ - [ - "88df17dcb0946bf8" - ] - ] - }, - { - "id": "88df17dcb0946bf8", - "type": "switch", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "mode assistant", - "property": "metrics.system.mode.assistant", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "automatic", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 480, - "y": 740, - "wires": [ - [ - "99e7f893cc8dae67" - ] - ] - }, - { - "id": "7b51138aecde4277", - "type": "rbe", - "z": "29b296e6cd0e71d4", - "g": "d46561c0f240c1d9", - "name": "no repeat", - "func": "rbe", - "gap": "", - "start": "", - "inout": "out", - "septopics": false, - "property": "payload", - "topi": "topic", - "x": 1060, - "y": 800, - "wires": [ - [ - "1e025ff7fc8568d1" - ] - ] - }, { "id": "ecfa439ba7a35d03", "type": "catch", @@ -3037,29 +2365,29 @@ "t": "set", "p": "measurement", "pt": "msg", - "to": "alexa", + "to": "volume", "tot": "str" }, { "t": "set", "p": "field", "pt": "msg", - "to": "actif", + "to": "alexa", "tot": "str" }, { "t": "set", "p": "format", "pt": "msg", - "to": "boolean", + "to": "number", "tot": "str" }, { "t": "set", "p": "default", "pt": "msg", - "to": "true", - "tot": "bool" + "to": "20", + "tot": "num" } ], "action": "", @@ -3121,29 +2449,29 @@ "t": "set", "p": "measurement", "pt": "msg", - "to": "alexa", + "to": "volume", "tot": "str" }, { "t": "set", "p": "field", "pt": "msg", - "to": "actif", + "to": "alexa", "tot": "str" }, { "t": "set", "p": "format", "pt": "msg", - "to": "boolean", + "to": "number", "tot": "str" }, { "t": "set", "p": "default", "pt": "msg", - "to": "true", - "tot": "bool" + "to": "20", + "tot": "num" } ], "action": "", @@ -3164,7 +2492,7 @@ "type": "inject", "z": "29b296e6cd0e71d4", "g": "9244bfd4d05d9c3e", - "name": "", + "name": "manual init", "props": [ { "p": "payload" @@ -3181,8 +2509,8 @@ "topic": "", "payload": "", "payloadType": "date", - "x": 230, - "y": 1040, + "x": 240, + "y": 980, "wires": [ [ "8231cb6e85943b7c" diff --git a/flows/A.Proxmox.json b/flows/A.Proxmox.json index ea8ca56..8b566b2 100644 --- a/flows/A.Proxmox.json +++ b/flows/A.Proxmox.json @@ -117,14 +117,15 @@ "eddef41fac28be72", "284f816c5e8bbfec", "ed43589ee9e39cd5", - "6f3f8af06908f533", "5def5c4c2f2f242a", "f6aaeec4c6fdfabe", - "522b6c161afcb47e" + "522b6c161afcb47e", + "6957810565336218", + "d82d93f92871f901" ], "x": 94, "y": 1099, - "w": 3072, + "w": 3212, "h": 562 }, { @@ -174,7 +175,7 @@ "page": "", "ui": "", "name": "", - "order": 1, + "order": 2, "width": "3", "height": "1", "head": "", @@ -199,7 +200,7 @@ "page": "", "ui": "", "name": "", - "order": 3, + "order": 4, "width": "3", "height": "1", "head": "", @@ -224,7 +225,7 @@ "page": "", "ui": "", "name": "", - "order": 4, + "order": 5, "width": "3", "height": "1", "head": "", @@ -249,7 +250,7 @@ "page": "", "ui": "", "name": "", - "order": 5, + "order": 6, "width": "3", "height": "1", "head": "", @@ -274,7 +275,7 @@ "page": "", "ui": "", "name": "", - "order": 6, + "order": 7, "width": "3", "height": "1", "head": "", @@ -299,7 +300,7 @@ "page": "", "ui": "", "name": "", - "order": 7, + "order": 8, "width": "3", "height": "1", "head": "", @@ -324,7 +325,7 @@ "page": "", "ui": "", "name": "", - "order": 8, + "order": 15, "width": "3", "height": "1", "head": "", @@ -349,7 +350,7 @@ "page": "", "ui": "", "name": "", - "order": 9, + "order": 10, "width": "3", "height": "1", "head": "", @@ -374,7 +375,7 @@ "page": "", "ui": "", "name": "", - "order": 10, + "order": 14, "width": "3", "height": "1", "head": "", @@ -399,7 +400,7 @@ "page": "", "ui": "", "name": "", - "order": 2, + "order": 3, "width": "3", "height": "1", "head": "", @@ -424,7 +425,7 @@ "page": "", "ui": "", "name": "", - "order": 10, + "order": 13, "width": "3", "height": "1", "head": "", @@ -449,7 +450,7 @@ "page": "", "ui": "", "name": "", - "order": 10, + "order": 12, "width": "3", "height": "1", "head": "", @@ -549,7 +550,7 @@ "group": "0e7c66df5c84175b", "name": "", "label": "Recharger", - "order": 0, + "order": 1, "width": "6", "height": "1", "tooltip": "", @@ -622,7 +623,7 @@ "page": "", "ui": "", "name": "", - "order": 10, + "order": 11, "width": "3", "height": "1", "head": "", @@ -647,7 +648,7 @@ "page": "", "ui": "", "name": "", - "order": 8, + "order": 9, "width": "3", "height": "1", "head": "", @@ -677,7 +678,8 @@ "y": 1340, "wires": [ [ - "10eef034696319a1" + "10eef034696319a1", + "939a9569896f434a" ] ] }, @@ -695,7 +697,8 @@ "y": 1400, "wires": [ [ - "0c26626f4e3adf41" + "0c26626f4e3adf41", + "939a9569896f434a" ] ] }, @@ -852,7 +855,7 @@ "method": "GET", "payload": "", "server": "b2b86208a514c8a7", - "x": 2210, + "x": 2350, "y": 1500, "wires": [ [ @@ -910,7 +913,7 @@ "from": "", "to": "", "reg": false, - "x": 1630, + "x": 1770, "y": 1400, "wires": [ [ @@ -945,7 +948,7 @@ "from": "", "to": "", "reg": false, - "x": 2370, + "x": 2510, "y": 1380, "wires": [ [ @@ -995,7 +998,7 @@ "from": "", "to": "", "reg": false, - "x": 2530, + "x": 2670, "y": 1500, "wires": [ [ @@ -1015,7 +1018,7 @@ "initialize": "", "finalize": "", "libs": [], - "x": 2720, + "x": 2860, "y": 1560, "wires": [ [ @@ -1050,7 +1053,7 @@ "from": "", "to": "", "reg": false, - "x": 2540, + "x": 2680, "y": 1560, "wires": [ [ @@ -1085,7 +1088,7 @@ "from": "", "to": "", "reg": false, - "x": 2530, + "x": 2670, "y": 1440, "wires": [ [ @@ -1100,7 +1103,7 @@ "g": "7df081d38de8d887", "name": "", "input": "", - "x": 2710, + "x": 2850, "y": 1440, "wires": [ [ @@ -1149,7 +1152,7 @@ "from": "", "to": "", "reg": false, - "x": 1630, + "x": 1770, "y": 1280, "wires": [ [ @@ -1194,7 +1197,7 @@ "from": "", "to": "", "reg": false, - "x": 1630, + "x": 1770, "y": 1220, "wires": [ [ @@ -1224,7 +1227,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2370, + "x": 2510, "y": 1440, "wires": [ [ @@ -1250,7 +1253,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2370, + "x": 2510, "y": 1560, "wires": [ [ @@ -1276,7 +1279,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2370, + "x": 2510, "y": 1500, "wires": [ [ @@ -1473,7 +1476,7 @@ "from": "", "to": "", "reg": false, - "x": 1630, + "x": 1770, "y": 1340, "wires": [ [ @@ -1500,7 +1503,7 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 2530, + "x": 2670, "y": 1320, "wires": [ [ @@ -1556,7 +1559,7 @@ "method": "POST", "payload": "", "server": "b2b86208a514c8a7", - "x": 3040, + "x": 3180, "y": 1140, "wires": [ [] @@ -1610,7 +1613,7 @@ "from": "", "to": "", "reg": false, - "x": 2870, + "x": 3010, "y": 1140, "wires": [ [ @@ -1638,7 +1641,7 @@ "from": "", "to": "", "reg": false, - "x": 2530, + "x": 2670, "y": 1380, "wires": [ [ @@ -1671,7 +1674,7 @@ "from": "", "to": "", "reg": false, - "x": 2370, + "x": 2510, "y": 1620, "wires": [ [ @@ -1697,7 +1700,7 @@ "bytopic": "all", "topic": "topic", "outputs": 1, - "x": 2020, + "x": 2160, "y": 1500, "wires": [ [ @@ -1719,7 +1722,13 @@ "height": "1", "passthru": false, "multiple": false, - "options": [], + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], "payload": "", "topic": "topic", "topicType": "msg", @@ -1728,9 +1737,7 @@ "y": 1400, "wires": [ [ - "17e5368c34dd3491", - "e4bf0709d1045f3a", - "e463ecf298cb67dd" + "d82d93f92871f901" ] ] }, @@ -1748,7 +1755,13 @@ "height": "1", "passthru": false, "multiple": false, - "options": [], + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], "payload": "", "topic": "topic", "topicType": "msg", @@ -1757,9 +1770,7 @@ "y": 1340, "wires": [ [ - "e4bf0709d1045f3a", - "17e5368c34dd3491", - "87c78a11cf031035" + "6957810565336218" ] ] }, @@ -1770,20 +1781,22 @@ "g": "7df081d38de8d887", "group": "c758b19593f570d4", "name": "start", - "label": "start", - "order": 4, - "width": "2", + "label": "", + "order": 3, + "width": "1", "height": "1", + "emulateClick": false, "tooltip": "", "color": "", "bgcolor": "", "className": "", - "icon": "", + "icon": "play", + "iconPosition": "left", "payload": "start", "payloadType": "str", "topic": "topic", "topicType": "msg", - "x": 2690, + "x": 2830, "y": 1140, "wires": [ [ @@ -1799,21 +1812,23 @@ "g": "7df081d38de8d887", "group": "c758b19593f570d4", "name": "shutdown", - "label": "shutdown", + "label": "", "order": 5, - "width": "2", + "width": "1", "height": "1", + "emulateClick": false, "tooltip": "", "color": "", "bgcolor": "", "className": "", - "icon": "", + "icon": "power", + "iconPosition": "left", "payload": "shutdown", "payloadType": "str", "topic": "topic", "topicType": "msg", - "x": 2700, - "y": 1200, + "x": 2840, + "y": 1260, "wires": [ [ "9b1c118db9a99b9e", @@ -1828,21 +1843,23 @@ "g": "7df081d38de8d887", "group": "c758b19593f570d4", "name": "stop", - "label": "stop", - "order": 6, - "width": "2", + "label": "", + "order": 4, + "width": "1", "height": "1", + "emulateClick": false, "tooltip": "", "color": "", "bgcolor": "", "className": "", - "icon": "", + "icon": "stop", + "iconPosition": "left", "payload": "stop", "payloadType": "str", "topic": "topic", "topicType": "msg", - "x": 2690, - "y": 1260, + "x": 2830, + "y": 1200, "wires": [ [ "9b1c118db9a99b9e", @@ -1857,20 +1874,22 @@ "g": "7df081d38de8d887", "group": "c758b19593f570d4", "name": "reboot", - "label": "reboot", - "order": 7, - "width": "2", + "label": "", + "order": 6, + "width": "1", "height": "1", + "emulateClick": false, "tooltip": "", "color": "", "bgcolor": "", "className": "", - "icon": "", + "icon": "reload", + "iconPosition": "left", "payload": "reboot", "payloadType": "str", "topic": "topic", "topicType": "msg", - "x": 2690, + "x": 2830, "y": 1320, "wires": [ [ @@ -1885,7 +1904,7 @@ "z": "422511c2793ff288", "g": "7df081d38de8d887", "group": "c758b19593f570d4", - "order": 8, + "order": 7, "width": "3", "height": "1", "name": "uptime", @@ -1897,7 +1916,7 @@ "fontSize": 16, "color": "#717171", "className": "", - "x": 3070, + "x": 3210, "y": 1440, "wires": [] }, @@ -1907,7 +1926,7 @@ "z": "422511c2793ff288", "g": "7df081d38de8d887", "group": "c758b19593f570d4", - "order": 9, + "order": 8, "width": "3", "height": "1", "name": "state", @@ -1919,7 +1938,7 @@ "fontSize": 16, "color": "#717171", "className": "", - "x": 3070, + "x": 3210, "y": 1380, "wires": [] }, @@ -1929,7 +1948,7 @@ "z": "422511c2793ff288", "g": "7df081d38de8d887", "group": "c758b19593f570d4", - "order": 10, + "order": 9, "width": "3", "height": "1", "name": "cpu", @@ -1941,7 +1960,7 @@ "fontSize": 16, "color": "#717171", "className": "", - "x": 3070, + "x": 3210, "y": 1500, "wires": [] }, @@ -1951,7 +1970,7 @@ "z": "422511c2793ff288", "g": "7df081d38de8d887", "group": "c758b19593f570d4", - "order": 11, + "order": 10, "width": "3", "height": "1", "name": "memory", @@ -1963,7 +1982,7 @@ "fontSize": 16, "color": "#717171", "className": "", - "x": 3080, + "x": 3220, "y": 1560, "wires": [] }, @@ -1987,7 +2006,7 @@ "from": "", "to": "", "reg": false, - "x": 2900, + "x": 3040, "y": 1440, "wires": [ [ @@ -2036,7 +2055,6 @@ "wires": [ [ "eddef41fac28be72", - "ed43589ee9e39cd5", "17e5368c34dd3491", "e4bf0709d1045f3a", "939a9569896f434a" @@ -2072,37 +2090,6 @@ ] ] }, - { - "id": "6f3f8af06908f533", - "type": "ui-button", - "z": "422511c2793ff288", - "g": "7df081d38de8d887", - "group": "c758b19593f570d4", - "name": "", - "label": "Recharger les listes", - "order": 3, - "width": "4", - "height": "1", - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "", - "iconPosition": "left", - "payload": "", - "payloadType": "str", - "topic": "", - "topicType": "str", - "x": 250, - "y": 1400, - "wires": [ - [ - "939a9569896f434a", - "a3768ce65939db54", - "23929da1a8dc3ab1" - ] - ] - }, { "id": "5def5c4c2f2f242a", "type": "delay", @@ -2121,7 +2108,7 @@ "drop": false, "allowrate": false, "outputs": 1, - "x": 1810, + "x": 1950, "y": 1500, "wires": [ [ @@ -2163,6 +2150,13 @@ "pt": "msg", "to": "'Commande '&msg.payload&' envoyée'", "tot": "jsonata" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -2170,7 +2164,7 @@ "from": "", "to": "", "reg": false, - "x": 2920, + "x": 3060, "y": 1220, "wires": [ [ @@ -2188,7 +2182,7 @@ "links": [ "206c1fb4a48067df" ], - "x": 3095, + "x": 3235, "y": 1220, "wires": [] }, @@ -2585,5 +2579,73 @@ "x": 915, "y": 60, "wires": [] + }, + { + "id": "6957810565336218", + "type": "switch", + "z": "422511c2793ff288", + "g": "7df081d38de8d887", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1610, + "y": 1340, + "wires": [ + [ + "a3768ce65939db54" + ], + [ + "17e5368c34dd3491", + "e4bf0709d1045f3a", + "87c78a11cf031035" + ] + ] + }, + { + "id": "d82d93f92871f901", + "type": "switch", + "z": "422511c2793ff288", + "g": "7df081d38de8d887", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1610, + "y": 1400, + "wires": [ + [ + "23929da1a8dc3ab1" + ], + [ + "17e5368c34dd3491", + "e4bf0709d1045f3a", + "e463ecf298cb67dd" + ] + ] } ] \ No newline at end of file diff --git a/flows/A.Rhasspy.json b/flows/A.Rhasspy.json deleted file mode 100644 index 12833ac..0000000 --- a/flows/A.Rhasspy.json +++ /dev/null @@ -1,3067 +0,0 @@ -[ - { - "id": "0e52966a98143270", - "type": "tab", - "label": "A.Rhasspy", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "0bcf11e13c87f1de", - "type": "group", - "z": "0e52966a98143270", - "name": "rhasspy - bucket", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ffC000" - }, - "nodes": [ - "c227fdb52429c5c6", - "2260fb9363658a31", - "4d50622a83e8e8c2" - ], - "x": 94, - "y": 19, - "w": 342, - "h": 82 - }, - { - "id": "aaf2565e899722f4", - "type": "group", - "z": "0e52966a98143270", - "name": "catch error", - "style": { - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ff0000" - }, - "nodes": [ - "1f6c0e47b1931294", - "4e181f8e271b0ba1", - "8257f8177d899a49" - ], - "x": 534, - "y": 19, - "w": 422, - "h": 82 - }, - { - "id": "17a8ab0a21c7790b", - "type": "group", - "z": "0e52966a98143270", - "name": "mqtt server for rhasspy", - "style": { - "fill": "#ffffff", - "fill-opacity": "0.5", - "label": true, - "stroke": "#0070c0" - }, - "nodes": [ - "a23c2aa7e24eb8f7", - "234feecbe12db6fa" - ], - "x": 68, - "y": 173, - "w": 1764, - "h": 194 - }, - { - "id": "a23c2aa7e24eb8f7", - "type": "group", - "z": "0e52966a98143270", - "g": "17a8ab0a21c7790b", - "name": "", - "style": { - "fill": "#0070c0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "81b03b89f507e5ce", - "3eda424ef17379e9", - "af3082ef59725979", - "9518f42686aaf99c", - "6d6bcbb7ce10198f", - "da4da5b15f106b4a" - ], - "x": 94, - "y": 199, - "w": 1162, - "h": 142 - }, - { - "id": "234feecbe12db6fa", - "type": "group", - "z": "0e52966a98143270", - "g": "17a8ab0a21c7790b", - "name": "", - "style": { - "fill": "#0070c0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "d07502e0620ed3d9", - "4cfd419f66b58eda", - "4db395b3e8fa404f", - "d8b85eb94b57b81f" - ], - "x": 1294, - "y": 199, - "w": 512, - "h": 142 - }, - { - "id": "56334b8b.5fd224", - "type": "group", - "z": "0e52966a98143270", - "name": "Intention", - "style": { - "stroke": "#a4a4a4", - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "color": "#7f7f7f" - }, - "nodes": [ - "2f629fa5.21d19", - "fdc00c7c.60095", - "cea3f288.bcb26", - "569f9335.f48c8c", - "a3e1b5e5.0d0ef8", - "66f3ea78.14b9b4", - "14899088.b01bef", - "f4fffe27.31ff5", - "96348320.b652a", - "bf1e93fc.bbeca", - "e596ecc0.c9616", - "382970a4.425d6", - "c22bbee6.47b7a", - "e05cb16e.ff2c2", - "32fe33ae.a321ac", - "5c5317f5.b9aae8", - "a8f7856e.e5d398", - "941e361c.d71418", - "29f39327.90d0bc", - "dda50597.594f58", - "77b65753.bbdb28", - "657f7682.77d688", - "ed993f37.53193", - "eee061d4.bf955", - "b64aec4c.52f8", - "51b518a6.4af478", - "8f9c20c3.fc37a", - "32ba92cf.54950e", - "9d1cfd56.737b9", - "da507502.f708e8", - "6603cd11.9802c4", - "cb6aeb0c.1e3338", - "35204a8af1b663ea", - "d4c5a5fae1f1b56f", - "0fe92c75f3eaef4a", - "2494e673a498ca2f", - "6f0233872e96cac2", - "9cb04c54a400ebcc", - "703f8f42adcce1da", - "0beb44e89b2e30b4", - "78f631485429d868", - "ca8f9cb7063f4dad", - "0d6d53c8baa5e907", - "8a0c5e7df26d88d5", - "081c50f9dcfb4b51", - "4dd71cfc1021aadf", - "f4c898d73ae26945", - "6b34b6cdde85efe0", - "4e2598ba2a349251", - "ad14707636c17a17", - "5d1da1947184e3f7", - "833f9ea0770f6e5a", - "03732989aa73f35a" - ], - "x": 94, - "y": 579, - "w": 3922, - "h": 982 - }, - { - "id": "7edde334.214fcc", - "type": "group", - "z": "0e52966a98143270", - "name": "Retour d'action", - "style": { - "stroke": "#a4a4a4", - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "color": "#7f7f7f" - }, - "nodes": [ - "85a64ab6.b23f08", - "bc8a2400.cf65c8", - "6e9a0d50.e1a814", - "7392637e.5ee6ac", - "5b76bba6.45fa64", - "35779147.0489ce", - "1963cac3.92fb35", - "fac9339ce8daa1a2", - "8e8fad5a3dc8ff2f", - "40349e29c54aadd9", - "10aafa2119bcdcac" - ], - "x": 94, - "y": 1599, - "w": 1822, - "h": 142 - }, - { - "id": "5749f1a3ca81d04c", - "type": "group", - "z": "0e52966a98143270", - "name": "scene rhasspy volume", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.1", - "label": true - }, - "nodes": [ - "ce8707c6.dc7138", - "2e0ae690.f2f90a", - "9f96e582.967208", - "5501246c.a0f3bc", - "c22b1683.523528", - "4f56bd52.514404", - "8dbe96dd.eab3b8", - "0ff84980aae53d0f", - "d0893099b20a4ecc", - "ef402ae5e4c37c13", - "2874910a1963721a", - "11bcee51878d81c8", - "93e8c15dd0559efb", - "8231b6a267d39bf2", - "e6e992ed3ab5057d", - "65c10ac9303d616b", - "461e40cdc9b83b48", - "a9b7311d0fdfef9b", - "2c561a436a935bc6" - ], - "x": 94, - "y": 1791.5, - "w": 2562, - "h": 209.5 - }, - { - "id": "c227fdb52429c5c6", - "type": "change", - "z": "0e52966a98143270", - "g": "0bcf11e13c87f1de", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "rhasspy", - "tot": "str" - }, - { - "t": "set", - "p": "bucket", - "pt": "flow", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 270, - "y": 60, - "wires": [ - [ - "4d50622a83e8e8c2" - ] - ] - }, - { - "id": "2260fb9363658a31", - "type": "link in", - "z": "0e52966a98143270", - "g": "0bcf11e13c87f1de", - "name": "rhasspy - bucket", - "links": [ - "25445f5a9b787a0a" - ], - "x": 135, - "y": 60, - "wires": [ - [ - "c227fdb52429c5c6" - ] - ] - }, - { - "id": "4d50622a83e8e8c2", - "type": "link out", - "z": "0e52966a98143270", - "g": "0bcf11e13c87f1de", - "name": "rhasspy - bucket", - "mode": "link", - "links": [], - "x": 395, - "y": 60, - "wires": [] - }, - { - "id": "1f6c0e47b1931294", - "type": "catch", - "z": "0e52966a98143270", - "g": "aaf2565e899722f4", - "name": "catch error", - "scope": null, - "uncaught": false, - "x": 620, - "y": 60, - "wires": [ - [ - "4e181f8e271b0ba1" - ] - ] - }, - { - "id": "4e181f8e271b0ba1", - "type": "change", - "z": "0e52966a98143270", - "g": "aaf2565e899722f4", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "rhasspy", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 790, - "y": 60, - "wires": [ - [ - "8257f8177d899a49" - ] - ] - }, - { - "id": "8257f8177d899a49", - "type": "link out", - "z": "0e52966a98143270", - "g": "aaf2565e899722f4", - "name": "catch error", - "mode": "link", - "links": [ - "a52f0e788cd4dca3" - ], - "x": 915, - "y": 60, - "wires": [] - }, - { - "id": "81b03b89f507e5ce", - "type": "link out", - "z": "0e52966a98143270", - "d": true, - "g": "a23c2aa7e24eb8f7", - "name": "mqtt rhasspy", - "mode": "link", - "links": [], - "x": 1215, - "y": 240, - "wires": [] - }, - { - "id": "3eda424ef17379e9", - "type": "q-gate", - "z": "0e52966a98143270", - "g": "a23c2aa7e24eb8f7", - "name": "", - "controlTopic": "gate", - "defaultState": "queueing", - "openCmd": "open", - "closeCmd": "close", - "toggleCmd": "toggle", - "queueCmd": "close", - "defaultCmd": "default", - "triggerCmd": "trigger", - "flushCmd": "open", - "resetCmd": "reset", - "peekCmd": "peek", - "dropCmd": "drop", - "statusCmd": "status", - "maxQueueLength": "0", - "keepNewest": false, - "qToggle": false, - "persist": false, - "storeName": "default", - "x": 590, - "y": 240, - "wires": [ - [ - "6d6bcbb7ce10198f" - ] - ] - }, - { - "id": "af3082ef59725979", - "type": "link in", - "z": "0e52966a98143270", - "g": "a23c2aa7e24eb8f7", - "name": "mqtt rhasspy gate", - "links": [ - "d68d686bbf684c95", - "8fdb5986494986cc" - ], - "x": 455, - "y": 300, - "wires": [ - [ - "3eda424ef17379e9" - ] - ] - }, - { - "id": "9518f42686aaf99c", - "type": "delay", - "z": "0e52966a98143270", - "g": "a23c2aa7e24eb8f7", - "name": "50 msg / s", - "pauseType": "rate", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "50", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 390, - "y": 240, - "wires": [ - [ - "3eda424ef17379e9" - ] - ] - }, - { - "id": "6d6bcbb7ce10198f", - "type": "change", - "z": "0e52966a98143270", - "g": "a23c2aa7e24eb8f7", - "name": "raz MQTT properties", - "rules": [ - { - "t": "delete", - "p": "qos", - "pt": "msg" - }, - { - "t": "delete", - "p": "retain", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1040, - "y": 240, - "wires": [ - [ - "81b03b89f507e5ce" - ] - ] - }, - { - "id": "da4da5b15f106b4a", - "type": "mqtt in", - "z": "0e52966a98143270", - "g": "a23c2aa7e24eb8f7", - "name": "MQTT rhasspy", - "topic": "hermes/intent/#", - "qos": "2", - "datatype": "json", - "broker": "442ad702808e3c66", - "nl": false, - "rap": true, - "rh": 0, - "inputs": 0, - "x": 200, - "y": 240, - "wires": [ - [ - "9518f42686aaf99c" - ] - ] - }, - { - "id": "d07502e0620ed3d9", - "type": "mqtt out", - "z": "0e52966a98143270", - "g": "234feecbe12db6fa", - "name": "MQTT rhasspy", - "topic": "", - "qos": "", - "retain": "", - "respTopic": "", - "contentType": "", - "userProps": "", - "correl": "", - "expiry": "", - "broker": "442ad702808e3c66", - "x": 1700, - "y": 240, - "wires": [] - }, - { - "id": "4cfd419f66b58eda", - "type": "link in", - "z": "0e52966a98143270", - "d": true, - "g": "234feecbe12db6fa", - "name": "mqtt rhasspy", - "links": [ - "10aafa2119bcdcac", - "2c561a436a935bc6" - ], - "x": 1335, - "y": 240, - "wires": [ - [ - "d8b85eb94b57b81f" - ] - ] - }, - { - "id": "4db395b3e8fa404f", - "type": "link out", - "z": "0e52966a98143270", - "g": "234feecbe12db6fa", - "name": "mqtt rhasspy output", - "mode": "link", - "links": [ - "833f9ea0770f6e5a" - ], - "x": 1635, - "y": 300, - "wires": [] - }, - { - "id": "d8b85eb94b57b81f", - "type": "switch", - "z": "0e52966a98143270", - "g": "234feecbe12db6fa", - "name": "check topic", - "property": "topic", - "propertyType": "msg", - "rules": [ - { - "t": "regex", - "v": "^(hermes|rhasspy)", - "vt": "str", - "case": false - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1470, - "y": 240, - "wires": [ - [ - "d07502e0620ed3d9", - "4db395b3e8fa404f" - ] - ] - }, - { - "id": "3a610a2616fc025c", - "type": "comment", - "z": "0e52966a98143270", - "name": "Jarvis - Rhasspy", - "info": "", - "x": 1100, - "y": 60, - "wires": [] - }, - { - "id": "2f629fa5.21d19", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "intention", - "property": "bot.intention", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "siteTurnStore", - "vt": "str" - }, - { - "t": "eq", - "v": "siteTurnLight", - "vt": "str" - }, - { - "t": "eq", - "v": "siteSetMode", - "vt": "str" - }, - { - "t": "eq", - "v": "siteTurnVolume", - "vt": "str" - }, - { - "t": "eq", - "v": "siteTurnRadio", - "vt": "str" - }, - { - "t": "eq", - "v": "siteGetTemp", - "vt": "str" - }, - { - "t": "eq", - "v": "siteGetTime", - "vt": "str" - }, - { - "t": "eq", - "v": "siteGetDate", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 9, - "x": 2820, - "y": 740, - "wires": [ - [ - "4e2598ba2a349251" - ], - [ - "6f0233872e96cac2" - ], - [ - "6b34b6cdde85efe0", - "03732989aa73f35a" - ], - [ - "03732989aa73f35a" - ], - [ - "03732989aa73f35a" - ], - [ - "ca8f9cb7063f4dad" - ], - [ - "382970a4.425d6" - ], - [ - "c22bbee6.47b7a" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "fdc00c7c.60095", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "lumiere", - "property": "bot.action", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "on", - "vt": "str" - }, - { - "t": "eq", - "v": "off", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 3160, - "y": 860, - "wires": [ - [ - "cea3f288.bcb26" - ], - [ - "569f9335.f48c8c" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "cea3f288.bcb26", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "allumer", - "rules": [ - { - "t": "set", - "p": "bot.payload", - "pt": "msg", - "to": "99", - "tot": "num" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai allumé la lumière", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3340, - "y": 860, - "wires": [ - [ - "703f8f42adcce1da" - ] - ] - }, - { - "id": "569f9335.f48c8c", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "éteindre", - "rules": [ - { - "t": "set", - "p": "bot.payload", - "pt": "msg", - "to": "0", - "tot": "num" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai éteint la lumière", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3340, - "y": 920, - "wires": [ - [ - "703f8f42adcce1da" - ] - ] - }, - { - "id": "a3e1b5e5.0d0ef8", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "lieu", - "property": "bot.topic", - "propertyType": "msg", - "rules": [ - { - "t": "null" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2430, - "y": 740, - "wires": [ - [ - "66f3ea78.14b9b4" - ], - [ - "2f629fa5.21d19" - ] - ] - }, - { - "id": "66f3ea78.14b9b4", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "site vers cible", - "rules": [ - { - "t": "set", - "p": "bot.topic", - "pt": "msg", - "to": "bot.source", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2620, - "y": 680, - "wires": [ - [ - "2f629fa5.21d19" - ] - ] - }, - { - "id": "14899088.b01bef", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "Inconnue", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "Je ne sais pas quoi faire.", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3000, - "y": 1520, - "wires": [ - [ - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "f4fffe27.31ff5", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "volet", - "property": "bot.action", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "up", - "vt": "str" - }, - { - "t": "eq", - "v": "half", - "vt": "str" - }, - { - "t": "eq", - "v": "down", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 3470, - "y": 740, - "wires": [ - [ - "96348320.b652a" - ], - [ - "cb6aeb0c.1e3338" - ], - [ - "bf1e93fc.bbeca" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "96348320.b652a", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "ouvrir", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "99", - "tot": "num" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai ouvert le volet", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3630, - "y": 620, - "wires": [ - [ - "f4c898d73ae26945" - ] - ] - }, - { - "id": "bf1e93fc.bbeca", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "fermer", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "0", - "tot": "num" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai fermé le volet", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3630, - "y": 740, - "wires": [ - [ - "f4c898d73ae26945" - ] - ] - }, - { - "id": "e596ecc0.c9616", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "changer", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "bot.action", - "tot": "msg" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "\"J'ai changé le mode \" & msg.bot.topic& \" sur \" & msg.bot.action", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3160, - "y": 980, - "wires": [ - [ - "dda50597.594f58" - ] - ] - }, - { - "id": "382970a4.425d6", - "type": "moment", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "Heure", - "topic": "", - "input": "", - "inputType": "date", - "inTz": "Europe/Paris", - "adjAmount": 0, - "adjType": "days", - "adjDir": "add", - "format": "[Il est ]H[ heure ]m", - "locale": "fr-FR", - "output": "bot.reponse", - "outputType": "msg", - "outTz": "Europe/Paris", - "x": 2990, - "y": 1400, - "wires": [ - [ - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "c22bbee6.47b7a", - "type": "moment", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "Date", - "topic": "", - "input": "", - "inputType": "date", - "inTz": "Europe/Paris", - "adjAmount": 0, - "adjType": "days", - "adjDir": "add", - "format": "[Nous sommes le ]LLLL", - "locale": "fr-FR", - "output": "bot.reponse", - "outputType": "msg", - "outTz": "Europe/Paris", - "x": 2990, - "y": 1460, - "wires": [ - [ - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "e05cb16e.ff2c2", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "volume", - "property": "bot.action", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "up", - "vt": "str" - }, - { - "t": "eq", - "v": "down", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 3000, - "y": 1100, - "wires": [ - [ - "32fe33ae.a321ac" - ], - [ - "5c5317f5.b9aae8" - ] - ] - }, - { - "id": "32fe33ae.a321ac", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "monter", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai augmenté le volume", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3180, - "y": 1100, - "wires": [ - [ - "77b65753.bbdb28" - ] - ] - }, - { - "id": "5c5317f5.b9aae8", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "diminier", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai baissé le volume", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3180, - "y": 1160, - "wires": [ - [ - "77b65753.bbdb28" - ] - ] - }, - { - "id": "a8f7856e.e5d398", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "radio", - "property": "bot.action", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "on", - "vt": "str" - }, - { - "t": "eq", - "v": "off", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2990, - "y": 1220, - "wires": [ - [ - "29f39327.90d0bc" - ], - [ - "941e361c.d71418" - ] - ] - }, - { - "id": "941e361c.d71418", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "arrêter", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai arrêté la radio", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3170, - "y": 1280, - "wires": [ - [ - "77b65753.bbdb28" - ] - ] - }, - { - "id": "29f39327.90d0bc", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "lire", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai mis la radio", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3170, - "y": 1220, - "wires": [ - [ - "77b65753.bbdb28" - ] - ] - }, - { - "id": "dda50597.594f58", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "'device/systeme/mode/' & $lowercase(msg.bot.topic)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3330, - "y": 980, - "wires": [ - [ - "0fe92c75f3eaef4a", - "78f631485429d868" - ] - ] - }, - { - "id": "77b65753.bbdb28", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "sensor", - "rules": [ - { - "t": "set", - "p": "bot.sensor", - "pt": "msg", - "to": "radio", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3350, - "y": 1100, - "wires": [ - [] - ] - }, - { - "id": "657f7682.77d688", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "intention & site", - "rules": [ - { - "t": "set", - "p": "query.intention", - "pt": "flow", - "to": "payload.intent.intentName", - "tot": "msg" - }, - { - "t": "set", - "p": "query.source", - "pt": "flow", - "to": "payload.siteId", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "payload.slots", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1120, - "y": 740, - "wires": [ - [ - "6603cd11.9802c4" - ] - ] - }, - { - "id": "ed993f37.53193", - "type": "split", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "", - "x": 1470, - "y": 860, - "wires": [ - [ - "eee061d4.bf955" - ] - ] - }, - { - "id": "eee061d4.bf955", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "slot", - "property": "payload.slotName", - "propertyType": "msg", - "rules": [ - { - "t": "regex", - "v": "^(topic|action|flux|mode)$", - "vt": "str", - "case": false - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1630, - "y": 860, - "wires": [ - [ - "b64aec4c.52f8" - ], - [ - "51b518a6.4af478" - ] - ] - }, - { - "id": "b64aec4c.52f8", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "value", - "rules": [ - { - "t": "set", - "p": "query[msg.payload.slotName]", - "pt": "flow", - "to": "msg.payload.value.value", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1790, - "y": 800, - "wires": [ - [ - "51b518a6.4af478" - ] - ] - }, - { - "id": "51b518a6.4af478", - "type": "join", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "", - "mode": "auto", - "build": "string", - "property": "payload", - "propertyType": "msg", - "key": "topic", - "joiner": "\\n", - "joinerType": "str", - "accumulate": false, - "timeout": "", - "count": "", - "reduceRight": false, - "reduceExp": "", - "reduceInit": "", - "reduceInitType": "", - "reduceFixup": "", - "x": 1950, - "y": 860, - "wires": [ - [ - "9d1cfd56.737b9" - ] - ] - }, - { - "id": "8f9c20c3.fc37a", - "type": "debug", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "", - "active": true, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 2430, - "y": 800, - "wires": [] - }, - { - "id": "32ba92cf.54950e", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "mode assistant", - "property": "stack.systeme.mode.assistant", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 720, - "y": 740, - "wires": [ - [ - "2494e673a498ca2f" - ] - ] - }, - { - "id": "9d1cfd56.737b9", - "type": "delay", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "50ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "outputs": 1, - "x": 2110, - "y": 740, - "wires": [ - [ - "da507502.f708e8" - ] - ] - }, - { - "id": "da507502.f708e8", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "flow", - "rules": [ - { - "t": "set", - "p": "bot", - "pt": "msg", - "to": "query", - "tot": "flow" - }, - { - "t": "delete", - "p": "query", - "pt": "flow" - }, - { - "t": "set", - "p": "bot.type", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2270, - "y": 740, - "wires": [ - [ - "8f9c20c3.fc37a", - "a3e1b5e5.0d0ef8" - ] - ] - }, - { - "id": "6603cd11.9802c4", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "slots", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "empty" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1310, - "y": 740, - "wires": [ - [ - "9d1cfd56.737b9" - ], - [ - "ed993f37.53193" - ] - ] - }, - { - "id": "cb6aeb0c.1e3338", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "ajourer", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "stack[msg.bot.topic]['ombrage']['ajoure']", - "tot": "global" - }, - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "J'ai ajouré le volet", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3640, - "y": 680, - "wires": [ - [ - "f4c898d73ae26945" - ] - ] - }, - { - "id": "35204a8af1b663ea", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "mode automate", - "property": "stack.systeme.mode.automate", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 500, - "y": 740, - "wires": [ - [ - "32ba92cf.54950e" - ] - ] - }, - { - "id": "d4c5a5fae1f1b56f", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "mode maitre", - "property": "stack.systeme.mode.maitre", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "automate", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 290, - "y": 740, - "wires": [ - [ - "35204a8af1b663ea" - ] - ] - }, - { - "id": "0fe92c75f3eaef4a", - "type": "link out", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "jarvis intention say", - "mode": "link", - "links": [ - "bc8a2400.cf65c8" - ], - "x": 3135, - "y": 1400, - "wires": [] - }, - { - "id": "2494e673a498ca2f", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "jarvis actif", - "property": "stack[msg.payload.siteId]jarvis.actif", - "propertyType": "global", - "rules": [ - { - "t": "true" - } - ], - "checkall": "true", - "repair": false, - "outputs": 1, - "x": 920, - "y": 740, - "wires": [ - [ - "657f7682.77d688" - ] - ] - }, - { - "id": "6f0233872e96cac2", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "exists", - "property": "stack[msg.bot.topic]", - "propertyType": "global", - "rules": [ - { - "t": "hask", - "v": "lumiere", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2990, - "y": 860, - "wires": [ - [ - "fdc00c7c.60095" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "9cb04c54a400ebcc", - "type": "split", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "field", - "x": 3690, - "y": 860, - "wires": [ - [ - "0beb44e89b2e30b4" - ] - ] - }, - { - "id": "703f8f42adcce1da", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "lumieres", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "stack[msg.bot.topic]lumiere", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3520, - "y": 860, - "wires": [ - [ - "9cb04c54a400ebcc", - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "0beb44e89b2e30b4", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "'device/' & msg.bot.topic & '/cible/' & msg.field", - "tot": "jsonata" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "bot.payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3850, - "y": 860, - "wires": [ - [ - "78f631485429d868" - ] - ] - }, - { - "id": "78f631485429d868", - "type": "link out", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "jarvis intention metric", - "mode": "link", - "links": [ - "03fc37b7f3c68264" - ], - "x": 3975, - "y": 860, - "wires": [] - }, - { - "id": "ca8f9cb7063f4dad", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "scene", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bot.topic", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2990, - "y": 1340, - "wires": [ - [ - "0d6d53c8baa5e907" - ] - ] - }, - { - "id": "0d6d53c8baa5e907", - "type": "link call", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "", - "links": [ - "ddd39f991efd9d31" - ], - "linkType": "static", - "timeout": "30", - "x": 3280, - "y": 1340, - "wires": [ - [ - "8a0c5e7df26d88d5" - ] - ] - }, - { - "id": "8a0c5e7df26d88d5", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 3490, - "y": 1340, - "wires": [ - [ - "081c50f9dcfb4b51" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "081c50f9dcfb4b51", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "response", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "'Il fait ' & msg.payload & ' degré.'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3680, - "y": 1340, - "wires": [ - [ - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "4dd71cfc1021aadf", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "exists", - "property": "stack[msg.bot.topic]", - "propertyType": "global", - "rules": [ - { - "t": "hask", - "v": "ombrage", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 3310, - "y": 740, - "wires": [ - [ - "f4fffe27.31ff5" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "f4c898d73ae26945", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "'jarvis/' & msg.bot.topic & '/cible/volet'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3810, - "y": 740, - "wires": [ - [ - "78f631485429d868", - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "6b34b6cdde85efe0", - "type": "switch", - "z": "0e52966a98143270", - "d": true, - "g": "56334b8b.5fd224", - "name": "exists", - "property": "stack.systeme.mode", - "propertyType": "global", - "rules": [ - { - "t": "hask", - "v": "$lowercase(msg.bot.topic)", - "vt": "jsonata" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2990, - "y": 980, - "wires": [ - [ - "e596ecc0.c9616" - ], - [ - "14899088.b01bef" - ] - ] - }, - { - "id": "4e2598ba2a349251", - "type": "switch", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "piece", - "property": "bot.topic", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "cuisine", - "vt": "str" - }, - { - "t": "eq", - "v": "bureau", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 2990, - "y": 740, - "wires": [ - [ - "ad14707636c17a17" - ], - [ - "5d1da1947184e3f7" - ], - [ - "4dd71cfc1021aadf" - ] - ] - }, - { - "id": "ad14707636c17a17", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "salon", - "rules": [ - { - "t": "set", - "p": "bot.topic", - "pt": "msg", - "to": "salon", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3150, - "y": 620, - "wires": [ - [ - "4dd71cfc1021aadf" - ] - ] - }, - { - "id": "5d1da1947184e3f7", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "jeux", - "rules": [ - { - "t": "set", - "p": "bot.topic", - "pt": "msg", - "to": "jeux", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3150, - "y": 680, - "wires": [ - [ - "4dd71cfc1021aadf" - ] - ] - }, - { - "id": "833f9ea0770f6e5a", - "type": "link in", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "jarvis intention", - "links": [ - "4db395b3e8fa404f" - ], - "x": 135, - "y": 740, - "wires": [ - [ - "d4c5a5fae1f1b56f" - ] - ] - }, - { - "id": "03732989aa73f35a", - "type": "change", - "z": "0e52966a98143270", - "g": "56334b8b.5fd224", - "name": "desactive", - "rules": [ - { - "t": "set", - "p": "bot.reponse", - "pt": "msg", - "to": "Cette fonction est désacitvée pour le moment..", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3000, - "y": 800, - "wires": [ - [ - "0fe92c75f3eaef4a" - ] - ] - }, - { - "id": "85a64ab6.b23f08", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "mode notification", - "property": "stack.systeme.mode.notification", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 950, - "y": 1640, - "wires": [ - [ - "6e9a0d50.e1a814" - ] - ] - }, - { - "id": "bc8a2400.cf65c8", - "type": "link in", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "réponse", - "links": [ - "13952b24.eb42e5", - "1d4ca7fb.bef5a8", - "4cadf1da.0ec3b", - "52d39243.ae3c2c", - "5afae511.1fe0bc", - "67e9ed0.d4d0514", - "71f69349.c3226c", - "75b5593c.a2c718", - "8d496e48.310eb", - "8f9a3407.33b968", - "a0fa3feb.3ce5c", - "b1dc988c.855348", - "d726127.322b3f", - "ea4c35f9.bb1eb8", - "f8be5c1e.0943c", - "fc55423a.6d2c3", - "fd82e626.a1fdd8", - "545cc8bd.0ed1c8", - "aa40379b.135308", - "75aa71b7.8a96d", - "86ddfd28.6e0c3", - "0fe92c75f3eaef4a" - ], - "x": 135, - "y": 1640, - "wires": [ - [ - "fac9339ce8daa1a2" - ] - ] - }, - { - "id": "6e9a0d50.e1a814", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "bot reponse", - "property": "bot.reponse", - "propertyType": "msg", - "rules": [ - { - "t": "nempty" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1170, - "y": 1640, - "wires": [ - [ - "1963cac3.92fb35" - ] - ] - }, - { - "id": "7392637e.5ee6ac", - "type": "delay", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "", - "pauseType": "rate", - "timeout": "1", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": true, - "outputs": 1, - "x": 1560, - "y": 1640, - "wires": [ - [ - "35779147.0489ce" - ] - ] - }, - { - "id": "5b76bba6.45fa64", - "type": "comment", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "vire les multi-odres de radio", - "info": "", - "x": 1600, - "y": 1700, - "wires": [] - }, - { - "id": "35779147.0489ce", - "type": "change", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\"siteId\":msg.bot.source,\"text\":msg.bot.reponse}", - "tot": "jsonata" - }, - { - "t": "delete", - "p": "jarvis", - "pt": "msg" - }, - { - "t": "delete", - "p": "radio", - "pt": "msg" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "hermes/tts/say", - "tot": "str" - }, - { - "t": "set", - "p": "qos", - "pt": "msg", - "to": "1", - "tot": "num" - }, - { - "t": "set", - "p": "retain", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1750, - "y": 1640, - "wires": [ - [ - "10aafa2119bcdcac" - ] - ] - }, - { - "id": "1963cac3.92fb35", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "bot type", - "property": "bot.type", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1360, - "y": 1640, - "wires": [ - [ - "7392637e.5ee6ac" - ] - ] - }, - { - "id": "fac9339ce8daa1a2", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "mode maitre", - "property": "stack.systeme.mode.maitre", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "automate", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 290, - "y": 1640, - "wires": [ - [ - "8e8fad5a3dc8ff2f" - ] - ] - }, - { - "id": "8e8fad5a3dc8ff2f", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "mode automate", - "property": "stack.systeme.mode.automate", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 500, - "y": 1640, - "wires": [ - [ - "40349e29c54aadd9" - ] - ] - }, - { - "id": "40349e29c54aadd9", - "type": "switch", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "mode assistant", - "property": "stack.systeme.mode.assistant", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 720, - "y": 1640, - "wires": [ - [ - "85a64ab6.b23f08" - ] - ] - }, - { - "id": "10aafa2119bcdcac", - "type": "link out", - "z": "0e52966a98143270", - "g": "7edde334.214fcc", - "name": "jarvis say", - "mode": "link", - "links": [ - "4cfd419f66b58eda" - ], - "x": 1875, - "y": 1640, - "wires": [] - }, - { - "id": "ce8707c6.dc7138", - "type": "change", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "faible", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "payload.jarvis.faible", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload/100", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2330, - "y": 1960, - "wires": [ - [ - "c22b1683.523528" - ] - ] - }, - { - "id": "2e0ae690.f2f90a", - "type": "change", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "fort", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "payload.jarvis.fort", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload/100", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2330, - "y": 1900, - "wires": [ - [ - "c22b1683.523528" - ] - ] - }, - { - "id": "9f96e582.967208", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "mode son", - "property": "stack.systeme.mode.son", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Arrêt", - "vt": "str" - }, - { - "t": "eq", - "v": "Fort", - "vt": "str" - }, - { - "t": "eq", - "v": "Faible", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 2160, - "y": 1840, - "wires": [ - [ - "5501246c.a0f3bc" - ], - [ - "2e0ae690.f2f90a" - ], - [ - "ce8707c6.dc7138" - ] - ] - }, - { - "id": "5501246c.a0f3bc", - "type": "change", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "arrêt", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "0", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2330, - "y": 1840, - "wires": [ - [ - "c22b1683.523528" - ] - ] - }, - { - "id": "c22b1683.523528", - "type": "change", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "tmp", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"volume\":msg.tmp,\t \"siteId\":msg.bucket\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "rhasspy/audioServer/setVolume", - "tot": "str" - }, - { - "t": "set", - "p": "qos", - "pt": "msg", - "to": "1", - "tot": "num" - }, - { - "t": "set", - "p": "retain", - "pt": "msg", - "to": "false", - "tot": "bool" - }, - { - "t": "delete", - "p": "parts", - "pt": "msg" - }, - { - "t": "delete", - "p": "path", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2490, - "y": 1840, - "wires": [ - [ - "2c561a436a935bc6" - ] - ] - }, - { - "id": "4f56bd52.514404", - "type": "comment", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "volume (cf comm)", - "info": "Reglage sur le pi: sudo amixer set Speaker 127", - "x": 2530, - "y": 1900, - "wires": [] - }, - { - "id": "8dbe96dd.eab3b8", - "type": "delay", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "", - "pauseType": "delay", - "timeout": "250", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 1970, - "y": 1840, - "wires": [ - [ - "9f96e582.967208" - ] - ] - }, - { - "id": "0ff84980aae53d0f", - "type": "link in", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "jarvis volume", - "links": [], - "x": 135, - "y": 1840, - "wires": [ - [ - "11bcee51878d81c8", - "461e40cdc9b83b48" - ] - ] - }, - { - "id": "d0893099b20a4ecc", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "mode maitre", - "property": "stack.systeme.mode.maitre", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "automate", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 670, - "y": 1840, - "wires": [ - [ - "ef402ae5e4c37c13" - ] - ] - }, - { - "id": "ef402ae5e4c37c13", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "mode automate", - "property": "stack.systeme.mode.automate", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 880, - "y": 1840, - "wires": [ - [ - "2874910a1963721a" - ] - ] - }, - { - "id": "2874910a1963721a", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "mode assistant", - "property": "stack.systeme.mode.assistant", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "Automatique", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1100, - "y": 1840, - "wires": [ - [ - "93e8c15dd0559efb" - ] - ] - }, - { - "id": "11bcee51878d81c8", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "declencheur", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "systeme/mode/son", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 290, - "y": 1840, - "wires": [ - [ - "d0893099b20a4ecc" - ] - ] - }, - { - "id": "93e8c15dd0559efb", - "type": "change", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "buckets", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "stack", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1300, - "y": 1840, - "wires": [ - [ - "8231b6a267d39bf2" - ] - ] - }, - { - "id": "8231b6a267d39bf2", - "type": "split", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 1470, - "y": 1840, - "wires": [ - [ - "e6e992ed3ab5057d" - ] - ] - }, - { - "id": "e6e992ed3ab5057d", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "jarvis", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "jarvis", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1630, - "y": 1840, - "wires": [ - [ - "65c10ac9303d616b" - ] - ] - }, - { - "id": "65c10ac9303d616b", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "actif", - "property": "payload.jarvis.actif", - "propertyType": "msg", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1790, - "y": 1840, - "wires": [ - [ - "8dbe96dd.eab3b8" - ] - ] - }, - { - "id": "461e40cdc9b83b48", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "jarvis", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 1900, - "wires": [ - [ - "a9b7311d0fdfef9b" - ] - ] - }, - { - "id": "a9b7311d0fdfef9b", - "type": "switch", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "fort", - "vt": "str" - }, - { - "t": "eq", - "v": "faible", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 490, - "y": 1900, - "wires": [ - [ - "d0893099b20a4ecc" - ], - [ - "d0893099b20a4ecc" - ] - ] - }, - { - "id": "2c561a436a935bc6", - "type": "link out", - "z": "0e52966a98143270", - "g": "5749f1a3ca81d04c", - "name": "jarvis volume", - "mode": "link", - "links": [ - "4cfd419f66b58eda" - ], - "x": 2615, - "y": 1840, - "wires": [] - } -] \ No newline at end of file diff --git a/flows/A.Telegram.json b/flows/A.Telegram.json index 6a26b7a..09ebd71 100644 --- a/flows/A.Telegram.json +++ b/flows/A.Telegram.json @@ -68,7 +68,7 @@ ], "x": 68, "y": 233, - "w": 3964, + "w": 3984, "h": 314 }, { @@ -255,7 +255,7 @@ ], "x": 1514, "y": 259, - "w": 2492, + "w": 2512, "h": 149.5 }, { @@ -2959,7 +2959,7 @@ "from": "", "to": "", "reg": false, - "x": 3440, + "x": 3460, "y": 360, "wires": [ [ @@ -2985,7 +2985,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2790, + "x": 2810, "y": 360, "wires": [ [ @@ -3011,7 +3011,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 3000, + "x": 3020, "y": 360, "wires": [ [ @@ -3037,7 +3037,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 3230, + "x": 3250, "y": 360, "wires": [ [ @@ -3061,7 +3061,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 3620, + "x": 3640, "y": 360, "wires": [ [ @@ -3119,7 +3119,7 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 3850, + "x": 3870, "y": 300, "wires": [] }, @@ -3166,7 +3166,7 @@ "links": [ "3433733d6b9a8736" ], - "x": 3755, + "x": 3775, "y": 360, "wires": [] }, @@ -3480,14 +3480,15 @@ "type": "split", "z": "52347795767acd3f", "g": "bdd2440c99f0d065", - "name": "", + "name": "buckets", "splt": "\\n", "spltType": "str", "arraySplt": 1, "arraySpltType": "len", "stream": false, "addname": "bucket", - "x": 2450, + "property": "payload", + "x": 2460, "y": 360, "wires": [ [ @@ -3511,7 +3512,7 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2610, + "x": 2630, "y": 360, "wires": [ [ diff --git a/flows/A.Unifi.json b/flows/A.Unifi.json index 180682b..8f97a03 100644 --- a/flows/A.Unifi.json +++ b/flows/A.Unifi.json @@ -409,7 +409,7 @@ "name": "", "server": "535a857c71583573", "command": "20", - "debug": false, + "debug": true, "x": 1680, "y": 960, "wires": [ @@ -444,7 +444,7 @@ "name": "", "label": "Led Unifi", "group": "3cfaa12a351bab8e", - "order": 0, + "order": 1, "width": 0, "height": 0, "passthru": false, diff --git a/flows/K.Kernel.json b/flows/K.Kernel.json index f5e312b..a882044 100644 --- a/flows/K.Kernel.json +++ b/flows/K.Kernel.json @@ -24,7 +24,7 @@ "1e45572f1b441732" ], "x": 62, - "y": 3367, + "y": 3427, "w": 3346, "h": 1266 }, @@ -74,7 +74,7 @@ "x": 68, "y": 173, "w": 5194, - "h": 2834 + "h": 2954 }, { "id": "648d078d534a93be", @@ -133,7 +133,7 @@ "c706245ab487b7e2" ], "x": 68, - "y": 3113, + "y": 3173, "w": 1824, "h": 194 }, @@ -154,7 +154,7 @@ "d9548e9b1a2e6f36" ], "x": 88, - "y": 4353, + "y": 4413, "w": 1794, "h": 254 }, @@ -175,7 +175,7 @@ "266f4436dc45ce89" ], "x": 88, - "y": 3993, + "y": 4053, "w": 3294, "h": 314 }, @@ -196,7 +196,7 @@ "4937527cddd45b61" ], "x": 88, - "y": 3633, + "y": 3693, "w": 1744, "h": 314 }, @@ -268,7 +268,7 @@ "ca442e58e65b32f8" ], "x": 94, - "y": 2539, + "y": 2659, "w": 712, "h": 262, "info": "cron minute = every minutes from flow start\r\ncron hour = every hours from flow start\r\ncron day = every day at 3 am" @@ -299,7 +299,7 @@ "afd6a49ad55de215" ], "x": 94, - "y": 2359, + "y": 2479, "w": 1242, "h": 142 }, @@ -308,7 +308,7 @@ "type": "group", "z": "ab51b1e8cad7b700", "g": "96d8990f6a4978cc", - "name": "kernel - write to InluxDB", + "name": "kernel - write to InfluxDB", "style": { "fill": "#ff0000", "fill-opacity": "0.05", @@ -333,7 +333,7 @@ "13f75c57c57e7423" ], "x": 94, - "y": 2119, + "y": 2239, "w": 2692, "h": 202 }, @@ -356,7 +356,7 @@ "c5465d5f64db4b45" ], "x": 94, - "y": 1939, + "y": 2059, "w": 792, "h": 142 }, @@ -382,7 +382,7 @@ "592483f2183c6711" ], "x": 94, - "y": 1639, + "y": 1759, "w": 1072, "h": 262 }, @@ -431,10 +431,13 @@ "357c6d106dec5efd", "3a4c72588bb27ab4", "56d131373d4e2f78", - "e6a4e861a99b196c" + "e6a4e861a99b196c", + "a9b3a11e9a293e92", + "3f5c348f99494011", + "dec821295a7e7458" ], "x": 94, - "y": 1159, + "y": 1279, "w": 5142, "h": 442 }, @@ -458,7 +461,7 @@ "8fdb5986494986cc" ], "x": 94, - "y": 919, + "y": 1039, "w": 1072, "h": 202, "info": "gate can be opened or closed\r\nWhen closed, all messages are stopped from MQTT links and kernel" @@ -488,7 +491,7 @@ "f1898b7dbc641cd6" ], "x": 94, - "y": 679, + "y": 799, "w": 1412, "h": 202, "info": "devices must register their definitions to this part input" @@ -513,12 +516,15 @@ "ee66fb38bde2fdf4", "92f76d0a8a4f1178", "8413c966166387ab", - "3cd44612df58e32f" + "3cd44612df58e32f", + "2ceb381ba0bf7995", + "1bae0aa3b8156a13", + "c7c8a09626ba3a9a" ], "x": 94, "y": 199, "w": 1152, - "h": 202 + "h": 262 }, { "id": "cf7f82b8517f3250", @@ -545,12 +551,15 @@ "d74bb73a0966b4bd", "f4e4d84dd55f9d0d", "3308d2aa53cd0bbd", - "d1e284b3f0851bb5" + "d1e284b3f0851bb5", + "083e2e406bc15eb5", + "7aea7cca7eb973e8", + "77bc37b9d8f69f5e" ], "x": 94, - "y": 439, + "y": 491.5, "w": 2242, - "h": 202, + "h": 269.5, "info": "when flow start, this part launch all sub flows\r\ndevices registration must be called from this part output" }, { @@ -571,7 +580,7 @@ "19a5c46ec6c71456" ], "x": 1354, - "y": 3139, + "y": 3199, "w": 512, "h": 142 }, @@ -597,7 +606,7 @@ "d02f1b2f2c3a2a30" ], "x": 94, - "y": 3139, + "y": 3199, "w": 1162, "h": 142 }, @@ -618,7 +627,7 @@ "26ee3b5b75b8d83f" ], "x": 94, - "y": 2839, + "y": 2959, "w": 352, "h": 142 }, @@ -638,7 +647,7 @@ "b96253f786c81415" ], "x": 88, - "y": 3393, + "y": 3453, "w": 2154, "h": 194 }, @@ -663,7 +672,7 @@ "69041daa92bc0a8b" ], "x": 1094, - "y": 4379, + "y": 4439, "w": 762, "h": 202 }, @@ -687,7 +696,7 @@ "f61f5fe80ddf6ff1" ], "x": 114, - "y": 4379, + "y": 4439, "w": 882, "h": 82 }, @@ -714,7 +723,7 @@ "70ae9d85820c14fb" ], "x": 1714, - "y": 4019, + "y": 4079, "w": 1642, "h": 202 }, @@ -744,7 +753,7 @@ "cf2b3440a4b8c304" ], "x": 114, - "y": 4019, + "y": 4079, "w": 1502, "h": 262 }, @@ -770,7 +779,7 @@ "9d71ae848c07c4ab" ], "x": 834, - "y": 3659, + "y": 3719, "w": 972, "h": 262 }, @@ -792,7 +801,7 @@ "546f190f3ec0c90d" ], "x": 114, - "y": 3659, + "y": 3719, "w": 612, "h": 202 }, @@ -814,7 +823,7 @@ "a55fb25ac5e89398" ], "x": 114, - "y": 3419, + "y": 3479, "w": 382, "h": 142 }, @@ -843,7 +852,7 @@ "21fbe912a43d9c26" ], "x": 594, - "y": 3419, + "y": 3479, "w": 1622, "h": 142 }, @@ -868,7 +877,7 @@ "to": "", "reg": false, "x": 1500, - "y": 4540, + "y": 4600, "wires": [ [ "b2ccb6a2a248015d" @@ -896,7 +905,7 @@ "to": "", "reg": false, "x": 1500, - "y": 4480, + "y": 4540, "wires": [ [ "b2ccb6a2a248015d" @@ -924,7 +933,7 @@ "to": "", "reg": false, "x": 1500, - "y": 4420, + "y": 4480, "wires": [ [ "b2ccb6a2a248015d" @@ -952,7 +961,7 @@ "to": "", "reg": false, "x": 1680, - "y": 4480, + "y": 4540, "wires": [ [ "89d2eebcaafb5013" @@ -988,7 +997,7 @@ "repair": false, "outputs": 3, "x": 1300, - "y": 4480, + "y": 4540, "wires": [ [ "d318afa2a81e4ff9" @@ -1014,7 +1023,7 @@ "de0c34e8104574b0" ], "x": 1815, - "y": 4480, + "y": 4540, "wires": [] }, { @@ -1041,7 +1050,7 @@ "23cb7e24572f04c1" ], "x": 1135, - "y": 4480, + "y": 4540, "wires": [ [ "9c89a41128573752" @@ -1065,7 +1074,7 @@ "repair": false, "outputs": 1, "x": 500, - "y": 4420, + "y": 4480, "wires": [ [ "a2d25db2ace537ae" @@ -1097,7 +1106,7 @@ "d0fa99cc77ef787c" ], "x": 955, - "y": 4420, + "y": 4480, "wires": [] }, { @@ -1117,7 +1126,7 @@ "repair": false, "outputs": 1, "x": 830, - "y": 4420, + "y": 4480, "wires": [ [ "637b84024e725f38" @@ -1141,7 +1150,7 @@ "repair": false, "outputs": 1, "x": 670, - "y": 4420, + "y": 4480, "wires": [ [ "282bb73eb4892ab9" @@ -1190,7 +1199,7 @@ "to": "", "reg": false, "x": 310, - "y": 4420, + "y": 4480, "wires": [ [ "f61f5fe80ddf6ff1" @@ -1207,7 +1216,7 @@ "031a6afd8300356a" ], "x": 155, - "y": 4420, + "y": 4480, "wires": [ [ "a4e3db9cc35fc9eb" @@ -1235,7 +1244,7 @@ "to": "", "reg": false, "x": 2060, - "y": 4120, + "y": 4180, "wires": [ [ "5e3cb9bb3266089b" @@ -1264,7 +1273,7 @@ "repair": false, "outputs": 2, "x": 1890, - "y": 4180, + "y": 4240, "wires": [ [ "70ae9d85820c14fb" @@ -1293,7 +1302,7 @@ "topic": "path", "outputs": 1, "x": 2500, - "y": 4180, + "y": 4240, "wires": [ [ "83e8a9fa324dd4b9" @@ -1321,7 +1330,7 @@ "to": "", "reg": false, "x": 2720, - "y": 4180, + "y": 4240, "wires": [ [ "0b32686fe74c253f" @@ -1354,7 +1363,7 @@ "to": "", "reg": false, "x": 3160, - "y": 4180, + "y": 4240, "wires": [ [ "06581753b7673f83" @@ -1383,7 +1392,7 @@ "repair": false, "outputs": 2, "x": 2940, - "y": 4180, + "y": 4240, "wires": [ [ "51b002c497ad57cd" @@ -1428,7 +1437,7 @@ "to": "", "reg": false, "x": 2270, - "y": 4180, + "y": 4240, "wires": [ [ "bb1e8e34559c5a7f" @@ -1446,7 +1455,7 @@ "206c1fb4a48067df" ], "x": 3315, - "y": 4060, + "y": 4120, "wires": [] }, { @@ -1484,10 +1493,11 @@ "a5360e4799f9e170", "2154dfc072f5104e", "facc68a5ef39eb24", - "dd58c47d1106a4bf" + "dd58c47d1106a4bf", + "bd25515e42e5e7c6" ], "x": 1755, - "y": 4060, + "y": 4120, "wires": [ [ "06581753b7673f83", @@ -1516,7 +1526,7 @@ "to": "", "reg": false, "x": 1290, - "y": 4160, + "y": 4220, "wires": [ [ "d34f38f155583ff7" @@ -1545,7 +1555,7 @@ "repair": false, "outputs": 2, "x": 1130, - "y": 4120, + "y": 4180, "wires": [ [ "d34f38f155583ff7" @@ -1583,7 +1593,7 @@ "to": "", "reg": false, "x": 960, - "y": 4120, + "y": 4180, "wires": [ [ "4908c2284e498338" @@ -1632,7 +1642,7 @@ "to": "", "reg": false, "x": 740, - "y": 4180, + "y": 4240, "wires": [ [ "5891781e4a61525a" @@ -1700,7 +1710,7 @@ "to": "", "reg": false, "x": 1450, - "y": 4120, + "y": 4180, "wires": [ [ "24058eec92534b27" @@ -1749,7 +1759,7 @@ "to": "", "reg": false, "x": 740, - "y": 4120, + "y": 4180, "wires": [ [ "5891781e4a61525a" @@ -1792,10 +1802,11 @@ "b3091e70cd5211b4", "a735610c7cb844e6", "f6a43d93fa9caf56", - "e46d811a29ddc59e" + "e46d811a29ddc59e", + "85217d0a7ee82761" ], "x": 1575, - "y": 4120, + "y": 4180, "wires": [] }, { @@ -1840,7 +1851,7 @@ "to": "", "reg": false, "x": 740, - "y": 4060, + "y": 4120, "wires": [ [ "5891781e4a61525a" @@ -1881,7 +1892,7 @@ "repair": false, "outputs": 4, "x": 500, - "y": 4120, + "y": 4180, "wires": [ [ "1ceced58d0c32e85" @@ -1918,7 +1929,7 @@ "to": "", "reg": false, "x": 300, - "y": 4120, + "y": 4180, "wires": [ [ "ac4653be6ea01477" @@ -1938,7 +1949,7 @@ "b491f7eb02575108" ], "x": 155, - "y": 4120, + "y": 4180, "wires": [ [ "30220f4fe07e35a4" @@ -1966,7 +1977,7 @@ "to": "", "reg": false, "x": 1440, - "y": 3700, + "y": 3760, "wires": [ [ "e6d11d0438e20b80" @@ -1995,7 +2006,7 @@ "repair": false, "outputs": 2, "x": 1230, - "y": 3760, + "y": 3820, "wires": [ [ "b08802b0dbd9a58b" @@ -2040,7 +2051,7 @@ "to": "", "reg": false, "x": 1250, - "y": 3820, + "y": 3880, "wires": [ [ "80459ca7317cce90" @@ -2069,7 +2080,7 @@ "repair": false, "outputs": 2, "x": 1030, - "y": 3880, + "y": 3940, "wires": [ [ "561aaceffe076a5d", @@ -2101,7 +2112,7 @@ "to": "", "reg": false, "x": 1680, - "y": 3760, + "y": 3820, "wires": [ [] ] @@ -2117,7 +2128,7 @@ "bfa594bf1f876c92" ], "x": 1415, - "y": 3880, + "y": 3940, "wires": [] }, { @@ -2160,10 +2171,13 @@ "136467c932bcd5c7", "19134c8dcb4e84fd", "32d00a16ef133893", - "fa5bb014ac36141b" + "fa5bb014ac36141b", + "f064e16a50e5d575", + "1b360245738fd978", + "88f385dcb120d9da" ], "x": 875, - "y": 3880, + "y": 3940, "wires": [ [ "0ff47b07b863d0ae" @@ -2211,10 +2225,13 @@ "4b7ee33aecb98a13", "592fa749c393ef14", "8e57dece73e9abd4", - "4b0831a713ce8dc0" + "4b0831a713ce8dc0", + "c9eb3c5aa51745b0", + "1ee49c6bd842b243", + "174d3fd440189377" ], "x": 455, - "y": 3820, + "y": 3880, "wires": [] }, { @@ -2232,7 +2249,7 @@ "statusVal": "", "statusType": "auto", "x": 560, - "y": 3700, + "y": 3760, "wires": [] }, { @@ -2249,7 +2266,7 @@ "finalize": "\n", "libs": [], "x": 310, - "y": 3820, + "y": 3880, "wires": [ [ "7f1a03ba2d4eb5d1" @@ -2289,7 +2306,7 @@ "9beae381e402ac2c" ], "x": 155, - "y": 3820, + "y": 3880, "wires": [ [ "c3d88e1872a9789b" @@ -2304,7 +2321,7 @@ "name": "MQTT nodered base topic must be same as automate name (default is iotredloop)", "info": "", "x": 820, - "y": 3240, + "y": 3300, "wires": [] }, { @@ -2315,7 +2332,7 @@ "name": "influxdb must have \"resume\", \"linky\", \"system\", \"home\", \"unifi\" buckets, and one bucket per room", "info": "", "x": 450, - "y": 2280, + "y": 2400, "wires": [] }, { @@ -2381,7 +2398,7 @@ "t": "set", "p": "default", "pt": "msg", - "to": "0.0.1", + "to": "0.0.2", "tot": "str" }, { @@ -2498,7 +2515,7 @@ "name": "every day at 12am", "info": "", "x": 590, - "y": 2760, + "y": 2880, "wires": [] }, { @@ -2509,7 +2526,7 @@ "name": "60 s after boot and every minute", "info": "", "x": 630, - "y": 2580, + "y": 2700, "wires": [] }, { @@ -2520,7 +2537,7 @@ "name": "60 s after boot and every hour", "info": "", "x": 620, - "y": 2640, + "y": 2760, "wires": [] }, { @@ -2531,7 +2548,7 @@ "name": "60 s after boot and every day at 3am", "info": "", "x": 640, - "y": 2700, + "y": 2820, "wires": [] }, { @@ -2546,7 +2563,7 @@ "254eee2678120cf3" ], "x": 365, - "y": 2760, + "y": 2880, "wires": [] }, { @@ -2562,7 +2579,7 @@ "onceDelay": "60", "topic": "", "x": 220, - "y": 2760, + "y": 2880, "wires": [ [ "764da2d0527c1ef6" @@ -2583,14 +2600,13 @@ "9c9fde57b61d7940", "bf4f0e66f58b0244", "c9f8f3d06381d3b2", - "f1ddd31035db0cc4", - "84aad657cc3015c1", - "151c140cd7171c80", "beaa3fccedefbf80", - "3db710d8b9023738" + "db24f50111d41243", + "ee79bcc119122588", + "5e6d3072053bc3d4" ], "x": 365, - "y": 2700, + "y": 2820, "wires": [] }, { @@ -2602,7 +2618,7 @@ "mode": "link", "links": [], "x": 365, - "y": 2640, + "y": 2760, "wires": [] }, { @@ -2628,10 +2644,11 @@ "7069be6e6ebff25e", "a2bfb1feb168f963", "d0935907549d7d1d", - "20f084f32aa8f63a" + "20f084f32aa8f63a", + "0b957131451db9ef" ], "x": 365, - "y": 2580, + "y": 2700, "wires": [] }, { @@ -2647,7 +2664,7 @@ "onceDelay": "60", "topic": "", "x": 200, - "y": 2700, + "y": 2820, "wires": [ [ "074a67bf0fcf09ad" @@ -2667,7 +2684,7 @@ "onceDelay": "60", "topic": "", "x": 210, - "y": 2640, + "y": 2760, "wires": [ [ "287d719de575c01f" @@ -2687,7 +2704,7 @@ "onceDelay": "60", "topic": "", "x": 210, - "y": 2580, + "y": 2700, "wires": [ [ "004bb30c27c94fb4" @@ -2714,7 +2731,7 @@ "repair": false, "outputs": 1, "x": 1550, - "y": 3180, + "y": 3240, "wires": [ [ "630dfeb0e033a476", @@ -2735,7 +2752,7 @@ "ff1a30fbddcaa9fd" ], "x": 1695, - "y": 3240, + "y": 3300, "wires": [] }, { @@ -2746,10 +2763,11 @@ "name": "mqtt nodered", "links": [ "e080152994978357", - "c5465d5f64db4b45" + "c5465d5f64db4b45", + "a9b3a11e9a293e92" ], "x": 1395, - "y": 3180, + "y": 3240, "wires": [ [ "19a5c46ec6c71456" @@ -2772,7 +2790,7 @@ "expiry": "", "broker": "51fc92ba27d12eaa", "x": 1760, - "y": 3180, + "y": 3240, "wires": [] }, { @@ -2798,7 +2816,7 @@ "repair": false, "outputs": 2, "x": 790, - "y": 3180, + "y": 3240, "wires": [ [], [ @@ -2837,7 +2855,7 @@ "to": "", "reg": false, "x": 1040, - "y": 3180, + "y": 3240, "wires": [ [ "e12bb3f8258f4439" @@ -2863,7 +2881,7 @@ "allowrate": false, "outputs": 1, "x": 410, - "y": 3180, + "y": 3240, "wires": [ [ "0a4c943dc3a06f0d" @@ -2881,7 +2899,7 @@ "8fdb5986494986cc" ], "x": 465, - "y": 3240, + "y": 3300, "wires": [ [ "0a4c943dc3a06f0d" @@ -2913,7 +2931,7 @@ "persist": false, "storeName": "default", "x": 590, - "y": 3180, + "y": 3240, "wires": [ [ "56d93c268a656fc4" @@ -2933,7 +2951,7 @@ "206c1fb4a48067df" ], "x": 1215, - "y": 3180, + "y": 3240, "wires": [] }, { @@ -2951,7 +2969,7 @@ "rh": 0, "inputs": 0, "x": 200, - "y": 3180, + "y": 3240, "wires": [ [ "b961d989c357e6d6" @@ -2966,7 +2984,7 @@ "server": "22dd0707e6d3a364", "name": "influxdb", "x": 2580, - "y": 2220, + "y": 2340, "wires": [ [] ] @@ -2982,7 +3000,7 @@ "7c98833082d48029" ], "x": 1295, - "y": 2460, + "y": 2580, "wires": [] }, { @@ -2995,7 +3013,7 @@ "a69d70a155c21ef3" ], "x": 135, - "y": 2400, + "y": 2520, "wires": [ [ "9d4a1f539c9bf58c" @@ -3013,7 +3031,7 @@ "6d94e6bcdaf399d4" ], "x": 135, - "y": 2460, + "y": 2580, "wires": [ [ "44308739c0f759ad" @@ -3060,7 +3078,7 @@ "to": "", "reg": false, "x": 280, - "y": 2400, + "y": 2520, "wires": [ [ "b1e2b474e4c77892" @@ -3086,7 +3104,7 @@ "allowrate": false, "outputs": 1, "x": 1150, - "y": 2460, + "y": 2580, "wires": [ [ "afd6a49ad55de215" @@ -3126,7 +3144,7 @@ "to": "", "reg": false, "x": 280, - "y": 2460, + "y": 2580, "wires": [ [ "d3064571c2fde064" @@ -3139,7 +3157,7 @@ "z": "ab51b1e8cad7b700", "g": "bc29c56f900c8d36", "name": "kernel - read file", - "active": false, + "active": true, "tosidebar": true, "console": false, "tostatus": false, @@ -3148,7 +3166,7 @@ "statusVal": "", "statusType": "auto", "x": 1160, - "y": 2400, + "y": 2520, "wires": [] }, { @@ -3172,7 +3190,7 @@ "to": "", "reg": false, "x": 880, - "y": 2460, + "y": 2580, "wires": [ [ "be0beee97ed2d572", @@ -3190,7 +3208,7 @@ "action": "", "pretty": false, "x": 630, - "y": 2460, + "y": 2580, "wires": [ [ "5205205461f48680" @@ -3211,7 +3229,7 @@ "encoding": "none", "allProps": false, "x": 460, - "y": 2460, + "y": 2580, "wires": [ [ "2356f963725e84c6" @@ -3224,7 +3242,7 @@ "z": "ab51b1e8cad7b700", "g": "bc29c56f900c8d36", "name": "kernel - write file", - "active": false, + "active": true, "tosidebar": true, "console": false, "tostatus": false, @@ -3233,7 +3251,7 @@ "statusVal": "", "statusType": "auto", "x": 660, - "y": 2400, + "y": 2520, "wires": [] }, { @@ -3249,7 +3267,7 @@ "overwriteFile": "true", "encoding": "none", "x": 460, - "y": 2400, + "y": 2520, "wires": [ [ "ede79ed6b82aa804" @@ -3275,7 +3293,7 @@ "repair": false, "outputs": 1, "x": 320, - "y": 2220, + "y": 2340, "wires": [ [ "27e3bd6cada7b554" @@ -3293,7 +3311,7 @@ "b4dcaf3216134966" ], "x": 2535, - "y": 2280, + "y": 2400, "wires": [] }, { @@ -3306,7 +3324,7 @@ "4264ed01f3943e2f" ], "x": 135, - "y": 2220, + "y": 2340, "wires": [ [ "faeff76a4321bee2" @@ -3332,7 +3350,7 @@ "repair": false, "outputs": 1, "x": 600, - "y": 2220, + "y": 2340, "wires": [ [ "13f75c57c57e7423" @@ -3360,7 +3378,7 @@ "to": "", "reg": false, "x": 1550, - "y": 2160, + "y": 2280, "wires": [ [ "58359ad51f36d68e", @@ -3390,7 +3408,7 @@ "repair": false, "outputs": 2, "x": 2010, - "y": 2160, + "y": 2280, "wires": [ [ "5c4a3b8ce0220dd9" @@ -3413,7 +3431,7 @@ "statusVal": "", "statusType": "auto", "x": 2630, - "y": 2160, + "y": 2280, "wires": [] }, { @@ -3435,7 +3453,7 @@ "allowrate": false, "outputs": 1, "x": 2390, - "y": 2280, + "y": 2400, "wires": [ [ "61b310386916497a", @@ -3465,7 +3483,7 @@ "to": "", "reg": false, "x": 1100, - "y": 2220, + "y": 2340, "wires": [ [ "ec2704a8e18114ea" @@ -3494,7 +3512,7 @@ "repair": false, "outputs": 2, "x": 1310, - "y": 2220, + "y": 2340, "wires": [ [ "7c75b6b921f30409" @@ -3528,7 +3546,7 @@ "repair": false, "outputs": 2, "x": 1820, - "y": 2220, + "y": 2340, "wires": [ [ "a98fde87c6b47e6e" @@ -3566,7 +3584,7 @@ "to": "", "reg": false, "x": 2200, - "y": 2220, + "y": 2340, "wires": [ [ "b43439c6ab36fbfc" @@ -3594,7 +3612,7 @@ "to": "", "reg": false, "x": 1780, - "y": 2280, + "y": 2400, "wires": [ [ "b43439c6ab36fbfc" @@ -3612,7 +3630,7 @@ "d40db95f9a154c3a" ], "x": 655, - "y": 2040, + "y": 2160, "wires": [] }, { @@ -3625,7 +3643,7 @@ "4264ed01f3943e2f" ], "x": 135, - "y": 2040, + "y": 2160, "wires": [ [ "b425ab40ef97a294" @@ -3651,7 +3669,7 @@ "allowrate": false, "outputs": 1, "x": 510, - "y": 2040, + "y": 2160, "wires": [ [ "1102208726a88a10", @@ -3674,7 +3692,7 @@ "statusVal": "", "statusType": "auto", "x": 740, - "y": 1980, + "y": 2100, "wires": [] }, { @@ -3710,7 +3728,7 @@ "to": "", "reg": false, "x": 300, - "y": 2040, + "y": 2160, "wires": [ [ "4176c5d5bc97709c" @@ -3728,7 +3746,7 @@ "b105c14c0fdc8160" ], "x": 535, - "y": 1680, + "y": 1800, "wires": [] }, { @@ -3741,7 +3759,7 @@ "4264ed01f3943e2f" ], "x": 135, - "y": 1680, + "y": 1800, "wires": [ [ "e4e85a27e4775ac9" @@ -3763,7 +3781,7 @@ "statusVal": "", "statusType": "auto", "x": 930, - "y": 1800, + "y": 1920, "wires": [] }, { @@ -3781,7 +3799,7 @@ "statusVal": "", "statusType": "auto", "x": 950, - "y": 1740, + "y": 1860, "wires": [] }, { @@ -3799,7 +3817,7 @@ "statusVal": "", "statusType": "auto", "x": 920, - "y": 1860, + "y": 1980, "wires": [] }, { @@ -3817,7 +3835,7 @@ "statusVal": "", "statusType": "auto", "x": 970, - "y": 1680, + "y": 1800, "wires": [] }, { @@ -3853,7 +3871,7 @@ "repair": false, "outputs": 4, "x": 620, - "y": 1740, + "y": 1860, "wires": [ [ "234620fe148e1dca" @@ -3890,7 +3908,7 @@ "to": "", "reg": false, "x": 340, - "y": 1680, + "y": 1800, "wires": [ [ "5a49d1f4b12618a7", @@ -3912,7 +3930,7 @@ "finalize": "\n", "libs": [], "x": 5030, - "y": 1380, + "y": 1500, "wires": [ [ "c15d0c66ed5af79f" @@ -3935,7 +3953,7 @@ "persist": false, "storeName": "default", "x": 270, - "y": 1260, + "y": 1380, "wires": [ [ "4689a4035be0c82e" @@ -3955,7 +3973,7 @@ "pauseAtStartup": false, "topicDependent": false, "x": 3820, - "y": 1380, + "y": 1500, "wires": [ [ "c785aed10e83430a", @@ -3976,7 +3994,7 @@ "linkType": "static", "timeout": "30", "x": 1700, - "y": 1440, + "y": 1620, "wires": [ [ "3743db17cb401840" @@ -3995,7 +4013,7 @@ "linkType": "static", "timeout": "30", "x": 1450, - "y": 1380, + "y": 1560, "wires": [ [ "3743db17cb401840" @@ -4014,7 +4032,7 @@ "linkType": "static", "timeout": "30", "x": 1450, - "y": 1440, + "y": 1620, "wires": [ [ "56d131373d4e2f78" @@ -4033,7 +4051,7 @@ "linkType": "static", "timeout": "30", "x": 1450, - "y": 1500, + "y": 1680, "wires": [ [ "56d131373d4e2f78" @@ -4052,7 +4070,7 @@ "linkType": "static", "timeout": "30", "x": 1450, - "y": 1320, + "y": 1500, "wires": [ [ "3743db17cb401840" @@ -4071,7 +4089,7 @@ "117fb09fe859797f" ], "x": 5195, - "y": 1380, + "y": 1500, "wires": [] }, { @@ -4087,7 +4105,7 @@ "4280a1f889505f0c" ], "x": 5195, - "y": 1320, + "y": 1440, "wires": [] }, { @@ -4182,17 +4200,25 @@ "3a5d788b6c9b1490", "2b543f5a91575995", "86a1031c97fd1f24", - "a4d8eac11d9627da", "32eb12f106b8c786", "7837b5fcc1432bfa", "1d1dc560168d0284", "ac33a83c23cf9ac4", "6e122c5defee75eb", "8e100ef9757cbc9a", - "894e30d7fd56cd87" + "894e30d7fd56cd87", + "6e5d97fd5f511366", + "e4ebd518283c6923", + "99a002b04c9f0bd2", + "959cdd09db6a54e5", + "1e32c8773f65be12", + "6337b865cf950f75", + "5c01138cde301e29", + "0bb26accb9a85c1d", + "5f0e5572410a109e" ], "x": 5195, - "y": 1260, + "y": 1380, "wires": [] }, { @@ -4241,7 +4267,6 @@ "a9d7bde021ec65e2", "e267a0404a5c5d6c", "2dfb1d687d5296d6", - "bbae4d26e41478ea", "697e3a94eb990433", "f7dcd2b0b67ae95c", "2429a24772c36d60", @@ -4249,16 +4274,13 @@ "a15d4c93182b57f1", "f1e3a6f1f9824e38", "a67b460e38395a75", - "e0ee48357ee30544", "a77aed8f8b21898e", "05737da6290cf8d9", - "c469093ebb0005f9", "43971c69a84860cb", "0341dba34c381ced", "8fdc0ab2b7fadb49", "a8efaaef95728c79", "352ea3978e6f1b59", - "e0395c593211c049", "a0900ecba7483912", "75e409ff7d8f6f73", "ad12f9079d717f76", @@ -4281,10 +4303,36 @@ "5484e74403bbb7d8", "943f5d0e31f50195", "8d40f4d6eaa344ac", - "33361db30f7155ac" + "33361db30f7155ac", + "43166899a8759ba8", + "d32dc8a93d1ac3ad", + "a21488eb16a467fa", + "0a165e298f232c4a", + "d7f64b57a1fb0517", + "9635cf6ffe5f5df1", + "30b864529ddd7036", + "69f377a19c3aaebb", + "0afac8df8c0ad593", + "2b45b9472d7fb405", + "f1ba8fa5ab759a02", + "906b6acddcc68024", + "3d8af1903f187678", + "9824552e3d00a585", + "ee2f9913c385850b", + "30505f159e3df7fb", + "a2ca81a4a0f17f2b", + "c9272db1322acd94", + "4ae2e4a1cc7531bb", + "99ce56d98201828a", + "8654a0e249b5eb78", + "17e9b81d88b1604a", + "3b92bd5a1414748d", + "067b3ebf52d05fb3", + "41d1bc5162d9f798", + "1b0cbe0fc795ac63" ], "x": 135, - "y": 1260, + "y": 1380, "wires": [ [ "12f02c43a82b46f9" @@ -4299,7 +4347,7 @@ "name": "Si plus de 12 messages par seconde pendant 4 secondes alors bloque le kernel pendant 1 seconde", "info": "", "x": 4380, - "y": 1560, + "y": 1680, "wires": [] }, { @@ -4321,7 +4369,7 @@ "topic": "topic", "outputs": 1, "x": 4570, - "y": 1440, + "y": 1560, "wires": [ [ "0d78bebcc5541e02" @@ -4349,7 +4397,7 @@ "to": "", "reg": false, "x": 4370, - "y": 1500, + "y": 1620, "wires": [ [ "ca80e5fe27609a11" @@ -4389,7 +4437,7 @@ "to": "", "reg": false, "x": 450, - "y": 1260, + "y": 1380, "wires": [ [ "82229e46e51f94f5" @@ -4415,7 +4463,7 @@ "to": "", "reg": false, "x": 5040, - "y": 1260, + "y": 1380, "wires": [ [ "031a6afd8300356a" @@ -4436,7 +4484,7 @@ "finalize": "", "libs": [], "x": 650, - "y": 1260, + "y": 1380, "wires": [ [ "7cd303d0aadd1433" @@ -4465,7 +4513,7 @@ "allowrate": false, "outputs": 1, "x": 4080, - "y": 1380, + "y": 1500, "wires": [ [ "e6a4e861a99b196c" @@ -4491,7 +4539,7 @@ "topic": "topic", "outputs": 1, "x": 4800, - "y": 1440, + "y": 1560, "wires": [ [ "e6a4e861a99b196c" @@ -4517,7 +4565,7 @@ "allowrate": false, "outputs": 1, "x": 3070, - "y": 1440, + "y": 1560, "wires": [ [ "b90652e7f7d28f66" @@ -4546,7 +4594,7 @@ "repair": false, "outputs": 2, "x": 4130, - "y": 1440, + "y": 1560, "wires": [ [ "ca80e5fe27609a11" @@ -4575,7 +4623,7 @@ "allowrate": false, "outputs": 1, "x": 5040, - "y": 1320, + "y": 1440, "wires": [ [ "4264ed01f3943e2f" @@ -4601,7 +4649,7 @@ "repair": false, "outputs": 1, "x": 3290, - "y": 1440, + "y": 1560, "wires": [ [ "582f8e6b17a9d9d1" @@ -4628,7 +4676,7 @@ "repair": false, "outputs": 2, "x": 2840, - "y": 1440, + "y": 1560, "wires": [ [ "582f8e6b17a9d9d1" @@ -4657,7 +4705,7 @@ "repair": false, "outputs": 1, "x": 2840, - "y": 1380, + "y": 1500, "wires": [ [ "582f8e6b17a9d9d1" @@ -4686,7 +4734,7 @@ "repair": false, "outputs": 2, "x": 2570, - "y": 1380, + "y": 1500, "wires": [ [ "0831bd7e7daa4915" @@ -4729,7 +4777,7 @@ "to": "", "reg": false, "x": 3560, - "y": 1320, + "y": 1440, "wires": [ [ "68ad3074767eb2c3", @@ -4759,7 +4807,7 @@ "repair": false, "outputs": 2, "x": 2230, - "y": 1320, + "y": 1440, "wires": [ [ "582f8e6b17a9d9d1" @@ -4791,7 +4839,7 @@ "repair": false, "outputs": 2, "x": 1930, - "y": 1260, + "y": 1380, "wires": [ [ "895db12fd6d94a67" @@ -4840,7 +4888,7 @@ "repair": false, "outputs": 5, "x": 1210, - "y": 1320, + "y": 1500, "wires": [ [ "3743db17cb401840" @@ -4874,7 +4922,7 @@ "statusVal": "", "statusType": "auto", "x": 1230, - "y": 1200, + "y": 1320, "wires": [] }, { @@ -4892,7 +4940,7 @@ "statusVal": "", "statusType": "auto", "x": 900, - "y": 1200, + "y": 1320, "wires": [] }, { @@ -4915,10 +4963,11 @@ "repair": false, "outputs": 2, "x": 920, - "y": 1260, + "y": 1380, "wires": [ [ - "eca0e6f3657f0564" + "eca0e6f3657f0564", + "3f5c348f99494011" ], [ "1e908b6060a584ea" @@ -4950,7 +4999,7 @@ "0552a0e8ad4f3621" ], "x": 995, - "y": 1020, + "y": 1140, "wires": [] }, { @@ -4965,7 +5014,7 @@ "aa2c3406c988ef4b" ], "x": 135, - "y": 1020, + "y": 1140, "wires": [ [ "149401230ed2ed4c" @@ -4987,7 +5036,7 @@ "statusVal": "", "statusType": "auto", "x": 1050, - "y": 960, + "y": 1080, "wires": [] }, { @@ -5015,7 +5064,7 @@ "repair": false, "outputs": 2, "x": 530, - "y": 1020, + "y": 1140, "wires": [ [ "85ea82a3282907b1", @@ -5045,7 +5094,7 @@ "topic": "topic", "outputs": 1, "x": 800, - "y": 1080, + "y": 1200, "wires": [ [ "85ea82a3282907b1", @@ -5072,7 +5121,7 @@ "repair": false, "outputs": 1, "x": 300, - "y": 1020, + "y": 1140, "wires": [ [ "19dc49123e66ac71" @@ -5093,7 +5142,7 @@ "finalize": "\n", "libs": [], "x": 1150, - "y": 780, + "y": 900, "wires": [ [ "2dedf503efee73c8", @@ -5109,7 +5158,7 @@ "name": "launch devices configuration cycle", "info": "", "x": 640, - "y": 360, + "y": 420, "wires": [] }, { @@ -5120,7 +5169,7 @@ "name": "launch complete cycle. This kept existing metrics", "info": "", "x": 680, - "y": 300, + "y": 360, "wires": [] }, { @@ -5131,7 +5180,7 @@ "name": "reset all global variables and launch complete cycle. This erases all devices configurations made from UI !!!", "info": "", "x": 860, - "y": 240, + "y": 300, "wires": [] }, { @@ -5145,7 +5194,7 @@ "7c98833082d48029" ], "x": 375, - "y": 360, + "y": 420, "wires": [] }, { @@ -5161,7 +5210,7 @@ "onceDelay": 0.1, "topic": "", "x": 210, - "y": 360, + "y": 420, "wires": [ [ "ee66fb38bde2fdf4" @@ -5200,10 +5249,13 @@ "284f816c5e8bbfec", "fe346a68ed6e7772", "ad55dad3f3184232", - "5616c2ce5c283bbd" + "5616c2ce5c283bbd", + "db24f50111d41243", + "ee79bcc119122588", + "724fef3f59689282" ], "x": 1315, - "y": 780, + "y": 900, "wires": [] }, { @@ -5229,7 +5281,6 @@ "83efec5c7865bc6b", "d28f44d60a337af9", "578976906b639a1f", - "ad43a0610ba77d34", "17b39beef9bff4b1", "4820c8ccc02ce067", "f410fe38cd8f7bac", @@ -5246,16 +5297,12 @@ "ef0e9a242ec12c56", "ff10168a22e047ee", "d5927599e8114a95", - "100b75c92fbd601d", "4e3ee2464a6b28f4", "6dc8754b02a8e394", - "b8690e2acb308498", "fdd7ba07c8184ce8", "ed98374ec783034a", - "d47a5d29139aca1c", "ebe2f8029bf3db01", "ccd530a40dec79f3", - "021ed4766414be0d", "035654b1d4cd63d6", "0de5b7fcdb0aa040", "6afea9dc42323877", @@ -5267,10 +5314,13 @@ "09de8720c2a44a17", "8363918d71412add", "9c621fc1db0cf610", - "9bf15f012eba32fd" + "9bf15f012eba32fd", + "3a6a0a64ca6636fa", + "22ef0b87fb3cac52", + "260725a140f7cb61" ], "x": 135, - "y": 840, + "y": 960, "wires": [ [ "fabb645e0d88c91c" @@ -5292,7 +5342,7 @@ "statusVal": "", "statusType": "auto", "x": 1380, - "y": 720, + "y": 840, "wires": [] }, { @@ -5314,7 +5364,7 @@ "topic": "topic", "outputs": 1, "x": 870, - "y": 780, + "y": 900, "wires": [ [ "2ba23548e87b0292" @@ -5342,7 +5392,7 @@ "to": "", "reg": false, "x": 1230, - "y": 840, + "y": 960, "wires": [ [] ] @@ -5364,7 +5414,7 @@ "repair": false, "outputs": 1, "x": 890, - "y": 840, + "y": 960, "wires": [ [ "35c936be0ce55676" @@ -5386,7 +5436,7 @@ "statusVal": "", "statusType": "auto", "x": 540, - "y": 780, + "y": 900, "wires": [] }, { @@ -5410,7 +5460,7 @@ "to": "", "reg": false, "x": 550, - "y": 840, + "y": 960, "wires": [ [ "c1d2a5b213c6568a", @@ -5433,7 +5483,7 @@ "finalize": "\n", "libs": [], "x": 290, - "y": 840, + "y": 960, "wires": [ [ "6d65af0eaae695a3" @@ -5454,7 +5504,7 @@ "92dac97dfb662f2d" ], "x": 375, - "y": 300, + "y": 360, "wires": [] }, { @@ -5468,7 +5518,7 @@ "d74bb73a0966b4bd" ], "x": 375, - "y": 240, + "y": 300, "wires": [] }, { @@ -5478,10 +5528,11 @@ "g": "cf7f82b8517f3250", "name": "kernel - boot - reset", "links": [ - "acd42b52bd581740" + "acd42b52bd581740", + "822c0b44a10b6ba6" ], "x": 135, - "y": 480, + "y": 660, "wires": [ [ "f7b2d28d9c7d66ae" @@ -5498,7 +5549,7 @@ "e68b067b48b94ca2" ], "x": 135, - "y": 540, + "y": 600, "wires": [ [ "464bfd100a5740b8" @@ -5526,7 +5577,7 @@ "to": "", "reg": false, "x": 1670, - "y": 480, + "y": 600, "wires": [ [ "cb09b67a37901112" @@ -5553,7 +5604,7 @@ "repair": false, "outputs": 2, "x": 1400, - "y": 540, + "y": 660, "wires": [ [ "b0f54ce6c23c6da6" @@ -5575,7 +5626,7 @@ "linkType": "static", "timeout": "30", "x": 860, - "y": 540, + "y": 600, "wires": [ [ "3e652e3da2c711ec" @@ -5595,7 +5646,7 @@ "onceDelay": 0.1, "topic": "", "x": 220, - "y": 240, + "y": 300, "wires": [ [ "acd42b52bd581740" @@ -5615,10 +5666,11 @@ "3088a9f9a1d45b09", "72f3d70342e83655", "fdea9ff531a587a8", - "1d9d8c969ccdf2be" + "1d9d8c969ccdf2be", + "a21488eb16a467fa" ], "x": 135, - "y": 600, + "y": 720, "wires": [ [ "d1e284b3f0851bb5" @@ -5674,10 +5726,14 @@ "c622c7d8b085a6d6", "13a75f13ba9ce529", "65c543a69d403cd7", - "244bd83e904aba26" + "244bd83e904aba26", + "85ebc176bf8b3f38", + "58f5998300e7c53f", + "62d9811cb83cb6dd", + "f05d34dd5ff9746b" ], "x": 2295, - "y": 600, + "y": 720, "wires": [] }, { @@ -5708,7 +5764,7 @@ "to": "", "reg": false, "x": 1910, - "y": 540, + "y": 660, "wires": [ [ "3308d2aa53cd0bbd" @@ -5742,13 +5798,6 @@ "pt": "global", "to": "{}", "tot": "jsonata" - }, - { - "t": "set", - "p": "rooms", - "pt": "global", - "to": "{}", - "tot": "jsonata" } ], "action": "", @@ -5757,7 +5806,7 @@ "to": "", "reg": false, "x": 1110, - "y": 540, + "y": 660, "wires": [ [ "011c5e62deb510bb" @@ -5785,7 +5834,7 @@ "to": "", "reg": false, "x": 620, - "y": 480, + "y": 660, "wires": [ [ "4bab6cfef1e2c932" @@ -5802,7 +5851,9 @@ "propertyType": "global", "rules": [ { - "t": "null" + "t": "hask", + "v": "system", + "vt": "str" }, { "t": "else" @@ -5811,14 +5862,14 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 340, - "y": 540, + "x": 360, + "y": 600, "wires": [ [ - "f7b2d28d9c7d66ae" + "4bab6cfef1e2c932" ], [ - "4bab6cfef1e2c932" + "f7b2d28d9c7d66ae" ] ] }, @@ -5835,7 +5886,7 @@ "onceDelay": 0.1, "topic": "", "x": 220, - "y": 300, + "y": 360, "wires": [ [ "e68b067b48b94ca2" @@ -5869,7 +5920,7 @@ "t": "set", "p": "about", "pt": "global", - "to": "{\t 'automate':'iotredloop',\t 'version':'0.0.1',\t 'author':'Jean-Christian Paul Denis',\t 'lang':'fr'\t}", + "to": "{\t 'automate':'iotredloop',\t 'version':'0.0.2',\t 'author':'Jean-Christian Paul Denis',\t 'lang':'fr'\t}", "tot": "jsonata" } ], @@ -5961,10 +6012,31 @@ "f91e7a1c2c512a0e", "8257f8177d899a49", "2d7299cd90641836", - "2044e5146507c70e" + "2044e5146507c70e", + "d02dc31eb870bf0c", + "65f60f513ebfb4ec", + "8609f264b1a8e338", + "cf944b1cae491153", + "26e2043544ae73cb", + "eb459328b469b104", + "36975caef946a15e", + "72f430e89ccc05f6", + "3de4abb1ea0b5f95", + "37dafb6f99f6aacd", + "13e464b5b13d59f8", + "7aa6c843de4e840f", + "e851a4244d496803", + "f423e850e9bfd233", + "1a96f727643764ef", + "740a5f7e8bcc49ea", + "d8cdaf87829fd997", + "71c3f4aa85ae7f41", + "ba1f1be46d8982be", + "29fa98ff4156e98a", + "6d8a391bb3fb2ce6" ], "x": 135, - "y": 2880, + "y": 3000, "wires": [ [ "2b16dee056f4ac27", @@ -5987,7 +6059,7 @@ "statusVal": "", "statusType": "auto", "x": 310, - "y": 2880, + "y": 3000, "wires": [] }, { @@ -6041,7 +6113,7 @@ "mode": "link", "links": [], "x": 235, - "y": 2940, + "y": 3060, "wires": [] }, { @@ -6054,10 +6126,11 @@ "links": [ "afacd9f13f6a5261", "7620b4194034a250", - "a330cf9fee227d5f" + "a330cf9fee227d5f", + "6eafb2a9c1ec95c0" ], "x": 2295, - "y": 540, + "y": 660, "wires": [] }, { @@ -6079,7 +6152,7 @@ "topic": "topic", "outputs": 2, "x": 2140, - "y": 600, + "y": 720, "wires": [ [ "f4e4d84dd55f9d0d" @@ -6110,7 +6183,7 @@ "to": "", "reg": false, "x": 2010, - "y": 3520, + "y": 3580, "wires": [ [ "21fbe912a43d9c26" @@ -6128,7 +6201,7 @@ "e9fecb57cdb7b4a1" ], "x": 155, - "y": 3520, + "y": 3580, "wires": [ [ "66f70658751b68f3" @@ -6176,10 +6249,12 @@ "fdab2741acb61ed1", "addd40dc7fbf27c9", "d8ae76a5c0ba5f6a", - "11ec7020f389b20d" + "11ec7020f389b20d", + "da360449dd96785f", + "8e1684ab2141ec67" ], "x": 455, - "y": 3520, + "y": 3580, "wires": [] }, { @@ -6222,10 +6297,12 @@ "69564d0c8dc942c7", "ac45d4c7f6f1a547", "4975550378291448", - "cfb8b7f11b653349" + "cfb8b7f11b653349", + "07107ca09790b060", + "582711f64841c886" ], "x": 635, - "y": 3520, + "y": 3580, "wires": [ [ "5d553844550b821e" @@ -6253,7 +6330,7 @@ "to": "", "reg": false, "x": 310, - "y": 3520, + "y": 3580, "wires": [ [ "9cb906bf8066d37e" @@ -6275,7 +6352,7 @@ "statusVal": "", "statusType": "auto", "x": 2030, - "y": 3460, + "y": 3520, "wires": [] }, { @@ -6301,7 +6378,7 @@ "payload": "", "payloadType": "date", "x": 310, - "y": 3460, + "y": 3520, "wires": [ [ "66f70658751b68f3" @@ -6328,7 +6405,7 @@ "repair": false, "outputs": 2, "x": 780, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6358,7 +6435,7 @@ "repair": false, "outputs": 2, "x": 950, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6388,7 +6465,7 @@ "repair": false, "outputs": 2, "x": 1110, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6418,7 +6495,7 @@ "repair": false, "outputs": 2, "x": 1300, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6448,7 +6525,7 @@ "repair": false, "outputs": 2, "x": 1490, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6478,7 +6555,7 @@ "repair": false, "outputs": 2, "x": 1810, - "y": 3520, + "y": 3580, "wires": [ [ "13f4c9a49f9902dc" @@ -6499,7 +6576,7 @@ "rules": [ { "t": "regex", - "v": "(number|boolean|text)", + "v": "(dimmer|number|boolean|text)", "vt": "str", "case": false }, @@ -6511,7 +6588,7 @@ "repair": false, "outputs": 2, "x": 1650, - "y": 3520, + "y": 3580, "wires": [ [ "9573e23ffd1bd3ec" @@ -6563,270 +6640,13 @@ "to": "", "reg": false, "x": 740, - "y": 4240, + "y": 4300, "wires": [ [ "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": "9d71ae848c07c4ab", "type": "comment", @@ -6835,7 +6655,7 @@ "name": "note: P.API does not use protocol id by device URL", "info": "", "x": 1050, - "y": 3700, + "y": 3760, "wires": [] }, { @@ -6846,10 +6666,11 @@ "name": "auto - model - out", "mode": "link", "links": [ - "d55073835b5cbfc3" + "d55073835b5cbfc3", + "c94f5e94ee5a1918" ], "x": 2175, - "y": 3520, + "y": 3580, "wires": [] }, { @@ -6875,7 +6696,7 @@ "repair": false, "outputs": 2, "x": 870, - "y": 2220, + "y": 2340, "wires": [ [], [ @@ -6902,7 +6723,7 @@ "allowrate": false, "outputs": 1, "x": 290, - "y": 600, + "y": 720, "wires": [ [ "3308d2aa53cd0bbd" @@ -6922,7 +6743,196 @@ "80614f90fc25ec4a" ], "x": 755, - "y": 720, + "y": 840, "wires": [] + }, + { + "id": "77bc37b9d8f69f5e", + "type": "debug", + "z": "ab51b1e8cad7b700", + "g": "cf7f82b8517f3250", + "name": "kernel - boot - reboot system", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "payload", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 540, + "y": 540, + "wires": [] + }, + { + "id": "7aea7cca7eb973e8", + "type": "exec", + "z": "ab51b1e8cad7b700", + "g": "cf7f82b8517f3250", + "command": "reboot now", + "addpay": "", + "append": "", + "useSpawn": "true", + "timer": "", + "winHide": false, + "oldrc": false, + "name": "", + "x": 290, + "y": 540, + "wires": [ + [ + "77bc37b9d8f69f5e" + ], + [ + "77bc37b9d8f69f5e" + ], + [ + "77bc37b9d8f69f5e" + ] + ] + }, + { + "id": "2ceb381ba0bf7995", + "type": "inject", + "z": "ab51b1e8cad7b700", + "g": "9ea365cc69a1f2bf", + "name": "system reboot", + "props": [], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "x": 210, + "y": 240, + "wires": [ + [ + "1bae0aa3b8156a13" + ] + ] + }, + { + "id": "083e2e406bc15eb5", + "type": "link in", + "z": "ab51b1e8cad7b700", + "g": "cf7f82b8517f3250", + "name": "kernel - boot - reboot system", + "links": [ + "1bae0aa3b8156a13", + "cc58fa2dc61acc60" + ], + "x": 135, + "y": 540, + "wires": [ + [ + "7aea7cca7eb973e8" + ] + ] + }, + { + "id": "1bae0aa3b8156a13", + "type": "link out", + "z": "ab51b1e8cad7b700", + "g": "9ea365cc69a1f2bf", + "name": "kernel - sytem reboot", + "mode": "link", + "links": [ + "083e2e406bc15eb5" + ], + "x": 375, + "y": 240, + "wires": [] + }, + { + "id": "c7c8a09626ba3a9a", + "type": "comment", + "z": "ab51b1e8cad7b700", + "g": "9ea365cc69a1f2bf", + "name": "fully reboot nodered system", + "info": "", + "x": 620, + "y": 240, + "wires": [] + }, + { + "id": "a9b3a11e9a293e92", + "type": "link out", + "z": "ab51b1e8cad7b700", + "g": "20b116b788ef3f27", + "name": "kernel - undefined metric", + "mode": "link", + "links": [ + "24e4813caee6f465", + "d40db95f9a154c3a" + ], + "x": 1615, + "y": 1380, + "wires": [] + }, + { + "id": "3f5c348f99494011", + "type": "switch", + "z": "ab51b1e8cad7b700", + "g": "20b116b788ef3f27", + "name": "prevent mqtt loop", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1210, + "y": 1380, + "wires": [ + [ + "dec821295a7e7458" + ] + ] + }, + { + "id": "dec821295a7e7458", + "type": "change", + "z": "ab51b1e8cad7b700", + "g": "20b116b788ef3f27", + "name": "delete mqtt metric", + "rules": [ + { + "t": "delete", + "p": "metrics[msg.bucket][msg.measurement][msg.field]", + "pt": "global" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "'iotredloop/'&msg.bucket&'/'&msg.measurement&'/'&msg.field", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1450, + "y": 1380, + "wires": [ + [ + "a9b3a11e9a293e92" + ] + ] } ] \ No newline at end of file diff --git a/flows/K.Routine.json b/flows/K.Routine.json index 2bc4fe3..76ea9aa 100644 --- a/flows/K.Routine.json +++ b/flows/K.Routine.json @@ -112,11 +112,13 @@ "307791bd329226f2", "9b5a799c5df750d4", "d806e40ba2ef7092", - "e667a9372137a0e2" + "e667a9372137a0e2", + "6dbe204f4d963e3e", + "17369ae97fa88814" ], "x": 68, "y": 1913, - "w": 2604, + "w": 2564, "h": 2714 }, { @@ -424,11 +426,13 @@ "72d48a3deee90360", "e3a3ecfeaece1f56", "4d2bb338a00188bc", - "88ccb4248f722c7c" + "88ccb4248f722c7c", + "990a132bdc19ba61", + "d23cdc7e80275f61" ], "x": 94, "y": 1939, - "w": 702, + "w": 902, "h": 142 }, { @@ -449,8 +453,6 @@ "e3a35f2dd6b2effb", "662f3d7d7dc36aa5", "d6ab2dddb189d358", - "09bfbc7cb6a01b25", - "551ef31b794502a7", "2910033beb566769", "d443f248bce0dea7", "5c82e25e697c0d09", @@ -462,9 +464,9 @@ "caaebc71902e0463" ], "x": 94, - "y": 2119, - "w": 2552, - "h": 382 + "y": 2239, + "w": 2092, + "h": 262 }, { "id": "64c6321bb60023c8", @@ -644,15 +646,12 @@ "label": true }, "nodes": [ - "d7babb57491ff7a8", - "7bfba4bb76a09e45", "37f065b203f116d2", "04fda8ed412120ca", "cbe63d29435cb7ce", "bfe242eadca39791", "9dd47ae7d0e90c33", "7953d461e902f8ac", - "364bfd0f8218efb1", "834ce9850cdb0a72", "8a154930c7214f18", "23ef9aaffb31c21d", @@ -678,7 +677,7 @@ "type": "group", "z": "bcb4426f5301b9f2", "g": "45b2c91cc17508eb", - "name": "routine night", + "name": "routine nocturnal", "style": { "stroke": "#92d04f", "fill": "#92d04f", @@ -695,7 +694,7 @@ ], "x": 94, "y": 4279, - "w": 652, + "w": 732, "h": 142 }, { @@ -711,17 +710,17 @@ "label": true }, "nodes": [ - "5cf04b3c11f23176", "096892189e1be538", "ecec645c51268d24", "b51db40b65f89f75", "0edba4106bc26051", "c63c05889184c3bc", - "e19c1916670880d7" + "e19c1916670880d7", + "bde274663e77041e" ], "x": 94, "y": 4459, - "w": 952, + "w": 992, "h": 142 }, { @@ -786,6 +785,40 @@ "w": 2472, "h": 202 }, + { + "id": "690626cfbeb2561c", + "type": "group", + "z": "bcb4426f5301b9f2", + "name": "routine mode", + "style": { + "fill-opacity": "0.05", + "label": true, + "fill": "#92d04f", + "stroke": "#92d04f" + }, + "nodes": [ + "bad6bd5983b2fc9f", + "c30c5a2566decb7b", + "f102fde8fbfe7c18", + "3ace672b36b6d59a", + "da8810eee603cc4b", + "f887a03f0fb2827a", + "303274117f982501", + "d5c3ea38b7e24cce", + "73754465446fef43", + "1f5be99b367a12d0", + "0e78c14186033ece", + "000413191731e86e", + "af2d889126787278", + "e763cda95bda7657", + "d5b08905e305cd02", + "920db71eee0d2d26" + ], + "x": 2754, + "y": 2119, + "w": 2552, + "h": 382 + }, { "id": "afcaa4289efc76f2", "type": "switch", @@ -2603,7 +2636,7 @@ ], "linkType": "static", "timeout": "30", - "x": 1690, + "x": 1670, "y": 1320, "wires": [ [ @@ -2654,7 +2687,7 @@ "y": 2040, "wires": [ [ - "a8f829fc8739cbb4" + "990a132bdc19ba61" ] ] }, @@ -2678,7 +2711,7 @@ "from": "", "to": "", "reg": false, - "x": 290, + "x": 490, "y": 2040, "wires": [ [ @@ -2707,7 +2740,7 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 470, + "x": 670, "y": 2040, "wires": [ [ @@ -2738,7 +2771,7 @@ "from": "", "to": "", "reg": false, - "x": 630, + "x": 830, "y": 2040, "wires": [ [ @@ -2754,7 +2787,7 @@ "name": "get routine", "mode": "return", "links": [], - "x": 755, + "x": 955, "y": 1980, "wires": [] }, @@ -2778,7 +2811,7 @@ "from": "", "to": "", "reg": false, - "x": 630, + "x": 830, "y": 1980, "wires": [ [ @@ -2851,7 +2884,7 @@ }, { "t": "set", - "p": "routine.obscurtie", + "p": "routine.obscurite", "pt": "msg", "to": "msg.routine.obscurite?$number(msg.routine.obscurite):0", "tot": "jsonata" @@ -2869,7 +2902,7 @@ "from": "", "to": "", "reg": false, - "x": 470, + "x": 670, "y": 1980, "wires": [ [] @@ -2900,7 +2933,8 @@ "y": 2340, "wires": [ [ - "09bfbc7cb6a01b25" + "62542a01ce24c466", + "6dbe204f4d963e3e" ], [ "d443f248bce0dea7" @@ -2928,14 +2962,14 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 1510, - "y": 2220, + "x": 1290, + "y": 2280, "wires": [ [ "e3a35f2dd6b2effb" ], [ - "551ef31b794502a7" + "d6ab2dddb189d358" ] ] }, @@ -2960,11 +2994,11 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 1750, - "y": 2160, + "x": 1530, + "y": 2340, "wires": [ [ - "551ef31b794502a7" + "d6ab2dddb189d358" ], [ "d443f248bce0dea7" @@ -3022,7 +3056,7 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 2190, + "x": 1730, "y": 2280, "wires": [ [ @@ -3033,70 +3067,6 @@ ] ] }, - { - "id": "09bfbc7cb6a01b25", - "type": "switch", - "z": "bcb4426f5301b9f2", - "g": "3e3cab934a02705f", - "name": "system bucket", - "property": "scene.bucket", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "system", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1280, - "y": 2280, - "wires": [ - [ - "62542a01ce24c466" - ], - [ - "551ef31b794502a7" - ] - ] - }, - { - "id": "551ef31b794502a7", - "type": "switch", - "z": "bcb4426f5301b9f2", - "g": "3e3cab934a02705f", - "name": "system bucket", - "property": "scene.bucket", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "system", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "true", - "repair": false, - "outputs": 2, - "x": 2000, - "y": 2340, - "wires": [ - [ - "d6ab2dddb189d358" - ], - [ - "d443f248bce0dea7" - ] - ] - }, { "id": "2910033beb566769", "type": "change", @@ -3117,7 +3087,7 @@ "from": "", "to": "", "reg": false, - "x": 2350, + "x": 1890, "y": 2340, "wires": [ [ @@ -3146,7 +3116,7 @@ "from": "", "to": "", "reg": false, - "x": 2350, + "x": 1890, "y": 2400, "wires": [ [ @@ -3169,7 +3139,7 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 2530, + "x": 2070, "y": 2400, "wires": [] }, @@ -3196,7 +3166,7 @@ "name": "routine mode", "mode": "return", "links": [], - "x": 2475, + "x": 2015, "y": 2460, "wires": [] }, @@ -3271,7 +3241,7 @@ "from": "", "to": "", "reg": false, - "x": 2350, + "x": 1890, "y": 2460, "wires": [ [ @@ -4140,8 +4110,8 @@ "rules": [ { "t": "lte", - "v": "metrics[msg.scene.bucket][msg.scene.type]darkness", - "vt": "global" + "v": "routine.darkness", + "vt": "msg" }, { "t": "else" @@ -4469,8 +4439,8 @@ "rules": [ { "t": "gte", - "v": "metrics[msg.scene.bucket][msg.scene.type]['luminosite']", - "vt": "global" + "v": "routine.luminosity", + "vt": "msg" }, { "t": "else" @@ -5102,12 +5072,12 @@ "z": "bcb4426f5301b9f2", "g": "f988b45c3d4a17ef", "name": "has dimmer reglage", - "property": "routine", + "property": "scene.format", "propertyType": "msg", "rules": [ { - "t": "hask", - "v": "high", + "t": "eq", + "v": "dimmer", "vt": "str" }, { @@ -5218,90 +5188,6 @@ "y": 3840, "wires": [] }, - { - "id": "d7babb57491ff7a8", - "type": "change", - "z": "bcb4426f5301b9f2", - "d": true, - "g": "9f00d3d0bf810df6", - "name": "timer from routine", - "rules": [ - { - "t": "set", - "p": "delay", - "pt": "msg", - "to": "routine.timer", - "tot": "msg" - }, - { - "t": "set", - "p": "delay", - "pt": "msg", - "to": "msg.delay * 60000", - "tot": "jsonata" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "scene.off", - "tot": "msg" - }, - { - "t": "set", - "p": "timer", - "pt": "msg", - "to": "msg.scene.type & '/' & msg.scene.bucket & '/' & msg.scene.measurement & '/' & msg.scene.field", - "tot": "jsonata" - }, - { - "t": "set", - "p": "timers[msg.timer]", - "pt": "global", - "to": "$millis() + msg.delay", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 430, - "y": 4080, - "wires": [ - [ - "7bfba4bb76a09e45" - ] - ] - }, - { - "id": "7bfba4bb76a09e45", - "type": "trigger", - "z": "bcb4426f5301b9f2", - "d": true, - "g": "9f00d3d0bf810df6", - "name": "timer", - "op1": "", - "op2": "", - "op1type": "nul", - "op2type": "payl", - "duration": "250", - "extend": true, - "overrideDelay": true, - "units": "ms", - "reset": "", - "bytopic": "topic", - "topic": "timer", - "outputs": 1, - "x": 630, - "y": 4080, - "wires": [ - [ - "364bfd0f8218efb1" - ] - ] - }, { "id": "37f065b203f116d2", "type": "link out", @@ -5353,16 +5239,23 @@ "t": "gt", "v": "0", "vt": "num" + }, + { + "t": "else" } ], "checkall": "false", "repair": false, - "outputs": 1, + "outputs": 2, "x": 280, - "y": 4140, + "y": 4200, "wires": [ [ - "04fda8ed412120ca" + "04fda8ed412120ca", + "8a154930c7214f18" + ], + [ + "8a154930c7214f18" ] ] }, @@ -5446,38 +5339,6 @@ ] ] }, - { - "id": "364bfd0f8218efb1", - "type": "change", - "z": "bcb4426f5301b9f2", - "d": true, - "g": "9f00d3d0bf810df6", - "name": "rsp 1", - "rules": [ - { - "t": "set", - "p": "routine.response", - "pt": "msg", - "to": "1", - "tot": "num" - }, - { - "t": "delete", - "p": "timers[msg.timer]", - "pt": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 790, - "y": 4080, - "wires": [ - [] - ] - }, { "id": "834ce9850cdb0a72", "type": "link in", @@ -5489,8 +5350,7 @@ "y": 4200, "wires": [ [ - "cbe63d29435cb7ce", - "8a154930c7214f18" + "cbe63d29435cb7ce" ] ] }, @@ -5543,8 +5403,8 @@ "type": "switch", "z": "bcb4426f5301b9f2", "g": "307791bd329226f2", - "name": "night actif", - "property": "routine.night", + "name": "nocturnal actif", + "property": "routine.nocturnal", "propertyType": "msg", "rules": [ { @@ -5557,7 +5417,7 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 280, + "x": 300, "y": 4380, "wires": [ [ @@ -5573,10 +5433,10 @@ "type": "link out", "z": "bcb4426f5301b9f2", "g": "307791bd329226f2", - "name": "routine night", + "name": "routine nocturnal", "mode": "return", "links": [], - "x": 575, + "x": 615, "y": 4380, "wires": [] }, @@ -5585,7 +5445,7 @@ "type": "debug", "z": "bcb4426f5301b9f2", "g": "307791bd329226f2", - "name": "routine night", + "name": "routine nocturnal", "active": false, "tosidebar": true, "console": false, @@ -5594,7 +5454,7 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 630, + "x": 690, "y": 4320, "wires": [] }, @@ -5603,7 +5463,7 @@ "type": "link in", "z": "bcb4426f5301b9f2", "g": "307791bd329226f2", - "name": "routine night", + "name": "routine nocturnal", "links": [], "x": 135, "y": 4380, @@ -5640,7 +5500,7 @@ "from": "", "to": "", "reg": false, - "x": 450, + "x": 490, "y": 4320, "wires": [ [ @@ -5669,7 +5529,7 @@ "from": "", "to": "", "reg": false, - "x": 450, + "x": 490, "y": 4380, "wires": [ [ @@ -5678,38 +5538,6 @@ ] ] }, - { - "id": "5cf04b3c11f23176", - "type": "switch", - "z": "bcb4426f5301b9f2", - "g": "9b5a799c5df750d4", - "name": "daily present", - "property": "metrics[msg.scene.bucket][msg.scene.type]", - "propertyType": "global", - "rules": [ - { - "t": "hask", - "v": "daily", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 290, - "y": 4560, - "wires": [ - [ - "b51db40b65f89f75" - ], - [ - "ecec645c51268d24" - ] - ] - }, { "id": "096892189e1be538", "type": "link out", @@ -5718,7 +5546,7 @@ "name": "routine daily", "mode": "return", "links": [], - "x": 595, + "x": 635, "y": 4560, "wires": [] }, @@ -5742,7 +5570,7 @@ "from": "", "to": "", "reg": false, - "x": 470, + "x": 510, "y": 4560, "wires": [ [ @@ -5778,7 +5606,7 @@ "from": "", "to": "", "reg": false, - "x": 470, + "x": 510, "y": 4500, "wires": [ [ @@ -5801,7 +5629,7 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 650, + "x": 690, "y": 4500, "wires": [] }, @@ -5813,10 +5641,10 @@ "name": "routine daily", "links": [], "x": 135, - "y": 4560, + "y": 4500, "wires": [ [ - "5cf04b3c11f23176" + "bde274663e77041e" ] ] }, @@ -5827,7 +5655,7 @@ "g": "9b5a799c5df750d4", "name": "rsp : 1 if done, -1 if not done, 0 if not present", "info": "", - "x": 850, + "x": 890, "y": 4560, "wires": [] }, @@ -5838,7 +5666,7 @@ "g": "45b2c91cc17508eb", "name": "return msg.routine.response : 1 = active and valid, 0 = not active, -1 active and not valid", "info": "", - "x": 1120, + "x": 1320, "y": 1980, "wires": [] }, @@ -5849,7 +5677,7 @@ "g": "45b2c91cc17508eb", "name": "scene must call \"routine mode\" first", "info": "", - "x": 960, + "x": 1160, "y": 2040, "wires": [] }, @@ -6102,7 +5930,7 @@ "z": "bcb4426f5301b9f2", "g": "9f00d3d0bf810df6", "name": "copy msg", - "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;\n}\n\n// recreate msg\nnewmsg = msg.payload;\n\nnode.status({ fill: 'green', shape: \"ring\", text: msg.payload.timer.path });\nreturn newmsg;", + "func": "// script var\nvar msg = msg;\nvar newmsg = {};\n\nif (typeof msg === 'undefined'){\n return null;\n}\n\n// recreate msg\nnewmsg = msg.payload;\n\nnode.status({ fill: 'green', shape: \"ring\", text: msg.payload.timer.path });\nreturn newmsg;", "outputs": 1, "timeout": "", "noerr": 0, @@ -6867,5 +6695,644 @@ "1efc470e05455106" ] ] + }, + { + "id": "990a132bdc19ba61", + "type": "switch", + "z": "bcb4426f5301b9f2", + "g": "045e623bc9372013", + "name": "scene auto", + "property": "scene.path", + "propertyType": "msg", + "rules": [ + { + "t": "istype", + "v": "string", + "vt": "string" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 290, + "y": 2040, + "wires": [ + [ + "d23cdc7e80275f61" + ], + [ + "a8f829fc8739cbb4" + ] + ] + }, + { + "id": "d23cdc7e80275f61", + "type": "change", + "z": "bcb4426f5301b9f2", + "g": "045e623bc9372013", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "routine", + "pt": "msg", + "to": "scenes[msg.scene.type][msg.scene.path]", + "tot": "global" + }, + { + "t": "set", + "p": "scene.type", + "pt": "msg", + "to": "routine.type", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.format", + "pt": "msg", + "to": "routine.format", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.on", + "pt": "msg", + "to": "routine.on", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.off", + "pt": "msg", + "to": "routine.off", + "tot": "msg" + }, + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.routine.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.measurement", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.field", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 490, + "y": 1980, + "wires": [ + [ + "c85ce3c75b98194c" + ] + ] + }, + { + "id": "bde274663e77041e", + "type": "switch", + "z": "bcb4426f5301b9f2", + "g": "9b5a799c5df750d4", + "name": "scene has daily key", + "property": "scenes[msg.scene.type][msg.scene.path]", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "daily", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 310, + "y": 4500, + "wires": [ + [ + "b51db40b65f89f75" + ], + [ + "ecec645c51268d24" + ] + ] + }, + { + "id": "bad6bd5983b2fc9f", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "mode automate", + "property": "metrics.system.mode.automate", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "automatic", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3720, + "y": 2340, + "wires": [ + [ + "f887a03f0fb2827a" + ], + [ + "73754465446fef43" + ] + ] + }, + { + "id": "c30c5a2566decb7b", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "mode type exists", + "property": "metrics.system.mode", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "scene.type", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 4170, + "y": 2220, + "wires": [ + [ + "f102fde8fbfe7c18" + ], + [ + "303274117f982501" + ] + ] + }, + { + "id": "f102fde8fbfe7c18", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "mode type not off", + "property": "metrics.system.mode[msg.scene.type]", + "propertyType": "global", + "rules": [ + { + "t": "neq", + "v": "off", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 4410, + "y": 2160, + "wires": [ + [ + "303274117f982501" + ], + [ + "73754465446fef43" + ] + ] + }, + { + "id": "3ace672b36b6d59a", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "mode master", + "property": "metrics.system.mode.master", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "about.automate", + "vt": "global" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3490, + "y": 2400, + "wires": [ + [ + "bad6bd5983b2fc9f" + ], + [ + "73754465446fef43" + ] + ] + }, + { + "id": "da8810eee603cc4b", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "actif", + "property": "routine.actif", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 4850, + "y": 2280, + "wires": [ + [ + "d5c3ea38b7e24cce" + ], + [ + "73754465446fef43" + ] + ] + }, + { + "id": "f887a03f0fb2827a", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "system bucket", + "property": "scene.bucket", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "system", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3940, + "y": 2280, + "wires": [ + [ + "c30c5a2566decb7b" + ], + [ + "303274117f982501" + ] + ] + }, + { + "id": "303274117f982501", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "system bucket", + "property": "scene.bucket", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "system", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 4660, + "y": 2340, + "wires": [ + [ + "da8810eee603cc4b" + ], + [ + "73754465446fef43" + ] + ] + }, + { + "id": "d5c3ea38b7e24cce", + "type": "change", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "rsp 1", + "rules": [ + { + "t": "set", + "p": "routine.response", + "pt": "msg", + "to": "1", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5010, + "y": 2340, + "wires": [ + [ + "1f5be99b367a12d0", + "000413191731e86e" + ] + ] + }, + { + "id": "73754465446fef43", + "type": "change", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "rsp -1", + "rules": [ + { + "t": "set", + "p": "routine.response", + "pt": "msg", + "to": "-1", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5010, + "y": 2400, + "wires": [ + [ + "1f5be99b367a12d0", + "000413191731e86e" + ] + ] + }, + { + "id": "1f5be99b367a12d0", + "type": "debug", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "routine mode", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 5190, + "y": 2400, + "wires": [] + }, + { + "id": "0e78c14186033ece", + "type": "link in", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "routine mode", + "links": [], + "x": 2795, + "y": 2460, + "wires": [ + [ + "920db71eee0d2d26" + ] + ] + }, + { + "id": "000413191731e86e", + "type": "link out", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "routine mode", + "mode": "return", + "links": [], + "x": 5135, + "y": 2460, + "wires": [] + }, + { + "id": "af2d889126787278", + "type": "link call", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "", + "links": [ + "e520201563045cb4" + ], + "linkType": "static", + "timeout": "30", + "x": 3130, + "y": 2460, + "wires": [ + [ + "e763cda95bda7657" + ] + ] + }, + { + "id": "e763cda95bda7657", + "type": "switch", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "rsp", + "property": "routine.response", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3310, + "y": 2460, + "wires": [ + [ + "3ace672b36b6d59a" + ], + [ + "d5b08905e305cd02" + ] + ] + }, + { + "id": "d5b08905e305cd02", + "type": "change", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "rsp 0", + "rules": [ + { + "t": "set", + "p": "routine.response", + "pt": "msg", + "to": "0", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5010, + "y": 2460, + "wires": [ + [ + "1f5be99b367a12d0", + "000413191731e86e" + ] + ] + }, + { + "id": "920db71eee0d2d26", + "type": "delay", + "z": "bcb4426f5301b9f2", + "d": true, + "g": "690626cfbeb2561c", + "name": "150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2940, + "y": 2460, + "wires": [ + [ + "af2d889126787278" + ] + ] + }, + { + "id": "6dbe204f4d963e3e", + "type": "switch", + "z": "bcb4426f5301b9f2", + "g": "45b2c91cc17508eb", + "name": "", + "property": "scene.bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "system", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1260, + "y": 2160, + "wires": [ + [ + "17369ae97fa88814" + ] + ] + }, + { + "id": "17369ae97fa88814", + "type": "debug", + "z": "bcb4426f5301b9f2", + "g": "45b2c91cc17508eb", + "name": "ROUTINE MODE SYSTEM", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 1520, + "y": 2160, + "wires": [] } ] \ No newline at end of file diff --git a/flows/K.Scene.json b/flows/K.Scene.json index 60cfe20..060efb1 100644 --- a/flows/K.Scene.json +++ b/flows/K.Scene.json @@ -19,19 +19,17 @@ }, "nodes": [ "2f88f0a1be78ca59", - "de7075aaec1a9391", - "480f2a2fe14c86b6", "213f3332bd5e75c6", - "79081790a2dc825f", "04a2a3c2efe76a2e", - "ac85bbf902727a33", - "c77cc75b5383fd64", - "3fdd7178e4840aa7", - "b9540a9c3a42d059" + "1864089149dd1020", + "3d78b859e586fa91", + "9cb403d67f5020f4", + "0365c97a2f5bfd4a", + "3f3b9ea1c2157e30" ], "x": 94, "y": 199, - "w": 1502, + "w": 1352, "h": 82 }, { @@ -70,7 +68,6 @@ "fb4b4e2a3fb029df", "d873539070943718", "2623289b88a15e8c", - "5cb838e78e40799e", "941bac341d0a675c", "ca2cf5afce064ad1", "d05f93f2e9f3cbdb", @@ -78,59 +75,15 @@ "f57a3d0eaf07945a", "85ac6855ecab60c4", "4abd6ee3b969ce9b", - "d2e269a6af2dfb1c" + "d2e269a6af2dfb1c", + "564fec2392c7191d", + "8f0ff756ad2dce52" ], "x": 94, "y": 319, - "w": 1692, + "w": 1632, "h": 202 }, - { - "id": "a7b40f415a368a7f", - "type": "group", - "z": "68ee181e9defa139", - "name": "scene - shutter shading", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "86001998b2c9a049", - "a7cc276245fb5eb8", - "5fba95ce87e859a6", - "7b5dccdef2f6448a", - "cf3ba5e22164d0c7", - "b33c70ce0d2aabf1", - "125055a75db7c431", - "c31540134ffb0645", - "328bedd9d4d34f5c", - "1c7cf4097ab0cbed", - "7e09bcecc5b75a86", - "786e22e4720b4a8e", - "d5b7a0d32f3b802b", - "ad02148724007b77", - "d38b51040114d7c8", - "8b41772765b3e57c", - "d457bc746893ac58", - "176ebff60e594972", - "c6a58914f588d386", - "4552a02c909cd24a", - "9438c1d79ed2b7e6", - "f14d76541b8726f8", - "01937dc263ac14f0", - "a9d7bde021ec65e2", - "1850a1a4ce01b83a", - "92c2e2a582e95f60", - "949c12d27fc455b9", - "88de00c38e5c7178", - "bec59d8a7eda2351" - ], - "x": 94, - "y": 559, - "w": 3452, - "h": 262 - }, { "id": "b3bc1717c16dc7dc", "type": "group", @@ -154,16 +107,21 @@ "36eb92fa692e166c", "d4c1d964e9c56e01", "abd02925c2597211", - "8237897889d90162", "e267a0404a5c5d6c", "758acb218148a1d7", "0728c8c3564e6e93", "d1c7f4810b12afe2", - "35ea643afefc732d" + "35ea643afefc732d", + "6764b95646ec77db", + "45bd2f5743776c20", + "7550c60a97723c5b", + "d6ec98126b0438ab", + "84f1bb54c15f032d", + "f05d34dd5ff9746b" ], "x": 94, - "y": 859, - "w": 2612, + "y": 739, + "w": 3152, "h": 262 }, { @@ -178,8 +136,6 @@ }, "nodes": [ "abdf34b12a5dd88d", - "d8488a962c08af06", - "7f741e4487a27343", "0dce2c644348616c", "1e475c1be1dba2cd", "3b9ded82962309a3", @@ -193,50 +149,23 @@ "05713976186ba442", "585814f2cbaf139f", "9e47c40faa28271b", - "bd24d82081661484", "8c14a3d77196d0aa", "034c93c5f54aaa15", - "9ea5b56f96986dba", - "e299cb1ffd37e0dd", - "ca723d146a37aa9c", "e9387364f390f805", "e3a86e68e388729d", - "85d5d5e5b6c9beac" - ], - "x": 94, - "y": 1159, - "w": 3532, - "h": 202 - }, - { - "id": "5bbc579c9b6b5a17", - "type": "group", - "z": "68ee181e9defa139", - "name": "scene - nightlight", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "12ac3919cf517ae2", - "f3016a806ce07c03", - "6cf5ea0631714bb0", - "b477ed692390898f", - "6884ba1cb7e75a11", - "9d43d1fbe3bcb62b", - "cb824661b1d4bd40", - "6c7ae838ce65d471", - "c6a33fe34a5837ef", - "69d3dde54511db87", - "c60f91aec0439742", - "06d25d3d5749d7c0", - "aa52c26b01cca971" + "85d5d5e5b6c9beac", + "435b7ba53d3b3f3d", + "5cf10abb34d2afd9", + "de95eb8bc9cedb87", + "7af2f9f85dfa9434", + "9f7db667a3e5cce9", + "9c4f5df3df617722", + "08ab0de6523813f1" ], "x": 94, "y": 1399, - "w": 1852, - "h": 142 + "w": 3432, + "h": 322 }, { "id": "53babb398943f380", @@ -257,166 +186,193 @@ "975a84254ad7876b" ], "x": 94, - "y": 1579, + "y": 619, "w": 922, "h": 82 }, { - "id": "35d3c87e78a23030", + "id": "cec3ab5a35c60f2d", "type": "group", "z": "68ee181e9defa139", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "75150dc9074374a7", - "e99461e0ca98d7f7" - ], - "x": 68, - "y": 1973, - "w": 5834, - "h": 374 - }, - { - "id": "4206d30978748143", - "type": "group", - "z": "68ee181e9defa139", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "c6cb89a1ee503d2d", - "49794532d925f87d" - ], - "x": 68, - "y": 2393, - "w": 4584, - "h": 554 - }, - { - "id": "75150dc9074374a7", - "type": "group", - "z": "68ee181e9defa139", - "g": "35d3c87e78a23030", - "name": "scene - cumulus", + "name": "scene - trigger", "style": { "fill": "#92d04f", "fill-opacity": "0.05", "label": true }, "nodes": [ - "ed024e2049749de7", - "a03c879748913a66", - "ac33a83c23cf9ac4", - "9b91d71f1e44cf1f", - "1f775b469780132e", - "5d790b75e6de3e8e", - "966f04b51561351a", - "64dd7c45e1a03dfc", - "31d948d89d8fce18", - "6ee73fc308a1ae18", - "ed9a18a0fd50bd74", - "127aee2c7e878412", - "45b8cc265f3cddf8", - "bd9dfc574913ce15", - "ae6041e347419f20", - "b2b935c539b967cb", - "91fa8b3645c915f4", - "d8ed442b649d537b", - "bfe31c4fa949911a", - "b26be92dc4489eef", - "a3b1b1fd7087fd27", - "943f5d0e31f50195", - "da801457ddc7c6c7", - "74299b7d56b8388f", - "916db15ab2bd7a5a", - "dc388d7c05f4732e", - "ac8e865762d11a99", - "5b1bc1b9109a84b6", - "ee65481751fbbb14", - "4f03a790cab6b283", - "003ba471ff0ebfa4", - "e55d1ea6d7242bfc", - "ae0a5d9f0b470cc1", - "e1f2c4546f0130dc" - ], - "x": 1254, - "y": 1999, - "w": 4622, - "h": 322 - }, - { - "id": "e99461e0ca98d7f7", - "type": "group", - "z": "68ee181e9defa139", - "g": "35d3c87e78a23030", - "name": "device - cumulus", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "529ecc895addf3ee", - "265028f88b277316", - "626362e80faff4aa", - "15cca280fbf063d8", - "eb17eac7299d63e4", - "12e852099c092194", - "b5c915e46370fdbf", - "037a4ceb2c2eea1d", - "6e323e666a12d51d", - "ef69f05d90e7ff12", - "8363918d71412add" + "6e5d97fd5f511366", + "2ea571ad93364449", + "8f1009a9502a5516", + "3d54b31ec68172cf", + "b0a067f702405dd8", + "56cb9892b5febb14", + "ba1ad3b1c11760c5", + "a205fd735ab69076", + "c0b5773a6bf24fa0", + "56aeeccb6faf8480", + "b7b4f3e199cff4e1", + "b3e6c30cb9035dee", + "e9f918d732ed4390", + "7660a519a43dca38", + "e3935a8921558315", + "05cb38d49efdd621", + "e4a851ee51659fbe", + "5aaa598948695182", + "df48aef72bf72d15", + "828954124f9d5f18", + "6d05765c48afd703", + "ee316a30d7d76949", + "0cd574bde14391d4", + "4b76b340559fb347", + "e61e9d413554539f", + "1ea871e1ad0c448e", + "3ada84cb46c4cf59", + "7e60e1c2ce2b33b5", + "0bba3390b421b942" ], "x": 94, - "y": 1999, - "w": 1062, - "h": 322 + "y": 3679, + "w": 1982, + "h": 682 }, { - "id": "c6cb89a1ee503d2d", + "id": "3e2b5d0f1dd7c70c", "type": "group", "z": "68ee181e9defa139", - "g": "4206d30978748143", - "name": "device - airflow", + "name": "scene - toggle", "style": { - "fill": "#ffC000", + "fill": "#92d04f", "fill-opacity": "0.05", "label": true }, "nodes": [ - "bd3993636ad365be", - "75f29e3e2be3f5d7", - "4cfbcc42c42795e7", - "80614f90fc25ec4a", - "d3968cfcbfe1e2d4", - "77b05b9e59ec652c", - "dcd4b1194169d097", - "660daed15b476d7f", - "9bf15f012eba32fd", - "253eaf939b574f3a", - "0ad91c777d8ac1e1", - "fc725fd688697cae", - "f0dbfaf1061b3eb9", - "84760331e955a63c" + "4e5dc7fe86199d6d", + "da742d7b236d74e9", + "0b8cfb72bb0f3e13", + "b15b9bb27e18cc28" ], "x": 94, "y": 2419, - "w": 1062, - "h": 502 + "w": 512, + "h": 142 }, { - "id": "49794532d925f87d", + "id": "152a1afefb8c6055", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - shutter shading", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6ea014398476684e", + "85772c505d998011", + "4ddccddf03e3d4d4", + "a07d6dd6d1c29a6a", + "eeb585f11f6823ce", + "ce174d9aa3f86e80", + "81521b1b53a011cf", + "a5ccd36e26d9f6d9", + "0e492506da218846", + "37da6809fc64b9e4", + "db475389de188a0c", + "7fd8ffaab7b5e644", + "e4bcc2150345266e", + "d104d5773963a340", + "1acc8b4f519da72e", + "bb270d49658a693f", + "b0cca198cd40b4b7", + "57ab09d50f789b03", + "174cc227ba703f1c", + "f1475eafde58ef48", + "fe15947cd1dee943", + "bebe5c9f233bc014", + "b72d94de9f872ddf", + "decfc56647d266cf", + "36fedc6b0be804e7" + ], + "x": 94, + "y": 1039, + "w": 2552, + "h": 322 + }, + { + "id": "1d10dc102aa4bd1a", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - clone", + "style": { + "fill-opacity": "0.05", + "label": true, + "fill": "#92d04f" + }, + "nodes": [ + "0afac8df8c0ad593", + "d39803577094b080", + "102eb508957fee9a", + "99f3818ae330dad4", + "394846d13b3f3ad5", + "d8f45ef2a1ef83db" + ], + "x": 94, + "y": 2599, + "w": 1112, + "h": 142 + }, + { + "id": "241e58e3b15dd775", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - custom color", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a1e311e659c0a082", + "0a11184001fe0640", + "5391e717f6dca308", + "906b6acddcc68024", + "82aa18736b702cd8" + ], + "x": 94, + "y": 2779, + "w": 912, + "h": 142 + }, + { + "id": "282f949a47889a3f", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - custom level", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2ff1d9f7d0cd1e1c", + "309b17151899bda1", + "6ffbc9731bd5e6ae", + "3d8af1903f187678", + "deed3da8baf03817", + "9909e92faf9def23", + "22d518d36e04716c", + "a1ef7c28be93a984" + ], + "x": 94, + "y": 2959, + "w": 1252, + "h": 142 + }, + { + "id": "ca328d57424013a3", "type": "group", "z": "68ee181e9defa139", - "g": "4206d30978748143", "name": "scene - airflow", "style": { "fill": "#92d04f", @@ -424,35 +380,153 @@ "label": true }, "nodes": [ - "6e122c5defee75eb", - "e80ac9c6a2450e94", - "23403b2e0efa08c0", - "7a3e5c86333a7ae0", - "121fed57229486de", - "dd5a3618de2a35cc", - "cb83cca146b17b71", - "e383a634f71ed9d5", - "c8ef0ce134c4de20", - "6a36741a719e6e4d", - "16d41222926b4e21", - "f3de19c8cb3d6f5e", - "e83020decb3a2dea", - "c9314de7ea6b9531", - "e5c65ab7f659b78c", - "05a0bf5c41fb1fad", - "8d40f4d6eaa344ac", - "5ea6ee43e920e092", - "3ae94b451aee5a01", - "c1bdda78a1a1cd4f", - "2c8763a31cb569ed", - "399cd9f81052ae3e", - "44638c23fe15b9b9" + "08678fd952d0718b", + "75bb87ae3f2c0e0a", + "ab4fc8c6e09cc5c2", + "a0fa2c85acd788b9", + "6790e3c9c69ca682", + "d15334a68d41f0c1", + "82b63e4a511b74b1", + "406126819aeb6e7a", + "9824552e3d00a585", + "e1f16ee8824ca937", + "0f4579886aba5d44", + "5d63e702c0356933", + "e2b5d164394915e1", + "222a2cb866b5d927" ], - "x": 1254, - "y": 2419, - "w": 3372, + "x": 94, + "y": 1759, + "w": 1462, "h": 202 }, + { + "id": "c9e818a567724ec0", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - cumulus", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "f4ad016915b58f34", + "1b526a505cca4b38", + "05d83797479be408", + "ff50da859f9ab394", + "9d69c9b73ed6d46a", + "42352296ba1a9b8f", + "ac52cc5b1a310d97", + "a7985c79389939ee", + "35328fc67036b0b7", + "aab05884f02c9ae5", + "c24662116bd8d039", + "d87d6edb5c6df065", + "ee2f9913c385850b", + "fee856239ffcf41d", + "092fe634cc63515f", + "6b28323c8b96ebdb", + "179270593d4a9213", + "029a7d6759da4e71", + "3db7c0647f6f3b27", + "f800de19b190bb45", + "66144194d3248dab", + "aa6fd304e5255f29", + "e80f200967e6e92e", + "8a6e80bb7690df1a", + "154ca07785fc4a03", + "32abed02d0722808" + ], + "x": 94, + "y": 1999, + "w": 2482, + "h": 382 + }, + { + "id": "7ad8c7d614a6550d", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - snapshot", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d7a5fb49638d61c7", + "07a2f1dafbf1361b", + "2ac3ee9cfd871785", + "cf9bb9f13aa683ed", + "b1d8ee0c1293ac1d", + "a246dabb539abf36", + "0f6fdddafa87cee7", + "ee662244b88ac05c", + "c47576e23f709bb0", + "1b0cbe0fc795ac63", + "3be19cd8f49a0c90", + "3b1fb9312071cef4", + "dc2fab4bf098df8c" + ], + "x": 94, + "y": 3319, + "w": 2032, + "h": 142 + }, + { + "id": "4f3050e222b9d901", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - custom volume", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "588b2a84691acfcc", + "779a7ca67f93706e", + "75552a6e9aeabca1", + "30505f159e3df7fb", + "057d3226a76029a3", + "086c6a1d782a1f2b" + ], + "x": 94, + "y": 3139, + "w": 1092, + "h": 142 + }, + { + "id": "b211976dfc18123b", + "type": "group", + "z": "68ee181e9defa139", + "name": "scene - overload", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "cb1e39e2071036cb", + "c7cc959fe94dc6ec", + "4bb9a5575ff72468", + "a2ca81a4a0f17f2b", + "ac34f353008f720b", + "cc0c27e2ec0f27c3", + "077d26e64b31245a", + "f1253a4898076087", + "979e5dadb00816e2", + "345bfad057c2239b", + "5e4211383e41daf1", + "46f096fb26163aaf", + "dbf634344f4eb19d", + "b784f74024662869" + ], + "x": 94, + "y": 3499, + "w": 2112, + "h": 142 + }, { "id": "2f88f0a1be78ca59", "type": "link in", @@ -470,53 +544,6 @@ ] ] }, - { - "id": "de7075aaec1a9391", - "type": "link out", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "scene - reset daily", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 1555, - "y": 240, - "wires": [] - }, - { - "id": "480f2a2fe14c86b6", - "type": "change", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "metric", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "false", - "tot": "bool" - }, - { - "t": "delete", - "p": "parts", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1430, - "y": 240, - "wires": [ - [ - "de7075aaec1a9391" - ] - ] - }, { "id": "213f3332bd5e75c6", "type": "switch", @@ -543,34 +570,6 @@ ] ] }, - { - "id": "79081790a2dc825f", - "type": "change", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 610, - "y": 240, - "wires": [ - [ - "ac85bbf902727a33" - ] - ] - }, { "id": "04a2a3c2efe76a2e", "type": "switch", @@ -593,93 +592,7 @@ "y": 240, "wires": [ [ - "79081790a2dc825f" - ] - ] - }, - { - "id": "ac85bbf902727a33", - "type": "split", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 790, - "y": 240, - "wires": [ - [ - "c77cc75b5383fd64" - ] - ] - }, - { - "id": "c77cc75b5383fd64", - "type": "split", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "measurement", - "x": 950, - "y": 240, - "wires": [ - [ - "3fdd7178e4840aa7" - ] - ] - }, - { - "id": "3fdd7178e4840aa7", - "type": "split", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "field", - "x": 1110, - "y": 240, - "wires": [ - [ - "b9540a9c3a42d059" - ] - ] - }, - { - "id": "b9540a9c3a42d059", - "type": "switch", - "z": "68ee181e9defa139", - "g": "fed2a5ee0a71e88f", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "daily", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1270, - "y": 240, - "wires": [ - [ - "480f2a2fe14c86b6" + "1864089149dd1020" ] ] }, @@ -731,7 +644,12 @@ "7110eb15cfddfcf3", "371da4ba2aa94afb", "45b8cc265f3cddf8", - "6a36741a719e6e4d" + "6a36741a719e6e4d", + "843601335db31104", + "b15b9bb27e18cc28", + "6ea014398476684e", + "75bb87ae3f2c0e0a", + "9d69c9b73ed6d46a" ], "x": 135, "y": 420, @@ -800,56 +718,6 @@ ] ] }, - { - "id": "5cb838e78e40799e", - "type": "change", - "z": "68ee181e9defa139", - "g": "9fed22b2831a8c22", - "name": "set daily metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "scene.bucket", - "tot": "msg" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "scene.type", - "tot": "msg" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "daily", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1400, - "y": 480, - "wires": [ - [ - "4abd6ee3b969ce9b", - "1b1e4074f6d9749c" - ] - ] - }, { "id": "941bac341d0a675c", "type": "switch", @@ -870,7 +738,7 @@ "y": 480, "wires": [ [ - "5cb838e78e40799e" + "564fec2392c7191d" ] ] }, @@ -1021,836 +889,14 @@ "tosidebar": true, "console": false, "tostatus": false, - "complete": "payload", - "targetType": "msg", - "statusVal": "", - "statusType": "auto", - "x": 1640, - "y": 480, - "wires": [] - }, - { - "id": "86001998b2c9a049", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "system/mode/nycthemer", - "vt": "str" - }, - { - "t": "eq", - "v": "msg.scene.bucket & '/aperture/shutter'", - "vt": "jsonata" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 470, - "y": 720, - "wires": [ - [ - "d5b7a0d32f3b802b" - ], - [ - "4552a02c909cd24a" - ], - [ - "a7cc276245fb5eb8" - ] - ] - }, - { - "id": "a7cc276245fb5eb8", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "scene shading / shutter / dimmer", - "rules": [ - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "aperture", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "shutter", - "tot": "str" - }, - { - "t": "set", - "p": "scene.format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "scene.type", - "pt": "msg", - "to": "shading", - "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": 1050, - "y": 780, - "wires": [ - [ - "5fba95ce87e859a6" - ] - ] - }, - { - "id": "5fba95ce87e859a6", - "type": "link call", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "", - "links": [ - "c1a22098f4c6b607" - ], - "linkType": "static", - "timeout": "30", - "x": 1310, - "y": 780, - "wires": [ - [ - "7b5dccdef2f6448a" - ] - ] - }, - { - "id": "7b5dccdef2f6448a", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1490, - "y": 780, - "wires": [ - [ - "b33c70ce0d2aabf1" - ] - ] - }, - { - "id": "cf3ba5e22164d0c7", - "type": "link out", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "scene - shutter shading", - "mode": "link", - "links": [ - "fb4b4e2a3fb029df" - ], - "x": 3295, - "y": 780, - "wires": [] - }, - { - "id": "b33c70ce0d2aabf1", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "select measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "luminosity", - "vt": "str" - }, - { - "t": "eq", - "v": "mode", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 1700, - "y": 720, - "wires": [ - [ - "ad02148724007b77" - ], - [ - "949c12d27fc455b9" - ], - [ - "c6a58914f588d386" - ], - [ - "9438c1d79ed2b7e6" - ] - ] - }, - { - "id": "125055a75db7c431", - "type": "link call", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "", - "links": [ - "c63c05889184c3bc" - ], - "linkType": "static", - "timeout": "30", - "x": 2290, - "y": 660, - "wires": [ - [ - "c31540134ffb0645" - ] - ] - }, - { - "id": "c31540134ffb0645", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2470, - "y": 660, - "wires": [ - [ - "d457bc746893ac58" - ] - ] - }, - { - "id": "328bedd9d4d34f5c", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "type", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "true" - }, - { - "t": "false" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 2990, - "y": 720, - "wires": [ - [ - "1c7cf4097ab0cbed" - ], - [ - "7e09bcecc5b75a86" - ], - [ - "786e22e4720b4a8e" - ] - ] - }, - { - "id": "1c7cf4097ab0cbed", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "99", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "scene.on", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3150, - "y": 660, - "wires": [ - [ - "cf3ba5e22164d0c7", - "92c2e2a582e95f60" - ] - ] - }, - { - "id": "7e09bcecc5b75a86", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "0", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "scene.off", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3150, - "y": 720, - "wires": [ - [ - "cf3ba5e22164d0c7", - "92c2e2a582e95f60" - ] - ] - }, - { - "id": "786e22e4720b4a8e", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "number", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$abs($number(msg.payload))", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3160, - "y": 780, - "wires": [ - [ - "cf3ba5e22164d0c7", - "92c2e2a582e95f60" - ] - ] - }, - { - "id": "d5b7a0d32f3b802b", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "not off", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "off", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 630, - "y": 660, - "wires": [ - [ - "bec59d8a7eda2351", - "01937dc263ac14f0" - ] - ] - }, - { - "id": "ad02148724007b77", - "type": "link call", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "", - "links": [ - "89bf9e5c676a419c" - ], - "linkType": "static", - "timeout": "30", - "x": 1950, - "y": 600, - "wires": [ - [ - "d38b51040114d7c8" - ] - ] - }, - { - "id": "d38b51040114d7c8", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2150, - "y": 600, - "wires": [ - [ - "8b41772765b3e57c" - ] - ] - }, - { - "id": "8b41772765b3e57c", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "openwork", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics[msg.scene.bucket][msg.scene.type]openwork", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$number(msg.payload)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2460, - "y": 600, - "wires": [ - [ - "d457bc746893ac58" - ] - ] - }, - { - "id": "d457bc746893ac58", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "right bay", - "property": "metrics[msg.scene.bucket]aperture['right bay']", - "propertyType": "global", - "rules": [ - { - "t": "false" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2640, - "y": 660, - "wires": [ - [ - "176ebff60e594972" - ] - ] - }, - { - "id": "176ebff60e594972", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "left bay", - "property": "metrics[msg.scene.bucket]aperture['left bay']", - "propertyType": "global", - "rules": [ - { - "t": "false" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2820, - "y": 660, - "wires": [ - [ - "328bedd9d4d34f5c" - ] - ] - }, - { - "id": "c6a58914f588d386", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "shutter", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1910, - "y": 720, - "wires": [ - [ - "949c12d27fc455b9" - ], - [ - "9438c1d79ed2b7e6" - ] - ] - }, - { - "id": "4552a02c909cd24a", - "type": "trigger", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "wait 30 s", - "op1": "", - "op2": "", - "op1type": "nul", - "op2type": "payl", - "duration": "30", - "extend": true, - "overrideDelay": false, - "units": "s", - "reset": "", - "bytopic": "topic", - "topic": "scene.bucket", - "outputs": 1, - "x": 640, - "y": 720, - "wires": [ - [ - "a7cc276245fb5eb8" - ] - ] - }, - { - "id": "9438c1d79ed2b7e6", - "type": "link call", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "", - "links": [ - "c63c05889184c3bc" - ], - "linkType": "static", - "timeout": "30", - "x": 2090, - "y": 780, - "wires": [ - [ - "88de00c38e5c7178" - ] - ] - }, - { - "id": "f14d76541b8726f8", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "check bucket", - "property": "scene", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "bucket", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 290, - "y": 720, - "wires": [ - [ - "86001998b2c9a049" - ] - ] - }, - { - "id": "01937dc263ac14f0", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "reset journalier", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "scene.bucket", - "tot": "msg" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "shading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "daily", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 820, - "y": 600, - "wires": [ - [ - "a9d7bde021ec65e2" - ] - ] - }, - { - "id": "a9d7bde021ec65e2", - "type": "link out", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "scene - shutter shading - reset journalier", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 975, - "y": 600, - "wires": [] - }, - { - "id": "1850a1a4ce01b83a", - "type": "link in", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "scene - shutter shading", - "links": [ - "bc11e38a9ca782cd", - "1f1c36211d6c6e3e" - ], - "x": 135, - "y": 720, - "wires": [ - [ - "f14d76541b8726f8" - ] - ] - }, - { - "id": "92c2e2a582e95f60", - "type": "debug", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "scene - shutter shading", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 3390, - "y": 720, + "x": 1000, + "y": 480, "wires": [] }, - { - "id": "949c12d27fc455b9", - "type": "change", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "nycthemer", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics.system.mode.nycthemer", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload='day'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2090, - "y": 660, - "wires": [ - [ - "125055a75db7c431" - ] - ] - }, - { - "id": "88de00c38e5c7178", - "type": "switch", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2270, - "y": 780, - "wires": [ - [ - "328bedd9d4d34f5c" - ] - ] - }, - { - "id": "bec59d8a7eda2351", - "type": "trigger", - "z": "68ee181e9defa139", - "g": "a7b40f415a368a7f", - "name": "wait 3 s", - "op1": "", - "op2": "", - "op1type": "nul", - "op2type": "payl", - "duration": "3", - "extend": false, - "overrideDelay": false, - "units": "s", - "reset": "", - "bytopic": "topic", - "topic": "scene.bucket", - "outputs": 1, - "x": 800, - "y": 660, - "wires": [ - [ - "a7cc276245fb5eb8" - ] - ] - }, { "id": "048bc1e501b0f9f2", "type": "change", @@ -1871,8 +917,8 @@ "from": "", "to": "", "reg": false, - "x": 1870, - "y": 1080, + "x": 2410, + "y": 960, "wires": [ [ "0728c8c3564e6e93" @@ -1899,8 +945,8 @@ "from": "", "to": "", "reg": false, - "x": 1870, - "y": 1020, + "x": 2410, + "y": 900, "wires": [ [ "0728c8c3564e6e93" @@ -1935,8 +981,8 @@ "checkall": "false", "repair": false, "outputs": 3, - "x": 1240, - "y": 960, + "x": 1780, + "y": 840, "wires": [ [ "b461040a6c998b61" @@ -1969,8 +1015,8 @@ "from": "", "to": "", "reg": false, - "x": 1870, - "y": 900, + "x": 2410, + "y": 780, "wires": [ [ "0728c8c3564e6e93" @@ -1997,8 +1043,8 @@ "from": "", "to": "", "reg": false, - "x": 1890, - "y": 960, + "x": 2430, + "y": 840, "wires": [ [ "0728c8c3564e6e93" @@ -2026,8 +1072,8 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 1470, - "y": 1020, + "x": 2010, + "y": 900, "wires": [ [ "3b8d8924bdb03f80" @@ -2071,8 +1117,8 @@ "from": "", "to": "", "reg": false, - "x": 2260, - "y": 960, + "x": 2800, + "y": 840, "wires": [ [ "e267a0404a5c5d6c", @@ -2094,8 +1140,8 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 2520, - "y": 900, + "x": 3060, + "y": 780, "wires": [] }, { @@ -2116,8 +1162,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 1050, - "y": 960, + "x": 1590, + "y": 840, "wires": [ [ "3e40fc1c77ed372a" @@ -2135,8 +1181,8 @@ ], "linkType": "static", "timeout": "30", - "x": 870, - "y": 960, + "x": 1410, + "y": 840, "wires": [ [ "36eb92fa692e166c" @@ -2150,6 +1196,13 @@ "g": "b3bc1717c16dc7dc", "name": "scene thermostat / operating mode / text", "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "room", + "tot": "msg" + }, { "t": "set", "p": "scene.measurement", @@ -2191,6 +1244,11 @@ "pt": "msg", "to": "off", "tot": "str" + }, + { + "t": "delete", + "p": "room", + "pt": "msg" } ], "action": "", @@ -2198,40 +1256,14 @@ "from": "", "to": "", "reg": false, - "x": 580, - "y": 960, + "x": 1120, + "y": 840, "wires": [ [ "d4c1d964e9c56e01" ] ] }, - { - "id": "8237897889d90162", - "type": "switch", - "z": "68ee181e9defa139", - "g": "b3bc1717c16dc7dc", - "name": "check bucket", - "property": "scene", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "bucket", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 290, - "y": 960, - "wires": [ - [ - "abd02925c2597211" - ] - ] - }, { "id": "e267a0404a5c5d6c", "type": "link out", @@ -2242,8 +1274,8 @@ "links": [ "206c1fb4a48067df" ], - "x": 2395, - "y": 960, + "x": 2935, + "y": 840, "wires": [] }, { @@ -2253,8 +1285,8 @@ "g": "b3bc1717c16dc7dc", "name": "don not call system/mode/heating as thermostat because of modes off are different", "info": "", - "x": 1110, - "y": 900, + "x": 1650, + "y": 780, "wires": [] }, { @@ -2275,8 +1307,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2080, - "y": 960, + "x": 2620, + "y": 840, "wires": [ [ "c20295d9b0ac3419" @@ -2288,24 +1320,24 @@ "type": "link in", "z": "68ee181e9defa139", "g": "b3bc1717c16dc7dc", - "name": "scene - thermostat operating mode", + "name": "scene - thermostat operating mode - out", "links": [ - "f8f9a6db99bb33e8", "0857f7c3fc012063", - "2df681beb21344f6", - "9820c6e109f25a2a", "2ced5243fb4aa8a7", - "7dc41ad29651ef76", + "2df681beb21344f6", "307e1f98694a09a1", - "438b7d7c7b096219", "377374bc3cc49bc5", - "4a2c85990a2b061e" + "438b7d7c7b096219", + "4a2c85990a2b061e", + "7dc41ad29651ef76", + "9820c6e109f25a2a", + "f8f9a6db99bb33e8" ], - "x": 135, - "y": 960, + "x": 715, + "y": 840, "wires": [ [ - "8237897889d90162" + "d6ec98126b0438ab" ] ] }, @@ -2330,8 +1362,8 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 1680, - "y": 1080, + "x": 2220, + "y": 960, "wires": [ [ "3b8d8924bdb03f80" @@ -2370,58 +1402,14 @@ "15367243a010781c", "feef715d3f66ac99", "37b076f40502ae57", - "c57984f9ea96ac0d" + "c57984f9ea96ac0d", + "a205fd735ab69076" ], "x": 135, - "y": 1260, + "y": 1620, "wires": [ [ - "d8488a962c08af06" - ] - ] - }, - { - "id": "d8488a962c08af06", - "type": "link call", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "", - "links": [ - "c1a22098f4c6b607" - ], - "linkType": "static", - "timeout": "30", - "x": 290, - "y": 1260, - "wires": [ - [ - "7f741e4487a27343" - ] - ] - }, - { - "id": "7f741e4487a27343", - "type": "switch", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 470, - "y": 1260, - "wires": [ - [ - "0dce2c644348616c" + "435b7ba53d3b3f3d" ] ] }, @@ -2456,8 +1444,8 @@ "checkall": "false", "repair": false, "outputs": 4, - "x": 660, - "y": 1260, + "x": 520, + "y": 1620, "wires": [ [ "585814f2cbaf139f" @@ -2466,7 +1454,7 @@ "05713976186ba442" ], [ - "ca723d146a37aa9c" + "05713976186ba442" ], [ "bee342e3eb1d1f39" @@ -2484,8 +1472,8 @@ ], "linkType": "static", "timeout": "30", - "x": 1240, - "y": 1200, + "x": 1140, + "y": 1560, "wires": [ [ "3b9ded82962309a3" @@ -2513,8 +1501,8 @@ "checkall": "false", "repair": false, "outputs": 2, - "x": 1430, - "y": 1200, + "x": 1330, + "y": 1560, "wires": [ [ "eabf5fc19efa675a" @@ -2535,8 +1523,8 @@ ], "linkType": "static", "timeout": "30", - "x": 2010, - "y": 1200, + "x": 1910, + "y": 1560, "wires": [ [ "6e799ecb83c4920e" @@ -2561,8 +1549,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2210, - "y": 1200, + "x": 2110, + "y": 1560, "wires": [ [ "bee342e3eb1d1f39" @@ -2580,8 +1568,8 @@ ], "linkType": "static", "timeout": "30", - "x": 2390, - "y": 1320, + "x": 2290, + "y": 1680, "wires": [ [ "e08e83753e727848" @@ -2606,8 +1594,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2570, - "y": 1320, + "x": 2470, + "y": 1680, "wires": [ [ "e3db60d3d55e1a82", @@ -2627,8 +1615,8 @@ ], "linkType": "static", "timeout": "30", - "x": 2750, - "y": 1260, + "x": 2650, + "y": 1560, "wires": [ [ "3783da8f96cfca80" @@ -2653,8 +1641,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 2950, - "y": 1260, + "x": 2850, + "y": 1560, "wires": [ [ "e3a86e68e388729d" @@ -2671,8 +1659,8 @@ "links": [ "fb4b4e2a3fb029df" ], - "x": 3435, - "y": 1320, + "x": 3335, + "y": 1680, "wires": [] }, { @@ -2695,8 +1683,8 @@ "from": "", "to": "", "reg": false, - "x": 910, - "y": 1260, + "x": 770, + "y": 1620, "wires": [ [ "bee342e3eb1d1f39" @@ -2714,8 +1702,8 @@ ], "linkType": "static", "timeout": "30", - "x": 870, - "y": 1200, + "x": 750, + "y": 1560, "wires": [ [ "9e47c40faa28271b" @@ -2740,25 +1728,14 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 1050, - "y": 1200, + "x": 950, + "y": 1560, "wires": [ [ "1e475c1be1dba2cd" ] ] }, - { - "id": "bd24d82081661484", - "type": "comment", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "must limit aperture on or off before", - "info": "", - "x": 260, - "y": 1200, - "wires": [] - }, { "id": "8c14a3d77196d0aa", "type": "link call", @@ -2770,8 +1747,8 @@ ], "linkType": "static", "timeout": "30", - "x": 1620, - "y": 1260, + "x": 1520, + "y": 1620, "wires": [ [ "034c93c5f54aaa15" @@ -2796,85 +1773,14 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 1810, - "y": 1260, + "x": 1710, + "y": 1620, "wires": [ [ "eabf5fc19efa675a" ] ] }, - { - "id": "9ea5b56f96986dba", - "type": "link call", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "", - "links": [ - "cae336906ea60890" - ], - "linkType": "static", - "timeout": "30", - "x": 2760, - "y": 1200, - "wires": [ - [ - "e299cb1ffd37e0dd" - ] - ] - }, - { - "id": "e299cb1ffd37e0dd", - "type": "switch", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2950, - "y": 1200, - "wires": [ - [] - ] - }, - { - "id": "ca723d146a37aa9c", - "type": "change", - "z": "68ee181e9defa139", - "g": "796ef41c1dd2380c", - "name": "payload as scene on/off", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$number($boolean(msg.payload))=0?msg.scene.off:msg.scene.on", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 910, - "y": 1320, - "wires": [ - [ - "bee342e3eb1d1f39" - ] - ] - }, { "id": "e9387364f390f805", "type": "debug", @@ -2889,8 +1795,8 @@ "targetType": "full", "statusVal": "", "statusType": "auto", - "x": 3500, - "y": 1260, + "x": 3400, + "y": 1620, "wires": [] }, { @@ -2904,8 +1810,8 @@ ], "linkType": "static", "timeout": "30", - "x": 3130, - "y": 1260, + "x": 3030, + "y": 1560, "wires": [ [ "85d5d5e5b6c9beac" @@ -2930,8 +1836,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 3310, - "y": 1260, + "x": 3210, + "y": 1560, "wires": [ [ "e9387364f390f805", @@ -2939,321 +1845,6 @@ ] ] }, - { - "id": "12ac3919cf517ae2", - "type": "link in", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "scene - nightlight", - "links": [ - "1e2cb1f46a96c406" - ], - "x": 135, - "y": 1500, - "wires": [ - [ - "f3016a806ce07c03" - ] - ] - }, - { - "id": "f3016a806ce07c03", - "type": "link call", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "", - "links": [ - "c1a22098f4c6b607" - ], - "linkType": "static", - "timeout": "30", - "x": 290, - "y": 1500, - "wires": [ - [ - "6cf5ea0631714bb0" - ] - ] - }, - { - "id": "6cf5ea0631714bb0", - "type": "switch", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 470, - "y": 1500, - "wires": [ - [ - "c60f91aec0439742" - ] - ] - }, - { - "id": "b477ed692390898f", - "type": "switch", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "nycthemer", - "property": "metrics.system.mode.nycthemer", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "night", - "vt": "str" - }, - { - "t": "eq", - "v": "day", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 870, - "y": 1500, - "wires": [ - [ - "9d43d1fbe3bcb62b" - ], - [ - "6884ba1cb7e75a11" - ] - ] - }, - { - "id": "6884ba1cb7e75a11", - "type": "change", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "nycthemer", - "pt": "msg", - "to": "metrics.system.mode.nycthemer", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.nycthemer='night'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1280, - "y": 1500, - "wires": [ - [ - "69d3dde54511db87" - ] - ] - }, - { - "id": "9d43d1fbe3bcb62b", - "type": "switch", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "light", - "vt": "str" - }, - { - "t": "eq", - "v": "mode", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1080, - "y": 1440, - "wires": [ - [ - "cb824661b1d4bd40" - ], - [ - "6884ba1cb7e75a11" - ] - ] - }, - { - "id": "cb824661b1d4bd40", - "type": "switch", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "scene.field", - "vt": "msg" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1270, - "y": 1440, - "wires": [ - [ - "6c7ae838ce65d471" - ] - ] - }, - { - "id": "6c7ae838ce65d471", - "type": "change", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "invert", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$number(msg.payload)=0", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1430, - "y": 1440, - "wires": [ - [ - "69d3dde54511db87" - ] - ] - }, - { - "id": "c6a33fe34a5837ef", - "type": "link out", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "scene - nightlight", - "mode": "link", - "links": [ - "fb4b4e2a3fb029df" - ], - "x": 1735, - "y": 1500, - "wires": [] - }, - { - "id": "69d3dde54511db87", - "type": "change", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?msg.scene.on:msg.scene.off", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1600, - "y": 1500, - "wires": [ - [ - "c6a33fe34a5837ef", - "aa52c26b01cca971" - ] - ] - }, - { - "id": "c60f91aec0439742", - "type": "switch", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "nightlight actif", - "property": "routine.nightlight", - "propertyType": "msg", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 660, - "y": 1500, - "wires": [ - [ - "b477ed692390898f" - ] - ] - }, - { - "id": "06d25d3d5749d7c0", - "type": "comment", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "same type as lighting", - "info": "", - "x": 220, - "y": 1440, - "wires": [] - }, - { - "id": "aa52c26b01cca971", - "type": "debug", - "z": "68ee181e9defa139", - "g": "5bbc579c9b6b5a17", - "name": "scene - nightlight", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "payload", - "targetType": "msg", - "statusVal": "", - "statusType": "auto", - "x": 1810, - "y": 1440, - "wires": [] - }, { "id": "07d45bb35ac762c9", "type": "switch", @@ -3273,7 +1864,7 @@ "repair": false, "outputs": 1, "x": 270, - "y": 1620, + "y": 660, "wires": [ [ "d5aa33c47a8c4347" @@ -3299,7 +1890,7 @@ "repair": false, "outputs": 1, "x": 610, - "y": 1620, + "y": 660, "wires": [ [ "f4e114d534bc63d0" @@ -3325,7 +1916,7 @@ "repair": false, "outputs": 1, "x": 820, - "y": 1620, + "y": 660, "wires": [ [ "7fcd9ac436f62e8a" @@ -3351,7 +1942,7 @@ "repair": false, "outputs": 1, "x": 430, - "y": 1620, + "y": 660, "wires": [ [ "2856d3bff393f9fc" @@ -3369,7 +1960,7 @@ "fb4b4e2a3fb029df" ], "x": 975, - "y": 1620, + "y": 660, "wires": [] }, { @@ -3380,7 +1971,7 @@ "name": "scene - fire", "links": [], "x": 135, - "y": 1620, + "y": 660, "wires": [ [ "07d45bb35ac762c9" @@ -3429,2520 +2020,6 @@ "y": 60, "wires": [] }, - { - "id": "ed024e2049749de7", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "payload.cumulus['electric meter']", - "vt": "msg" - }, - { - "t": "eq", - "v": "system/mode/nycthemer", - "vt": "str" - }, - { - "t": "eq", - "v": "system/mode/cumulus", - "vt": "str" - }, - { - "t": "eq", - "v": "msg.scene.bucket&'/power/'&msg.scene.field", - "vt": "jsonata" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 2630, - "y": 2160, - "wires": [ - [ - "e1f2c4546f0130dc" - ], - [ - "e1f2c4546f0130dc" - ], - [ - "e1f2c4546f0130dc" - ], - [ - "e1f2c4546f0130dc" - ] - ] - }, - { - "id": "a03c879748913a66", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "set scene metrics", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "scene_bucket", - "tot": "msg" - }, - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "cumulus", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "balloon", - "tot": "str" - }, - { - "t": "set", - "p": "scene.format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "scene.type", - "pt": "msg", - "to": "cumulus", - "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": 2430, - "y": 2160, - "wires": [ - [ - "ed024e2049749de7" - ] - ] - }, - { - "id": "ac33a83c23cf9ac4", - "type": "link in", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene - cumulus", - "links": [ - "031a6afd8300356a" - ], - "x": 1295, - "y": 2160, - "wires": [ - [ - "ae0a5d9f0b470cc1" - ] - ] - }, - { - "id": "529ecc895addf3ee", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "cumulus / actif / boolean / true", - "rules": [ - { - "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": 730, - "y": 2040, - "wires": [ - [ - "ef69f05d90e7ff12" - ] - ] - }, - { - "id": "265028f88b277316", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "cumulus / timer / number / 180", - "rules": [ - { - "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": "180", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 730, - "y": 2160, - "wires": [ - [ - "ef69f05d90e7ff12" - ] - ] - }, - { - "id": "626362e80faff4aa", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "cumulus / daily / boolean / false", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "daily", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 730, - "y": 2220, - "wires": [ - [ - "ef69f05d90e7ff12" - ] - ] - }, - { - "id": "15cca280fbf063d8", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "cumulus / night / boolean / true", - "rules": [ - { - "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": 730, - "y": 2280, - "wires": [ - [ - "ef69f05d90e7ff12" - ] - ] - }, - { - "id": "eb17eac7299d63e4", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "cumulus / electric meter / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "electric meter", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "home/current/electric meter", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 730, - "y": 2100, - "wires": [ - [ - "ef69f05d90e7ff12" - ] - ] - }, - { - "id": "12e852099c092194", - "type": "link in", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "device - cumulus", - "links": [ - "f1898b7dbc641cd6" - ], - "x": 135, - "y": 2040, - "wires": [ - [ - "b5c915e46370fdbf" - ] - ] - }, - { - "id": "b5c915e46370fdbf", - "type": "switch", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "balloon", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2040, - "wires": [ - [ - "037a4ceb2c2eea1d" - ] - ] - }, - { - "id": "037a4ceb2c2eea1d", - "type": "switch", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "cumulus", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 460, - "y": 2040, - "wires": [ - [ - "529ecc895addf3ee", - "eb17eac7299d63e4", - "265028f88b277316", - "626362e80faff4aa", - "15cca280fbf063d8" - ] - ] - }, - { - "id": "6e323e666a12d51d", - "type": "comment", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "scan device registration to find xxx / cumulus / balloon", - "info": "", - "x": 320, - "y": 2100, - "wires": [] - }, - { - "id": "ef69f05d90e7ff12", - "type": "change", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "set metric", - "rules": [ - { - "t": "delete", - "p": "path", - "pt": "msg" - }, - { - "t": "delete", - "p": "protocol", - "pt": "msg" - }, - { - "t": "delete", - "p": "mdoel", - "pt": "msg" - }, - { - "t": "delete", - "p": "id", - "pt": "msg" - }, - { - "t": "delete", - "p": "option", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 980, - "y": 2040, - "wires": [ - [ - "8363918d71412add" - ] - ] - }, - { - "id": "8363918d71412add", - "type": "link out", - "z": "68ee181e9defa139", - "g": "e99461e0ca98d7f7", - "name": "device - cumulus", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 1115, - "y": 2040, - "wires": [] - }, - { - "id": "9b91d71f1e44cf1f", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "get metrics from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "scene", - "pt": "msg", - "to": "{}", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1720, - "y": 2160, - "wires": [ - [ - "1f775b469780132e" - ] - ] - }, - { - "id": "1f775b469780132e", - "type": "split", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "split by buckets", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "scene_bucket", - "x": 1960, - "y": 2160, - "wires": [ - [ - "5d790b75e6de3e8e" - ] - ] - }, - { - "id": "5d790b75e6de3e8e", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "has measurement", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "cumulus", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2190, - "y": 2160, - "wires": [ - [ - "a03c879748913a66" - ] - ] - }, - { - "id": "966f04b51561351a", - "type": "link call", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "", - "links": [ - "c1a22098f4c6b607" - ], - "linkType": "static", - "timeout": "30", - "x": 2990, - "y": 2160, - "wires": [ - [ - "64dd7c45e1a03dfc" - ] - ] - }, - { - "id": "64dd7c45e1a03dfc", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3170, - "y": 2160, - "wires": [ - [ - "91fa8b3645c915f4" - ] - ] - }, - { - "id": "31d948d89d8fce18", - "type": "link call", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "", - "links": [ - "c63c05889184c3bc" - ], - "linkType": "static", - "timeout": "30", - "x": 4250, - "y": 2220, - "wires": [ - [ - "6ee73fc308a1ae18" - ] - ] - }, - { - "id": "6ee73fc308a1ae18", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 4430, - "y": 2220, - "wires": [ - [ - "bfe31c4fa949911a" - ] - ] - }, - { - "id": "ed9a18a0fd50bd74", - "type": "link call", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "", - "links": [ - "834ce9850cdb0a72" - ], - "linkType": "static", - "timeout": "30", - "x": 5130, - "y": 2040, - "wires": [ - [ - "127aee2c7e878412" - ] - ] - }, - { - "id": "127aee2c7e878412", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 5310, - "y": 2040, - "wires": [ - [ - "45b8cc265f3cddf8", - "b26be92dc4489eef", - "e55d1ea6d7242bfc" - ] - ] - }, - { - "id": "45b8cc265f3cddf8", - "type": "link out", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene - cumulus", - "mode": "link", - "links": [ - "fb4b4e2a3fb029df" - ], - "x": 5435, - "y": 2160, - "wires": [] - }, - { - "id": "bd9dfc574913ce15", - "type": "link call", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "", - "links": [ - "dfec2e7efb555d4d" - ], - "linkType": "static", - "timeout": "30", - "x": 3890, - "y": 2280, - "wires": [ - [ - "74299b7d56b8388f" - ] - ] - }, - { - "id": "ae6041e347419f20", - "type": "trigger", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "wait 5 s", - "op1": "", - "op2": "", - "op1type": "nul", - "op2type": "pay", - "duration": "5", - "extend": false, - "overrideDelay": false, - "units": "s", - "reset": "false", - "bytopic": "all", - "topic": "topic", - "outputs": 1, - "x": 4780, - "y": 2160, - "wires": [ - [ - "45b8cc265f3cddf8", - "916db15ab2bd7a5a", - "e55d1ea6d7242bfc" - ] - ] - }, - { - "id": "b2b935c539b967cb", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "tariff", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "HP", - "vt": "str" - }, - { - "t": "eq", - "v": "HC", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 3710, - "y": 2220, - "wires": [ - [ - "dc388d7c05f4732e" - ], - [ - "bd9dfc574913ce15" - ] - ] - }, - { - "id": "91fa8b3645c915f4", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "scene.field", - "vt": "msg" - }, - { - "t": "eq", - "v": "nycthemer", - "vt": "str" - }, - { - "t": "eq", - "v": "cumulus", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 3330, - "y": 2160, - "wires": [ - [ - "5b1bc1b9109a84b6" - ], - [ - "ac8e865762d11a99" - ], - [ - "d8ed442b649d537b" - ], - [ - "003ba471ff0ebfa4" - ] - ] - }, - { - "id": "d8ed442b649d537b", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "mode cumulus", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "manual", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3520, - "y": 2160, - "wires": [ - [ - "bfe31c4fa949911a" - ] - ] - }, - { - "id": "bfe31c4fa949911a", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene on", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "scene.on", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4600, - "y": 2160, - "wires": [ - [ - "ae6041e347419f20" - ] - ] - }, - { - "id": "b26be92dc4489eef", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "mode cumulus", - "property": "metrics.system.mode.cumulus", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "manual", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 5500, - "y": 2040, - "wires": [ - [ - "a3b1b1fd7087fd27" - ] - ] - }, - { - "id": "a3b1b1fd7087fd27", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "mode", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "cumulus", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "automatic", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 5700, - "y": 2040, - "wires": [ - [ - "943f5d0e31f50195" - ] - ] - }, - { - "id": "943f5d0e31f50195", - "type": "link out", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene - cumulus - automatic", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 5835, - "y": 2040, - "wires": [] - }, - { - "id": "da801457ddc7c6c7", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene off", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "scene.off", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4460, - "y": 2040, - "wires": [ - [ - "916db15ab2bd7a5a", - "45b8cc265f3cddf8", - "ae6041e347419f20", - "e55d1ea6d7242bfc" - ] - ] - }, - { - "id": "74299b7d56b8388f", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "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": 4070, - "y": 2280, - "wires": [ - [ - "dc388d7c05f4732e" - ], - [ - "31d948d89d8fce18" - ] - ] - }, - { - "id": "916db15ab2bd7a5a", - "type": "rbe", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "", - "func": "rbe", - "gap": "", - "start": "", - "inout": "out", - "septopics": false, - "property": "payload", - "topi": "topic", - "x": 4950, - "y": 2040, - "wires": [ - [ - "ed9a18a0fd50bd74" - ] - ] - }, - { - "id": "dc388d7c05f4732e", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "mode cumulus", - "property": "metrics.system.mode.cumulus", - "propertyType": "global", - "rules": [ - { - "t": "neq", - "v": "manual", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 4260, - "y": 2100, - "wires": [ - [ - "da801457ddc7c6c7" - ] - ] - }, - { - "id": "ac8e865762d11a99", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "mode nycthemer", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "day", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3530, - "y": 2100, - "wires": [ - [ - "dc388d7c05f4732e" - ] - ] - }, - { - "id": "5b1bc1b9109a84b6", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "power", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "0", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3490, - "y": 2040, - "wires": [ - [ - "ee65481751fbbb14" - ] - ] - }, - { - "id": "ee65481751fbbb14", - "type": "delay", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "1 s", - "pauseType": "delay", - "timeout": "1", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 3650, - "y": 2040, - "wires": [ - [ - "4f03a790cab6b283" - ] - ] - }, - { - "id": "4f03a790cab6b283", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "from global", - "property": "metrics[msg.scene.bucket][msg.scene.measurement][msg.scene.field]", - "propertyType": "global", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3830, - "y": 2040, - "wires": [ - [ - "da801457ddc7c6c7" - ] - ] - }, - { - "id": "003ba471ff0ebfa4", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "tariff", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3520, - "y": 2220, - "wires": [ - [ - "b2b935c539b967cb" - ] - ] - }, - { - "id": "e55d1ea6d7242bfc", - "type": "debug", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "scene - cumulus", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 5500, - "y": 2100, - "wires": [] - }, - { - "id": "bd3993636ad365be", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / actif / boolean / true", - "rules": [ - { - "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": 720, - "y": 2460, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "75f29e3e2be3f5d7", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / timer / number / 30", - "rules": [ - { - "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": "30", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 720, - "y": 2520, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "4cfbcc42c42795e7", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / limit / number / 55", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "limit", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "55", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2580, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "6e122c5defee75eb", - "type": "link in", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "scene - airflow", - "links": [ - "031a6afd8300356a" - ], - "x": 1295, - "y": 2520, - "wires": [ - [ - "399cd9f81052ae3e" - ] - ] - }, - { - "id": "e80ac9c6a2450e94", - "type": "change", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "set scene metrics", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "scene_bucket", - "tot": "msg" - }, - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "airflow", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "cmv", - "tot": "str" - }, - { - "t": "set", - "p": "scene.format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "scene.type", - "pt": "msg", - "to": "airflow", - "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": 2430, - "y": 2520, - "wires": [ - [ - "dd5a3618de2a35cc" - ] - ] - }, - { - "id": "80614f90fc25ec4a", - "type": "link in", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "device - airflow", - "links": [ - "f1898b7dbc641cd6" - ], - "x": 135, - "y": 2460, - "wires": [ - [ - "d3968cfcbfe1e2d4" - ] - ] - }, - { - "id": "d3968cfcbfe1e2d4", - "type": "switch", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "cmv", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2460, - "wires": [ - [ - "77b05b9e59ec652c" - ] - ] - }, - { - "id": "77b05b9e59ec652c", - "type": "switch", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "airflow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 460, - "y": 2460, - "wires": [ - [ - "bd3993636ad365be", - "75f29e3e2be3f5d7", - "4cfbcc42c42795e7", - "253eaf939b574f3a", - "0ad91c777d8ac1e1", - "fc725fd688697cae", - "f0dbfaf1061b3eb9", - "84760331e955a63c" - ] - ] - }, - { - "id": "dcd4b1194169d097", - "type": "comment", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "scan device registration to find xxx / airflow / cmv", - "info": "", - "x": 300, - "y": 2520, - "wires": [] - }, - { - "id": "660daed15b476d7f", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "set metric", - "rules": [ - { - "t": "delete", - "p": "path", - "pt": "msg" - }, - { - "t": "delete", - "p": "protocol", - "pt": "msg" - }, - { - "t": "delete", - "p": "mdoel", - "pt": "msg" - }, - { - "t": "delete", - "p": "id", - "pt": "msg" - }, - { - "t": "delete", - "p": "option", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 980, - "y": 2460, - "wires": [ - [ - "9bf15f012eba32fd" - ] - ] - }, - { - "id": "9bf15f012eba32fd", - "type": "link out", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "device - airflow", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 1115, - "y": 2460, - "wires": [] - }, - { - "id": "253eaf939b574f3a", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / humidity 1 / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "humidity 1", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2640, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "0ad91c777d8ac1e1", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / humidity 2 / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "humidity 2", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2700, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "fc725fd688697cae", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / humidity 3 / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "humidity 3", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2760, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "f0dbfaf1061b3eb9", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / humidity 4 / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "humidity 4", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2820, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "84760331e955a63c", - "type": "change", - "z": "68ee181e9defa139", - "g": "c6cb89a1ee503d2d", - "name": "airflow / humidity 5 / text / ", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "humidity 5", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 710, - "y": 2880, - "wires": [ - [ - "660daed15b476d7f" - ] - ] - }, - { - "id": "23403b2e0efa08c0", - "type": "change", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "get metrics from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "scene", - "pt": "msg", - "to": "{}", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1720, - "y": 2520, - "wires": [ - [ - "7a3e5c86333a7ae0" - ] - ] - }, - { - "id": "7a3e5c86333a7ae0", - "type": "split", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "split by buckets", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "scene_bucket", - "x": 1960, - "y": 2520, - "wires": [ - [ - "121fed57229486de" - ] - ] - }, - { - "id": "121fed57229486de", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "has measurement", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "airflow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2190, - "y": 2520, - "wires": [ - [ - "e80ac9c6a2450e94" - ] - ] - }, - { - "id": "dd5a3618de2a35cc", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "payload.airflow['humidity 1']", - "vt": "msg" - }, - { - "t": "eq", - "v": "payload.airflow['humidity 2']", - "vt": "msg" - }, - { - "t": "eq", - "v": "payload.airflow['humidity 3']", - "vt": "msg" - }, - { - "t": "eq", - "v": "payload.airflow['humidity 4']", - "vt": "msg" - }, - { - "t": "eq", - "v": "payload.airflow['humidity 5']", - "vt": "msg" - }, - { - "t": "eq", - "v": "msg.scene.bucket&'/airflow/cmv'", - "vt": "jsonata" - }, - { - "t": "eq", - "v": "system/mode/airflow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 7, - "x": 2630, - "y": 2520, - "wires": [ - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ], - [ - "44638c23fe15b9b9" - ] - ] - }, - { - "id": "cb83cca146b17b71", - "type": "link call", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "", - "links": [ - "c1a22098f4c6b607" - ], - "linkType": "static", - "timeout": "30", - "x": 3010, - "y": 2520, - "wires": [ - [ - "e383a634f71ed9d5" - ] - ] - }, - { - "id": "e383a634f71ed9d5", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3180, - "y": 2520, - "wires": [ - [ - "f3de19c8cb3d6f5e" - ] - ] - }, - { - "id": "c8ef0ce134c4de20", - "type": "link call", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "", - "links": [ - "834ce9850cdb0a72" - ], - "linkType": "static", - "timeout": "30", - "x": 3940, - "y": 2460, - "wires": [ - [ - "16d41222926b4e21" - ] - ] - }, - { - "id": "6a36741a719e6e4d", - "type": "link out", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "scene - airflow", - "mode": "link", - "links": [ - "fb4b4e2a3fb029df" - ], - "x": 4245, - "y": 2580, - "wires": [] - }, - { - "id": "16d41222926b4e21", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 4120, - "y": 2460, - "wires": [ - [ - "6a36741a719e6e4d", - "e5c65ab7f659b78c", - "2c8763a31cb569ed" - ] - ] - }, - { - "id": "f3de19c8cb3d6f5e", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "mode", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 3370, - "y": 2520, - "wires": [ - [ - "e83020decb3a2dea" - ], - [ - "5ea6ee43e920e092" - ], - [ - "3ae94b451aee5a01" - ] - ] - }, - { - "id": "e83020decb3a2dea", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "manual", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "manual", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3570, - "y": 2460, - "wires": [ - [ - "c9314de7ea6b9531" - ] - ] - }, - { - "id": "c9314de7ea6b9531", - "type": "change", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "true", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3760, - "y": 2520, - "wires": [ - [ - "6a36741a719e6e4d", - "c8ef0ce134c4de20", - "2c8763a31cb569ed" - ] - ] - }, - { - "id": "e5c65ab7f659b78c", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "mode", - "property": "metrics.system.mode.airflow", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "manual", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 4280, - "y": 2460, - "wires": [ - [ - "05a0bf5c41fb1fad" - ] - ] - }, - { - "id": "05a0bf5c41fb1fad", - "type": "change", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "automatic", - "tot": "str" - }, - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "mode", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "airflow", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4450, - "y": 2460, - "wires": [ - [ - "8d40f4d6eaa344ac" - ] - ] - }, - { - "id": "8d40f4d6eaa344ac", - "type": "link out", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "scene - airflow - auto", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 4585, - "y": 2460, - "wires": [] - }, - { - "id": "5ea6ee43e920e092", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "humidity", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "gt", - "v": "routine.humidity", - "vt": "msg" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3570, - "y": 2520, - "wires": [ - [ - "c9314de7ea6b9531" - ] - ] - }, - { - "id": "3ae94b451aee5a01", - "type": "link call", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "", - "links": [ - "587236e6160da46c" - ], - "linkType": "static", - "timeout": "30", - "x": 3580, - "y": 2580, - "wires": [ - [ - "c1bdda78a1a1cd4f", - "c8ef0ce134c4de20" - ] - ] - }, - { - "id": "c1bdda78a1a1cd4f", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "rsp", - "property": "routine.response", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3760, - "y": 2580, - "wires": [ - [ - "6a36741a719e6e4d", - "2c8763a31cb569ed" - ] - ] - }, - { - "id": "2c8763a31cb569ed", - "type": "debug", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "scene - airflow", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 4310, - "y": 2520, - "wires": [] - }, - { - "id": "399cd9f81052ae3e", - "type": "switch", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "limit measurements", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "regex", - "v": "(humidity|airflow|mode)", - "vt": "str", - "case": false - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1470, - "y": 2520, - "wires": [ - [ - "23403b2e0efa08c0" - ] - ] - }, - { - "id": "ae0a5d9f0b470cc1", - "type": "switch", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "limit measurements", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "regex", - "v": "(cumulus|power|tariff|mode)", - "vt": "str", - "case": false - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1470, - "y": 2160, - "wires": [ - [ - "9b91d71f1e44cf1f" - ] - ] - }, - { - "id": "44638c23fe15b9b9", - "type": "change", - "z": "68ee181e9defa139", - "g": "49794532d925f87d", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "old_payload", - "tot": "msg" - }, - { - "t": "delete", - "p": "old_payload", - "pt": "msg" - }, - { - "t": "delete", - "p": "parts", - "pt": "msg" - }, - { - "t": "delete", - "p": "scene_bucket", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2810, - "y": 2520, - "wires": [ - [ - "cb83cca146b17b71" - ] - ] - }, - { - "id": "e1f2c4546f0130dc", - "type": "change", - "z": "68ee181e9defa139", - "g": "75150dc9074374a7", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "old_payload", - "tot": "msg" - }, - { - "t": "delete", - "p": "old_payload", - "pt": "msg" - }, - { - "t": "delete", - "p": "parts", - "pt": "msg" - }, - { - "t": "delete", - "p": "scene_bucket", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2800, - "y": 2160, - "wires": [ - [ - "966f04b51561351a" - ] - ] - }, { "id": "d2e269a6af2dfb1c", "type": "change", @@ -5971,5 +2048,4310 @@ "1b1e4074f6d9749c" ] ] + }, + { + "id": "6e5d97fd5f511366", + "type": "link in", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger", + "links": [ + "031a6afd8300356a" + ], + "x": 135, + "y": 3780, + "wires": [ + [ + "2ea571ad93364449" + ] + ] + }, + { + "id": "2ea571ad93364449", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "path", + "property": "triggers", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "path", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 270, + "y": 3780, + "wires": [ + [ + "8f1009a9502a5516" + ] + ] + }, + { + "id": "8f1009a9502a5516", + "type": "change", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "move", + "rules": [ + { + "t": "set", + "p": "trigger_payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers[msg.path]", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 430, + "y": 3780, + "wires": [ + [ + "3d54b31ec68172cf" + ] + ] + }, + { + "id": "3d54b31ec68172cf", + "type": "split", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene md5", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "", + "x": 610, + "y": 3780, + "wires": [ + [ + "b3e6c30cb9035dee", + "7660a519a43dca38", + "e4a851ee51659fbe" + ] + ] + }, + { + "id": "b0a067f702405dd8", + "type": "debug", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "trigger - path", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 1730, + "y": 3720, + "wires": [] + }, + { + "id": "56cb9892b5febb14", + "type": "change", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trigger_payload", + "tot": "msg" + }, + { + "t": "delete", + "p": "trigger_payload", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1350, + "y": 3780, + "wires": [ + [ + "0cd574bde14391d4" + ] + ] + }, + { + "id": "ba1ad3b1c11760c5", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene type", + "property": "scene.type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "lighting", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "shading", + "vt": "str" + }, + { + "t": "eq", + "v": "clone", + "vt": "str" + }, + { + "t": "eq", + "v": "airflow", + "vt": "str" + }, + { + "t": "eq", + "v": "cumulus", + "vt": "str" + }, + { + "t": "eq", + "v": "snapshot", + "vt": "str" + }, + { + "t": "eq", + "v": "overload", + "vt": "str" + }, + { + "t": "eq", + "v": "custom color", + "vt": "str" + }, + { + "t": "eq", + "v": "custom level", + "vt": "str" + }, + { + "t": "eq", + "v": "custom volume", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 11, + "x": 1890, + "y": 3840, + "wires": [ + [ + "a205fd735ab69076" + ], + [ + "5aaa598948695182" + ], + [ + "df48aef72bf72d15" + ], + [ + "828954124f9d5f18" + ], + [ + "e61e9d413554539f" + ], + [ + "1ea871e1ad0c448e" + ], + [ + "3ada84cb46c4cf59" + ], + [ + "0bba3390b421b942" + ], + [ + "6d05765c48afd703" + ], + [ + "ee316a30d7d76949" + ], + [ + "7e60e1c2ce2b33b5" + ] + ] + }, + { + "id": "a205fd735ab69076", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - lighting", + "mode": "link", + "links": [ + "abdf34b12a5dd88d" + ], + "x": 2035, + "y": 3720, + "wires": [] + }, + { + "id": "c0b5773a6bf24fa0", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "on other", + "property": "payload.on", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "trigger_payload", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1000, + "y": 3900, + "wires": [ + [ + "56aeeccb6faf8480" + ] + ] + }, + { + "id": "56aeeccb6faf8480", + "type": "change", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "value", + "rules": [ + { + "t": "set", + "p": "trigger_payload", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1190, + "y": 3840, + "wires": [ + [ + "56cb9892b5febb14" + ] + ] + }, + { + "id": "b7b4f3e199cff4e1", + "type": "change", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "value", + "rules": [ + { + "t": "set", + "p": "trigger_payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1190, + "y": 3960, + "wires": [ + [ + "56cb9892b5febb14" + ] + ] + }, + { + "id": "b3e6c30cb9035dee", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "state on type", + "property": "payload.on", + "propertyType": "msg", + "rules": [ + { + "t": "istype", + "v": "number", + "vt": "number" + }, + { + "t": "istype", + "v": "boolean", + "vt": "boolean" + }, + { + "t": "istype", + "v": "string", + "vt": "string" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 810, + "y": 3840, + "wires": [ + [ + "e9f918d732ed4390" + ], + [ + "c0b5773a6bf24fa0" + ], + [ + "c0b5773a6bf24fa0" + ] + ] + }, + { + "id": "e9f918d732ed4390", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "on number", + "property": "payload.on", + "propertyType": "msg", + "rules": [ + { + "t": "lte", + "v": "trigger_payload", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1010, + "y": 3840, + "wires": [ + [ + "56aeeccb6faf8480" + ] + ] + }, + { + "id": "7660a519a43dca38", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "state off type", + "property": "payload.off", + "propertyType": "msg", + "rules": [ + { + "t": "istype", + "v": "number", + "vt": "number" + }, + { + "t": "istype", + "v": "boolean", + "vt": "boolean" + }, + { + "t": "istype", + "v": "string", + "vt": "string" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 810, + "y": 3960, + "wires": [ + [ + "e3935a8921558315" + ], + [ + "05cb38d49efdd621" + ], + [ + "05cb38d49efdd621" + ] + ] + }, + { + "id": "e3935a8921558315", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "off number", + "property": "payload.off", + "propertyType": "msg", + "rules": [ + { + "t": "lte", + "v": "trigger_payload", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1010, + "y": 3960, + "wires": [ + [ + "b7b4f3e199cff4e1" + ] + ] + }, + { + "id": "05cb38d49efdd621", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "off other", + "property": "payload.off", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "trigger_payload", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1000, + "y": 4020, + "wires": [ + [ + "b7b4f3e199cff4e1" + ] + ] + }, + { + "id": "435b7ba53d3b3f3d", + "type": "switch", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "nightlight actif", + "property": "routine.nightlight", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 300, + "y": 1620, + "wires": [ + [ + "5cf10abb34d2afd9" + ], + [ + "0dce2c644348616c" + ] + ] + }, + { + "id": "5cf10abb34d2afd9", + "type": "switch", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "nycthemer", + "property": "metrics.system.mode.nycthemer", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "night", + "vt": "str" + }, + { + "t": "eq", + "v": "day", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 510, + "y": 1500, + "wires": [ + [ + "de95eb8bc9cedb87" + ], + [ + "08ab0de6523813f1" + ] + ] + }, + { + "id": "de95eb8bc9cedb87", + "type": "switch", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "light", + "vt": "str" + }, + { + "t": "eq", + "v": "mode", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 720, + "y": 1440, + "wires": [ + [ + "7af2f9f85dfa9434" + ], + [ + "08ab0de6523813f1" + ] + ] + }, + { + "id": "7af2f9f85dfa9434", + "type": "switch", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "scene.field", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 910, + "y": 1440, + "wires": [ + [ + "9f7db667a3e5cce9" + ] + ] + }, + { + "id": "9f7db667a3e5cce9", + "type": "change", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "invert", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$number(msg.payload)=0", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3030, + "y": 1440, + "wires": [ + [ + "9c4f5df3df617722" + ] + ] + }, + { + "id": "9c4f5df3df617722", + "type": "change", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?msg.scene.on:msg.scene.off", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3200, + "y": 1500, + "wires": [ + [ + "e3db60d3d55e1a82", + "e9387364f390f805" + ] + ] + }, + { + "id": "08ab0de6523813f1", + "type": "change", + "z": "68ee181e9defa139", + "g": "796ef41c1dd2380c", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "nycthemer", + "pt": "msg", + "to": "metrics.system.mode.nycthemer", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.nycthemer='night'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 920, + "y": 1500, + "wires": [ + [ + "9c4f5df3df617722" + ] + ] + }, + { + "id": "e4a851ee51659fbe", + "type": "switch", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "no state", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "hask", + "v": "on", + "vt": "str" + }, + { + "t": "hask", + "v": "off", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 800, + "y": 3780, + "wires": [ + [], + [], + [ + "56cb9892b5febb14" + ] + ] + }, + { + "id": "5aaa598948695182", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - toggle", + "mode": "link", + "links": [ + "4e5dc7fe86199d6d" + ], + "x": 2035, + "y": 3780, + "wires": [] + }, + { + "id": "4e5dc7fe86199d6d", + "type": "link in", + "z": "68ee181e9defa139", + "g": "3e2b5d0f1dd7c70c", + "name": "scene - toggle", + "links": [ + "5aaa598948695182" + ], + "x": 135, + "y": 2520, + "wires": [ + [ + "0b8cfb72bb0f3e13" + ] + ] + }, + { + "id": "da742d7b236d74e9", + "type": "debug", + "z": "68ee181e9defa139", + "g": "3e2b5d0f1dd7c70c", + "name": "scene - toggle", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 480, + "y": 2460, + "wires": [] + }, + { + "id": "0b8cfb72bb0f3e13", + "type": "change", + "z": "68ee181e9defa139", + "g": "3e2b5d0f1dd7c70c", + "name": "get global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics[msg.scene.bucket][msg.scene.measurement][msg.scene.field]", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload=msg.scene.off?msg.scene.on:msg.scene.off", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 280, + "y": 2520, + "wires": [ + [ + "b15b9bb27e18cc28", + "da742d7b236d74e9" + ] + ] + }, + { + "id": "b15b9bb27e18cc28", + "type": "link out", + "z": "68ee181e9defa139", + "g": "3e2b5d0f1dd7c70c", + "name": "scene - toggle", + "mode": "link", + "links": [ + "fb4b4e2a3fb029df" + ], + "x": 415, + "y": 2520, + "wires": [] + }, + { + "id": "df48aef72bf72d15", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - shading", + "mode": "link", + "links": [ + "d104d5773963a340" + ], + "x": 2035, + "y": 3840, + "wires": [] + }, + { + "id": "6ea014398476684e", + "type": "link out", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "scene - shutter shading", + "mode": "link", + "links": [ + "fb4b4e2a3fb029df" + ], + "x": 2395, + "y": 1320, + "wires": [] + }, + { + "id": "85772c505d998011", + "type": "link call", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "", + "links": [ + "c63c05889184c3bc" + ], + "linkType": "static", + "timeout": "30", + "x": 1390, + "y": 1260, + "wires": [ + [ + "4ddccddf03e3d4d4" + ] + ] + }, + { + "id": "4ddccddf03e3d4d4", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "rsp", + "property": "routine.response", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1570, + "y": 1260, + "wires": [ + [ + "db475389de188a0c" + ] + ] + }, + { + "id": "a07d6dd6d1c29a6a", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "type", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "false" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 2090, + "y": 1260, + "wires": [ + [ + "eeb585f11f6823ce" + ], + [ + "ce174d9aa3f86e80" + ], + [ + "81521b1b53a011cf" + ] + ] + }, + { + "id": "eeb585f11f6823ce", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "99", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scene.on", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2250, + "y": 1200, + "wires": [ + [ + "6ea014398476684e", + "1acc8b4f519da72e" + ] + ] + }, + { + "id": "ce174d9aa3f86e80", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "0", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scene.off", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2250, + "y": 1260, + "wires": [ + [ + "6ea014398476684e", + "1acc8b4f519da72e" + ] + ] + }, + { + "id": "81521b1b53a011cf", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "number", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$abs($number(msg.payload))", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2260, + "y": 1320, + "wires": [ + [ + "6ea014398476684e", + "1acc8b4f519da72e" + ] + ] + }, + { + "id": "a5ccd36e26d9f6d9", + "type": "link call", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "", + "links": [ + "89bf9e5c676a419c" + ], + "linkType": "static", + "timeout": "30", + "x": 530, + "y": 1080, + "wires": [ + [ + "0e492506da218846" + ] + ] + }, + { + "id": "0e492506da218846", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "rsp", + "property": "routine.response", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 730, + "y": 1080, + "wires": [ + [ + "37da6809fc64b9e4" + ] + ] + }, + { + "id": "37da6809fc64b9e4", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "openwork", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics[msg.scene.bucket][msg.scene.type]openwork", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$number(msg.payload)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1560, + "y": 1080, + "wires": [ + [ + "db475389de188a0c" + ] + ] + }, + { + "id": "db475389de188a0c", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "right bay", + "property": "metrics[msg.scene.bucket]aperture['right bay']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1740, + "y": 1200, + "wires": [ + [ + "7fd8ffaab7b5e644" + ] + ] + }, + { + "id": "7fd8ffaab7b5e644", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "left bay", + "property": "metrics[msg.scene.bucket]aperture['left bay']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1920, + "y": 1200, + "wires": [ + [ + "a07d6dd6d1c29a6a" + ] + ] + }, + { + "id": "e4bcc2150345266e", + "type": "link call", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "", + "links": [ + "c63c05889184c3bc" + ], + "linkType": "static", + "timeout": "30", + "x": 1190, + "y": 1320, + "wires": [ + [ + "b0cca198cd40b4b7" + ] + ] + }, + { + "id": "d104d5773963a340", + "type": "link in", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "scene - shutter shading", + "links": [ + "df48aef72bf72d15" + ], + "x": 135, + "y": 1260, + "wires": [ + [ + "57ab09d50f789b03" + ] + ] + }, + { + "id": "1acc8b4f519da72e", + "type": "debug", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "scene - shutter shading", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 2490, + "y": 1260, + "wires": [] + }, + { + "id": "bb270d49658a693f", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "nycthemer", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics.system.mode.nycthemer", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload='day'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1190, + "y": 1260, + "wires": [ + [ + "85772c505d998011" + ] + ] + }, + { + "id": "b0cca198cd40b4b7", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "rsp", + "property": "routine.response", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1370, + "y": 1320, + "wires": [ + [ + "a07d6dd6d1c29a6a" + ] + ] + }, + { + "id": "57ab09d50f789b03", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "luminosity", + "vt": "str" + }, + { + "t": "eq", + "v": "mode", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 4, + "x": 300, + "y": 1260, + "wires": [ + [ + "a5ccd36e26d9f6d9" + ], + [ + "174cc227ba703f1c" + ], + [ + "fe15947cd1dee943" + ], + [ + "e4bcc2150345266e" + ] + ] + }, + { + "id": "174cc227ba703f1c", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "nycthemer", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 490, + "y": 1140, + "wires": [ + [ + "decfc56647d266cf" + ] + ] + }, + { + "id": "f1475eafde58ef48", + "type": "trigger", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "wait 15 s", + "op1": "", + "op2": "", + "op1type": "nul", + "op2type": "payl", + "duration": "15", + "extend": false, + "overrideDelay": false, + "units": "s", + "reset": "", + "bytopic": "topic", + "topic": "scene.bucket", + "outputs": 1, + "x": 1000, + "y": 1200, + "wires": [ + [ + "bb270d49658a693f" + ] + ] + }, + { + "id": "fe15947cd1dee943", + "type": "switch", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "scene.field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 490, + "y": 1200, + "wires": [ + [ + "bb270d49658a693f" + ], + [ + "bebe5c9f233bc014" + ] + ] + }, + { + "id": "bebe5c9f233bc014", + "type": "trigger", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "wait 30 s", + "op1": "", + "op2": "", + "op1type": "nul", + "op2type": "payl", + "duration": "30", + "extend": true, + "overrideDelay": false, + "units": "s", + "reset": "", + "bytopic": "topic", + "topic": "scene.bucket", + "outputs": 1, + "x": 660, + "y": 1260, + "wires": [ + [ + "e4bcc2150345266e" + ] + ] + }, + { + "id": "b72d94de9f872ddf", + "type": "delay", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "delay", + "pauseType": "delayv", + "timeout": "5", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 830, + "y": 1140, + "wires": [ + [ + "f1475eafde58ef48", + "36fedc6b0be804e7" + ] + ] + }, + { + "id": "decfc56647d266cf", + "type": "change", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "set delay", + "rules": [ + { + "t": "set", + "p": "delay", + "pt": "msg", + "to": "msg.routine.delay>0?msg.routine.delay:1", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 660, + "y": 1140, + "wires": [ + [ + "b72d94de9f872ddf" + ] + ] + }, + { + "id": "0afac8df8c0ad593", + "type": "link out", + "z": "68ee181e9defa139", + "g": "1d10dc102aa4bd1a", + "name": "scene - clone", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 615, + "y": 2700, + "wires": [] + }, + { + "id": "d39803577094b080", + "type": "debug", + "z": "68ee181e9defa139", + "g": "1d10dc102aa4bd1a", + "name": "scene - clone", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 670, + "y": 2640, + "wires": [] + }, + { + "id": "102eb508957fee9a", + "type": "change", + "z": "68ee181e9defa139", + "g": "1d10dc102aa4bd1a", + "name": "split metric", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.scene.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "target.bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "target.measurement", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "target.field", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + }, + { + "t": "set", + "p": "target.payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "target.repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 290, + "y": 2700, + "wires": [ + [ + "99f3818ae330dad4" + ] + ] + }, + { + "id": "99f3818ae330dad4", + "type": "function", + "z": "68ee181e9defa139", + "g": "1d10dc102aa4bd1a", + "name": "set metric", + "func": "// script var\nvar msg = msg;\n\nreturn msg.target;", + "outputs": 1, + "timeout": "", + "noerr": 0, + "initialize": "", + "finalize": "", + "libs": [], + "x": 480, + "y": 2700, + "wires": [ + [ + "d39803577094b080", + "0afac8df8c0ad593" + ] + ] + }, + { + "id": "394846d13b3f3ad5", + "type": "link in", + "z": "68ee181e9defa139", + "g": "1d10dc102aa4bd1a", + "name": "scene - clone", + "links": [ + "828954124f9d5f18" + ], + "x": 135, + "y": 2700, + "wires": [ + [ + "102eb508957fee9a" + ] + ] + }, + { + "id": "828954124f9d5f18", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - clone", + "mode": "link", + "links": [ + "394846d13b3f3ad5" + ], + "x": 2035, + "y": 3900, + "wires": [] + }, + { + "id": "a1e311e659c0a082", + "type": "change", + "z": "68ee181e9defa139", + "g": "241e58e3b15dd775", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "scene.bucket", + "tot": "msg" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "scene.measurement", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "scene.field", + "tot": "msg" + }, + { + "t": "set", + "p": "colors", + "pt": "msg", + "to": "{\t '#FFFFFF':'#FF0018',\t '#FF0018':'#FFFF41',\t '#FFFF41':'#008018',\t '#008018':'#0000F9',\t '#0000F9':'#86007D',\t '#86007D':'#FFFFFF'\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "state", + "pt": "msg", + "to": "metrics[msg.bucket][msg.measurement][msg.field]", + "tot": "global" + }, + { + "t": "set", + "p": "color", + "pt": "msg", + "to": "colors[msg.state]", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.color?msg.color:'#FFFFFF'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 280, + "y": 2880, + "wires": [ + [ + "5391e717f6dca308", + "906b6acddcc68024" + ] + ] + }, + { + "id": "6d05765c48afd703", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - custom color", + "mode": "link", + "links": [ + "0a11184001fe0640" + ], + "x": 2035, + "y": 4200, + "wires": [] + }, + { + "id": "0a11184001fe0640", + "type": "link in", + "z": "68ee181e9defa139", + "g": "241e58e3b15dd775", + "name": "scene - custom color", + "links": [ + "6d05765c48afd703" + ], + "x": 135, + "y": 2880, + "wires": [ + [ + "a1e311e659c0a082" + ] + ] + }, + { + "id": "5391e717f6dca308", + "type": "debug", + "z": "68ee181e9defa139", + "g": "241e58e3b15dd775", + "name": "scene - custom color", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 500, + "y": 2820, + "wires": [] + }, + { + "id": "906b6acddcc68024", + "type": "link out", + "z": "68ee181e9defa139", + "g": "241e58e3b15dd775", + "name": "scene - custom color", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 415, + "y": 2880, + "wires": [] + }, + { + "id": "2ff1d9f7d0cd1e1c", + "type": "change", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "level +", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "(msg.state+msg.routine.step)>msg.routine.higher?msg.routine.higher:(msg.state+msg.routine.step)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 630, + "y": 3000, + "wires": [ + [ + "6ffbc9731bd5e6ae", + "3d8af1903f187678" + ] + ] + }, + { + "id": "309b17151899bda1", + "type": "link in", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "scene - custom level", + "links": [ + "ee316a30d7d76949" + ], + "x": 135, + "y": 3060, + "wires": [ + [ + "9909e92faf9def23" + ] + ] + }, + { + "id": "6ffbc9731bd5e6ae", + "type": "debug", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "scene - custom level", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 840, + "y": 3000, + "wires": [] + }, + { + "id": "3d8af1903f187678", + "type": "link out", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "scene - custom level", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 755, + "y": 3060, + "wires": [] + }, + { + "id": "ee316a30d7d76949", + "type": "link out", + "z": "68ee181e9defa139", + "g": "cec3ab5a35c60f2d", + "name": "scene - trigger - custom level", + "mode": "link", + "links": [ + "309b17151899bda1" + ], + "x": 2035, + "y": 4260, + "wires": [] + }, + { + "id": "deed3da8baf03817", + "type": "switch", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "payload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 460, + "y": 3060, + "wires": [ + [ + "2ff1d9f7d0cd1e1c" + ], + [ + "22d518d36e04716c" + ] + ] + }, + { + "id": "9909e92faf9def23", + "type": "change", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "scene.bucket", + "tot": "msg" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "scene.measurement", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "scene.field", + "tot": "msg" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "state", + "pt": "msg", + "to": "metrics[msg.bucket][msg.measurement][msg.field]", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 280, + "y": 3060, + "wires": [ + [ + "deed3da8baf03817" + ] + ] + }, + { + "id": "22d518d36e04716c", + "type": "change", + "z": "68ee181e9defa139", + "g": "282f949a47889a3f", + "name": "level -", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "(msg.state-msg.routine.step)194?250:(msg.state+50)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1220, - "y": 1200, - "wires": [ - [ - "c729f7835ec2ea89" - ] - ] - }, - { - "id": "bab1296d2f16c5fa", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "8f721526b1bd8e11", - "name": "brightness -", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "brightness", - "tot": "str" - }, - { - "t": "set", - "p": "state", - "pt": "msg", - "to": "metrics[msg.bucket]brightness.leds", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.state<60?10:(msg.state-50)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1220, - "y": 1260, - "wires": [ - [ - "c729f7835ec2ea89" - ] - ] - }, - { - "id": "d7378c576ca6583b", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "8f721526b1bd8e11", - "name": "color", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "color", - "tot": "str" - }, - { - "t": "set", - "p": "colors", - "pt": "msg", - "to": "{\t '#FFFFFF':'#FF0018',\t '#FF0018':'#FFFF41',\t '#FFFF41':'#008018',\t '#008018':'#0000F9',\t '#0000F9':'#86007D',\t '#86007D':'#FFFFFF'\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "state", - "pt": "msg", - "to": "metrics[msg.scene.bucket]color.leds", - "tot": "global" - }, - { - "t": "set", - "p": "color", - "pt": "msg", - "to": "colors[msg.state]", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.color?msg.color:'#FFFFFF'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1200, - "y": 1140, - "wires": [ - [ - "c729f7835ec2ea89" - ] - ] - }, - { - "id": "5dbc953c7bf31694", - "type": "switch", - "z": "4ae92a5d07f513ee", - "g": "6c31c5a2c83b0cc9", - "name": "remote", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "11", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1040, - "y": 420, - "wires": [ - [ - "f4f3e9824b0a85b8" - ] - ] - }, - { - "id": "f4f3e9824b0a85b8", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "6c31c5a2c83b0cc9", - "name": "toggle", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "state", - "pt": "msg", - "to": "metrics[msg.bucket]light['right bedside']", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.state?false:true", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 420, - "wires": [ - [ - "c873fafacd9c4dee" - ] - ] - }, - { - "id": "0a21f1c3c8c31ff9", - "type": "switch", - "z": "4ae92a5d07f513ee", - "g": "bf5fb6e0ee73d142", - "name": "remote", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "21", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1040, - "y": 660, - "wires": [ - [ - "70a7e504ff1a46bb" - ] - ] - }, - { - "id": "70a7e504ff1a46bb", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "bf5fb6e0ee73d142", - "name": "toggle", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "state", - "pt": "msg", - "to": "metrics[msg.bucket]light['left bedside']", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.state?false:true", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 660, - "wires": [ - [ - "e019588e48011a10" - ] - ] - }, - { - "id": "65d1aae873b7206a", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "8f721526b1bd8e11", - "name": "scene lighting / leds / boolean", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "light", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "leds", - "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": 1110, - "y": 1020, - "wires": [ - [ - "c57984f9ea96ac0d" - ] - ] - }, - { - "id": "c57984f9ea96ac0d", - "type": "link out", - "z": "4ae92a5d07f513ee", - "g": "8f721526b1bd8e11", - "name": "parents - scene - lighting leds", - "mode": "link", - "links": [ - "abdf34b12a5dd88d" - ], - "x": 1555, - "y": 1020, - "wires": [] - }, - { - "id": "331b6dc245510fd9", - "type": "switch", - "z": "4ae92a5d07f513ee", - "g": "e3da4219d2723996", - "name": "remote", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "12", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1040, - "y": 900, - "wires": [ - [ - "a7519d9f19c4c34d" - ] - ] - }, - { - "id": "a7519d9f19c4c34d", - "type": "change", - "z": "4ae92a5d07f513ee", - "g": "e3da4219d2723996", - "name": "toggle", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "state", - "pt": "msg", - "to": "metrics[msg.bucket]light.ceiling", - "tot": "global" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.state?false:true", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 900, - "wires": [ - [ - "859ec44e839237d7" - ] - ] - }, - { - "id": "1203dd4a94f48276", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 1 single : right bedside toggle", - "info": "", - "x": 2050, - "y": 360, - "wires": [] - }, - { - "id": "e2ecba6aed6b6aeb", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 2 single : left bedside toggle", - "info": "", - "x": 2050, - "y": 440, - "wires": [] - }, - { - "id": "715af9136699d378", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 1 double : ceiling toggle", - "info": "", - "x": 2030, - "y": 400, - "wires": [] - }, - { - "id": "757c3d9ab9d0959d", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 2 double : ceiling toggle", - "info": "", - "x": 2030, - "y": 480, - "wires": [] - }, - { - "id": "57931bd357455424", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 3 single : leds toggle", - "info": "", - "x": 2020, - "y": 520, - "wires": [] - }, - { - "id": "e09ed41400ba1f5b", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 3 double : leds color", - "info": "", - "x": 2020, - "y": 560, - "wires": [] - }, - { - "id": "17eda99bebc9ddc6", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 4 double : leds brightness -", - "info": "", - "x": 2040, - "y": 640, - "wires": [] - }, - { - "id": "a34eb58b749615b6", - "type": "comment", - "z": "4ae92a5d07f513ee", - "name": "parents / command / remote 4 single : leds brightness +", - "info": "", - "x": 2040, - "y": 600, - "wires": [] - } -] \ No newline at end of file diff --git a/flows/R.Parking.json b/flows/R.Parking.json deleted file mode 100644 index 68d6fce..0000000 --- a/flows/R.Parking.json +++ /dev/null @@ -1,1540 +0,0 @@ -[ - { - "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": "neq", - "v": "0", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1930, - "y": 540, - "wires": [ - [ - "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": [] - } -] \ No newline at end of file diff --git a/flows/R.Rooms.json b/flows/R.Rooms.json new file mode 100644 index 0000000..8a3cb76 --- /dev/null +++ b/flows/R.Rooms.json @@ -0,0 +1,21395 @@ +[ + { + "id": "7b8b61c2b3de438c", + "type": "tab", + "label": "R.Rooms", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "39b272c7a895bc52", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0bcc12317f704d00", + "28f6e572f0c46f4f" + ], + "x": 528, + "y": 153, + "w": 1134, + "h": 261.5 + }, + { + "id": "f5227a609c5c5182", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7588dc8563233dd0" + ], + "x": 1728, + "y": 145.5, + "w": 914, + "h": 209 + }, + { + "id": "e8f4a92ebb6cf506", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "ambre - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7952d4c5ec3d3baf", + "24a0b470cbec207f", + "a3b588bc5a5fcff6", + "4ae8609056fc3234" + ], + "x": 3278, + "y": 153, + "w": 1714, + "h": 494 + }, + { + "id": "57c26f082d249f70", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "ambre - room", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "1bebf669a16f0cf4", + "04efa665c6f70f9f", + "49e3763b37b96d09" + ], + "x": 94, + "y": 179, + "w": 342, + "h": 82 + }, + { + "id": "62360180166d750d", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "catch error", + "style": { + "fill": "#ff0000", + "fill-opacity": "0.05", + "label": true, + "stroke": "#ff0000" + }, + "nodes": [ + "a0fcd3bad88c6ec3", + "13b83844304c4a92", + "740a5f7e8bcc49ea" + ], + "x": 94, + "y": 19, + "w": 422, + "h": 82 + }, + { + "id": "d4515d96db20b8d7", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - bain", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "844058a6afdd0a45", + "2a089d575c979306", + "cae6bff0196ba48b" + ], + "x": 94, + "y": 299, + "w": 342, + "h": 82 + }, + { + "id": "881d596fdc82e61a", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "bain - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9d5beb0f52651723", + "63a11f3d13d3fd58", + "d19d63c0e3e6568e", + "b1cfcae0fa7d5696", + "19feb7590c49fcca" + ], + "x": 3278, + "y": 693, + "w": 1674, + "h": 614 + }, + { + "id": "cab1d33fe68e104a", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - bureau", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "047f5728c25d07ef", + "5832a2b474ba1173", + "1a9de1d3b381132e" + ], + "x": 94, + "y": 419, + "w": 342, + "h": 82 + }, + { + "id": "611e38cc078d94ec", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "bureau - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "51f09b2cc21b958c", + "1d7c8643fcf26952", + "7b9188adf10a80f4" + ], + "x": 3278, + "y": 1353, + "w": 1634, + "h": 374 + }, + { + "id": "7ea88218db2031a8", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - cave", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e0b402b05bd9f297", + "9daada6397b35018", + "6f4d864cfc484640" + ], + "x": 94, + "y": 539, + "w": 342, + "h": 82 + }, + { + "id": "f8d0942e587ff2f0", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "cave - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0fd00a5d28108c93", + "bf0c9db59b2649d8", + "5058bbe07bedfb71", + "1be2396c5ede7eef" + ], + "x": 3278, + "y": 1773, + "w": 1634, + "h": 494 + }, + { + "id": "0a219a57d46e2698", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - couloir", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "fd8732102d63c9ac", + "b7414d9f033b3c10", + "c1c290657fb9026f" + ], + "x": 94, + "y": 659, + "w": 342, + "h": 82 + }, + { + "id": "584ba08358e13ed4", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "543119fcfc92825a" + ], + "x": 1728, + "y": 385.5, + "w": 674, + "h": 149 + }, + { + "id": "0f7d999eb3b798e6", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "couloir - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "38252693eb7888ce", + "ebd2f1b772702a16", + "3ed9ca854a0f3323" + ], + "x": 3278, + "y": 2313, + "w": 1634, + "h": 374 + }, + { + "id": "98b925f2d48de029", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - cuisine", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "51874217c18a11e5", + "8cfdcec16302da89", + "0b7b7c70ddc3021c" + ], + "x": 94, + "y": 779, + "w": 342, + "h": 82 + }, + { + "id": "9e0ecda168e420f6", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "bc2f5f0fdf3a95b1" + ], + "x": 1728, + "y": 565.5, + "w": 674, + "h": 149 + }, + { + "id": "1e26da4be4f8adc8", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "cuisine - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "4e85de651f8c65da", + "749ecc064675afd3", + "0c4b2ec7a86c7aa4", + "e4db17dafa209b9a" + ], + "x": 3278, + "y": 2733, + "w": 1654, + "h": 494 + }, + { + "id": "1f3ca5dea990900b", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - diner", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "db66cf9a3a659614", + "cf7306463c5339a2", + "4551f72e4fc2a436" + ], + "x": 94, + "y": 899, + "w": 342, + "h": 82 + }, + { + "id": "126a206e3b9f8d84", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "diner - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e2bcd290d3182190", + "ed48b41a8d65c068", + "460739902e4300ec", + "9c5befdabe842906" + ], + "x": 3278, + "y": 3273, + "w": 1674, + "h": 494 + }, + { + "id": "64f9e71d8f809cf2", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - douche", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "8a58b40a83277a6d", + "bac8ff20c72e789e", + "65a5332454860046" + ], + "x": 94, + "y": 1019, + "w": 342, + "h": 82 + }, + { + "id": "a9be1c4cda288957", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "21cc071787ab2083" + ], + "x": 1728, + "y": 745.5, + "w": 674, + "h": 149 + }, + { + "id": "03b87df7c419dd39", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "douche - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "938c99ddd57b6792", + "08d5a70105b69f34", + "64f2280ea42ba108", + "2a2df1962e3f61d2", + "b71c6b6b455309ae" + ], + "x": 3278, + "y": 3813, + "w": 1674, + "h": 614 + }, + { + "id": "f6298a8bc392a7ac", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - evan", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2e9a2ab993fc4634", + "709e6385cbdb0aac", + "973348528a2351d8" + ], + "x": 94, + "y": 1139, + "w": 342, + "h": 82 + }, + { + "id": "dab5fc921cee75fa", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0b208146fa232662", + "8da958032545bea4" + ], + "x": 528, + "y": 453, + "w": 1134, + "h": 261.5 + }, + { + "id": "73b4bb2c91561401", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "923d47e4e1357966" + ], + "x": 1728, + "y": 925.5, + "w": 874, + "h": 209 + }, + { + "id": "a0606f85adc91298", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "evan - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "59e1639fb2f9dbd2", + "9f4763bd1ceebfe9", + "684aedafb8190dcb", + "2b2d382f22d54df6" + ], + "x": 3278, + "y": 4473, + "w": 1694, + "h": 494 + }, + { + "id": "01d3f189ca7fcb6c", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - escalier", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "fcc3f348635792ed", + "82bebc2eaecb5277", + "b30a32196a57bd07" + ], + "x": 94, + "y": 1259, + "w": 342, + "h": 82 + }, + { + "id": "b96dc0bda867749c", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "escalier - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "083ae4d089979e3e", + "86adad1998422281", + "5d713dc2c655e1b0", + "36ed9b0277578855" + ], + "x": 3278, + "y": 5013, + "w": 1659, + "h": 494 + }, + { + "id": "99ef784dbb63db88", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - jardin", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "12ba1e6d80d75002", + "8435bde6860119cf", + "cb536b6126ca5965" + ], + "x": 94, + "y": 1379, + "w": 342, + "h": 82 + }, + { + "id": "44ab986c6e66fcf9", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "jardin - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "66132351e9273fcd", + "f3ae18fb49047b12", + "5cd3a909ce1f413c" + ], + "x": 3278, + "y": 5553, + "w": 1614, + "h": 374 + }, + { + "id": "93cca6576bb86885", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - jeux", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6d138e6f66011672", + "1d45d7d42af779bf", + "bd219b1f60082794" + ], + "x": 94, + "y": 1499, + "w": 342, + "h": 82 + }, + { + "id": "f12dac38b47c632d", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "936e1a3bf5878102" + ], + "x": 1728, + "y": 1165.5, + "w": 654, + "h": 149 + }, + { + "id": "b6b9427c3c510b12", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "jeux - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "412cf89aa30dd052", + "2e3cf26307050490", + "20ecdefdd15cb5e4", + "f4061614bc3562ee", + "5d561ed745969c32", + "f0f0d1d9fe2a60f0", + "930129cc2290712a", + "4043ed742e94c7c8" + ], + "x": 3278, + "y": 5973, + "w": 1714, + "h": 974 + }, + { + "id": "584d6b767bbcc0df", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - lenny", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "f3eb1ff21da3093c", + "e803b0efee6c4f05", + "587a52d01f82e880" + ], + "x": 94, + "y": 1619, + "w": 342, + "h": 82 + }, + { + "id": "8a42ebc0235e003c", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "21a97f892caaafa1", + "565dfd041d13c3a1" + ], + "x": 528, + "y": 753, + "w": 1134, + "h": 261.5 + }, + { + "id": "3eec7b031aa92737", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "5e4ac3a5a3f0b640" + ], + "x": 1728, + "y": 1345.5, + "w": 834, + "h": 209 + }, + { + "id": "2586210be8edd8b0", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "lenny - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e7543f28c830e84c", + "dd4ee9365a738a4a", + "1c3de7b17c69aac0", + "e48340d7cac113cd" + ], + "x": 3278, + "y": 6993, + "w": 1714, + "h": 494 + }, + { + "id": "e8718d77c5e86517", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - oriane", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "08afc7cf20c8c90b", + "260daf01b309dba5", + "60e82b8115622e6e" + ], + "x": 94, + "y": 1739, + "w": 342, + "h": 82 + }, + { + "id": "b2b12ab5c8e153c9", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6426cf468533a94a", + "2881c2862153c497" + ], + "x": 528, + "y": 1053, + "w": 1134, + "h": 261.5 + }, + { + "id": "21de2f6b8276705d", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6a0383dcf1a806c2" + ], + "x": 1728, + "y": 1585.5, + "w": 894, + "h": 209 + }, + { + "id": "0e5ad5285239671a", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "oriane - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "078cb3994f4b5c71", + "2c42045e959e8efd", + "c009d3778e2d5d99", + "a9636a0d832e40c3" + ], + "x": 5078, + "y": 6993, + "w": 1694, + "h": 494 + }, + { + "id": "c7b0cc4c9eef3f06", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - parents", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "22ada886ab252ea3", + "6bac9c2b67d6407f", + "4b9a3c7128d04ee5" + ], + "x": 94, + "y": 1859, + "w": 342, + "h": 82 + }, + { + "id": "76531242ed6d1af4", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7675dd03f941bc9a" + ], + "x": 1728, + "y": 1825.5, + "w": 674, + "h": 149 + }, + { + "id": "b2aabcf1a98113d2", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "parents - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a0fb7feea30116c9", + "4ff63042b674da2f", + "a78e3e12e55836b6", + "64f47d1c52b68079", + "7f58393ab187f86a", + "b674665f8dd964b7", + "0e70b66661697d73", + "a44eadb85e2851d2" + ], + "x": 5078, + "y": 5973, + "w": 1714, + "h": 974 + }, + { + "id": "4178da7a23e7be95", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - parking", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "4f0a85579ae9bb76", + "1a348b9f38a5c29c", + "a588296046a7c2b2" + ], + "x": 94, + "y": 1979, + "w": 342, + "h": 82 + }, + { + "id": "2385ebb099d39679", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "parking - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7cc72012db37a36f", + "dde0ba374db2eedf", + "553666c9dafd29aa" + ], + "x": 5078, + "y": 5553, + "w": 1629, + "h": 374 + }, + { + "id": "e2bebe682a962bdd", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - salon", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "547932ecb837ae12", + "64a8c235183d0680", + "c13e0829a8fe3fa1" + ], + "x": 94, + "y": 2099, + "w": 342, + "h": 82 + }, + { + "id": "cb3c4ecc11e622c8", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "aa047eea162db86e", + "d2d3d56d19f17173" + ], + "x": 528, + "y": 1353, + "w": 1134, + "h": 261.5 + }, + { + "id": "555137194aeca274", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ca6e5594c10b00d0" + ], + "x": 1728, + "y": 2005.5, + "w": 894, + "h": 209 + }, + { + "id": "579677136736aa01", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "salon - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d8bfcc7fbad989a9", + "f36d13db48680f24", + "b57e31429d877e40", + "14a357cf31812953", + "fd183971af58106f", + "13f77e42b44837fc", + "c2eb376301fe5e53" + ], + "x": 5078, + "y": 4533, + "w": 1594, + "h": 974 + }, + { + "id": "fb464453730ccb7f", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "room - toilettes", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d6eda1fca813b292", + "7765d7c8c2171704", + "64155cb10ad9f607" + ], + "x": 94, + "y": 2219, + "w": 342, + "h": 82 + }, + { + "id": "9b0476b848cb48b7", + "type": "group", + "z": "7b8b61c2b3de438c", + "name": "toilettes - alexa", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "61e21fea0f35b657", + "37136f65e1f50cc9", + "02860064ff27f25f", + "f987f63e4046653b", + "60d916216398ec01" + ], + "x": 5078, + "y": 3873, + "w": 1654, + "h": 614 + }, + { + "id": "0bcc12317f704d00", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "39b272c7a895bc52", + "name": "ambre - device - clock", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d47a5d29139aca1c", + "540ed3f299c779d4", + "8b6b413e7a091290" + ], + "x": 554, + "y": 179, + "w": 402, + "h": 82 + }, + { + "id": "7588dc8563233dd0", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f5227a609c5c5182", + "name": "ambre - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "64765643b13c207f", + "438b7d7c7b096219", + "a695670fa9127502", + "2376f33d0687b642", + "02c07a0cc8b4cceb", + "0d69fef38ca34a4c", + "03317bd2d7cb8df3", + "4d2cca4cdfaafc93" + ], + "x": 1754, + "y": 171.5, + "w": 862, + "h": 157 + }, + { + "id": "7952d4c5ec3d3baf", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "e8f4a92ebb6cf506", + "name": "ambre - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e909099a38791a7c", + "6b360e1d934c11cc", + "2d60bdc66ca76fc9", + "c191b52abbb3cc42", + "c93078a74a653a7a", + "989253ae6d34a634", + "be3ec6995065eeca", + "f26be1e222ba0b75" + ], + "x": 3304, + "y": 179, + "w": 1662, + "h": 82 + }, + { + "id": "24a0b470cbec207f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "e8f4a92ebb6cf506", + "name": "ambre - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "c8d1453e98c3f5e3", + "dded4c6dc3976c7a", + "b7be61ae48f2be69", + "972b344656fc59c2", + "25d2a91ae6a7bf32", + "d97113119fa403ac" + ], + "x": 3304, + "y": 299, + "w": 1272, + "h": 82 + }, + { + "id": "a3b588bc5a5fcff6", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "e8f4a92ebb6cf506", + "name": "ambre - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9c29e34475ca460c", + "923d447e577e2169", + "3b207d904a7a2908", + "51cb46c26d90cd1c", + "f59050d2f607d356", + "984cf98109a6bfbb" + ], + "x": 3304, + "y": 419, + "w": 1212, + "h": 82 + }, + { + "id": "4ae8609056fc3234", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "e8f4a92ebb6cf506", + "name": "ambre - alexa -aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "422c17888a527a84", + "0b1a1d86ddb09f65", + "b4fc6e264531f8dc", + "f154c49fde9e478d", + "a66f6aafa52fa41c", + "aab0d57048737a7b" + ], + "x": 3304, + "y": 539, + "w": 1212, + "h": 82 + }, + { + "id": "9d5beb0f52651723", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "881d596fdc82e61a", + "name": "bain - alexa - light ceiling", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b924cf12aceef8a9", + "afc2c10fc0e2820a", + "31871c4bdba68a2a", + "d09d369c82d6c731", + "b388903f5f5511a8", + "547b853f945e5abe", + "6775a3b43f86623d", + "aa12fd4135008286" + ], + "x": 3304, + "y": 719, + "w": 1622, + "h": 82 + }, + { + "id": "63a11f3d13d3fd58", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "881d596fdc82e61a", + "name": "bain - alexa - light spots", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b41c55b4d5f168ad", + "9bb27cb83a75d4ac", + "9133cb910fbe540d", + "3829ccb07ef39a34", + "3ac51af95fa58e22", + "41849f136ab59985", + "aa77bc3cbcc423f9", + "abda63cad8884695" + ], + "x": 3304, + "y": 839, + "w": 1622, + "h": 82 + }, + { + "id": "d19d63c0e3e6568e", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "881d596fdc82e61a", + "name": "bain - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a89dbae39e9a3522", + "09d1c9d3cee4487c", + "773ef2907aeba7f5", + "9e0acd59780a5b7f", + "edf9bf83038418d2", + "0cf96013c496e328" + ], + "x": 3304, + "y": 959, + "w": 1232, + "h": 82 + }, + { + "id": "b1cfcae0fa7d5696", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "881d596fdc82e61a", + "name": "bain - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "8b43350290b32368", + "57dd994c663b6f01", + "e4a18f2fda66f01e", + "08fe0836aeba21fe", + "02b3d1fe54b763bf", + "84855a1ca89f3bb6" + ], + "x": 3304, + "y": 1079, + "w": 1152, + "h": 82 + }, + { + "id": "19feb7590c49fcca", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "881d596fdc82e61a", + "name": "bain - alexa - aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "fd405f97a4afd11a", + "478a0f6fd1c7f151", + "1d84350961683c91", + "d0d2f50ee401dbca", + "2b91b319787bc0f2", + "fec573511bf99197" + ], + "x": 3304, + "y": 1199, + "w": 1152, + "h": 82 + }, + { + "id": "51f09b2cc21b958c", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "611e38cc078d94ec", + "name": "bureau - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "afb9c3a95d82a067", + "cecf7014427b11c6", + "c1a650a10d67b96b", + "aadf852eae4da194", + "34fc2c459ff7a48f", + "3d0a3f1f31f95ffe", + "747c2171386a3327", + "ed08013ff53695bc" + ], + "x": 3304, + "y": 1379, + "w": 1582, + "h": 82 + }, + { + "id": "1d7c8643fcf26952", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "611e38cc078d94ec", + "name": "bureau - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0ebdf99f03fdf629", + "c53c5aef8e76fedd", + "1413c1c102d52a09", + "3171b316cb1adaeb", + "98289e234ca7ef12", + "b9c3688b6dfe9ac1" + ], + "x": 3304, + "y": 1499, + "w": 1172, + "h": 82 + }, + { + "id": "7b9188adf10a80f4", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "611e38cc078d94ec", + "name": "bureau - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "57f6669382255c80", + "24a719c390b3f22f", + "cb0e9f2d44a4d439", + "cbfdde042605f25a", + "ee5bffae090f4f0a", + "034ee78dfb804c99" + ], + "x": 3304, + "y": 1619, + "w": 1152, + "h": 82 + }, + { + "id": "0fd00a5d28108c93", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f8d0942e587ff2f0", + "name": "cave - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a72c1a80a1c23c90", + "fc33f164d4208460", + "3bb670b7c782d0fe", + "90c2212a5870ab4d", + "40a1233e15703902", + "7a48d3b28afb9335", + "89735cb301bdea99", + "de64d7fec2bc3b13" + ], + "x": 3304, + "y": 1799, + "w": 1582, + "h": 82 + }, + { + "id": "bf0c9db59b2649d8", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f8d0942e587ff2f0", + "name": "cave - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e1f047b857bb87e9", + "0ff0fadc83ac38d1", + "cf514e4790cf30b2", + "c86c464bb9aa4ec7", + "3762437c4d4b168c", + "8619304ad7a58106" + ], + "x": 3304, + "y": 1919, + "w": 1172, + "h": 82 + }, + { + "id": "5058bbe07bedfb71", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f8d0942e587ff2f0", + "name": "cave - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "76fff1f1e6767cb1", + "f078c245986b329c", + "c952edfa67754b49", + "5bdae1b3b0632ad1", + "ac6b4421c7675b8f", + "aa237bf32aadef48" + ], + "x": 3304, + "y": 2039, + "w": 1132, + "h": 82 + }, + { + "id": "1be2396c5ede7eef", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f8d0942e587ff2f0", + "name": "cave - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "079402876ffb0af4", + "151c6168bcca45e8", + "ce088fb02cc8d95e", + "b178cd11693d5684", + "938259965bdd9849", + "afc9a80a851cf719" + ], + "x": 3304, + "y": 2159, + "w": 1092, + "h": 82 + }, + { + "id": "543119fcfc92825a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "584ba08358e13ed4", + "name": "couloir - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "c39d452224c976fc", + "33e547c06606c98d", + "2df681beb21344f6", + "a23f758c8b86ba3b" + ], + "x": 1754, + "y": 411.5, + "w": 622, + "h": 97 + }, + { + "id": "38252693eb7888ce", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0f7d999eb3b798e6", + "name": "couloir - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ed1ae61e8d69a9aa", + "34e70de8849460a5", + "4bf3c5a0bea3af8a", + "35e75fc4201d5603", + "0d3d1508f236270c", + "9bbbb26dc6afdcde", + "978e78059fb4414c", + "184e90f06812b608" + ], + "x": 3304, + "y": 2339, + "w": 1582, + "h": 82 + }, + { + "id": "ebd2f1b772702a16", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0f7d999eb3b798e6", + "name": "couloir - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e667a270b77f91b0", + "57552e6a0714b66e", + "31055bcd80a97f51", + "d389394d4cb81acd", + "ab9ebc10154d36b5", + "ee6855c201a2eac6" + ], + "x": 3304, + "y": 2459, + "w": 1192, + "h": 82 + }, + { + "id": "3ed9ca854a0f3323", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0f7d999eb3b798e6", + "name": "couloir - alexa - outlet", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "33aad6ca5d82c61a", + "fc7968c5df682e3e", + "97b86208fbe743ac", + "2f04adde7e34d56b", + "fb359b34c6ea6085", + "359a14f857843fd9", + "86042032f5f091f0", + "864d885655b30d79" + ], + "x": 3304, + "y": 2579, + "w": 1582, + "h": 82 + }, + { + "id": "bc2f5f0fdf3a95b1", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9e0ecda168e420f6", + "name": "cuisine - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "afd97549392e0e45", + "eee1367b24f15bfe", + "0857f7c3fc012063", + "4b7f359993232bde" + ], + "x": 1754, + "y": 591.5, + "w": 622, + "h": 97 + }, + { + "id": "4e85de651f8c65da", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "1e26da4be4f8adc8", + "name": "cuisine - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "408a51c88533e506", + "3f54da8de46b11fd", + "44602db9953f8773", + "199a605adc3d5f37", + "865379b6b8d74d10", + "df80bf9d6d6154e8", + "462f2494744e496f", + "bf3b2e2010041180" + ], + "x": 3304, + "y": 2759, + "w": 1602, + "h": 82 + }, + { + "id": "749ecc064675afd3", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "1e26da4be4f8adc8", + "name": "cuisine - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "302510abb50cfea2", + "3786b8bbfc974f98", + "0722a161ba65e3ee", + "d69ab28cf343b28a", + "791047f44f1cf255", + "0b61db3d960d89d5" + ], + "x": 3304, + "y": 2879, + "w": 1212, + "h": 82 + }, + { + "id": "0c4b2ec7a86c7aa4", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "1e26da4be4f8adc8", + "name": "cuisine - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "f8906d76f5343b41", + "b6a2940bd526bdc5", + "1d4248d9b171f328", + "8c0c2cd9c2c43953", + "261a84504ea5b4e6", + "71ca12359743e21a" + ], + "x": 3304, + "y": 2999, + "w": 1172, + "h": 82 + }, + { + "id": "e4db17dafa209b9a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "1e26da4be4f8adc8", + "name": "cuisine - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "27a69d45ec54d88e", + "d5c079ecca4bd388", + "ccf9d9303cfe8587", + "4e36cd77592dabca", + "f2750547782fb50f", + "f84cfe0c74c0309d" + ], + "x": 3304, + "y": 3119, + "w": 1152, + "h": 82 + }, + { + "id": "e2bcd290d3182190", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "126a206e3b9f8d84", + "name": "diner - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "af06cacb11fff5fe", + "42c6c2fa748e4af6", + "6c0c55fd0aa68012", + "80a47335698bad24", + "0c10e86097e8a88a", + "ea130ca46f50e095", + "75ca38de7d418b17", + "6a5f3950c93d7a09" + ], + "x": 3304, + "y": 3299, + "w": 1622, + "h": 82 + }, + { + "id": "ed48b41a8d65c068", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "126a206e3b9f8d84", + "name": "diner - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2f05be15df782458", + "83dd74e85a3b5fd8", + "cddcfbc2907339b1", + "ef749476b5d2419f", + "cfa5810aefc53216", + "d0cbdbc0612f57dd" + ], + "x": 3304, + "y": 3539, + "w": 1192, + "h": 82 + }, + { + "id": "460739902e4300ec", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "126a206e3b9f8d84", + "name": "diner - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "eaab34a171566bb1", + "9e4ed658bd7288e2", + "14d6f28a5706817e", + "4f50879f03a7d340", + "4751aa206605fdd9", + "433fe1697e40374e" + ], + "x": 3304, + "y": 3659, + "w": 1092, + "h": 82 + }, + { + "id": "9c5befdabe842906", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "126a206e3b9f8d84", + "name": "diner - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b203a0f8c491d028", + "f78d99bc5070f731", + "4afc1164fa9d0bc4", + "b89d513cb14aa267", + "21c371f9cb1f0be5", + "d486d0216dad4f01" + ], + "x": 3304, + "y": 3419, + "w": 1252, + "h": 82 + }, + { + "id": "21cc071787ab2083", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "a9be1c4cda288957", + "name": "douche - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "eec0c12c5dac7ac0", + "9820c6e109f25a2a", + "9ecb67f7b26011ec", + "eebbcaccd66deff2" + ], + "x": 1754, + "y": 771.5, + "w": 622, + "h": 97 + }, + { + "id": "938c99ddd57b6792", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "03b87df7c419dd39", + "name": "douche - alexa - light door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a4c75626ec98b096", + "3a55ad6cad68cacf", + "0930baefdf606e18", + "73c00ab854915f0b", + "7fe96d9bc8352b59", + "11a0a71bf9647c0d", + "7ffffa2ece43a63d", + "044ab6ebeea11608" + ], + "x": 3304, + "y": 3839, + "w": 1622, + "h": 82 + }, + { + "id": "08d5a70105b69f34", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "03b87df7c419dd39", + "name": "douche - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "88f4876b7fca2d49", + "ece9dd6478665c78", + "1b38b821bd0f406c", + "4225e25eb6c02d9f", + "4887de1593d7a056", + "7c4daf7c822100e7" + ], + "x": 3304, + "y": 4079, + "w": 1212, + "h": 82 + }, + { + "id": "64f2280ea42ba108", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "03b87df7c419dd39", + "name": "douche - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "5542118edd118b1b", + "4ebdb59506295e5f", + "dd8ff99cd31dc65e", + "7084763610063647", + "2c10bd38d75146f4", + "7830016da963fa5d" + ], + "x": 3304, + "y": 4319, + "w": 1132, + "h": 82 + }, + { + "id": "2a2df1962e3f61d2", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "03b87df7c419dd39", + "name": "douche - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "29b4dd7362e5f911", + "965caf1c42f05bc8", + "328540081f61de9b", + "7f778ea774345419", + "a6f980bdef332418", + "804912111aa045a6" + ], + "x": 3304, + "y": 4199, + "w": 1172, + "h": 82 + }, + { + "id": "b71c6b6b455309ae", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "03b87df7c419dd39", + "name": "douche - alexa - light spots", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a602b1bcbf8c1b85", + "ad10a81066f01ab7", + "2c0f3c351bf1249b", + "685b21aa930b1258", + "678f4d76359ba6b2", + "cd6a4d6b402cf64a", + "0eb26c512ae2d3bb", + "de4a4fe8842325bb" + ], + "x": 3304, + "y": 3959, + "w": 1622, + "h": 82 + }, + { + "id": "0b208146fa232662", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "dab5fc921cee75fa", + "name": "evan - source - clock", + "style": { + "fill": "#0070c0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9e912bb0465fa05e", + "e0ee48357ee30544", + "84aad657cc3015c1", + "1cfbe54662e9b23a", + "f1893d60a602f7ea" + ], + "x": 1054, + "y": 479, + "w": 582, + "h": 209.5 + }, + { + "id": "8da958032545bea4", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "dab5fc921cee75fa", + "name": "evan - device - clock", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "100b75c92fbd601d", + "0ec19ecfc3edabbd", + "728c1a0d95292887" + ], + "x": 554, + "y": 479, + "w": 402, + "h": 82 + }, + { + "id": "923d47e4e1357966", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "73b4bb2c91561401", + "name": "evan - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "8f0b1f8de9fbfc9f", + "7dc41ad29651ef76", + "6fbbe6a2246171b8", + "0b9f3f203827134a", + "c3a40e7ae347bd0c", + "f40451bd5ad5da32", + "889daefd60d30c31", + "4bd2a17a2163845f" + ], + "x": 1754, + "y": 951.5, + "w": 822, + "h": 157 + }, + { + "id": "59e1639fb2f9dbd2", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "a0606f85adc91298", + "name": "evan - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "76b1e23db6909882", + "013567ba389aabcd", + "9edb54ab80252b68", + "cca22b7f0f9138d3", + "7b7c892ba4bb0419", + "d52d258a4b9d1645", + "688f0c12262837f7", + "93521d82f8191a9a" + ], + "x": 3304, + "y": 4499, + "w": 1642, + "h": 82 + }, + { + "id": "9f4763bd1ceebfe9", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "a0606f85adc91298", + "name": "evan - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e95d1fc6ef10f897", + "6433289d7d93ee19", + "6c613c9e4e6f5c5b", + "68515fd752af5e00", + "4325a9dd6302aade", + "d3cfe4bbb77c2cbd" + ], + "x": 3304, + "y": 4619, + "w": 1252, + "h": 82 + }, + { + "id": "684aedafb8190dcb", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "a0606f85adc91298", + "name": "evan - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9ff01555b9aa10a7", + "bfa0a16074ab7806", + "0541af21bf0367c1", + "316b126659c231f7", + "2f7b8a55b836be0c", + "7932a494966ed9d0" + ], + "x": 3304, + "y": 4739, + "w": 1172, + "h": 82 + }, + { + "id": "2b2d382f22d54df6", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "a0606f85adc91298", + "name": "evan - alexa - aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e7bea9abb4d2ec97", + "8be784bef40da342", + "7123394c089fa2b3", + "588fd67f01cc3fcd", + "130968fabd2142bc", + "24203ece7219a912" + ], + "x": 3304, + "y": 4859, + "w": 1192, + "h": 82 + }, + { + "id": "083ae4d089979e3e", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b96dc0bda867749c", + "name": "escalier - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2a2936eed1173930", + "5516293bd614b2f0", + "deb4efbe2acc06f2", + "224f4bfc95c21c76", + "21405e1e0c0a8ea9", + "35ce5932964b81ac", + "279736ff56117fae", + "94e423acca99118f" + ], + "x": 3304, + "y": 5039, + "w": 1607, + "h": 82 + }, + { + "id": "86adad1998422281", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b96dc0bda867749c", + "name": "escalier - alexa - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b762bc046e1118b6", + "614f639c58a785cb", + "66524b3e4f8afc52", + "6a866b0b21f943f2", + "ed675684aac11c5e", + "e629bcd96f25459a" + ], + "x": 3304, + "y": 5399, + "w": 1207, + "h": 82 + }, + { + "id": "5d713dc2c655e1b0", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b96dc0bda867749c", + "name": "escalier - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "aa2fa03953f2ca1f", + "0a1b36abacf7869b", + "1b555401a144af7c", + "ebec82062f5e909a", + "4b6610e1102bcb7e", + "a41077afea27060c" + ], + "x": 3304, + "y": 5159, + "w": 1287, + "h": 82 + }, + { + "id": "36ed9b0277578855", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b96dc0bda867749c", + "name": "escalier - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "02ef117d816fc098", + "6527f93da9bd8783", + "4ac770e285052ab8", + "6669f15f3960a695", + "7fb534abf26057b7", + "261fc1951db718df" + ], + "x": 3304, + "y": 5279, + "w": 1287, + "h": 82 + }, + { + "id": "66132351e9273fcd", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "44ab986c6e66fcf9", + "name": "jardin - alexa - light lamp", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "339b74120cebdaf7", + "dd483df0d2980560", + "bba86e872f5e2e77", + "520adefc1310c5fb", + "690dd048f1082d82", + "ab7f0faa07bb10c5", + "825b1d36c119ef53", + "a7a12b4b56de3d07" + ], + "x": 3304, + "y": 5579, + "w": 1522, + "h": 82 + }, + { + "id": "f3ae18fb49047b12", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "44ab986c6e66fcf9", + "name": "jardin - alexa - light spots", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "64e0af5ac57be506", + "ca190028075a02c4", + "53b0704ceac188a8", + "a635791973ebfcde", + "1e12dbe6025675cd", + "d0fb887b17f71649", + "e62259066f5cdb88", + "795a4f8667f09f6f" + ], + "x": 3304, + "y": 5699, + "w": 1562, + "h": 82 + }, + { + "id": "5cd3a909ce1f413c", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "44ab986c6e66fcf9", + "name": "jardin - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7d119b2f7b8ce528", + "2311f2404970f228", + "df2a43bb66b9583c", + "3d309e5ca950760b", + "eb6013e0ba671951", + "ee759e53ae98313b" + ], + "x": 3304, + "y": 5819, + "w": 1172, + "h": 82 + }, + { + "id": "936e1a3bf5878102", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "f12dac38b47c632d", + "name": "jeux - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "94744f7b1ec149b3", + "2ced5243fb4aa8a7", + "5527061ead3cbc7d", + "8cfc86a4457eb9e3" + ], + "x": 1754, + "y": 1191.5, + "w": 602, + "h": 97 + }, + { + "id": "412cf89aa30dd052", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - light door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "13a93bd3f7a3672f", + "a05d52024af694a6", + "e1a6efb156baf93f", + "870ddd4f9751bd91", + "30670826a567b32b", + "afa9c51f3a086810", + "4bae7b79cf3f9945", + "f136cd2a59970102" + ], + "x": 3304, + "y": 5999, + "w": 1622, + "h": 82 + }, + { + "id": "2e3cf26307050490", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - light bedside", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "3637aa2caa12cece", + "ecdbc3a31c49a7d2", + "2ff2bb5003d47ac8", + "e274def2288682e6", + "97a269b01fb0ff43", + "c9df7838fd1a8501", + "329a87daeda3e439", + "f0850994034e6274" + ], + "x": 3304, + "y": 6119, + "w": 1662, + "h": 82 + }, + { + "id": "20ecdefdd15cb5e4", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9eb98db9c6e96276", + "0d57767e32774568", + "73482d9d88fdef53", + "6e0b77ebe3b69630", + "38b6dc5cd93214cc", + "b34c64f5494b47de" + ], + "x": 3304, + "y": 6239, + "w": 1232, + "h": 82 + }, + { + "id": "f4061614bc3562ee", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - aperture left bay", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "53f36bbe7d518779", + "7a8994d1355025ce", + "dc2ee52df8318615", + "8292405e3dc98f62", + "70be59ca12458735", + "b76b825d273c6733" + ], + "x": 3304, + "y": 6479, + "w": 1192, + "h": 82 + }, + { + "id": "5d561ed745969c32", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "5d48dadb1a60ce5a", + "2278390b570ae980", + "7061f569e5f0ad5b", + "d930593447d74525", + "044893e956607076", + "80960100114c3bb9" + ], + "x": 3304, + "y": 6359, + "w": 1192, + "h": 82 + }, + { + "id": "f0f0d1d9fe2a60f0", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - aperture right bay", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2d70ad7ef6ca22f1", + "a27b78d407299408", + "094180182929275a", + "ff30c1aa35e732b7", + "95f0e8f3358ad11d", + "b1add34f1a24287e" + ], + "x": 3304, + "y": 6599, + "w": 1172, + "h": 82 + }, + { + "id": "930129cc2290712a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - shutter", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "1eb47e24551d2f4a", + "ceb7b3fb0ab08696", + "94dc5b27b388cb10", + "ed7daed08524c5a5", + "98eb85ab31bd9fd2", + "deecf900e1f84e2d", + "0ba288f7a70cbf6b", + "0ae2259086f8ec0d" + ], + "x": 3304, + "y": 6839, + "w": 1502, + "h": 82 + }, + { + "id": "4043ed742e94c7c8", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b6b9427c3c510b12", + "name": "jeux - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ae1418a3a4a9fe5e", + "4713cfc3e2bffb73", + "5152dd03c2077de5", + "ba5a67871ca82e7f", + "373177447eceb805", + "f1bd083ce2f746dc" + ], + "x": 3304, + "y": 6719, + "w": 1152, + "h": 82 + }, + { + "id": "21a97f892caaafa1", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "8a42ebc0235e003c", + "name": "lenny - source - clock", + "style": { + "fill": "#0070c0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "5a895a19cd5b14cf", + "c469093ebb0005f9", + "151c140cd7171c80", + "f9a5f3efcf6dd1d7", + "5147709b171ba02a" + ], + "x": 1054, + "y": 779, + "w": 582, + "h": 209.5 + }, + { + "id": "565dfd041d13c3a1", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "8a42ebc0235e003c", + "name": "lenny - device - clock", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b8690e2acb308498", + "170b7bbf9e361ce2", + "a5b50c40486e75fd" + ], + "x": 554, + "y": 779, + "w": 402, + "h": 82 + }, + { + "id": "5e4ac3a5a3f0b640", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "3eec7b031aa92737", + "name": "lenny - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6f4850f14b12df44", + "307e1f98694a09a1", + "e3fe379ac83c5554", + "4c910e8366eb3035", + "de270b56bddd19a8", + "ce627d8b1fb9ab32", + "9596952835a37354", + "89fe905b47adc77b" + ], + "x": 1754, + "y": 1371.5, + "w": 782, + "h": 157 + }, + { + "id": "e7543f28c830e84c", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2586210be8edd8b0", + "name": "lenny - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "30601584c9066166", + "8fdd67ff97167a4b", + "5cb3f7f48f2b3b4d", + "f86fafcd26769762", + "f68c05d1fc946175", + "3476ec8b48dd8737", + "e006057ce662d897", + "7a3df8ab32c5fc28" + ], + "x": 3304, + "y": 7019, + "w": 1662, + "h": 82 + }, + { + "id": "dd4ee9365a738a4a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2586210be8edd8b0", + "name": "lenny - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9f47e5ef38471d1f", + "db5e711b4e91558e", + "9c2d12143d4f28f9", + "a6277f03b0a2b72e", + "b68031a9dfe052d2", + "54881ecd4204c5fa" + ], + "x": 3304, + "y": 7139, + "w": 1272, + "h": 82 + }, + { + "id": "1c3de7b17c69aac0", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2586210be8edd8b0", + "name": "lenny - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "bb35875d14bfedc3", + "80441520af8573a9", + "97025b876582e65a", + "a5be20f4016a1b5c", + "51db44b0cd098872", + "b783ed1c03e7d5e7" + ], + "x": 3304, + "y": 7259, + "w": 1172, + "h": 82 + }, + { + "id": "e48340d7cac113cd", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2586210be8edd8b0", + "name": "lenny - alexa - aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e5f1fb7a8e6da302", + "984ef38ef127408d", + "ac9f5f4cbc9cc653", + "7002d1cbc5990b7c", + "5d016affdba0db87", + "e3929184a957bc8f" + ], + "x": 3304, + "y": 7379, + "w": 1192, + "h": 82 + }, + { + "id": "6426cf468533a94a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2b12ab5c8e153c9", + "name": "oriane - source - clock", + "style": { + "fill": "#0070c0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b3f12c566ff3d0eb", + "e0395c593211c049", + "3db710d8b9023738", + "da3237aaf9d3372a", + "4e2e4e32844d82c7" + ], + "x": 1054, + "y": 1079, + "w": 582, + "h": 209.5 + }, + { + "id": "2881c2862153c497", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2b12ab5c8e153c9", + "name": "oriane - device - clock", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "021ed4766414be0d", + "7faf686a74225948", + "d5b98356147518b8" + ], + "x": 554, + "y": 1079, + "w": 402, + "h": 82 + }, + { + "id": "6a0383dcf1a806c2", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "21de2f6b8276705d", + "name": "oriane - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "3dc0abb4933cf52c", + "4a2c85990a2b061e", + "2250bd89d8d43c5d", + "4f3656338050c097", + "0d802f81bc344203", + "8a002e685540bdff", + "2cdb054fc7bd2d1f", + "7a38acbcb6f7b1e4" + ], + "x": 1754, + "y": 1611.5, + "w": 842, + "h": 157 + }, + { + "id": "078cb3994f4b5c71", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0e5ad5285239671a", + "name": "oriane - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.1", + "label": true + }, + "nodes": [ + "7c6a878c6b2dc981", + "f82f77715b307e5e", + "5b42722f1d104fcd", + "6dac5ce5889dafe5", + "6b680c2c78d03f83", + "95c744aad95da9bb", + "e901d9b380ddcf56", + "ec832780fa3819d3" + ], + "x": 5104, + "y": 7019, + "w": 1642, + "h": 82 + }, + { + "id": "2c42045e959e8efd", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0e5ad5285239671a", + "name": "oriane - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.1", + "label": true + }, + "nodes": [ + "25b95ce76db7282c", + "ea68b84984bcd5e6", + "333614e4585c61ca", + "09a089f9de8ff5f4", + "38e4cb80ea1e3fa8", + "ad8d83913007eb92" + ], + "x": 5104, + "y": 7139, + "w": 1272, + "h": 82 + }, + { + "id": "c009d3778e2d5d99", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0e5ad5285239671a", + "name": "oriane - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "46f7c514e74a6238", + "98f1142bc59070ee", + "6b48c8a8f6cf2b74", + "29cd5a25950cd39a", + "f060f376b8b95641", + "8443083b2d57fccc" + ], + "x": 5104, + "y": 7259, + "w": 1192, + "h": 82 + }, + { + "id": "a9636a0d832e40c3", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "0e5ad5285239671a", + "name": "oriane - alexa - window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "641b763f8c402bb1", + "2db3a0fe91cdca2c", + "a85d3c59019c3f55", + "9f856d08973bdbd2", + "c1d2607422d1182d", + "99954902f613608a" + ], + "x": 5104, + "y": 7379, + "w": 1192, + "h": 82 + }, + { + "id": "7675dd03f941bc9a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "76531242ed6d1af4", + "name": "parents - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "30a4c71f8d02384d", + "377374bc3cc49bc5", + "10dddc528a72d52c", + "9729e87552ab749e" + ], + "x": 1754, + "y": 1851.5, + "w": 622, + "h": 97 + }, + { + "id": "a0fb7feea30116c9", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - light ceiling", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "03f7513bc15a7970", + "0a42f841db6eeb29", + "153d6c79ddb6a61b", + "5588600e048bb7ec", + "cb2c15acf0d304bf", + "c10f9df1d2567205", + "4a9c3f3e6824d0f3", + "f8f2807c9e6361e1" + ], + "x": 5104, + "y": 5999, + "w": 1662, + "h": 82 + }, + { + "id": "4ff63042b674da2f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - light left bedside", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2d23c818628833ec", + "791a8850301eb5ab", + "059867e6b2a77ca8", + "582b6a7ea3b56bca", + "6c48c7a61c0d093a", + "768e9d23bb8da222", + "3c3c58dfa896a7a9", + "3a55310fa1aa31b4" + ], + "x": 5104, + "y": 6119, + "w": 1662, + "h": 82 + }, + { + "id": "a78e3e12e55836b6", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - light right bedside", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9f90b3631947d4a8", + "c34f068176628307", + "c10bfa259d445594", + "41ba9594faf12ef2", + "ad3fd833430ad4f8", + "29c94887623c7f17", + "17fa49462f1cd0d0", + "5f9eec169dc39c23" + ], + "x": 5104, + "y": 6239, + "w": 1642, + "h": 82 + }, + { + "id": "64f47d1c52b68079", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ed696ccf025c9ea6", + "fc0429db9ca2e788", + "fe0b88b5a3708f00", + "2d3c55726a3b4596", + "c979677403c2fc22", + "b88456b1f90401bd" + ], + "x": 5104, + "y": 6599, + "w": 1292, + "h": 82 + }, + { + "id": "7f58393ab187f86a", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a8e125a8e1315ddb", + "75b658a5c36bf6d2", + "0724c54c1d040bed", + "2414f4d2a325c335", + "abc61cd9f3d45c52", + "568f6aa1cf8ca3f6" + ], + "x": 5104, + "y": 6719, + "w": 1212, + "h": 82 + }, + { + "id": "b674665f8dd964b7", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "80820f5afa4a387f", + "48ccea69f6924811", + "55c079be3de2c0a7", + "fe8f81fd4f0f21c5", + "f46d58cad61a3af9", + "b26d14cde713834d" + ], + "x": 5104, + "y": 6839, + "w": 1212, + "h": 82 + }, + { + "id": "0e70b66661697d73", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - light leds", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "bfb389e89be30b29", + "9f0f03244eb21857", + "9d6c6c6c97b77737", + "98c90965632e6fe8", + "2252136deee38517", + "4fe34feaf613a8f9", + "67cd76a031ccf5a0", + "c18ca6901058d1c0" + ], + "x": 5104, + "y": 6359, + "w": 1562, + "h": 82 + }, + { + "id": "a44eadb85e2851d2", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "b2aabcf1a98113d2", + "name": "parents - alexa - speaker", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "abca9c4b9b514c49", + "c6b6cf26659665af", + "7466994560d26e32", + "ce2fcec75f6a16eb", + "e7c1a3f81b5386cf", + "e69843b37e67d943", + "63b962e7bf263c38", + "23c56a806c2921f8" + ], + "x": 5104, + "y": 6479, + "w": 1542, + "h": 82 + }, + { + "id": "7cc72012db37a36f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2385ebb099d39679", + "name": "parking - alexa - light spots", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "e9a0591d654a5d18", + "17193d3c2edc0a1b", + "faad30261c5c42b4", + "054b8502d9873700", + "fd3bddca4344299b", + "f9fa54799ed349a3", + "83890229fb39a593", + "cb29ad933672419f" + ], + "x": 5104, + "y": 5579, + "w": 1577, + "h": 82 + }, + { + "id": "dde0ba374db2eedf", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2385ebb099d39679", + "name": "parking - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "98f376df7b0bbc5d", + "957e4911e1e7bcfd", + "49da4a79a0759025", + "59b3237828d69574", + "924613ad9e615565", + "c01c3a359a580114" + ], + "x": 5104, + "y": 5819, + "w": 1172, + "h": 82 + }, + { + "id": "553666c9dafd29aa", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "2385ebb099d39679", + "name": "parking - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "25bf9e91d9fd1134", + "aa98bb2a582511ba", + "dbfc0b4bcc1a5399", + "6751e3fd6a6c45d9", + "dd4f8e5109c3f132", + "9a5b8182e97b5f29" + ], + "x": 5104, + "y": 5699, + "w": 1227, + "h": 82 + }, + { + "id": "aa047eea162db86e", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "cb3c4ecc11e622c8", + "name": "salon - source - clock", + "style": { + "fill": "#0070c0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b0ec9dc39c0e4a04", + "bbae4d26e41478ea", + "f1ddd31035db0cc4", + "b2fc7377968a4425", + "c1270283d9c3f8b0" + ], + "x": 1054, + "y": 1379, + "w": 582, + "h": 209.5 + }, + { + "id": "d2d3d56d19f17173", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "cb3c4ecc11e622c8", + "name": "salon - device - clock", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ad43a0610ba77d34", + "41856b3f50fd450b", + "0253575b4a58eede" + ], + "x": 554, + "y": 1379, + "w": 402, + "h": 82 + }, + { + "id": "ca6e5594c10b00d0", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "555137194aeca274", + "name": "salon - scene - thermostat operating mode", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "628c2e8014a8c40c", + "553643b4e18545ba", + "f8f9a6db99bb33e8", + "9b60d0fdfcda5257", + "ad5d6657510d4e95", + "2c774c7cde335304", + "3dfab5f6f901f8d5", + "cf716df51e33d20c" + ], + "x": 1754, + "y": 2031.5, + "w": 842, + "h": 157 + }, + { + "id": "d8bfcc7fbad989a9", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "bc0564795bc5055b", + "a4a6ad066aafffab", + "2cf1c8b51221bbd5", + "175b8e4604b208a0", + "1b7fe8d3f6312441", + "6b9224991ba9932d", + "e553aecf4940374f", + "f3605d4cffea94fe" + ], + "x": 5104, + "y": 4559, + "w": 1542, + "h": 82 + }, + { + "id": "f36d13db48680f24", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - aperture - left bay", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b22ad51c1e17a489", + "491cb8fe9bda19d7", + "d3cdfbcb73f0b397", + "32612f428f89f04b", + "2ebfdbe6c2797383", + "7b4de30f8e6f5c49" + ], + "x": 5104, + "y": 4799, + "w": 1112, + "h": 82 + }, + { + "id": "b57e31429d877e40", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - aperture - right bay", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "54dacc2fd5d0195e", + "e1f0f157800a0cf4", + "237bf8ce3c8e7ef6", + "80423adf085377db", + "fef5a211b5cca153", + "1550ec84c0a7219a" + ], + "x": 5104, + "y": 4919, + "w": 1092, + "h": 82 + }, + { + "id": "14a357cf31812953", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - shutter", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9cab12b971634428", + "c988ea54961f1403", + "4cd46b3578c8bae0", + "d8e97b2e6b69c796", + "44cdd18cc189cc13", + "77f75b7329f5305f", + "1af788b4074a5858", + "57166415604ba8dc" + ], + "x": 5104, + "y": 5159, + "w": 1422, + "h": 82 + }, + { + "id": "fd183971af58106f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - aperture - window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "c81a8c2eb50047e0", + "ec9549e3f799c682", + "f6b933588a05f15e", + "d99cc436ba4ac06c", + "94d6e6b681750c4c", + "8532180bbbbc530a" + ], + "x": 5104, + "y": 5039, + "w": 1072, + "h": 82 + }, + { + "id": "13f77e42b44837fc", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "5782587779b166d8", + "cd91dcb74480e2bb", + "05f6965eeca20da3", + "60d2ce80fb0685cb", + "2736c226d2a4e8a9", + "5e36c1707f8fcd99" + ], + "x": 5104, + "y": 4679, + "w": 1152, + "h": 82 + }, + { + "id": "c2eb376301fe5e53", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "579677136736aa01", + "name": "salon - alexa - clim (scene)", + "style": { + "label": true, + "fill": "#6f2fa0", + "fill-opacity": "0.05" + }, + "nodes": [ + "e01b468d4b883aad", + "228f6fb7fd224f8c", + "f99e109526cd765b", + "01139e9e540729b9", + "ad88dd45cc61f45d", + "14a38319c3774c3c", + "83ffbd5ae58044f9", + "ef88e495c9982d2a", + "44fdb6071c1270db", + "56a1c63c9ffef1ed" + ], + "x": 5104, + "y": 5279, + "w": 1062, + "h": 202 + }, + { + "id": "61e21fea0f35b657", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9b0476b848cb48b7", + "name": "toilettes - alexa - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "48fb85cf9fc816df", + "a54a3aabac3983d2", + "58f3ce75b71246f5", + "80b27695fbae59d5", + "957b48265862f076", + "a191a48eeb80647b", + "4c73eaf96768680c", + "5e8ab4c79b05a2bd" + ], + "x": 5104, + "y": 3899, + "w": 1602, + "h": 82 + }, + { + "id": "37136f65e1f50cc9", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9b0476b848cb48b7", + "name": "toilettes - alexa - motion", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "bf5283284d6841db", + "3f67eea63eaebbbb", + "21f1942b8adfc779", + "66df46ed2b905f63", + "bffbafc983d76a7a", + "964e0963ed2b28d2" + ], + "x": 5104, + "y": 4019, + "w": 1172, + "h": 82 + }, + { + "id": "02860064ff27f25f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9b0476b848cb48b7", + "name": "toilettes - alexa - aperture door", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "946ab6f15c353f7c", + "0a2c323ab16c9ba6", + "7ef4f958fd99d744", + "bd6f934f3ae87f2d", + "522c4cc59f174867", + "f23d5319b5a4eb8b" + ], + "x": 5104, + "y": 4259, + "w": 1132, + "h": 82 + }, + { + "id": "f987f63e4046653b", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9b0476b848cb48b7", + "name": "toilettes - alexa - aperture window", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "ab4ea3a7f94bbae5", + "e2aaad9021c8ec04", + "9eece0ba7e2b5866", + "3da179ca7c5c4b92", + "9bdd2b22b7cc671b", + "e6edc72d1c9961e7" + ], + "x": 5104, + "y": 4379, + "w": 1132, + "h": 82 + }, + { + "id": "60d916216398ec01", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "9b0476b848cb48b7", + "name": "toilettes - alexa - temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "fda87b491f013484", + "f4e15d0614494621", + "cfdebd278d97e165", + "5b177ccee8820469", + "96985f64f73726bc", + "e1eb9c95069bf648" + ], + "x": 5104, + "y": 4139, + "w": 1212, + "h": 82 + }, + { + "id": "28f6e572f0c46f4f", + "type": "group", + "z": "7b8b61c2b3de438c", + "g": "39b272c7a895bc52", + "name": "ambre - source - clock", + "style": { + "fill": "#0070c0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "08241b095164717f", + "2ecf7207d27bb785", + "42c36b63863ecb77", + "00d464429222b699", + "a8c9f90575fc417d" + ], + "x": 1054, + "y": 179, + "w": 582, + "h": 209.5 + }, + { + "id": "21bccbf56993b294", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "ambre / command / remote : scene lighting ceiling / ambre / light / ceiling", + "info": "", + "x": 7480, + "y": 220, + "wires": [] + }, + { + "id": "d47a5d29139aca1c", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "0bcc12317f704d00", + "name": "ambre - device - clock", + "mode": "link", + "links": [ + "4a4b8dcde9348a97" + ], + "x": 915, + "y": 220, + "wires": [] + }, + { + "id": "540ed3f299c779d4", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0bcc12317f704d00", + "name": "ambre - device - clock", + "links": [ + "0acceaea33c8972d" + ], + "x": 595, + "y": 220, + "wires": [ + [ + "8b6b413e7a091290" + ] + ] + }, + { + "id": "64765643b13c207f", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "ambre - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 220, + "wires": [ + [ + "a695670fa9127502", + "2376f33d0687b642" + ] + ] + }, + { + "id": "438b7d7c7b096219", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "ambre - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2575, + "y": 220, + "wires": [] + }, + { + "id": "a695670fa9127502", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (work)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "1050", + "endtime2": "1140", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1990, + "y": 220, + "wires": [ + [], + [ + "03317bd2d7cb8df3" + ], + [] + ] + }, + { + "id": "2376f33d0687b642", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (rest)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "780", + "endtime2": "990", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1980, + "y": 280, + "wires": [ + [], + [ + "4d2cca4cdfaafc93" + ], + [] + ] + }, + { + "id": "02c07a0cc8b4cceb", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "work day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "true" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2440, + "y": 220, + "wires": [ + [ + "438b7d7c7b096219" + ] + ] + }, + { + "id": "0d69fef38ca34a4c", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "rest day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2420, + "y": 280, + "wires": [ + [ + "438b7d7c7b096219" + ] + ] + }, + { + "id": "e909099a38791a7c", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "ambre - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4925, + "y": 220, + "wires": [] + }, + { + "id": "6b360e1d934c11cc", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "ambre - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 220, + "wires": [ + [ + "f26be1e222ba0b75" + ] + ] + }, + { + "id": "2d60bdc66ca76fc9", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 220, + "wires": [ + [ + "c191b52abbb3cc42" + ] + ] + }, + { + "id": "c191b52abbb3cc42", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 220, + "wires": [ + [ + "989253ae6d34a634" + ] + ] + }, + { + "id": "c93078a74a653a7a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "lumière de la chambre de ambre", + "topic": "ambre/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4400, + "y": 220, + "wires": [ + [ + "be3ec6995065eeca" + ] + ] + }, + { + "id": "989253ae6d34a634", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 220, + "wires": [ + [ + "c93078a74a653a7a" + ] + ] + }, + { + "id": "be3ec6995065eeca", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4720, + "y": 220, + "wires": [ + [ + "e909099a38791a7c" + ] + ] + }, + { + "id": "c8d1453e98c3f5e3", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "ambre - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 340, + "wires": [ + [ + "d97113119fa403ac" + ] + ] + }, + { + "id": "dded4c6dc3976c7a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 340, + "wires": [ + [ + "972b344656fc59c2" + ] + ] + }, + { + "id": "b7be61ae48f2be69", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 340, + "wires": [ + [ + "25d2a91ae6a7bf32" + ] + ] + }, + { + "id": "972b344656fc59c2", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 340, + "wires": [ + [ + "b7be61ae48f2be69" + ] + ] + }, + { + "id": "25d2a91ae6a7bf32", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "température de la chambre de ambre", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4400, + "y": 340, + "wires": [ + [] + ] + }, + { + "id": "9c29e34475ca460c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "ambre - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 460, + "wires": [ + [ + "984cf98109a6bfbb" + ] + ] + }, + { + "id": "923d447e577e2169", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 460, + "wires": [ + [ + "3b207d904a7a2908" + ] + ] + }, + { + "id": "3b207d904a7a2908", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 460, + "wires": [ + [ + "f59050d2f607d356" + ] + ] + }, + { + "id": "51cb46c26d90cd1c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "porte de la chambre de ambre", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4360, + "y": 460, + "wires": [ + [] + ] + }, + { + "id": "f59050d2f607d356", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 460, + "wires": [ + [ + "51cb46c26d90cd1c" + ] + ] + }, + { + "id": "422c17888a527a84", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "ambre - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 580, + "wires": [ + [ + "aab0d57048737a7b" + ] + ] + }, + { + "id": "0b1a1d86ddb09f65", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 580, + "wires": [ + [ + "b4fc6e264531f8dc" + ] + ] + }, + { + "id": "b4fc6e264531f8dc", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 580, + "wires": [ + [ + "a66f6aafa52fa41c" + ] + ] + }, + { + "id": "f154c49fde9e478d", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "fenêtre de la chambre de ambre", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4360, + "y": 580, + "wires": [ + [] + ] + }, + { + "id": "a66f6aafa52fa41c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 580, + "wires": [ + [ + "f154c49fde9e478d" + ] + ] + }, + { + "id": "1bebf669a16f0cf4", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "57c26f082d249f70", + "name": "room - ambre", + "links": [], + "x": 135, + "y": 220, + "wires": [ + [ + "04efa665c6f70f9f" + ] + ] + }, + { + "id": "04efa665c6f70f9f", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "57c26f082d249f70", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "ambre", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 220, + "wires": [ + [ + "49e3763b37b96d09" + ] + ] + }, + { + "id": "49e3763b37b96d09", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "57c26f082d249f70", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 220, + "wires": [] + }, + { + "id": "a0fcd3bad88c6ec3", + "type": "catch", + "z": "7b8b61c2b3de438c", + "g": "62360180166d750d", + "name": "catch error", + "scope": null, + "uncaught": false, + "x": 180, + "y": 60, + "wires": [ + [ + "13b83844304c4a92" + ] + ] + }, + { + "id": "13b83844304c4a92", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "62360180166d750d", + "name": "topic", + "rules": [ + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "room", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 350, + "y": 60, + "wires": [ + [ + "740a5f7e8bcc49ea" + ] + ] + }, + { + "id": "740a5f7e8bcc49ea", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "62360180166d750d", + "name": "catch error", + "mode": "link", + "links": [ + "a52f0e788cd4dca3" + ], + "x": 475, + "y": 60, + "wires": [] + }, + { + "id": "03317bd2d7cb8df3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 2240, + "y": 220, + "wires": [ + [ + "02c07a0cc8b4cceb" + ] + ] + }, + { + "id": "4d2cca4cdfaafc93", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7588dc8563233dd0", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 2220, + "y": 280, + "wires": [ + [ + "0d69fef38ca34a4c" + ] + ] + }, + { + "id": "f26be1e222ba0b75", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7952d4c5ec3d3baf", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 220, + "wires": [ + [ + "2d60bdc66ca76fc9" + ] + ] + }, + { + "id": "d97113119fa403ac", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "24a0b470cbec207f", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 340, + "wires": [ + [ + "dded4c6dc3976c7a" + ] + ] + }, + { + "id": "984cf98109a6bfbb", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a3b588bc5a5fcff6", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 460, + "wires": [ + [ + "923d447e577e2169" + ] + ] + }, + { + "id": "aab0d57048737a7b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4ae8609056fc3234", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 580, + "wires": [ + [ + "0b1a1d86ddb09f65" + ] + ] + }, + { + "id": "8b6b413e7a091290", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0bcc12317f704d00", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 760, + "y": 220, + "wires": [ + [ + "d47a5d29139aca1c" + ] + ] + }, + { + "id": "844058a6afdd0a45", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "d4515d96db20b8d7", + "name": "room - bain", + "links": [], + "x": 135, + "y": 340, + "wires": [ + [ + "2a089d575c979306" + ] + ] + }, + { + "id": "2a089d575c979306", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "d4515d96db20b8d7", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "bain", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 340, + "wires": [ + [ + "cae6bff0196ba48b" + ] + ] + }, + { + "id": "cae6bff0196ba48b", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "d4515d96db20b8d7", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 340, + "wires": [] + }, + { + "id": "b924cf12aceef8a9", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "bain - alexa - light ceiling", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 760, + "wires": [] + }, + { + "id": "afc2c10fc0e2820a", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "bain - alexa - light ceiling", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 760, + "wires": [ + [ + "aa12fd4135008286" + ] + ] + }, + { + "id": "31871c4bdba68a2a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 760, + "wires": [ + [ + "b388903f5f5511a8" + ] + ] + }, + { + "id": "d09d369c82d6c731", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 760, + "wires": [ + [ + "31871c4bdba68a2a" + ] + ] + }, + { + "id": "b388903f5f5511a8", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 760, + "wires": [ + [ + "547b853f945e5abe" + ] + ] + }, + { + "id": "547b853f945e5abe", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "lumière de la salle de bain", + "topic": "bain/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 760, + "wires": [ + [ + "6775a3b43f86623d" + ] + ] + }, + { + "id": "6775a3b43f86623d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 760, + "wires": [ + [ + "b924cf12aceef8a9" + ] + ] + }, + { + "id": "aa12fd4135008286", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9d5beb0f52651723", + "name": "", + "links": [ + "844058a6afdd0a45" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 760, + "wires": [ + [ + "d09d369c82d6c731" + ] + ] + }, + { + "id": "b41c55b4d5f168ad", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "bain - alexa - light spots", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 880, + "wires": [] + }, + { + "id": "9bb27cb83a75d4ac", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "spots", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 880, + "wires": [ + [ + "3ac51af95fa58e22" + ] + ] + }, + { + "id": "9133cb910fbe540d", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "bain - alexa - light spots", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 880, + "wires": [ + [ + "abda63cad8884695" + ] + ] + }, + { + "id": "3829ccb07ef39a34", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 880, + "wires": [ + [ + "9bb27cb83a75d4ac" + ] + ] + }, + { + "id": "3ac51af95fa58e22", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 880, + "wires": [ + [ + "aa77bc3cbcc423f9" + ] + ] + }, + { + "id": "41849f136ab59985", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 880, + "wires": [ + [ + "b41c55b4d5f168ad" + ] + ] + }, + { + "id": "aa77bc3cbcc423f9", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "mirroir de la salle de bain", + "topic": "bain/cible/spots", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 880, + "wires": [ + [ + "41849f136ab59985" + ] + ] + }, + { + "id": "abda63cad8884695", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "63a11f3d13d3fd58", + "name": "", + "links": [ + "844058a6afdd0a45" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 880, + "wires": [ + [ + "3829ccb07ef39a34" + ] + ] + }, + { + "id": "a89dbae39e9a3522", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "bain - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 1000, + "wires": [ + [ + "0cf96013c496e328" + ] + ] + }, + { + "id": "09d1c9d3cee4487c", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 1000, + "wires": [ + [ + "9e0acd59780a5b7f" + ] + ] + }, + { + "id": "773ef2907aeba7f5", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 1000, + "wires": [ + [ + "edf9bf83038418d2" + ] + ] + }, + { + "id": "9e0acd59780a5b7f", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 1000, + "wires": [ + [ + "773ef2907aeba7f5" + ] + ] + }, + { + "id": "edf9bf83038418d2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "température de la salle de bain", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 1000, + "wires": [ + [] + ] + }, + { + "id": "0cf96013c496e328", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d19d63c0e3e6568e", + "name": "", + "links": [ + "844058a6afdd0a45" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 1000, + "wires": [ + [ + "09d1c9d3cee4487c" + ] + ] + }, + { + "id": "8b43350290b32368", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "bain - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 1120, + "wires": [ + [ + "84855a1ca89f3bb6" + ] + ] + }, + { + "id": "57dd994c663b6f01", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 1120, + "wires": [ + [ + "e4a18f2fda66f01e" + ] + ] + }, + { + "id": "e4a18f2fda66f01e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 1120, + "wires": [ + [ + "02b3d1fe54b763bf" + ] + ] + }, + { + "id": "08fe0836aeba21fe", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "porte de la salle de bain", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4320, + "y": 1120, + "wires": [ + [] + ] + }, + { + "id": "02b3d1fe54b763bf", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 1120, + "wires": [ + [ + "08fe0836aeba21fe" + ] + ] + }, + { + "id": "84855a1ca89f3bb6", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b1cfcae0fa7d5696", + "name": "", + "links": [ + "844058a6afdd0a45" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 1120, + "wires": [ + [ + "57dd994c663b6f01" + ] + ] + }, + { + "id": "fd405f97a4afd11a", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "bain - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 1240, + "wires": [ + [ + "fec573511bf99197" + ] + ] + }, + { + "id": "478a0f6fd1c7f151", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 1240, + "wires": [ + [ + "1d84350961683c91" + ] + ] + }, + { + "id": "1d84350961683c91", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 1240, + "wires": [ + [ + "2b91b319787bc0f2" + ] + ] + }, + { + "id": "d0d2f50ee401dbca", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "fenêtre de la salle de bain", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4320, + "y": 1240, + "wires": [ + [] + ] + }, + { + "id": "2b91b319787bc0f2", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 1240, + "wires": [ + [ + "d0d2f50ee401dbca" + ] + ] + }, + { + "id": "fec573511bf99197", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "19feb7590c49fcca", + "name": "", + "links": [ + "844058a6afdd0a45" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 1240, + "wires": [ + [ + "478a0f6fd1c7f151" + ] + ] + }, + { + "id": "047f5728c25d07ef", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "cab1d33fe68e104a", + "name": "room - bureau", + "links": [], + "x": 135, + "y": 460, + "wires": [ + [ + "5832a2b474ba1173" + ] + ] + }, + { + "id": "5832a2b474ba1173", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "cab1d33fe68e104a", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "bureau", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 460, + "wires": [ + [ + "1a9de1d3b381132e" + ] + ] + }, + { + "id": "1a9de1d3b381132e", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "cab1d33fe68e104a", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 460, + "wires": [] + }, + { + "id": "afb9c3a95d82a067", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "bureau - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4845, + "y": 1420, + "wires": [] + }, + { + "id": "cecf7014427b11c6", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "bureau - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 1420, + "wires": [ + [ + "ed08013ff53695bc" + ] + ] + }, + { + "id": "c1a650a10d67b96b", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 1420, + "wires": [ + [ + "3d0a3f1f31f95ffe" + ] + ] + }, + { + "id": "aadf852eae4da194", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 1420, + "wires": [ + [ + "c1a650a10d67b96b" + ] + ] + }, + { + "id": "34fc2c459ff7a48f", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "lumière du bureau", + "topic": "bureau/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4360, + "y": 1420, + "wires": [ + [ + "747c2171386a3327" + ] + ] + }, + { + "id": "3d0a3f1f31f95ffe", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 1420, + "wires": [ + [ + "34fc2c459ff7a48f" + ] + ] + }, + { + "id": "747c2171386a3327", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4640, + "y": 1420, + "wires": [ + [ + "afb9c3a95d82a067" + ] + ] + }, + { + "id": "ed08013ff53695bc", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "51f09b2cc21b958c", + "name": "", + "links": [ + "047f5728c25d07ef" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 1420, + "wires": [ + [ + "aadf852eae4da194" + ] + ] + }, + { + "id": "0ebdf99f03fdf629", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "bureau - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 1540, + "wires": [ + [ + "b9c3688b6dfe9ac1" + ] + ] + }, + { + "id": "c53c5aef8e76fedd", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 1540, + "wires": [ + [ + "3171b316cb1adaeb" + ] + ] + }, + { + "id": "1413c1c102d52a09", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 1540, + "wires": [ + [ + "98289e234ca7ef12" + ] + ] + }, + { + "id": "3171b316cb1adaeb", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 1540, + "wires": [ + [ + "1413c1c102d52a09" + ] + ] + }, + { + "id": "98289e234ca7ef12", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "température du bureau", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4350, + "y": 1540, + "wires": [ + [] + ] + }, + { + "id": "b9c3688b6dfe9ac1", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1d7c8643fcf26952", + "name": "", + "links": [ + "047f5728c25d07ef" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 1540, + "wires": [ + [ + "c53c5aef8e76fedd" + ] + ] + }, + { + "id": "57f6669382255c80", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 1660, + "wires": [ + [ + "cb0e9f2d44a4d439" + ] + ] + }, + { + "id": "24a719c390b3f22f", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "bureau - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 1660, + "wires": [ + [ + "034ee78dfb804c99" + ] + ] + }, + { + "id": "cb0e9f2d44a4d439", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 1660, + "wires": [ + [ + "cbfdde042605f25a" + ] + ] + }, + { + "id": "cbfdde042605f25a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 1660, + "wires": [ + [ + "ee5bffae090f4f0a" + ] + ] + }, + { + "id": "ee5bffae090f4f0a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "mouvement du bureau", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 1660, + "wires": [ + [] + ] + }, + { + "id": "034ee78dfb804c99", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7b9188adf10a80f4", + "name": "", + "links": [ + "047f5728c25d07ef" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 1660, + "wires": [ + [ + "57f6669382255c80" + ] + ] + }, + { + "id": "e0b402b05bd9f297", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7ea88218db2031a8", + "name": "room - cave", + "links": [], + "x": 135, + "y": 580, + "wires": [ + [ + "9daada6397b35018" + ] + ] + }, + { + "id": "9daada6397b35018", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "7ea88218db2031a8", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "cave", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 580, + "wires": [ + [ + "6f4d864cfc484640" + ] + ] + }, + { + "id": "6f4d864cfc484640", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "7ea88218db2031a8", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 580, + "wires": [] + }, + { + "id": "a72c1a80a1c23c90", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "cave - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4845, + "y": 1840, + "wires": [] + }, + { + "id": "fc33f164d4208460", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "cave - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 1840, + "wires": [ + [ + "de64d7fec2bc3b13" + ] + ] + }, + { + "id": "3bb670b7c782d0fe", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 1840, + "wires": [ + [ + "7a48d3b28afb9335" + ] + ] + }, + { + "id": "90c2212a5870ab4d", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 1840, + "wires": [ + [ + "3bb670b7c782d0fe" + ] + ] + }, + { + "id": "40a1233e15703902", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "lumière de la cave", + "topic": "cave/cible/door", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4360, + "y": 1840, + "wires": [ + [ + "89735cb301bdea99" + ] + ] + }, + { + "id": "7a48d3b28afb9335", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 1840, + "wires": [ + [ + "40a1233e15703902" + ] + ] + }, + { + "id": "89735cb301bdea99", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4640, + "y": 1840, + "wires": [ + [ + "a72c1a80a1c23c90" + ] + ] + }, + { + "id": "de64d7fec2bc3b13", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0fd00a5d28108c93", + "name": "", + "links": [ + "e0b402b05bd9f297" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 1840, + "wires": [ + [ + "90c2212a5870ab4d" + ] + ] + }, + { + "id": "e1f047b857bb87e9", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "cave - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 1960, + "wires": [ + [ + "8619304ad7a58106" + ] + ] + }, + { + "id": "0ff0fadc83ac38d1", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 1960, + "wires": [ + [ + "c86c464bb9aa4ec7" + ] + ] + }, + { + "id": "cf514e4790cf30b2", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 1960, + "wires": [ + [ + "3762437c4d4b168c" + ] + ] + }, + { + "id": "c86c464bb9aa4ec7", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 1960, + "wires": [ + [ + "cf514e4790cf30b2" + ] + ] + }, + { + "id": "3762437c4d4b168c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "température de la cave", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4350, + "y": 1960, + "wires": [ + [] + ] + }, + { + "id": "8619304ad7a58106", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "bf0c9db59b2649d8", + "name": "", + "links": [ + "e0b402b05bd9f297" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 1960, + "wires": [ + [ + "0ff0fadc83ac38d1" + ] + ] + }, + { + "id": "76fff1f1e6767cb1", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 2080, + "wires": [ + [ + "c952edfa67754b49" + ] + ] + }, + { + "id": "f078c245986b329c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "cave - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 2080, + "wires": [ + [ + "aa237bf32aadef48" + ] + ] + }, + { + "id": "c952edfa67754b49", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 2080, + "wires": [ + [ + "5bdae1b3b0632ad1" + ] + ] + }, + { + "id": "5bdae1b3b0632ad1", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 2080, + "wires": [ + [ + "ac6b4421c7675b8f" + ] + ] + }, + { + "id": "ac6b4421c7675b8f", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "mouvement de la cave", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4310, + "y": 2080, + "wires": [ + [] + ] + }, + { + "id": "aa237bf32aadef48", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5058bbe07bedfb71", + "name": "", + "links": [ + "e0b402b05bd9f297" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 2080, + "wires": [ + [ + "76fff1f1e6767cb1" + ] + ] + }, + { + "id": "079402876ffb0af4", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "cave - alexa - aperture", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 2200, + "wires": [ + [ + "afc9a80a851cf719" + ] + ] + }, + { + "id": "151c6168bcca45e8", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 2200, + "wires": [ + [ + "ce088fb02cc8d95e" + ] + ] + }, + { + "id": "ce088fb02cc8d95e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 2200, + "wires": [ + [ + "938259965bdd9849" + ] + ] + }, + { + "id": "b178cd11693d5684", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "porte de la cave", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4290, + "y": 2200, + "wires": [ + [] + ] + }, + { + "id": "938259965bdd9849", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 2200, + "wires": [ + [ + "b178cd11693d5684" + ] + ] + }, + { + "id": "afc9a80a851cf719", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1be2396c5ede7eef", + "name": "", + "links": [ + "e0b402b05bd9f297" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 2200, + "wires": [ + [ + "151c6168bcca45e8" + ] + ] + }, + { + "id": "fd8732102d63c9ac", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0a219a57d46e2698", + "name": "room - couloir", + "links": [], + "x": 135, + "y": 700, + "wires": [ + [ + "b7414d9f033b3c10" + ] + ] + }, + { + "id": "b7414d9f033b3c10", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "0a219a57d46e2698", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "couloir", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 700, + "wires": [ + [ + "c1c290657fb9026f" + ] + ] + }, + { + "id": "c1c290657fb9026f", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "0a219a57d46e2698", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 700, + "wires": [] + }, + { + "id": "c39d452224c976fc", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "543119fcfc92825a", + "name": "couloir - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 460, + "wires": [ + [ + "33e547c06606c98d" + ] + ] + }, + { + "id": "33e547c06606c98d", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "543119fcfc92825a", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "270", + "endtime": "390", + "starttime2": "1020", + "endtime2": "1170", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 460, + "wires": [ + [], + [ + "a23f758c8b86ba3b" + ], + [] + ] + }, + { + "id": "2df681beb21344f6", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "543119fcfc92825a", + "name": "couloir - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2335, + "y": 460, + "wires": [] + }, + { + "id": "a23f758c8b86ba3b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "543119fcfc92825a", + "name": "", + "links": [ + "fd8732102d63c9ac" + ], + "linkType": "static", + "timeout": "30", + "x": 2180, + "y": 460, + "wires": [ + [ + "2df681beb21344f6" + ] + ] + }, + { + "id": "ed1ae61e8d69a9aa", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "couloir - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4845, + "y": 2380, + "wires": [] + }, + { + "id": "34e70de8849460a5", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "couloir - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 2380, + "wires": [ + [ + "184e90f06812b608" + ] + ] + }, + { + "id": "4bf3c5a0bea3af8a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 2380, + "wires": [ + [ + "9bbbb26dc6afdcde" + ] + ] + }, + { + "id": "35e75fc4201d5603", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 2380, + "wires": [ + [ + "4bf3c5a0bea3af8a" + ] + ] + }, + { + "id": "0d3d1508f236270c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "lumière du couloir", + "topic": "couloir/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4360, + "y": 2380, + "wires": [ + [ + "978e78059fb4414c" + ] + ] + }, + { + "id": "9bbbb26dc6afdcde", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 2380, + "wires": [ + [ + "0d3d1508f236270c" + ] + ] + }, + { + "id": "978e78059fb4414c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4640, + "y": 2380, + "wires": [ + [ + "ed1ae61e8d69a9aa" + ] + ] + }, + { + "id": "184e90f06812b608", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "38252693eb7888ce", + "name": "", + "links": [ + "fd8732102d63c9ac" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 2380, + "wires": [ + [ + "35e75fc4201d5603" + ] + ] + }, + { + "id": "e667a270b77f91b0", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "couloir - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 2500, + "wires": [ + [ + "ee6855c201a2eac6" + ] + ] + }, + { + "id": "57552e6a0714b66e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 2500, + "wires": [ + [ + "d389394d4cb81acd" + ] + ] + }, + { + "id": "31055bcd80a97f51", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 2500, + "wires": [ + [ + "ab9ebc10154d36b5" + ] + ] + }, + { + "id": "d389394d4cb81acd", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 2500, + "wires": [ + [ + "31055bcd80a97f51" + ] + ] + }, + { + "id": "ab9ebc10154d36b5", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "température du couloir", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4370, + "y": 2500, + "wires": [ + [] + ] + }, + { + "id": "ee6855c201a2eac6", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ebd2f1b772702a16", + "name": "", + "links": [ + "fd8732102d63c9ac" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 2500, + "wires": [ + [ + "57552e6a0714b66e" + ] + ] + }, + { + "id": "33aad6ca5d82c61a", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "couloir - alexa - outlet", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4845, + "y": 2620, + "wires": [] + }, + { + "id": "fc7968c5df682e3e", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "couloir - alexa - outlet", + "links": [ + "fc80a58fdafa773a" + ], + "x": 3345, + "y": 2620, + "wires": [ + [ + "864d885655b30d79" + ] + ] + }, + { + "id": "97b86208fbe743ac", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "socket", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 2620, + "wires": [ + [ + "fb359b34c6ea6085" + ] + ] + }, + { + "id": "2f04adde7e34d56b", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 2620, + "wires": [ + [ + "97b86208fbe743ac" + ] + ] + }, + { + "id": "fb359b34c6ea6085", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4100, + "y": 2620, + "wires": [ + [ + "86042032f5f091f0" + ] + ] + }, + { + "id": "359a14f857843fd9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4640, + "y": 2620, + "wires": [ + [ + "33aad6ca5d82c61a" + ] + ] + }, + { + "id": "86042032f5f091f0", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "prise du couloir", + "topic": "couloir/cible/socket", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4370, + "y": 2620, + "wires": [ + [ + "359a14f857843fd9" + ] + ] + }, + { + "id": "864d885655b30d79", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "3ed9ca854a0f3323", + "name": "", + "links": [ + "fd8732102d63c9ac" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 2620, + "wires": [ + [ + "2f04adde7e34d56b" + ] + ] + }, + { + "id": "51874217c18a11e5", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "98b925f2d48de029", + "name": "room - cuisine", + "links": [], + "x": 135, + "y": 820, + "wires": [ + [ + "8cfdcec16302da89" + ] + ] + }, + { + "id": "8cfdcec16302da89", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "98b925f2d48de029", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "cuisine", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 820, + "wires": [ + [ + "0b7b7c70ddc3021c" + ] + ] + }, + { + "id": "0b7b7c70ddc3021c", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "98b925f2d48de029", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 820, + "wires": [] + }, + { + "id": "afd97549392e0e45", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "bc2f5f0fdf3a95b1", + "name": "cuisine - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 640, + "wires": [ + [ + "eee1367b24f15bfe" + ] + ] + }, + { + "id": "eee1367b24f15bfe", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "bc2f5f0fdf3a95b1", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "270", + "endtime": "1140", + "starttime2": "0", + "endtime2": "0", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 640, + "wires": [ + [], + [ + "4b7f359993232bde" + ], + [] + ] + }, + { + "id": "0857f7c3fc012063", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "bc2f5f0fdf3a95b1", + "name": "scene thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2335, + "y": 640, + "wires": [] + }, + { + "id": "4b7f359993232bde", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "bc2f5f0fdf3a95b1", + "name": "", + "links": [ + "51874217c18a11e5" + ], + "linkType": "static", + "timeout": "30", + "x": 2180, + "y": 640, + "wires": [ + [ + "0857f7c3fc012063" + ] + ] + }, + { + "id": "408a51c88533e506", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "cuisine - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4865, + "y": 2800, + "wires": [] + }, + { + "id": "3f54da8de46b11fd", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "cuisine - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 2800, + "wires": [ + [ + "bf3b2e2010041180" + ] + ] + }, + { + "id": "44602db9953f8773", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 2800, + "wires": [ + [ + "df80bf9d6d6154e8" + ] + ] + }, + { + "id": "199a605adc3d5f37", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 2800, + "wires": [ + [ + "44602db9953f8773" + ] + ] + }, + { + "id": "865379b6b8d74d10", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "lumière de la cuisine", + "topic": "cuisine/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4370, + "y": 2800, + "wires": [ + [ + "462f2494744e496f" + ] + ] + }, + { + "id": "df80bf9d6d6154e8", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 2800, + "wires": [ + [ + "865379b6b8d74d10" + ] + ] + }, + { + "id": "462f2494744e496f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4660, + "y": 2800, + "wires": [ + [ + "408a51c88533e506" + ] + ] + }, + { + "id": "bf3b2e2010041180", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4e85de651f8c65da", + "name": "", + "links": [ + "51874217c18a11e5" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 2800, + "wires": [ + [ + "199a605adc3d5f37" + ] + ] + }, + { + "id": "302510abb50cfea2", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "cuisine - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 2920, + "wires": [ + [ + "0b61db3d960d89d5" + ] + ] + }, + { + "id": "3786b8bbfc974f98", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 2920, + "wires": [ + [ + "d69ab28cf343b28a" + ] + ] + }, + { + "id": "0722a161ba65e3ee", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 2920, + "wires": [ + [ + "791047f44f1cf255" + ] + ] + }, + { + "id": "d69ab28cf343b28a", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 2920, + "wires": [ + [ + "0722a161ba65e3ee" + ] + ] + }, + { + "id": "791047f44f1cf255", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "température de la cuisine", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 2920, + "wires": [ + [] + ] + }, + { + "id": "0b61db3d960d89d5", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "749ecc064675afd3", + "name": "", + "links": [ + "51874217c18a11e5" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 2920, + "wires": [ + [ + "3786b8bbfc974f98" + ] + ] + }, + { + "id": "f8906d76f5343b41", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 3040, + "wires": [ + [ + "1d4248d9b171f328" + ] + ] + }, + { + "id": "b6a2940bd526bdc5", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "cuisine - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 3040, + "wires": [ + [ + "71ca12359743e21a" + ] + ] + }, + { + "id": "1d4248d9b171f328", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 3040, + "wires": [ + [ + "8c0c2cd9c2c43953" + ] + ] + }, + { + "id": "8c0c2cd9c2c43953", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 3040, + "wires": [ + [ + "261a84504ea5b4e6" + ] + ] + }, + { + "id": "261a84504ea5b4e6", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "mouvement de la cuisine", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 3040, + "wires": [ + [] + ] + }, + { + "id": "71ca12359743e21a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0c4b2ec7a86c7aa4", + "name": "", + "links": [ + "51874217c18a11e5" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 3040, + "wires": [ + [ + "f8906d76f5343b41" + ] + ] + }, + { + "id": "27a69d45ec54d88e", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "cuisine - alexa - aperture", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 3160, + "wires": [ + [ + "f84cfe0c74c0309d" + ] + ] + }, + { + "id": "d5c079ecca4bd388", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 3160, + "wires": [ + [ + "ccf9d9303cfe8587" + ] + ] + }, + { + "id": "ccf9d9303cfe8587", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 3160, + "wires": [ + [ + "f2750547782fb50f" + ] + ] + }, + { + "id": "4e36cd77592dabca", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "fenêtre de la cuisine", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 3160, + "wires": [ + [] + ] + }, + { + "id": "f2750547782fb50f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 3160, + "wires": [ + [ + "4e36cd77592dabca" + ] + ] + }, + { + "id": "f84cfe0c74c0309d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e4db17dafa209b9a", + "name": "", + "links": [ + "51874217c18a11e5" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 3160, + "wires": [ + [ + "d5c079ecca4bd388" + ] + ] + }, + { + "id": "db66cf9a3a659614", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "1f3ca5dea990900b", + "name": "room - diner", + "links": [], + "x": 135, + "y": 940, + "wires": [ + [ + "cf7306463c5339a2" + ] + ] + }, + { + "id": "cf7306463c5339a2", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "1f3ca5dea990900b", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "diner", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 940, + "wires": [ + [ + "4551f72e4fc2a436" + ] + ] + }, + { + "id": "4551f72e4fc2a436", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "1f3ca5dea990900b", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 940, + "wires": [] + }, + { + "id": "af06cacb11fff5fe", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "diner - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 3340, + "wires": [] + }, + { + "id": "42c6c2fa748e4af6", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "diner - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 3340, + "wires": [ + [ + "6a5f3950c93d7a09" + ] + ] + }, + { + "id": "6c0c55fd0aa68012", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 3340, + "wires": [ + [ + "ea130ca46f50e095" + ] + ] + }, + { + "id": "80a47335698bad24", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 3340, + "wires": [ + [ + "6c0c55fd0aa68012" + ] + ] + }, + { + "id": "0c10e86097e8a88a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "lumière de la salle à manger", + "topic": "diner/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4370, + "y": 3340, + "wires": [ + [ + "75ca38de7d418b17" + ] + ] + }, + { + "id": "ea130ca46f50e095", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 3340, + "wires": [ + [ + "0c10e86097e8a88a" + ] + ] + }, + { + "id": "75ca38de7d418b17", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 3340, + "wires": [ + [ + "af06cacb11fff5fe" + ] + ] + }, + { + "id": "6a5f3950c93d7a09", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e2bcd290d3182190", + "name": "", + "links": [ + "db66cf9a3a659614" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 3340, + "wires": [ + [ + "80a47335698bad24" + ] + ] + }, + { + "id": "2f05be15df782458", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 3580, + "wires": [ + [ + "cddcfbc2907339b1" + ] + ] + }, + { + "id": "83dd74e85a3b5fd8", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "diner - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 3580, + "wires": [ + [ + "d0cbdbc0612f57dd" + ] + ] + }, + { + "id": "cddcfbc2907339b1", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 3580, + "wires": [ + [ + "ef749476b5d2419f" + ] + ] + }, + { + "id": "ef749476b5d2419f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 3580, + "wires": [ + [ + "cfa5810aefc53216" + ] + ] + }, + { + "id": "cfa5810aefc53216", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "mouvement de la salle à manger", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 3580, + "wires": [ + [] + ] + }, + { + "id": "d0cbdbc0612f57dd", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ed48b41a8d65c068", + "name": "", + "links": [ + "db66cf9a3a659614" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 3580, + "wires": [ + [ + "2f05be15df782458" + ] + ] + }, + { + "id": "eaab34a171566bb1", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "diner - alexa - aperture", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 3700, + "wires": [ + [ + "433fe1697e40374e" + ] + ] + }, + { + "id": "9e4ed658bd7288e2", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 3700, + "wires": [ + [ + "14d6f28a5706817e" + ] + ] + }, + { + "id": "14d6f28a5706817e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 3700, + "wires": [ + [ + "4751aa206605fdd9" + ] + ] + }, + { + "id": "4f50879f03a7d340", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "porte d'entrée", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4290, + "y": 3700, + "wires": [ + [] + ] + }, + { + "id": "4751aa206605fdd9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 3700, + "wires": [ + [ + "4f50879f03a7d340" + ] + ] + }, + { + "id": "433fe1697e40374e", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "460739902e4300ec", + "name": "", + "links": [ + "db66cf9a3a659614" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 3700, + "wires": [ + [ + "9e4ed658bd7288e2" + ] + ] + }, + { + "id": "b203a0f8c491d028", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "diner - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 3460, + "wires": [ + [ + "d486d0216dad4f01" + ] + ] + }, + { + "id": "f78d99bc5070f731", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 3460, + "wires": [ + [ + "b89d513cb14aa267" + ] + ] + }, + { + "id": "4afc1164fa9d0bc4", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 3460, + "wires": [ + [ + "21c371f9cb1f0be5" + ] + ] + }, + { + "id": "b89d513cb14aa267", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 3460, + "wires": [ + [ + "4afc1164fa9d0bc4" + ] + ] + }, + { + "id": "21c371f9cb1f0be5", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "température de la salle à manger", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4390, + "y": 3460, + "wires": [ + [] + ] + }, + { + "id": "d486d0216dad4f01", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9c5befdabe842906", + "name": "", + "links": [ + "db66cf9a3a659614" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 3460, + "wires": [ + [ + "f78d99bc5070f731" + ] + ] + }, + { + "id": "8a58b40a83277a6d", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "64f9e71d8f809cf2", + "name": "room - douche", + "links": [], + "x": 135, + "y": 1060, + "wires": [ + [ + "bac8ff20c72e789e" + ] + ] + }, + { + "id": "bac8ff20c72e789e", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "64f9e71d8f809cf2", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "douche", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1060, + "wires": [ + [ + "65a5332454860046" + ] + ] + }, + { + "id": "65a5332454860046", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "64f9e71d8f809cf2", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1060, + "wires": [] + }, + { + "id": "eec0c12c5dac7ac0", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "21cc071787ab2083", + "name": "douche - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 820, + "wires": [ + [ + "9ecb67f7b26011ec" + ] + ] + }, + { + "id": "9820c6e109f25a2a", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "21cc071787ab2083", + "name": "douche - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2335, + "y": 820, + "wires": [] + }, + { + "id": "9ecb67f7b26011ec", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "21cc071787ab2083", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "330", + "endtime": "390", + "starttime2": "1170", + "endtime2": "1230", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": true, + "odd": false, + "even": false, + "x": 1960, + "y": 820, + "wires": [ + [], + [ + "eebbcaccd66deff2" + ], + [] + ] + }, + { + "id": "eebbcaccd66deff2", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "21cc071787ab2083", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 2180, + "y": 820, + "wires": [ + [ + "9820c6e109f25a2a" + ] + ] + }, + { + "id": "a4c75626ec98b096", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "douche - alexa - light door", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 3880, + "wires": [] + }, + { + "id": "3a55ad6cad68cacf", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "douche - alexa - light door", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 3880, + "wires": [ + [ + "044ab6ebeea11608" + ] + ] + }, + { + "id": "0930baefdf606e18", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 3880, + "wires": [ + [ + "11a0a71bf9647c0d" + ] + ] + }, + { + "id": "73c00ab854915f0b", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 3880, + "wires": [ + [ + "0930baefdf606e18" + ] + ] + }, + { + "id": "7fe96d9bc8352b59", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "lumière de la douche", + "topic": "douche/cible/door", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4390, + "y": 3880, + "wires": [ + [ + "7ffffa2ece43a63d" + ] + ] + }, + { + "id": "11a0a71bf9647c0d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4100, + "y": 3880, + "wires": [ + [ + "7fe96d9bc8352b59" + ] + ] + }, + { + "id": "7ffffa2ece43a63d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 3880, + "wires": [ + [ + "a4c75626ec98b096" + ] + ] + }, + { + "id": "044ab6ebeea11608", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "938c99ddd57b6792", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 3880, + "wires": [ + [ + "73c00ab854915f0b" + ] + ] + }, + { + "id": "88f4876b7fca2d49", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "douche - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 4120, + "wires": [ + [ + "7c4daf7c822100e7" + ] + ] + }, + { + "id": "ece9dd6478665c78", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 4120, + "wires": [ + [ + "4225e25eb6c02d9f" + ] + ] + }, + { + "id": "1b38b821bd0f406c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4090, + "y": 4120, + "wires": [ + [ + "4887de1593d7a056" + ] + ] + }, + { + "id": "4225e25eb6c02d9f", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 4120, + "wires": [ + [ + "1b38b821bd0f406c" + ] + ] + }, + { + "id": "4887de1593d7a056", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "température de la douche", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 4120, + "wires": [ + [] + ] + }, + { + "id": "7c4daf7c822100e7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "08d5a70105b69f34", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 4120, + "wires": [ + [ + "ece9dd6478665c78" + ] + ] + }, + { + "id": "5542118edd118b1b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "douche - alexa - aperture", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 4360, + "wires": [ + [ + "7830016da963fa5d" + ] + ] + }, + { + "id": "4ebdb59506295e5f", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 4360, + "wires": [ + [ + "dd8ff99cd31dc65e" + ] + ] + }, + { + "id": "dd8ff99cd31dc65e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 4360, + "wires": [ + [ + "2c10bd38d75146f4" + ] + ] + }, + { + "id": "7084763610063647", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "porte de la douche", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4320, + "y": 4360, + "wires": [ + [] + ] + }, + { + "id": "2c10bd38d75146f4", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 4360, + "wires": [ + [ + "7084763610063647" + ] + ] + }, + { + "id": "7830016da963fa5d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "64f2280ea42ba108", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 4360, + "wires": [ + [ + "4ebdb59506295e5f" + ] + ] + }, + { + "id": "29b4dd7362e5f911", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 4240, + "wires": [ + [ + "328540081f61de9b" + ] + ] + }, + { + "id": "965caf1c42f05bc8", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "douche - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 4240, + "wires": [ + [ + "804912111aa045a6" + ] + ] + }, + { + "id": "328540081f61de9b", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3860, + "y": 4240, + "wires": [ + [ + "7f778ea774345419" + ] + ] + }, + { + "id": "7f778ea774345419", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 4240, + "wires": [ + [ + "a6f980bdef332418" + ] + ] + }, + { + "id": "a6f980bdef332418", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "mouvement de la douche", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 4240, + "wires": [ + [] + ] + }, + { + "id": "804912111aa045a6", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2a2df1962e3f61d2", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 4240, + "wires": [ + [ + "29b4dd7362e5f911" + ] + ] + }, + { + "id": "a602b1bcbf8c1b85", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "douche - alexa - light spots", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 4000, + "wires": [] + }, + { + "id": "ad10a81066f01ab7", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "douche - alexa - light spots", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 4000, + "wires": [ + [ + "de4a4fe8842325bb" + ] + ] + }, + { + "id": "2c0f3c351bf1249b", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "spots", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3860, + "y": 4000, + "wires": [ + [ + "cd6a4d6b402cf64a" + ] + ] + }, + { + "id": "685b21aa930b1258", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3700, + "y": 4000, + "wires": [ + [ + "2c0f3c351bf1249b" + ] + ] + }, + { + "id": "678f4d76359ba6b2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "mirroir de la douche", + "topic": "douche/light/spots", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4390, + "y": 4000, + "wires": [ + [ + "0eb26c512ae2d3bb" + ] + ] + }, + { + "id": "cd6a4d6b402cf64a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4100, + "y": 4000, + "wires": [ + [ + "678f4d76359ba6b2" + ] + ] + }, + { + "id": "0eb26c512ae2d3bb", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 4000, + "wires": [ + [ + "a602b1bcbf8c1b85" + ] + ] + }, + { + "id": "de4a4fe8842325bb", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b71c6b6b455309ae", + "name": "", + "links": [ + "8a58b40a83277a6d" + ], + "linkType": "static", + "timeout": "30", + "x": 3510, + "y": 4000, + "wires": [ + [ + "685b21aa930b1258" + ] + ] + }, + { + "id": "2e9a2ab993fc4634", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f6298a8bc392a7ac", + "name": "room - evan", + "links": [], + "x": 135, + "y": 1180, + "wires": [ + [ + "709e6385cbdb0aac" + ] + ] + }, + { + "id": "709e6385cbdb0aac", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "f6298a8bc392a7ac", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "evan", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1180, + "wires": [ + [ + "973348528a2351d8" + ] + ] + }, + { + "id": "973348528a2351d8", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "f6298a8bc392a7ac", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1180, + "wires": [] + }, + { + "id": "9e912bb0465fa05e", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "0b208146fa232662", + "outtopic": "day", + "outpayload1": "1", + "outpayload2": "0", + "name": "work day", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": false, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 580, + "wires": [ + [ + "f1893d60a602f7ea" + ], + [], + [] + ] + }, + { + "id": "e0ee48357ee30544", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "0b208146fa232662", + "name": "evan - source - clock", + "mode": "link", + "links": [ + "85890de261cf2a1f" + ], + "x": 1595, + "y": 520, + "wires": [] + }, + { + "id": "84aad657cc3015c1", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0b208146fa232662", + "name": "evan - source - clock", + "links": [ + "28812ef076d967f4" + ], + "x": 1095, + "y": 520, + "wires": [ + [ + "9e912bb0465fa05e", + "1cfbe54662e9b23a", + "f1893d60a602f7ea" + ] + ] + }, + { + "id": "1cfbe54662e9b23a", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "0b208146fa232662", + "outtopic": "eve", + "outpayload1": "1", + "outpayload2": "0", + "name": "work eve", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": false, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 640, + "wires": [ + [ + "f1893d60a602f7ea" + ], + [], + [] + ] + }, + { + "id": "f1893d60a602f7ea", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0b208146fa232662", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 1430, + "y": 520, + "wires": [ + [ + "e0ee48357ee30544" + ] + ] + }, + { + "id": "100b75c92fbd601d", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "8da958032545bea4", + "name": "evan - device - clock", + "mode": "link", + "links": [ + "4a4b8dcde9348a97" + ], + "x": 915, + "y": 520, + "wires": [] + }, + { + "id": "0ec19ecfc3edabbd", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "8da958032545bea4", + "name": "evan - device - clock", + "links": [ + "0acceaea33c8972d" + ], + "x": 595, + "y": 520, + "wires": [ + [ + "728c1a0d95292887" + ] + ] + }, + { + "id": "728c1a0d95292887", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "8da958032545bea4", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 750, + "y": 520, + "wires": [ + [ + "100b75c92fbd601d" + ] + ] + }, + { + "id": "8f0b1f8de9fbfc9f", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "evan - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 1000, + "wires": [ + [ + "6fbbe6a2246171b8", + "0b9f3f203827134a" + ] + ] + }, + { + "id": "7dc41ad29651ef76", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "evan - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2535, + "y": 1000, + "wires": [] + }, + { + "id": "6fbbe6a2246171b8", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule work", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "1050", + "endtime2": "1140", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1980, + "y": 1000, + "wires": [ + [], + [ + "889daefd60d30c31" + ], + [] + ] + }, + { + "id": "0b9f3f203827134a", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule rest", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "780", + "endtime2": "990", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1980, + "y": 1060, + "wires": [ + [], + [ + "4bd2a17a2163845f" + ], + [] + ] + }, + { + "id": "c3a40e7ae347bd0c", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "work day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "true" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2400, + "y": 1000, + "wires": [ + [ + "7dc41ad29651ef76" + ] + ] + }, + { + "id": "f40451bd5ad5da32", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "rest day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2400, + "y": 1060, + "wires": [ + [ + "7dc41ad29651ef76" + ] + ] + }, + { + "id": "889daefd60d30c31", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 2210, + "y": 1000, + "wires": [ + [ + "c3a40e7ae347bd0c" + ] + ] + }, + { + "id": "4bd2a17a2163845f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "923d47e4e1357966", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 2210, + "y": 1060, + "wires": [ + [ + "f40451bd5ad5da32" + ] + ] + }, + { + "id": "76b1e23db6909882", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "evan - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4905, + "y": 4540, + "wires": [] + }, + { + "id": "013567ba389aabcd", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "evan - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 4540, + "wires": [ + [ + "93521d82f8191a9a" + ] + ] + }, + { + "id": "9edb54ab80252b68", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 4540, + "wires": [ + [ + "d52d258a4b9d1645" + ] + ] + }, + { + "id": "cca22b7f0f9138d3", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 4540, + "wires": [ + [ + "9edb54ab80252b68" + ] + ] + }, + { + "id": "7b7c892ba4bb0419", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "lumière de la chambre de evan", + "topic": "evan/cible/door", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 4540, + "wires": [ + [ + "688f0c12262837f7" + ] + ] + }, + { + "id": "d52d258a4b9d1645", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 4540, + "wires": [ + [ + "7b7c892ba4bb0419" + ] + ] + }, + { + "id": "688f0c12262837f7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4700, + "y": 4540, + "wires": [ + [ + "76b1e23db6909882" + ] + ] + }, + { + "id": "93521d82f8191a9a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "59e1639fb2f9dbd2", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 4540, + "wires": [ + [ + "cca22b7f0f9138d3" + ] + ] + }, + { + "id": "e95d1fc6ef10f897", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "evan - alexa - temperature door", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 4660, + "wires": [ + [ + "d3cfe4bbb77c2cbd" + ] + ] + }, + { + "id": "6433289d7d93ee19", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 4660, + "wires": [ + [ + "68515fd752af5e00" + ] + ] + }, + { + "id": "6c613c9e4e6f5c5b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 4660, + "wires": [ + [ + "4325a9dd6302aade" + ] + ] + }, + { + "id": "68515fd752af5e00", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 4660, + "wires": [ + [ + "6c613c9e4e6f5c5b" + ] + ] + }, + { + "id": "4325a9dd6302aade", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "température de la chambre de evan", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4390, + "y": 4660, + "wires": [ + [] + ] + }, + { + "id": "d3cfe4bbb77c2cbd", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "9f4763bd1ceebfe9", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 4660, + "wires": [ + [ + "6433289d7d93ee19" + ] + ] + }, + { + "id": "9ff01555b9aa10a7", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "evan - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 4780, + "wires": [ + [ + "7932a494966ed9d0" + ] + ] + }, + { + "id": "bfa0a16074ab7806", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 4780, + "wires": [ + [ + "0541af21bf0367c1" + ] + ] + }, + { + "id": "0541af21bf0367c1", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 4780, + "wires": [ + [ + "2f7b8a55b836be0c" + ] + ] + }, + { + "id": "316b126659c231f7", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "porte de la chambre de evan", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 4780, + "wires": [ + [] + ] + }, + { + "id": "2f7b8a55b836be0c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 4780, + "wires": [ + [ + "316b126659c231f7" + ] + ] + }, + { + "id": "7932a494966ed9d0", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "684aedafb8190dcb", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 4780, + "wires": [ + [ + "bfa0a16074ab7806" + ] + ] + }, + { + "id": "e7bea9abb4d2ec97", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "evan - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 4900, + "wires": [ + [ + "24203ece7219a912" + ] + ] + }, + { + "id": "8be784bef40da342", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 4900, + "wires": [ + [ + "7123394c089fa2b3" + ] + ] + }, + { + "id": "7123394c089fa2b3", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 4900, + "wires": [ + [ + "130968fabd2142bc" + ] + ] + }, + { + "id": "588fd67f01cc3fcd", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "fenêtre de la chambre de evan", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 4900, + "wires": [ + [] + ] + }, + { + "id": "130968fabd2142bc", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 4900, + "wires": [ + [ + "588fd67f01cc3fcd" + ] + ] + }, + { + "id": "24203ece7219a912", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2b2d382f22d54df6", + "name": "", + "links": [ + "2e9a2ab993fc4634" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 4900, + "wires": [ + [ + "8be784bef40da342" + ] + ] + }, + { + "id": "fcc3f348635792ed", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "01d3f189ca7fcb6c", + "name": "room - escalier", + "links": [], + "x": 135, + "y": 1300, + "wires": [ + [ + "82bebc2eaecb5277" + ] + ] + }, + { + "id": "82bebc2eaecb5277", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "01d3f189ca7fcb6c", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "escalier", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1300, + "wires": [ + [ + "b30a32196a57bd07" + ] + ] + }, + { + "id": "b30a32196a57bd07", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "01d3f189ca7fcb6c", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1300, + "wires": [] + }, + { + "id": "2a2936eed1173930", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "escalier - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4845, + "y": 5080, + "wires": [] + }, + { + "id": "5516293bd614b2f0", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "escalier - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 5080, + "wires": [ + [ + "94e423acca99118f" + ] + ] + }, + { + "id": "deb4efbe2acc06f2", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3895, + "y": 5080, + "wires": [ + [ + "35ce5932964b81ac" + ] + ] + }, + { + "id": "224f4bfc95c21c76", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3735, + "y": 5080, + "wires": [ + [ + "deb4efbe2acc06f2" + ] + ] + }, + { + "id": "21405e1e0c0a8ea9", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "lumière de l'escalier", + "topic": "escalier/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4435, + "y": 5080, + "wires": [ + [ + "279736ff56117fae" + ] + ] + }, + { + "id": "35ce5932964b81ac", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4195, + "y": 5080, + "wires": [ + [ + "21405e1e0c0a8ea9" + ] + ] + }, + { + "id": "279736ff56117fae", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 4755, + "y": 5080, + "wires": [ + [ + "2a2936eed1173930" + ] + ] + }, + { + "id": "94e423acca99118f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "083ae4d089979e3e", + "name": "", + "links": [ + "fcc3f348635792ed" + ], + "linkType": "static", + "timeout": "30", + "x": 3575, + "y": 5080, + "wires": [ + [ + "224f4bfc95c21c76" + ] + ] + }, + { + "id": "b762bc046e1118b6", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "escalier - alexa - aperture", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 5440, + "wires": [ + [ + "e629bcd96f25459a" + ] + ] + }, + { + "id": "614f639c58a785cb", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3735, + "y": 5440, + "wires": [ + [ + "66524b3e4f8afc52" + ] + ] + }, + { + "id": "66524b3e4f8afc52", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3895, + "y": 5440, + "wires": [ + [ + "ed675684aac11c5e" + ] + ] + }, + { + "id": "6a866b0b21f943f2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "porte de l'escalier", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4395, + "y": 5440, + "wires": [ + [] + ] + }, + { + "id": "ed675684aac11c5e", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4155, + "y": 5440, + "wires": [ + [ + "6a866b0b21f943f2" + ] + ] + }, + { + "id": "e629bcd96f25459a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "86adad1998422281", + "name": "", + "links": [ + "fcc3f348635792ed" + ], + "linkType": "static", + "timeout": "30", + "x": 3575, + "y": 5440, + "wires": [ + [ + "614f639c58a785cb" + ] + ] + }, + { + "id": "aa2fa03953f2ca1f", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3735, + "y": 5200, + "wires": [ + [ + "1b555401a144af7c" + ] + ] + }, + { + "id": "0a1b36abacf7869b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "escalier - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 5200, + "wires": [ + [ + "a41077afea27060c" + ] + ] + }, + { + "id": "1b555401a144af7c", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3895, + "y": 5200, + "wires": [ + [ + "ebec82062f5e909a" + ] + ] + }, + { + "id": "ebec82062f5e909a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4165, + "y": 5200, + "wires": [ + [ + "4b6610e1102bcb7e" + ] + ] + }, + { + "id": "4b6610e1102bcb7e", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "mouvement de l'escalier", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4455, + "y": 5200, + "wires": [ + [] + ] + }, + { + "id": "a41077afea27060c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5d713dc2c655e1b0", + "name": "", + "links": [ + "fcc3f348635792ed" + ], + "linkType": "static", + "timeout": "30", + "x": 3575, + "y": 5200, + "wires": [ + [ + "aa2fa03953f2ca1f" + ] + ] + }, + { + "id": "02ef117d816fc098", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "escalier - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 5320, + "wires": [ + [ + "261fc1951db718df" + ] + ] + }, + { + "id": "6527f93da9bd8783", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3735, + "y": 5320, + "wires": [ + [ + "6669f15f3960a695" + ] + ] + }, + { + "id": "4ac770e285052ab8", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4185, + "y": 5320, + "wires": [ + [ + "7fb534abf26057b7" + ] + ] + }, + { + "id": "6669f15f3960a695", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3895, + "y": 5320, + "wires": [ + [ + "4ac770e285052ab8" + ] + ] + }, + { + "id": "7fb534abf26057b7", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "température de l'escalier", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4455, + "y": 5320, + "wires": [ + [] + ] + }, + { + "id": "261fc1951db718df", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "36ed9b0277578855", + "name": "", + "links": [ + "fcc3f348635792ed" + ], + "linkType": "static", + "timeout": "30", + "x": 3575, + "y": 5320, + "wires": [ + [ + "6527f93da9bd8783" + ] + ] + }, + { + "id": "12ba1e6d80d75002", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "99ef784dbb63db88", + "name": "room - jardin", + "links": [], + "x": 135, + "y": 1420, + "wires": [ + [ + "8435bde6860119cf" + ] + ] + }, + { + "id": "8435bde6860119cf", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "99ef784dbb63db88", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "jardin", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1420, + "wires": [ + [ + "cb536b6126ca5965" + ] + ] + }, + { + "id": "cb536b6126ca5965", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "99ef784dbb63db88", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1420, + "wires": [] + }, + { + "id": "339b74120cebdaf7", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "jardin - alexa - light lamp", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4785, + "y": 5620, + "wires": [] + }, + { + "id": "dd483df0d2980560", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "jardin - alexa - light lamp", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 5620, + "wires": [ + [ + "a7a12b4b56de3d07" + ] + ] + }, + { + "id": "bba86e872f5e2e77", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "lamp", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 5620, + "wires": [ + [ + "ab7f0faa07bb10c5" + ] + ] + }, + { + "id": "520adefc1310c5fb", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 5620, + "wires": [ + [ + "bba86e872f5e2e77" + ] + ] + }, + { + "id": "690dd048f1082d82", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "lampe du jardin", + "topic": "jardin/cible/lamp", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 5620, + "wires": [ + [ + "825b1d36c119ef53" + ] + ] + }, + { + "id": "ab7f0faa07bb10c5", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 5620, + "wires": [ + [ + "690dd048f1082d82" + ] + ] + }, + { + "id": "825b1d36c119ef53", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 4590, + "y": 5620, + "wires": [ + [ + "339b74120cebdaf7" + ] + ] + }, + { + "id": "a7a12b4b56de3d07", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "66132351e9273fcd", + "name": "", + "links": [ + "12ba1e6d80d75002" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 5620, + "wires": [ + [ + "520adefc1310c5fb" + ] + ] + }, + { + "id": "64e0af5ac57be506", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "jardin - alexa - light spots", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4825, + "y": 5740, + "wires": [] + }, + { + "id": "ca190028075a02c4", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "spots", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 5740, + "wires": [ + [ + "d0fb887b17f71649" + ] + ] + }, + { + "id": "53b0704ceac188a8", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "jardin - alexa - light spots", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 5740, + "wires": [ + [ + "795a4f8667f09f6f" + ] + ] + }, + { + "id": "a635791973ebfcde", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 5740, + "wires": [ + [ + "ca190028075a02c4" + ] + ] + }, + { + "id": "1e12dbe6025675cd", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "spots du jardin", + "topic": "jardin/cible/spots", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4350, + "y": 5740, + "wires": [ + [ + "e62259066f5cdb88" + ] + ] + }, + { + "id": "d0fb887b17f71649", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 5740, + "wires": [ + [ + "1e12dbe6025675cd" + ] + ] + }, + { + "id": "e62259066f5cdb88", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4620, + "y": 5740, + "wires": [ + [ + "64e0af5ac57be506" + ] + ] + }, + { + "id": "795a4f8667f09f6f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f3ae18fb49047b12", + "name": "", + "links": [ + "12ba1e6d80d75002" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 5740, + "wires": [ + [ + "a635791973ebfcde" + ] + ] + }, + { + "id": "7d119b2f7b8ce528", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "jardin - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 5860, + "wires": [ + [ + "ee759e53ae98313b" + ] + ] + }, + { + "id": "2311f2404970f228", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 5860, + "wires": [ + [ + "3d309e5ca950760b" + ] + ] + }, + { + "id": "df2a43bb66b9583c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 5860, + "wires": [ + [ + "eb6013e0ba671951" + ] + ] + }, + { + "id": "3d309e5ca950760b", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 5860, + "wires": [ + [ + "df2a43bb66b9583c" + ] + ] + }, + { + "id": "eb6013e0ba671951", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "température du jardin", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4350, + "y": 5860, + "wires": [ + [] + ] + }, + { + "id": "ee759e53ae98313b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5cd3a909ce1f413c", + "name": "", + "links": [ + "12ba1e6d80d75002" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 5860, + "wires": [ + [ + "2311f2404970f228" + ] + ] + }, + { + "id": "6d138e6f66011672", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "93cca6576bb86885", + "name": "room - jeux", + "links": [], + "x": 135, + "y": 1540, + "wires": [ + [ + "1d45d7d42af779bf" + ] + ] + }, + { + "id": "1d45d7d42af779bf", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "93cca6576bb86885", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "jeux", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1540, + "wires": [ + [ + "bd219b1f60082794" + ] + ] + }, + { + "id": "bd219b1f60082794", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "93cca6576bb86885", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1540, + "wires": [] + }, + { + "id": "94744f7b1ec149b3", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "936e1a3bf5878102", + "name": "jeux - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 1240, + "wires": [ + [ + "5527061ead3cbc7d" + ] + ] + }, + { + "id": "2ced5243fb4aa8a7", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "936e1a3bf5878102", + "name": "jeux - scene - thermostat mode de fonctionnement", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2315, + "y": 1240, + "wires": [] + }, + { + "id": "5527061ead3cbc7d", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "936e1a3bf5878102", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "450", + "endtime": "660", + "starttime2": "900", + "endtime2": "1140", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 1240, + "wires": [ + [], + [ + "8cfc86a4457eb9e3" + ], + [] + ] + }, + { + "id": "8cfc86a4457eb9e3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "936e1a3bf5878102", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 2170, + "y": 1240, + "wires": [ + [ + "2ced5243fb4aa8a7" + ] + ] + }, + { + "id": "13a93bd3f7a3672f", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "jeux - alexa - light door", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4885, + "y": 6040, + "wires": [] + }, + { + "id": "a05d52024af694a6", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "jeux - alexa - light door", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 6040, + "wires": [ + [ + "f136cd2a59970102" + ] + ] + }, + { + "id": "e1a6efb156baf93f", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6040, + "wires": [ + [ + "30670826a567b32b" + ] + ] + }, + { + "id": "870ddd4f9751bd91", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6040, + "wires": [ + [ + "e1a6efb156baf93f" + ] + ] + }, + { + "id": "30670826a567b32b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 6040, + "wires": [ + [ + "afa9c51f3a086810" + ] + ] + }, + { + "id": "afa9c51f3a086810", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "lumière de la salle de jeux", + "topic": "jeux/cible/door", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 6040, + "wires": [ + [ + "4bae7b79cf3f9945" + ] + ] + }, + { + "id": "4bae7b79cf3f9945", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4680, + "y": 6040, + "wires": [ + [ + "13a93bd3f7a3672f" + ] + ] + }, + { + "id": "f136cd2a59970102", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "412cf89aa30dd052", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6040, + "wires": [ + [ + "870ddd4f9751bd91" + ] + ] + }, + { + "id": "3637aa2caa12cece", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "jeux - alexa - light bedside", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4925, + "y": 6160, + "wires": [] + }, + { + "id": "ecdbc3a31c49a7d2", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "jeux - alexa - light bedside", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 6160, + "wires": [ + [ + "f0850994034e6274" + ] + ] + }, + { + "id": "2ff2bb5003d47ac8", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6160, + "wires": [ + [ + "e274def2288682e6" + ] + ] + }, + { + "id": "e274def2288682e6", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "bedside", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6160, + "wires": [ + [ + "c9df7838fd1a8501" + ] + ] + }, + { + "id": "97a269b01fb0ff43", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "lampe de chevet de la salle de jeux", + "topic": "jeux/cible/bedside", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4390, + "y": 6160, + "wires": [ + [ + "329a87daeda3e439" + ] + ] + }, + { + "id": "c9df7838fd1a8501", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 6160, + "wires": [ + [ + "97a269b01fb0ff43" + ] + ] + }, + { + "id": "329a87daeda3e439", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4720, + "y": 6160, + "wires": [ + [ + "3637aa2caa12cece" + ] + ] + }, + { + "id": "f0850994034e6274", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2e3cf26307050490", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6160, + "wires": [ + [ + "2ff2bb5003d47ac8" + ] + ] + }, + { + "id": "9eb98db9c6e96276", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "jeux - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 6280, + "wires": [ + [ + "b34c64f5494b47de" + ] + ] + }, + { + "id": "0d57767e32774568", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6280, + "wires": [ + [ + "6e0b77ebe3b69630" + ] + ] + }, + { + "id": "73482d9d88fdef53", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 6280, + "wires": [ + [ + "38b6dc5cd93214cc" + ] + ] + }, + { + "id": "6e0b77ebe3b69630", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 6280, + "wires": [ + [ + "73482d9d88fdef53" + ] + ] + }, + { + "id": "38b6dc5cd93214cc", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "température de la salle de jeux", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4380, + "y": 6280, + "wires": [ + [] + ] + }, + { + "id": "b34c64f5494b47de", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "20ecdefdd15cb5e4", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6280, + "wires": [ + [ + "0d57767e32774568" + ] + ] + }, + { + "id": "53f36bbe7d518779", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "jeux - alexa - aperture left bay", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 6520, + "wires": [ + [ + "b76b825d273c6733" + ] + ] + }, + { + "id": "7a8994d1355025ce", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6520, + "wires": [ + [ + "dc2ee52df8318615" + ] + ] + }, + { + "id": "dc2ee52df8318615", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "left bay", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6520, + "wires": [ + [ + "70be59ca12458735" + ] + ] + }, + { + "id": "8292405e3dc98f62", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "baie gauche de la salle de jeux", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 6520, + "wires": [ + [] + ] + }, + { + "id": "70be59ca12458735", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 6520, + "wires": [ + [ + "8292405e3dc98f62" + ] + ] + }, + { + "id": "b76b825d273c6733", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f4061614bc3562ee", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6520, + "wires": [ + [ + "7a8994d1355025ce" + ] + ] + }, + { + "id": "5d48dadb1a60ce5a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6400, + "wires": [ + [ + "7061f569e5f0ad5b" + ] + ] + }, + { + "id": "2278390b570ae980", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "jeux - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 3345, + "y": 6400, + "wires": [ + [ + "80960100114c3bb9" + ] + ] + }, + { + "id": "7061f569e5f0ad5b", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 6400, + "wires": [ + [ + "d930593447d74525" + ] + ] + }, + { + "id": "d930593447d74525", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 6400, + "wires": [ + [ + "044893e956607076" + ] + ] + }, + { + "id": "044893e956607076", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "mouvement de la salle de jeux", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 6400, + "wires": [ + [] + ] + }, + { + "id": "80960100114c3bb9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5d561ed745969c32", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6400, + "wires": [ + [ + "5d48dadb1a60ce5a" + ] + ] + }, + { + "id": "2d70ad7ef6ca22f1", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "jeux - alexa - aperture right bay", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 6640, + "wires": [ + [ + "b1add34f1a24287e" + ] + ] + }, + { + "id": "a27b78d407299408", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6640, + "wires": [ + [ + "094180182929275a" + ] + ] + }, + { + "id": "094180182929275a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "right bay", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6640, + "wires": [ + [ + "ff30c1aa35e732b7" + ] + ] + }, + { + "id": "ff30c1aa35e732b7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 6640, + "wires": [ + [ + "95f0e8f3358ad11d" + ] + ] + }, + { + "id": "95f0e8f3358ad11d", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "baie droite de la salle de jeux", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 6640, + "wires": [ + [] + ] + }, + { + "id": "b1add34f1a24287e", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f0f0d1d9fe2a60f0", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6640, + "wires": [ + [ + "a27b78d407299408" + ] + ] + }, + { + "id": "1eb47e24551d2f4a", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "jeux - alexa - shutter", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4765, + "y": 6880, + "wires": [] + }, + { + "id": "ceb7b3fb0ab08696", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "jeux - alexa - shutter", + "links": [ + "340d0829b2817429" + ], + "x": 3345, + "y": 6880, + "wires": [ + [ + "0ae2259086f8ec0d" + ] + ] + }, + { + "id": "94dc5b27b388cb10", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6880, + "wires": [ + [ + "ed7daed08524c5a5" + ] + ] + }, + { + "id": "ed7daed08524c5a5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "shutter", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6880, + "wires": [ + [ + "deecf900e1f84e2d" + ] + ] + }, + { + "id": "98eb85ab31bd9fd2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "volet de la salle de jeux", + "topic": "jeux/cible/shutter", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "BLINDS", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4320, + "y": 6880, + "wires": [ + [ + "0ba288f7a70cbf6b" + ] + ] + }, + { + "id": "deecf900e1f84e2d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "", + "links": [ + "86f02da7eff1e3ba" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 6880, + "wires": [ + [ + "98eb85ab31bd9fd2" + ] + ] + }, + { + "id": "0ba288f7a70cbf6b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "", + "links": [ + "7af8e11321061713" + ], + "linkType": "static", + "timeout": "30", + "x": 4590, + "y": 6880, + "wires": [ + [ + "1eb47e24551d2f4a" + ] + ] + }, + { + "id": "0ae2259086f8ec0d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "930129cc2290712a", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6880, + "wires": [ + [ + "94dc5b27b388cb10" + ] + ] + }, + { + "id": "ae1418a3a4a9fe5e", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "jeux - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 6760, + "wires": [ + [ + "f1bd083ce2f746dc" + ] + ] + }, + { + "id": "4713cfc3e2bffb73", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 6760, + "wires": [ + [ + "5152dd03c2077de5" + ] + ] + }, + { + "id": "5152dd03c2077de5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 6760, + "wires": [ + [ + "ba5a67871ca82e7f" + ] + ] + }, + { + "id": "ba5a67871ca82e7f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 6760, + "wires": [ + [ + "373177447eceb805" + ] + ] + }, + { + "id": "373177447eceb805", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "porte de la salle de jeux", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4320, + "y": 6760, + "wires": [ + [] + ] + }, + { + "id": "f1bd083ce2f746dc", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4043ed742e94c7c8", + "name": "", + "links": [ + "6d138e6f66011672" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 6760, + "wires": [ + [ + "4713cfc3e2bffb73" + ] + ] + }, + { + "id": "f3eb1ff21da3093c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "584d6b767bbcc0df", + "name": "room - lenny", + "links": [], + "x": 135, + "y": 1660, + "wires": [ + [ + "e803b0efee6c4f05" + ] + ] + }, + { + "id": "e803b0efee6c4f05", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "584d6b767bbcc0df", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "lenny", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1660, + "wires": [ + [ + "587a52d01f82e880" + ] + ] + }, + { + "id": "587a52d01f82e880", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "584d6b767bbcc0df", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1660, + "wires": [] + }, + { + "id": "5a895a19cd5b14cf", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "21a97f892caaafa1", + "outtopic": "day", + "outpayload1": "1", + "outpayload2": "0", + "name": "work day", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": false, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 880, + "wires": [ + [ + "5147709b171ba02a" + ], + [], + [] + ] + }, + { + "id": "c469093ebb0005f9", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "21a97f892caaafa1", + "name": "lenny - source - clock", + "mode": "link", + "links": [ + "85890de261cf2a1f" + ], + "x": 1595, + "y": 820, + "wires": [] + }, + { + "id": "151c140cd7171c80", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "21a97f892caaafa1", + "name": "lenny - source - clock", + "links": [ + "28812ef076d967f4" + ], + "x": 1095, + "y": 820, + "wires": [ + [ + "5a895a19cd5b14cf", + "f9a5f3efcf6dd1d7", + "5147709b171ba02a" + ] + ] + }, + { + "id": "f9a5f3efcf6dd1d7", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "21a97f892caaafa1", + "outtopic": "eve", + "outpayload1": "1", + "outpayload2": "0", + "name": "work eve", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": true, + "mon": true, + "tue": false, + "wed": true, + "thu": true, + "fri": false, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 940, + "wires": [ + [ + "5147709b171ba02a" + ], + [], + [] + ] + }, + { + "id": "5147709b171ba02a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "21a97f892caaafa1", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 1430, + "y": 820, + "wires": [ + [ + "c469093ebb0005f9" + ] + ] + }, + { + "id": "b8690e2acb308498", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "565dfd041d13c3a1", + "name": "lenny - device - clock", + "mode": "link", + "links": [ + "4a4b8dcde9348a97" + ], + "x": 915, + "y": 820, + "wires": [] + }, + { + "id": "170b7bbf9e361ce2", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "565dfd041d13c3a1", + "name": "lenny - device - clock", + "links": [ + "0acceaea33c8972d" + ], + "x": 595, + "y": 820, + "wires": [ + [ + "a5b50c40486e75fd" + ] + ] + }, + { + "id": "a5b50c40486e75fd", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "565dfd041d13c3a1", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 750, + "y": 820, + "wires": [ + [ + "b8690e2acb308498" + ] + ] + }, + { + "id": "6f4850f14b12df44", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "lenny - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 1420, + "wires": [ + [ + "e3fe379ac83c5554", + "4c910e8366eb3035" + ] + ] + }, + { + "id": "307e1f98694a09a1", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "lenny - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2495, + "y": 1420, + "wires": [] + }, + { + "id": "e3fe379ac83c5554", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "1050", + "endtime2": "1140", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 1420, + "wires": [ + [], + [ + "9596952835a37354" + ], + [] + ] + }, + { + "id": "4c910e8366eb3035", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "780", + "endtime2": "990", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 1480, + "wires": [ + [], + [ + "89fe905b47adc77b" + ], + [] + ] + }, + { + "id": "de270b56bddd19a8", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "work day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "true" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2360, + "y": 1420, + "wires": [ + [ + "307e1f98694a09a1" + ] + ] + }, + { + "id": "ce627d8b1fb9ab32", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "rest day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2360, + "y": 1480, + "wires": [ + [ + "307e1f98694a09a1" + ] + ] + }, + { + "id": "9596952835a37354", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 2170, + "y": 1420, + "wires": [ + [ + "de270b56bddd19a8" + ] + ] + }, + { + "id": "89fe905b47adc77b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "5e4ac3a5a3f0b640", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 2170, + "y": 1480, + "wires": [ + [ + "ce627d8b1fb9ab32" + ] + ] + }, + { + "id": "30601584c9066166", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "lenny - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 4925, + "y": 7060, + "wires": [] + }, + { + "id": "8fdd67ff97167a4b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "lenny - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 3345, + "y": 7060, + "wires": [ + [ + "7a3df8ab32c5fc28" + ] + ] + }, + { + "id": "5cb3f7f48f2b3b4d", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 7060, + "wires": [ + [ + "3476ec8b48dd8737" + ] + ] + }, + { + "id": "f86fafcd26769762", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 7060, + "wires": [ + [ + "5cb3f7f48f2b3b4d" + ] + ] + }, + { + "id": "f68c05d1fc946175", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "lumière de la chambre de lenny", + "topic": "lenny/cible/door", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4400, + "y": 7060, + "wires": [ + [ + "e006057ce662d897" + ] + ] + }, + { + "id": "3476ec8b48dd8737", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 4080, + "y": 7060, + "wires": [ + [ + "f68c05d1fc946175" + ] + ] + }, + { + "id": "e006057ce662d897", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 4720, + "y": 7060, + "wires": [ + [ + "30601584c9066166" + ] + ] + }, + { + "id": "7a3df8ab32c5fc28", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e7543f28c830e84c", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 7060, + "wires": [ + [ + "f86fafcd26769762" + ] + ] + }, + { + "id": "9f47e5ef38471d1f", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "lenny - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 3345, + "y": 7180, + "wires": [ + [ + "54881ecd4204c5fa" + ] + ] + }, + { + "id": "db5e711b4e91558e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 7180, + "wires": [ + [ + "a6277f03b0a2b72e" + ] + ] + }, + { + "id": "9c2d12143d4f28f9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 4070, + "y": 7180, + "wires": [ + [ + "b68031a9dfe052d2" + ] + ] + }, + { + "id": "a6277f03b0a2b72e", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3840, + "y": 7180, + "wires": [ + [ + "9c2d12143d4f28f9" + ] + ] + }, + { + "id": "b68031a9dfe052d2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "température de la chambre de lenny", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4400, + "y": 7180, + "wires": [ + [] + ] + }, + { + "id": "54881ecd4204c5fa", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "dd4ee9365a738a4a", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 7180, + "wires": [ + [ + "db5e711b4e91558e" + ] + ] + }, + { + "id": "bb35875d14bfedc3", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "lenny - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 7300, + "wires": [ + [ + "b783ed1c03e7d5e7" + ] + ] + }, + { + "id": "80441520af8573a9", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 7300, + "wires": [ + [ + "97025b876582e65a" + ] + ] + }, + { + "id": "97025b876582e65a", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 7300, + "wires": [ + [ + "51db44b0cd098872" + ] + ] + }, + { + "id": "a5be20f4016a1b5c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "porte de la chambre de lenny", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4330, + "y": 7300, + "wires": [ + [] + ] + }, + { + "id": "51db44b0cd098872", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 7300, + "wires": [ + [ + "a5be20f4016a1b5c" + ] + ] + }, + { + "id": "b783ed1c03e7d5e7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "1c3de7b17c69aac0", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 7300, + "wires": [ + [ + "80441520af8573a9" + ] + ] + }, + { + "id": "e5f1fb7a8e6da302", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "lenny - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 3345, + "y": 7420, + "wires": [ + [ + "e3929184a957bc8f" + ] + ] + }, + { + "id": "984ef38ef127408d", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3680, + "y": 7420, + "wires": [ + [ + "ac9f5f4cbc9cc653" + ] + ] + }, + { + "id": "ac9f5f4cbc9cc653", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 3840, + "y": 7420, + "wires": [ + [ + "5d016affdba0db87" + ] + ] + }, + { + "id": "7002d1cbc5990b7c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "fenêtre de la chambre de lenny", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 4340, + "y": 7420, + "wires": [ + [] + ] + }, + { + "id": "5d016affdba0db87", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 4050, + "y": 7420, + "wires": [ + [ + "7002d1cbc5990b7c" + ] + ] + }, + { + "id": "e3929184a957bc8f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "e48340d7cac113cd", + "name": "", + "links": [ + "f3eb1ff21da3093c" + ], + "linkType": "static", + "timeout": "30", + "x": 3500, + "y": 7420, + "wires": [ + [ + "984ef38ef127408d" + ] + ] + }, + { + "id": "08afc7cf20c8c90b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e8718d77c5e86517", + "name": "room - oriane", + "links": [], + "x": 135, + "y": 1780, + "wires": [ + [ + "260daf01b309dba5" + ] + ] + }, + { + "id": "260daf01b309dba5", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "e8718d77c5e86517", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "oriane", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1780, + "wires": [ + [ + "60e82b8115622e6e" + ] + ] + }, + { + "id": "60e82b8115622e6e", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "e8718d77c5e86517", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1780, + "wires": [] + }, + { + "id": "b3f12c566ff3d0eb", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "6426cf468533a94a", + "outtopic": "day", + "outpayload1": "1", + "outpayload2": "0", + "name": "work day", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": false, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 1180, + "wires": [ + [ + "4e2e4e32844d82c7" + ], + [], + [] + ] + }, + { + "id": "e0395c593211c049", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "6426cf468533a94a", + "name": "oriane - source - clock", + "mode": "link", + "links": [ + "85890de261cf2a1f" + ], + "x": 1595, + "y": 1120, + "wires": [] + }, + { + "id": "3db710d8b9023738", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "6426cf468533a94a", + "name": "oriane - source - clock", + "links": [ + "28812ef076d967f4" + ], + "x": 1095, + "y": 1120, + "wires": [ + [ + "4e2e4e32844d82c7", + "b3f12c566ff3d0eb", + "da3237aaf9d3372a" + ] + ] + }, + { + "id": "da3237aaf9d3372a", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "6426cf468533a94a", + "outtopic": "eve", + "outpayload1": "1", + "outpayload2": "0", + "name": "work eve", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": true, + "mon": true, + "tue": false, + "wed": true, + "thu": true, + "fri": false, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 1240, + "wires": [ + [ + "4e2e4e32844d82c7" + ], + [], + [] + ] + }, + { + "id": "4e2e4e32844d82c7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "6426cf468533a94a", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 1430, + "y": 1120, + "wires": [ + [ + "e0395c593211c049" + ] + ] + }, + { + "id": "021ed4766414be0d", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "2881c2862153c497", + "name": "oriane - device - clock", + "mode": "link", + "links": [ + "4a4b8dcde9348a97" + ], + "x": 915, + "y": 1120, + "wires": [] + }, + { + "id": "7faf686a74225948", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "2881c2862153c497", + "name": "oriane - device - clock", + "links": [ + "0acceaea33c8972d" + ], + "x": 595, + "y": 1120, + "wires": [ + [ + "d5b98356147518b8" + ] + ] + }, + { + "id": "d5b98356147518b8", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2881c2862153c497", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 750, + "y": 1120, + "wires": [ + [ + "021ed4766414be0d" + ] + ] + }, + { + "id": "3dc0abb4933cf52c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "oriane - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 1660, + "wires": [ + [ + "2250bd89d8d43c5d", + "4f3656338050c097" + ] + ] + }, + { + "id": "4a2c85990a2b061e", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "oriane - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2555, + "y": 1660, + "wires": [] + }, + { + "id": "2250bd89d8d43c5d", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (work)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "1050", + "endtime2": "1140", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1990, + "y": 1660, + "wires": [ + [], + [ + "2cdb054fc7bd2d1f" + ], + [] + ] + }, + { + "id": "4f3656338050c097", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (rest)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "300", + "endtime": "390", + "starttime2": "780", + "endtime2": "990", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1980, + "y": 1720, + "wires": [ + [], + [ + "7a38acbcb6f7b1e4" + ], + [] + ] + }, + { + "id": "0d802f81bc344203", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "work day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "true" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2420, + "y": 1660, + "wires": [ + [ + "4a2c85990a2b061e" + ] + ] + }, + { + "id": "8a002e685540bdff", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "rest day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2400, + "y": 1720, + "wires": [ + [ + "4a2c85990a2b061e" + ] + ] + }, + { + "id": "2cdb054fc7bd2d1f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 2230, + "y": 1660, + "wires": [ + [ + "0d802f81bc344203" + ] + ] + }, + { + "id": "7a38acbcb6f7b1e4", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "6a0383dcf1a806c2", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 2210, + "y": 1720, + "wires": [ + [ + "8a002e685540bdff" + ] + ] + }, + { + "id": "7c6a878c6b2dc981", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "oriane - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6705, + "y": 7060, + "wires": [] + }, + { + "id": "f82f77715b307e5e", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "oriane - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 7060, + "wires": [ + [ + "ec832780fa3819d3" + ] + ] + }, + { + "id": "5b42722f1d104fcd", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5640, + "y": 7060, + "wires": [ + [ + "6b680c2c78d03f83" + ] + ] + }, + { + "id": "6dac5ce5889dafe5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5480, + "y": 7060, + "wires": [ + [ + "5b42722f1d104fcd" + ] + ] + }, + { + "id": "6b680c2c78d03f83", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 7060, + "wires": [ + [ + "95c744aad95da9bb" + ] + ] + }, + { + "id": "95c744aad95da9bb", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "lumière de la chambre de oriane", + "topic": "oriane/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6180, + "y": 7060, + "wires": [ + [ + "e901d9b380ddcf56" + ] + ] + }, + { + "id": "e901d9b380ddcf56", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 6500, + "y": 7060, + "wires": [ + [ + "7c6a878c6b2dc981" + ] + ] + }, + { + "id": "ec832780fa3819d3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "078cb3994f4b5c71", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 7060, + "wires": [ + [ + "6dac5ce5889dafe5" + ] + ] + }, + { + "id": "25b95ce76db7282c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "oriane - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 5145, + "y": 7180, + "wires": [ + [ + "ad8d83913007eb92" + ] + ] + }, + { + "id": "ea68b84984bcd5e6", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5480, + "y": 7180, + "wires": [ + [ + "09a089f9de8ff5f4" + ] + ] + }, + { + "id": "333614e4585c61ca", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 7180, + "wires": [ + [ + "38e4cb80ea1e3fa8" + ] + ] + }, + { + "id": "09a089f9de8ff5f4", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5640, + "y": 7180, + "wires": [ + [ + "333614e4585c61ca" + ] + ] + }, + { + "id": "38e4cb80ea1e3fa8", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "température de la chambre de oriane", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6200, + "y": 7180, + "wires": [ + [] + ] + }, + { + "id": "ad8d83913007eb92", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "2c42045e959e8efd", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 7180, + "wires": [ + [ + "ea68b84984bcd5e6" + ] + ] + }, + { + "id": "46f7c514e74a6238", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "oriane - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 7300, + "wires": [ + [ + "8443083b2d57fccc" + ] + ] + }, + { + "id": "98f1142bc59070ee", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5480, + "y": 7300, + "wires": [ + [ + "6b48c8a8f6cf2b74" + ] + ] + }, + { + "id": "6b48c8a8f6cf2b74", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5640, + "y": 7300, + "wires": [ + [ + "f060f376b8b95641" + ] + ] + }, + { + "id": "29cd5a25950cd39a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "porte de la chambre de oriane", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6140, + "y": 7300, + "wires": [ + [] + ] + }, + { + "id": "f060f376b8b95641", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5850, + "y": 7300, + "wires": [ + [ + "29cd5a25950cd39a" + ] + ] + }, + { + "id": "8443083b2d57fccc", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "c009d3778e2d5d99", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 7300, + "wires": [ + [ + "98f1142bc59070ee" + ] + ] + }, + { + "id": "641b763f8c402bb1", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "oriane - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 7420, + "wires": [ + [ + "99954902f613608a" + ] + ] + }, + { + "id": "2db3a0fe91cdca2c", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5480, + "y": 7420, + "wires": [ + [ + "a85d3c59019c3f55" + ] + ] + }, + { + "id": "a85d3c59019c3f55", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5640, + "y": 7420, + "wires": [ + [ + "c1d2607422d1182d" + ] + ] + }, + { + "id": "9f856d08973bdbd2", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "fenêtre de la chambre de oriane", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6140, + "y": 7420, + "wires": [ + [] + ] + }, + { + "id": "c1d2607422d1182d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5850, + "y": 7420, + "wires": [ + [ + "9f856d08973bdbd2" + ] + ] + }, + { + "id": "99954902f613608a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a9636a0d832e40c3", + "name": "", + "links": [ + "08afc7cf20c8c90b" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 7420, + "wires": [ + [ + "2db3a0fe91cdca2c" + ] + ] + }, + { + "id": "22ada886ab252ea3", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "c7b0cc4c9eef3f06", + "name": "room - parents", + "links": [], + "x": 135, + "y": 1900, + "wires": [ + [ + "6bac9c2b67d6407f" + ] + ] + }, + { + "id": "6bac9c2b67d6407f", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "c7b0cc4c9eef3f06", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "parents", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 1900, + "wires": [ + [ + "4b9a3c7128d04ee5" + ] + ] + }, + { + "id": "4b9a3c7128d04ee5", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "c7b0cc4c9eef3f06", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 1900, + "wires": [] + }, + { + "id": "30a4c71f8d02384d", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7675dd03f941bc9a", + "name": "parents - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 1900, + "wires": [ + [ + "10dddc528a72d52c" + ] + ] + }, + { + "id": "377374bc3cc49bc5", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "7675dd03f941bc9a", + "name": "parents - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2335, + "y": 1900, + "wires": [] + }, + { + "id": "10dddc528a72d52c", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "7675dd03f941bc9a", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "270", + "endtime": "360", + "starttime2": "1290", + "endtime2": "1350", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1960, + "y": 1900, + "wires": [ + [], + [ + "9729e87552ab749e" + ], + [] + ] + }, + { + "id": "9729e87552ab749e", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7675dd03f941bc9a", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 2180, + "y": 1900, + "wires": [ + [ + "377374bc3cc49bc5" + ] + ] + }, + { + "id": "03f7513bc15a7970", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "alexa lumiere plafonnier", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6725, + "y": 6040, + "wires": [] + }, + { + "id": "0a42f841db6eeb29", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "parents - alexa - light ceiling", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 6040, + "wires": [ + [ + "f8f2807c9e6361e1" + ] + ] + }, + { + "id": "153d6c79ddb6a61b", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6040, + "wires": [ + [ + "c10f9df1d2567205" + ] + ] + }, + { + "id": "5588600e048bb7ec", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6040, + "wires": [ + [ + "153d6c79ddb6a61b" + ] + ] + }, + { + "id": "cb2c15acf0d304bf", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "lumière de la chambre parentale", + "topic": "parents/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6200, + "y": 6040, + "wires": [ + [ + "4a9c3f3e6824d0f3" + ] + ] + }, + { + "id": "c10f9df1d2567205", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 5890, + "y": 6040, + "wires": [ + [ + "cb2c15acf0d304bf" + ] + ] + }, + { + "id": "4a9c3f3e6824d0f3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 6520, + "y": 6040, + "wires": [ + [ + "03f7513bc15a7970" + ] + ] + }, + { + "id": "f8f2807c9e6361e1", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a0fb7feea30116c9", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6040, + "wires": [ + [ + "5588600e048bb7ec" + ] + ] + }, + { + "id": "2d23c818628833ec", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "alexa lumiere chevet jc", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6725, + "y": 6160, + "wires": [] + }, + { + "id": "791a8850301eb5ab", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "parents - alexa - light left bedside", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 6160, + "wires": [ + [ + "3a55310fa1aa31b4" + ] + ] + }, + { + "id": "059867e6b2a77ca8", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "left beside", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6160, + "wires": [ + [ + "768e9d23bb8da222" + ] + ] + }, + { + "id": "582b6a7ea3b56bca", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6160, + "wires": [ + [ + "059867e6b2a77ca8" + ] + ] + }, + { + "id": "6c48c7a61c0d093a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "lampe de chevet de gauche", + "topic": "parents/cible/left bedside", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6210, + "y": 6160, + "wires": [ + [ + "3c3c58dfa896a7a9" + ] + ] + }, + { + "id": "768e9d23bb8da222", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 5900, + "y": 6160, + "wires": [ + [ + "6c48c7a61c0d093a" + ] + ] + }, + { + "id": "3c3c58dfa896a7a9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 6520, + "y": 6160, + "wires": [ + [ + "2d23c818628833ec" + ] + ] + }, + { + "id": "3a55310fa1aa31b4", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "4ff63042b674da2f", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6160, + "wires": [ + [ + "582b6a7ea3b56bca" + ] + ] + }, + { + "id": "9f90b3631947d4a8", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "alexa lumiere chevet flo", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6705, + "y": 6280, + "wires": [] + }, + { + "id": "c34f068176628307", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "parents - alexa - light right bedside", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 6280, + "wires": [ + [ + "5f9eec169dc39c23" + ] + ] + }, + { + "id": "c10bfa259d445594", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "right bedside", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6280, + "wires": [ + [ + "29c94887623c7f17" + ] + ] + }, + { + "id": "41ba9594faf12ef2", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6280, + "wires": [ + [ + "c10bfa259d445594" + ] + ] + }, + { + "id": "ad3fd833430ad4f8", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "lampe de chevet de droite", + "topic": "parents/cible/right bedside", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6200, + "y": 6280, + "wires": [ + [ + "17fa49462f1cd0d0" + ] + ] + }, + { + "id": "29c94887623c7f17", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 5900, + "y": 6280, + "wires": [ + [ + "ad3fd833430ad4f8" + ] + ] + }, + { + "id": "17fa49462f1cd0d0", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 6500, + "y": 6280, + "wires": [ + [ + "9f90b3631947d4a8" + ] + ] + }, + { + "id": "5f9eec169dc39c23", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a78e3e12e55836b6", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6280, + "wires": [ + [ + "41ba9594faf12ef2" + ] + ] + }, + { + "id": "ed696ccf025c9ea6", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "parents - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 5145, + "y": 6640, + "wires": [ + [ + "b88456b1f90401bd" + ] + ] + }, + { + "id": "fc0429db9ca2e788", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6640, + "wires": [ + [ + "2d3c55726a3b4596" + ] + ] + }, + { + "id": "fe0b88b5a3708f00", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 5890, + "y": 6640, + "wires": [ + [ + "c979677403c2fc22" + ] + ] + }, + { + "id": "2d3c55726a3b4596", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5660, + "y": 6640, + "wires": [ + [ + "fe0b88b5a3708f00" + ] + ] + }, + { + "id": "c979677403c2fc22", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "température de la chambre parentale", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6220, + "y": 6640, + "wires": [ + [] + ] + }, + { + "id": "b88456b1f90401bd", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "64f47d1c52b68079", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6640, + "wires": [ + [ + "fc0429db9ca2e788" + ] + ] + }, + { + "id": "a8e125a8e1315ddb", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "parents - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 6760, + "wires": [ + [ + "568f6aa1cf8ca3f6" + ] + ] + }, + { + "id": "75b658a5c36bf6d2", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6760, + "wires": [ + [ + "0724c54c1d040bed" + ] + ] + }, + { + "id": "0724c54c1d040bed", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6760, + "wires": [ + [ + "abc61cd9f3d45c52" + ] + ] + }, + { + "id": "2414f4d2a325c335", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "porte de la chambre parentale", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6160, + "y": 6760, + "wires": [ + [] + ] + }, + { + "id": "abc61cd9f3d45c52", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 6760, + "wires": [ + [ + "2414f4d2a325c335" + ] + ] + }, + { + "id": "568f6aa1cf8ca3f6", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7f58393ab187f86a", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6760, + "wires": [ + [ + "75b658a5c36bf6d2" + ] + ] + }, + { + "id": "80820f5afa4a387f", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "parents - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 6880, + "wires": [ + [ + "b26d14cde713834d" + ] + ] + }, + { + "id": "48ccea69f6924811", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6880, + "wires": [ + [ + "55c079be3de2c0a7" + ] + ] + }, + { + "id": "55c079be3de2c0a7", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6880, + "wires": [ + [ + "f46d58cad61a3af9" + ] + ] + }, + { + "id": "fe8f81fd4f0f21c5", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "fenêtre de la chambre parentale", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6160, + "y": 6880, + "wires": [ + [] + ] + }, + { + "id": "f46d58cad61a3af9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 6880, + "wires": [ + [ + "fe8f81fd4f0f21c5" + ] + ] + }, + { + "id": "b26d14cde713834d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b674665f8dd964b7", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6880, + "wires": [ + [ + "48ccea69f6924811" + ] + ] + }, + { + "id": "bfb389e89be30b29", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "alexa lumiere leds", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6625, + "y": 6400, + "wires": [] + }, + { + "id": "9f0f03244eb21857", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "parents - alexa - light leds", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 6400, + "wires": [ + [ + "c18ca6901058d1c0" + ] + ] + }, + { + "id": "9d6c6c6c97b77737", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "right leds", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6400, + "wires": [ + [ + "4fe34feaf613a8f9" + ] + ] + }, + { + "id": "98c90965632e6fe8", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6400, + "wires": [ + [ + "9d6c6c6c97b77737" + ] + ] + }, + { + "id": "2252136deee38517", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "lumière led", + "topic": "parents/cible/right leds", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6160, + "y": 6400, + "wires": [ + [ + "67cd76a031ccf5a0" + ] + ] + }, + { + "id": "4fe34feaf613a8f9", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 5900, + "y": 6400, + "wires": [ + [ + "2252136deee38517" + ] + ] + }, + { + "id": "67cd76a031ccf5a0", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 6420, + "y": 6400, + "wires": [ + [ + "bfb389e89be30b29" + ] + ] + }, + { + "id": "c18ca6901058d1c0", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "0e70b66661697d73", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6400, + "wires": [ + [ + "98c90965632e6fe8" + ] + ] + }, + { + "id": "abca9c4b9b514c49", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "parents - alexa - speaker", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6605, + "y": 6520, + "wires": [] + }, + { + "id": "c6b6cf26659665af", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "parents - alexa - speaker", + "links": [ + "fc80a58fdafa773a" + ], + "x": 5145, + "y": 6520, + "wires": [ + [ + "23c56a806c2921f8" + ] + ] + }, + { + "id": "7466994560d26e32", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "speaker", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 6520, + "wires": [ + [ + "e7c1a3f81b5386cf" + ] + ] + }, + { + "id": "ce2fcec75f6a16eb", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 6520, + "wires": [ + [ + "7466994560d26e32" + ] + ] + }, + { + "id": "e7c1a3f81b5386cf", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 5900, + "y": 6520, + "wires": [ + [ + "63b962e7bf263c38" + ] + ] + }, + { + "id": "e69843b37e67d943", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 6400, + "y": 6520, + "wires": [ + [ + "abca9c4b9b514c49" + ] + ] + }, + { + "id": "63b962e7bf263c38", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "enceintes", + "topic": "parents/cible/speaker", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6150, + "y": 6520, + "wires": [ + [ + "e69843b37e67d943" + ] + ] + }, + { + "id": "23c56a806c2921f8", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "a44eadb85e2851d2", + "name": "", + "links": [ + "22ada886ab252ea3" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 6520, + "wires": [ + [ + "ce2fcec75f6a16eb" + ] + ] + }, + { + "id": "4f0a85579ae9bb76", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "4178da7a23e7be95", + "name": "room - parking", + "links": [], + "x": 135, + "y": 2020, + "wires": [ + [ + "1a348b9f38a5c29c" + ] + ] + }, + { + "id": "1a348b9f38a5c29c", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "4178da7a23e7be95", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "parking", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 2020, + "wires": [ + [ + "a588296046a7c2b2" + ] + ] + }, + { + "id": "a588296046a7c2b2", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "4178da7a23e7be95", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 2020, + "wires": [] + }, + { + "id": "e9a0591d654a5d18", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "parking - alexa - light spots", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6640, + "y": 5620, + "wires": [] + }, + { + "id": "17193d3c2edc0a1b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "parking - alexa - light spots", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 5620, + "wires": [ + [ + "cb29ad933672419f" + ] + ] + }, + { + "id": "faad30261c5c42b4", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5495, + "y": 5620, + "wires": [ + [ + "054b8502d9873700" + ] + ] + }, + { + "id": "054b8502d9873700", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "spots", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5655, + "y": 5620, + "wires": [ + [ + "f9fa54799ed349a3" + ] + ] + }, + { + "id": "fd3bddca4344299b", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "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": 6170, + "y": 5620, + "wires": [ + [ + "83890229fb39a593" + ] + ] + }, + { + "id": "f9fa54799ed349a3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "", + "links": [ + "bac2afafe6b36787" + ], + "linkType": "static", + "timeout": "30", + "x": 5900, + "y": 5620, + "wires": [ + [ + "fd3bddca4344299b" + ] + ] + }, + { + "id": "83890229fb39a593", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "", + "links": [ + "d71667633c63d82c" + ], + "linkType": "static", + "timeout": "30", + "x": 6435, + "y": 5620, + "wires": [ + [ + "e9a0591d654a5d18" + ] + ] + }, + { + "id": "cb29ad933672419f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "7cc72012db37a36f", + "name": "", + "links": [ + "4f0a85579ae9bb76" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 5620, + "wires": [ + [ + "faad30261c5c42b4" + ] + ] + }, + { + "id": "98f376df7b0bbc5d", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "dde0ba374db2eedf", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5495, + "y": 5860, + "wires": [ + [ + "49da4a79a0759025" + ] + ] + }, + { + "id": "957e4911e1e7bcfd", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "dde0ba374db2eedf", + "name": "parking - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 5145, + "y": 5860, + "wires": [ + [ + "c01c3a359a580114" + ] + ] + }, + { + "id": "49da4a79a0759025", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "dde0ba374db2eedf", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5655, + "y": 5860, + "wires": [ + [ + "59b3237828d69574" + ] + ] + }, + { + "id": "59b3237828d69574", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "dde0ba374db2eedf", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 5860, + "wires": [ + [ + "924613ad9e615565" + ] + ] + }, + { + "id": "924613ad9e615565", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "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": 6150, + "y": 5860, + "wires": [ + [] + ] + }, + { + "id": "c01c3a359a580114", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "dde0ba374db2eedf", + "name": "", + "links": [ + "4f0a85579ae9bb76" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 5860, + "wires": [ + [ + "98f376df7b0bbc5d" + ] + ] + }, + { + "id": "25bf9e91d9fd1134", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "553666c9dafd29aa", + "name": "parking - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 5145, + "y": 5740, + "wires": [ + [ + "9a5b8182e97b5f29" + ] + ] + }, + { + "id": "aa98bb2a582511ba", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "553666c9dafd29aa", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5495, + "y": 5740, + "wires": [ + [ + "6751e3fd6a6c45d9" + ] + ] + }, + { + "id": "dbfc0b4bcc1a5399", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "553666c9dafd29aa", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 5890, + "y": 5740, + "wires": [ + [ + "dd4f8e5109c3f132" + ] + ] + }, + { + "id": "6751e3fd6a6c45d9", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "553666c9dafd29aa", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5655, + "y": 5740, + "wires": [ + [ + "dbfc0b4bcc1a5399" + ] + ] + }, + { + "id": "dd4f8e5109c3f132", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "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": 6195, + "y": 5740, + "wires": [ + [] + ] + }, + { + "id": "9a5b8182e97b5f29", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "553666c9dafd29aa", + "name": "", + "links": [ + "4f0a85579ae9bb76" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 5740, + "wires": [ + [ + "aa98bb2a582511ba" + ] + ] + }, + { + "id": "547932ecb837ae12", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "e2bebe682a962bdd", + "name": "room - salon", + "links": [], + "x": 135, + "y": 2140, + "wires": [ + [ + "64a8c235183d0680" + ] + ] + }, + { + "id": "64a8c235183d0680", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "e2bebe682a962bdd", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "salon", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 2140, + "wires": [ + [ + "c13e0829a8fe3fa1" + ] + ] + }, + { + "id": "c13e0829a8fe3fa1", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "e2bebe682a962bdd", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 2140, + "wires": [] + }, + { + "id": "b0ec9dc39c0e4a04", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "aa047eea162db86e", + "outtopic": "day", + "outpayload1": "1", + "outpayload2": "0", + "name": "work day", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": false, + "mon": true, + "tue": true, + "wed": false, + "thu": true, + "fri": true, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 1480, + "wires": [ + [ + "c1270283d9c3f8b0" + ], + [], + [] + ] + }, + { + "id": "bbae4d26e41478ea", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "aa047eea162db86e", + "name": "salon - source - clock", + "mode": "link", + "links": [ + "85890de261cf2a1f" + ], + "x": 1595, + "y": 1420, + "wires": [] + }, + { + "id": "f1ddd31035db0cc4", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "aa047eea162db86e", + "name": "salon - source - clock", + "links": [ + "28812ef076d967f4" + ], + "x": 1095, + "y": 1420, + "wires": [ + [ + "c1270283d9c3f8b0", + "b0ec9dc39c0e4a04", + "b2fc7377968a4425" + ] + ] + }, + { + "id": "b2fc7377968a4425", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "aa047eea162db86e", + "outtopic": "eve", + "outpayload1": "1", + "outpayload2": "0", + "name": "work eve", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": true, + "mon": true, + "tue": false, + "wed": true, + "thu": true, + "fri": false, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 1540, + "wires": [ + [ + "c1270283d9c3f8b0" + ], + [], + [] + ] + }, + { + "id": "c1270283d9c3f8b0", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "aa047eea162db86e", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 1430, + "y": 1420, + "wires": [ + [ + "bbae4d26e41478ea" + ] + ] + }, + { + "id": "ad43a0610ba77d34", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "d2d3d56d19f17173", + "name": "salon - device - clock", + "mode": "link", + "links": [ + "4a4b8dcde9348a97" + ], + "x": 915, + "y": 1420, + "wires": [] + }, + { + "id": "41856b3f50fd450b", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "d2d3d56d19f17173", + "name": "salon - device - clock", + "links": [ + "0acceaea33c8972d" + ], + "x": 595, + "y": 1420, + "wires": [ + [ + "0253575b4a58eede" + ] + ] + }, + { + "id": "0253575b4a58eede", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d2d3d56d19f17173", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 1420, + "wires": [ + [ + "ad43a0610ba77d34" + ] + ] + }, + { + "id": "628c2e8014a8c40c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "salon - scene - thermostat operating mode", + "links": [ + "84f1bb54c15f032d" + ], + "x": 1795, + "y": 2080, + "wires": [ + [ + "9b60d0fdfcda5257", + "553643b4e18545ba" + ] + ] + }, + { + "id": "553643b4e18545ba", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (rest)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "480", + "endtime": "1380", + "starttime2": "0", + "endtime2": "0", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1980, + "y": 2140, + "wires": [ + [], + [ + "cf716df51e33d20c" + ], + [] + ] + }, + { + "id": "f8f9a6db99bb33e8", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "salon - scene - thermostat operating mode", + "mode": "link", + "links": [ + "d1c7f4810b12afe2" + ], + "x": 2555, + "y": 2080, + "wires": [] + }, + { + "id": "9b60d0fdfcda5257", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "outtopic": "", + "outpayload1": "", + "outpayload2": "", + "name": "confort schedule (work)", + "comment": "", + "lat": 0, + "lon": 0, + "starttime": "1020", + "endtime": "1320", + "starttime2": "0", + "endtime2": "0", + "startoff": 0, + "endoff": 0, + "startoff2": 0, + "endoff2": 0, + "offs": 0, + "outtext1": "", + "outtext2": "", + "timeout": 1440, + "sun": true, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": true, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": true, + "aug": true, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": true, + "atstart": false, + "odd": false, + "even": false, + "x": 1990, + "y": 2080, + "wires": [ + [], + [ + "3dfab5f6f901f8d5" + ], + [] + ] + }, + { + "id": "ad5d6657510d4e95", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "work day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "true" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2420, + "y": 2080, + "wires": [ + [ + "f8f9a6db99bb33e8" + ] + ] + }, + { + "id": "2c774c7cde335304", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "rest day", + "property": "metrics[msg.room]clock['work day']", + "propertyType": "global", + "rules": [ + { + "t": "false" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2400, + "y": 2140, + "wires": [ + [ + "f8f9a6db99bb33e8" + ] + ] + }, + { + "id": "3dfab5f6f901f8d5", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 2230, + "y": 2080, + "wires": [ + [ + "ad5d6657510d4e95" + ] + ] + }, + { + "id": "cf716df51e33d20c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "ca6e5594c10b00d0", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 2210, + "y": 2140, + "wires": [ + [ + "2c774c7cde335304" + ] + ] + }, + { + "id": "bc0564795bc5055b", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "salon - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6605, + "y": 4600, + "wires": [] + }, + { + "id": "a4a6ad066aafffab", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "salon - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 4600, + "wires": [ + [ + "f3605d4cffea94fe" + ] + ] + }, + { + "id": "2cf1c8b51221bbd5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 4600, + "wires": [ + [ + "175b8e4604b208a0" + ] + ] + }, + { + "id": "175b8e4604b208a0", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5620, + "y": 4600, + "wires": [ + [ + "6b9224991ba9932d" + ] + ] + }, + { + "id": "1b7fe8d3f6312441", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "lumière du salon", + "topic": "salon/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6110, + "y": 4600, + "wires": [ + [ + "e553aecf4940374f" + ] + ] + }, + { + "id": "6b9224991ba9932d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 5850, + "y": 4600, + "wires": [ + [ + "1b7fe8d3f6312441" + ] + ] + }, + { + "id": "e553aecf4940374f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 6400, + "y": 4600, + "wires": [ + [ + "bc0564795bc5055b" + ] + ] + }, + { + "id": "f3605d4cffea94fe", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "d8bfcc7fbad989a9", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 4600, + "wires": [ + [ + "2cf1c8b51221bbd5" + ] + ] + }, + { + "id": "b22ad51c1e17a489", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "salon - alexa - aperture - left bay", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 4840, + "wires": [ + [ + "7b4de30f8e6f5c49" + ] + ] + }, + { + "id": "491cb8fe9bda19d7", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 4840, + "wires": [ + [ + "d3cdfbcb73f0b397" + ] + ] + }, + { + "id": "d3cdfbcb73f0b397", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "left bay", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5620, + "y": 4840, + "wires": [ + [ + "2ebfdbe6c2797383" + ] + ] + }, + { + "id": "32612f428f89f04b", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "baie gauche du salon", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6090, + "y": 4840, + "wires": [ + [] + ] + }, + { + "id": "2ebfdbe6c2797383", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5830, + "y": 4840, + "wires": [ + [ + "32612f428f89f04b" + ] + ] + }, + { + "id": "7b4de30f8e6f5c49", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f36d13db48680f24", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 4840, + "wires": [ + [ + "491cb8fe9bda19d7" + ] + ] + }, + { + "id": "54dacc2fd5d0195e", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "salon - alexa - aperture - right bay", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 4960, + "wires": [ + [ + "1550ec84c0a7219a" + ] + ] + }, + { + "id": "e1f0f157800a0cf4", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 4960, + "wires": [ + [ + "237bf8ce3c8e7ef6" + ] + ] + }, + { + "id": "237bf8ce3c8e7ef6", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "right bay", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5620, + "y": 4960, + "wires": [ + [ + "fef5a211b5cca153" + ] + ] + }, + { + "id": "80423adf085377db", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "baie droite du salon", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6080, + "y": 4960, + "wires": [ + [] + ] + }, + { + "id": "fef5a211b5cca153", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5830, + "y": 4960, + "wires": [ + [ + "80423adf085377db" + ] + ] + }, + { + "id": "1550ec84c0a7219a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "b57e31429d877e40", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 4960, + "wires": [ + [ + "e1f0f157800a0cf4" + ] + ] + }, + { + "id": "9cab12b971634428", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "salon - alexa - shutter", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6485, + "y": 5200, + "wires": [] + }, + { + "id": "c988ea54961f1403", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "salon - alexa - shutter", + "links": [ + "340d0829b2817429" + ], + "x": 5145, + "y": 5200, + "wires": [ + [ + "57166415604ba8dc" + ] + ] + }, + { + "id": "4cd46b3578c8bae0", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 5200, + "wires": [ + [ + "d8e97b2e6b69c796" + ] + ] + }, + { + "id": "d8e97b2e6b69c796", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "shutter", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5620, + "y": 5200, + "wires": [ + [ + "77f75b7329f5305f" + ] + ] + }, + { + "id": "44cdd18cc189cc13", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "volet du salon", + "topic": "salon/cible/shutter", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "BLINDS", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6070, + "y": 5200, + "wires": [ + [ + "1af788b4074a5858" + ] + ] + }, + { + "id": "77f75b7329f5305f", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "", + "links": [ + "86f02da7eff1e3ba" + ], + "linkType": "static", + "timeout": "30", + "x": 5830, + "y": 5200, + "wires": [ + [ + "44cdd18cc189cc13" + ] + ] + }, + { + "id": "1af788b4074a5858", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "", + "links": [ + "7af8e11321061713" + ], + "linkType": "static", + "timeout": "30", + "x": 6310, + "y": 5200, + "wires": [ + [ + "9cab12b971634428" + ] + ] + }, + { + "id": "57166415604ba8dc", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "14a357cf31812953", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 5200, + "wires": [ + [ + "4cd46b3578c8bae0" + ] + ] + }, + { + "id": "c81a8c2eb50047e0", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "salon - alexa - aperture - window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 5080, + "wires": [ + [ + "8532180bbbbc530a" + ] + ] + }, + { + "id": "ec9549e3f799c682", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 5080, + "wires": [ + [ + "f6b933588a05f15e" + ] + ] + }, + { + "id": "f6b933588a05f15e", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5620, + "y": 5080, + "wires": [ + [ + "94d6e6b681750c4c" + ] + ] + }, + { + "id": "d99cc436ba4ac06c", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "fenêtre du salon", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6070, + "y": 5080, + "wires": [ + [] + ] + }, + { + "id": "94d6e6b681750c4c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5830, + "y": 5080, + "wires": [ + [ + "d99cc436ba4ac06c" + ] + ] + }, + { + "id": "8532180bbbbc530a", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "fd183971af58106f", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 5080, + "wires": [ + [ + "ec9549e3f799c682" + ] + ] + }, + { + "id": "5782587779b166d8", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "salon - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 5145, + "y": 4720, + "wires": [ + [ + "5e36c1707f8fcd99" + ] + ] + }, + { + "id": "cd91dcb74480e2bb", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5460, + "y": 4720, + "wires": [ + [ + "60d2ce80fb0685cb" + ] + ] + }, + { + "id": "05f6965eeca20da3", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 5850, + "y": 4720, + "wires": [ + [ + "2736c226d2a4e8a9" + ] + ] + }, + { + "id": "60d2ce80fb0685cb", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5620, + "y": 4720, + "wires": [ + [ + "05f6965eeca20da3" + ] + ] + }, + { + "id": "2736c226d2a4e8a9", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "température du salon", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6130, + "y": 4720, + "wires": [ + [] + ] + }, + { + "id": "5e36c1707f8fcd99", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "13f77e42b44837fc", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5300, + "y": 4720, + "wires": [ + [ + "cd91dcb74480e2bb" + ] + ] + }, + { + "id": "e01b468d4b883aad", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "clim", + "topic": "scene/clim", + "metadata": "", + "connection": "b156e6eff1bfadd1", + "template": "SCENE", + "retrievable": false, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 5180, + "y": 5320, + "wires": [ + [ + "56a1c63c9ffef1ed" + ] + ] + }, + { + "id": "228f6fb7fd224f8c", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "temperature setpoint", + "rules": [ + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "msg.room&'/air conditioner/temperature setpoint'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "19", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5770, + "y": 5320, + "wires": [ + [ + "14a38319c3774c3c" + ] + ] + }, + { + "id": "f99e109526cd765b", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "mode", + "rules": [ + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "msg.room&'/air conditioner/mode'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "3", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5720, + "y": 5380, + "wires": [ + [ + "83ffbd5ae58044f9" + ] + ] + }, + { + "id": "01139e9e540729b9", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "actif", + "rules": [ + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "msg.room&'/air conditioner/actif'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "payload.isActivated", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5720, + "y": 5440, + "wires": [ + [ + "ef88e495c9982d2a" + ] + ] + }, + { + "id": "ad88dd45cc61f45d", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "is activated", + "property": "payload.isActivated", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 5540, + "y": 5320, + "wires": [ + [ + "228f6fb7fd224f8c", + "f99e109526cd765b", + "01139e9e540729b9" + ], + [ + "01139e9e540729b9" + ] + ] + }, + { + "id": "14a38319c3774c3c", + "type": "delay", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "050 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5990, + "y": 5320, + "wires": [ + [ + "44fdb6071c1270db" + ] + ] + }, + { + "id": "83ffbd5ae58044f9", + "type": "delay", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5990, + "y": 5380, + "wires": [ + [ + "44fdb6071c1270db" + ] + ] + }, + { + "id": "ef88e495c9982d2a", + "type": "delay", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5990, + "y": 5440, + "wires": [ + [ + "44fdb6071c1270db" + ] + ] + }, + { + "id": "44fdb6071c1270db", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "salon - alexa - clim", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6125, + "y": 5320, + "wires": [] + }, + { + "id": "56a1c63c9ffef1ed", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "c2eb376301fe5e53", + "name": "", + "links": [ + "547932ecb837ae12" + ], + "linkType": "static", + "timeout": "30", + "x": 5340, + "y": 5320, + "wires": [ + [ + "ad88dd45cc61f45d" + ] + ] + }, + { + "id": "d6eda1fca813b292", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "fb464453730ccb7f", + "name": "room - toilettes", + "links": [], + "x": 135, + "y": 2260, + "wires": [ + [ + "7765d7c8c2171704" + ] + ] + }, + { + "id": "7765d7c8c2171704", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "fb464453730ccb7f", + "name": "room", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "toilettes", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 2260, + "wires": [ + [ + "64155cb10ad9f607" + ] + ] + }, + { + "id": "64155cb10ad9f607", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "fb464453730ccb7f", + "name": "room", + "mode": "return", + "links": [], + "x": 395, + "y": 2260, + "wires": [] + }, + { + "id": "48fb85cf9fc816df", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "toilettes - alexa - light", + "mode": "link", + "links": [ + "df6a69e3a774eebc" + ], + "x": 6665, + "y": 3940, + "wires": [] + }, + { + "id": "a54a3aabac3983d2", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "toilettes - alexa - light", + "links": [ + "abd3bb3b24dd961a" + ], + "x": 5145, + "y": 3940, + "wires": [ + [ + "5e8ab4c79b05a2bd" + ] + ] + }, + { + "id": "58f3ce75b71246f5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "ceiling", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 3940, + "wires": [ + [ + "a191a48eeb80647b" + ] + ] + }, + { + "id": "80b27695fbae59d5", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 3940, + "wires": [ + [ + "58f3ce75b71246f5" + ] + ] + }, + { + "id": "957b48265862f076", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "lumière des toilettes", + "topic": "toilettes/cible/ceiling", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "SWITCH", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6170, + "y": 3940, + "wires": [ + [ + "4c73eaf96768680c" + ] + ] + }, + { + "id": "a191a48eeb80647b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "", + "links": [ + "75754d6ac1aaec7b" + ], + "linkType": "static", + "timeout": "30", + "x": 5890, + "y": 3940, + "wires": [ + [ + "957b48265862f076" + ] + ] + }, + { + "id": "4c73eaf96768680c", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "", + "links": [ + "71c9fb8b232fe499" + ], + "linkType": "static", + "timeout": "30", + "x": 6460, + "y": 3940, + "wires": [ + [ + "48fb85cf9fc816df" + ] + ] + }, + { + "id": "5e8ab4c79b05a2bd", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "61e21fea0f35b657", + "name": "", + "links": [ + "d6eda1fca813b292" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 3940, + "wires": [ + [ + "80b27695fbae59d5" + ] + ] + }, + { + "id": "bf5283284d6841db", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "toilettes - alexa - motion", + "links": [ + "8f6b9cabcee961b9" + ], + "x": 5145, + "y": 4060, + "wires": [ + [ + "964e0963ed2b28d2" + ] + ] + }, + { + "id": "3f67eea63eaebbbb", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "", + "links": [ + "4f63773f3c770aa4" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 4060, + "wires": [ + [ + "bffbafc983d76a7a" + ] + ] + }, + { + "id": "21f1942b8adfc779", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5660, + "y": 4060, + "wires": [ + [ + "3f67eea63eaebbbb" + ] + ] + }, + { + "id": "66df46ed2b905f63", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 4060, + "wires": [ + [ + "21f1942b8adfc779" + ] + ] + }, + { + "id": "bffbafc983d76a7a", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "mouvement des toilettes", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "MOTION_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6140, + "y": 4060, + "wires": [ + [] + ] + }, + { + "id": "964e0963ed2b28d2", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "37136f65e1f50cc9", + "name": "", + "links": [ + "d6eda1fca813b292" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 4060, + "wires": [ + [ + "66df46ed2b905f63" + ] + ] + }, + { + "id": "946ab6f15c353f7c", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "toilettes - alexa - aperture door", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 4300, + "wires": [ + [ + "f23d5319b5a4eb8b" + ] + ] + }, + { + "id": "0a2c323ab16c9ba6", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 4300, + "wires": [ + [ + "7ef4f958fd99d744" + ] + ] + }, + { + "id": "7ef4f958fd99d744", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "door", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 4300, + "wires": [ + [ + "522c4cc59f174867" + ] + ] + }, + { + "id": "bd6f934f3ae87f2d", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "porte des toilettes", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6120, + "y": 4300, + "wires": [ + [] + ] + }, + { + "id": "522c4cc59f174867", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 4300, + "wires": [ + [ + "bd6f934f3ae87f2d" + ] + ] + }, + { + "id": "f23d5319b5a4eb8b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "02860064ff27f25f", + "name": "", + "links": [ + "d6eda1fca813b292" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 4300, + "wires": [ + [ + "0a2c323ab16c9ba6" + ] + ] + }, + { + "id": "ab4ea3a7f94bbae5", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "toilettes - alexa - aperture window", + "links": [ + "c961c347fd2d14b5" + ], + "x": 5145, + "y": 4420, + "wires": [ + [ + "e6edc72d1c9961e7" + ] + ] + }, + { + "id": "e2aaad9021c8ec04", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 4420, + "wires": [ + [ + "9eece0ba7e2b5866" + ] + ] + }, + { + "id": "9eece0ba7e2b5866", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "window", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5660, + "y": 4420, + "wires": [ + [ + "9bdd2b22b7cc671b" + ] + ] + }, + { + "id": "3da179ca7c5c4b92", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "fenêtre des toilettes", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "CONTACT_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6120, + "y": 4420, + "wires": [ + [] + ] + }, + { + "id": "9bdd2b22b7cc671b", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "", + "links": [ + "73c07a0bc5e5429b" + ], + "linkType": "static", + "timeout": "30", + "x": 5870, + "y": 4420, + "wires": [ + [ + "3da179ca7c5c4b92" + ] + ] + }, + { + "id": "e6edc72d1c9961e7", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "f987f63e4046653b", + "name": "", + "links": [ + "d6eda1fca813b292" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 4420, + "wires": [ + [ + "e2aaad9021c8ec04" + ] + ] + }, + { + "id": "fda87b491f013484", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "toilettes - alexa - temperature", + "links": [ + "a66c6d1f8e271921" + ], + "x": 5145, + "y": 4180, + "wires": [ + [ + "e1eb9c95069bf648" + ] + ] + }, + { + "id": "f4e15d0614494621", + "type": "switch", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "room", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5500, + "y": 4180, + "wires": [ + [ + "5b177ccee8820469" + ] + ] + }, + { + "id": "cfdebd278d97e165", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "", + "links": [ + "50c950cddc1506ed" + ], + "linkType": "static", + "timeout": "30", + "x": 5890, + "y": 4180, + "wires": [ + [ + "96985f64f73726bc" + ] + ] + }, + { + "id": "5b177ccee8820469", + "type": "change", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "scene", + "rules": [ + { + "t": "set", + "p": "scene.bucket", + "pt": "msg", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5660, + "y": 4180, + "wires": [ + [ + "cfdebd278d97e165" + ] + ] + }, + { + "id": "96985f64f73726bc", + "type": "vsh-virtual-device", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "température des toilettes", + "topic": "", + "metadata": "{}", + "connection": "b156e6eff1bfadd1", + "template": "TEMPERATURE_SENSOR", + "retrievable": true, + "passthrough": false, + "diff": false, + "filter": false, + "filterTopic": false, + "plan": "free", + "x": 6180, + "y": 4180, + "wires": [ + [] + ] + }, + { + "id": "e1eb9c95069bf648", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "60d916216398ec01", + "name": "", + "links": [ + "d6eda1fca813b292" + ], + "linkType": "static", + "timeout": "30", + "x": 5310, + "y": 4180, + "wires": [ + [ + "f4e15d0614494621" + ] + ] + }, + { + "id": "62b57faadf2550ef", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "bureau / command / remote 2 : scene lighting / bureau / light / ceiling", + "info": "", + "x": 7470, + "y": 260, + "wires": [] + }, + { + "id": "ddeae25c8bef7c47", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "bureau / command / remote 3 : scene lighting / cave / light / door", + "info": "", + "x": 7460, + "y": 300, + "wires": [] + }, + { + "id": "8662fd24f04f483b", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "bureau / command / remote 4 : scene shading / jeux / aperture / shutter", + "info": "", + "x": 7480, + "y": 340, + "wires": [] + }, + { + "id": "192e8f224ae18f09", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "cuisine / command / remote 1 : scene lighting / parking / light / spots", + "info": "", + "x": 7470, + "y": 380, + "wires": [] + }, + { + "id": "e7a2800f3ce83a11", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "cuisine / command / remote 2 : scene lighting / jardin / light / spots", + "info": "", + "x": 7460, + "y": 420, + "wires": [] + }, + { + "id": "7aa57835f17b84c0", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "cuisine / command / remote 3 : scene lighting / jardin / light / lamp", + "info": "", + "x": 7460, + "y": 460, + "wires": [] + }, + { + "id": "fe5a163a6b387bd1", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "cuisine / command / remote 4 : scene shading / salon / aperture / shutter", + "info": "", + "x": 7480, + "y": 500, + "wires": [] + }, + { + "id": "56cfd0c4850a5eec", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "evan / command / remote : scene lighting evan / light / door", + "info": "", + "x": 7440, + "y": 540, + "wires": [] + }, + { + "id": "9e04baa884da0324", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "lenny / command / remote : scene lighting / lenny / light / door", + "info": "", + "x": 7450, + "y": 580, + "wires": [] + }, + { + "id": "304c4a4a8af6dd27", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "oriane / command / remote : scene lighting ceiling / oriane / light / ceiling", + "info": "", + "x": 7480, + "y": 620, + "wires": [] + }, + { + "id": "90395a4af2f2cd31", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / righ remote 1 : scene lighting / parents / light / ceiling", + "info": "", + "x": 7490, + "y": 660, + "wires": [] + }, + { + "id": "8991d1dbf96fba5f", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / right remote 2 : scene lighting / parents / light / right bedside", + "info": "", + "x": 7510, + "y": 700, + "wires": [] + }, + { + "id": "6c263afeb989803a", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / right remote 3 : scene lighting / parents / light / left bedside", + "info": "", + "x": 7510, + "y": 740, + "wires": [] + }, + { + "id": "74a8eb160f0453c1", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / right remote 4 : nothing", + "info": "", + "x": 7400, + "y": 780, + "wires": [] + }, + { + "id": "5eecd48ff130b3f6", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / left remote 4 : nothing", + "info": "", + "x": 7390, + "y": 940, + "wires": [] + }, + { + "id": "d98b05158545ccd0", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / left remote 1 : scene lighting / parents / light / ceiling", + "info": "", + "x": 7490, + "y": 820, + "wires": [] + }, + { + "id": "bba90de32296b2b6", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / left remote 2 : scene lighting / parents / light / right bedside", + "info": "", + "x": 7510, + "y": 860, + "wires": [] + }, + { + "id": "1cdeda1f832ad6ae", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / left remote 3 : scene lighting / parents / light / left bedside", + "info": "", + "x": 7500, + "y": 900, + "wires": [] + }, + { + "id": "1203dd4a94f48276", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 1 single : right bedside toggle", + "info": "", + "x": 7440, + "y": 980, + "wires": [] + }, + { + "id": "e2ecba6aed6b6aeb", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 2 single : left bedside toggle", + "info": "", + "x": 7440, + "y": 1060, + "wires": [] + }, + { + "id": "715af9136699d378", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 1 double : ceiling toggle", + "info": "", + "x": 7420, + "y": 1020, + "wires": [] + }, + { + "id": "757c3d9ab9d0959d", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 2 double : ceiling toggle", + "info": "", + "x": 7420, + "y": 1100, + "wires": [] + }, + { + "id": "57931bd357455424", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 3 single : leds toggle", + "info": "", + "x": 7410, + "y": 1140, + "wires": [] + }, + { + "id": "e09ed41400ba1f5b", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 3 double : leds color", + "info": "", + "x": 7410, + "y": 1180, + "wires": [] + }, + { + "id": "17eda99bebc9ddc6", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 4 double : leds brightness -", + "info": "", + "x": 7430, + "y": 1260, + "wires": [] + }, + { + "id": "a34eb58b749615b6", + "type": "comment", + "z": "7b8b61c2b3de438c", + "name": "parents / command / remote 4 single : leds brightness +", + "info": "", + "x": 7430, + "y": 1220, + "wires": [] + }, + { + "id": "08241b095164717f", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "28f6e572f0c46f4f", + "outtopic": "day", + "outpayload1": "1", + "outpayload2": "0", + "name": "work day", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": false, + "mon": true, + "tue": true, + "wed": true, + "thu": true, + "fri": true, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 280, + "wires": [ + [ + "a8c9f90575fc417d" + ], + [], + [] + ] + }, + { + "id": "2ecf7207d27bb785", + "type": "link out", + "z": "7b8b61c2b3de438c", + "g": "28f6e572f0c46f4f", + "name": "ambre - source - clock", + "mode": "link", + "links": [ + "85890de261cf2a1f" + ], + "x": 1595, + "y": 220, + "wires": [] + }, + { + "id": "42c36b63863ecb77", + "type": "link in", + "z": "7b8b61c2b3de438c", + "g": "28f6e572f0c46f4f", + "name": "ambre - source - clock", + "links": [ + "28812ef076d967f4" + ], + "x": 1095, + "y": 220, + "wires": [ + [ + "08241b095164717f", + "a8c9f90575fc417d", + "00d464429222b699" + ] + ] + }, + { + "id": "00d464429222b699", + "type": "bigtimer", + "z": "7b8b61c2b3de438c", + "g": "28f6e572f0c46f4f", + "outtopic": "eve", + "outpayload1": "1", + "outpayload2": "0", + "name": "work eve", + "comment": "", + "lat": "45.9388", + "lon": "5.3808", + "starttime": "0", + "endtime": "1439", + "starttime2": "0", + "endtime2": "0", + "startoff": "0", + "endoff": "0", + "startoff2": 0, + "endoff2": 0, + "offs": "0", + "outtext1": "", + "outtext2": "", + "timeout": "1440", + "sun": true, + "mon": true, + "tue": false, + "wed": true, + "thu": true, + "fri": false, + "sat": false, + "jan": true, + "feb": true, + "mar": true, + "apr": true, + "may": true, + "jun": true, + "jul": false, + "aug": false, + "sep": true, + "oct": true, + "nov": true, + "dec": true, + "day1": 0, + "month1": 0, + "day2": 0, + "month2": 0, + "day3": 0, + "month3": 0, + "day4": 0, + "month4": 0, + "day5": 0, + "month5": 0, + "day6": 0, + "month6": 0, + "day7": 0, + "month7": 0, + "day8": 0, + "month8": 0, + "day9": 0, + "month9": 0, + "day10": 0, + "month10": 0, + "day11": 0, + "month11": 0, + "day12": 0, + "month12": 0, + "d1": 0, + "w1": 0, + "d2": 0, + "w2": 0, + "d3": 0, + "w3": 0, + "d4": 0, + "w4": 0, + "d5": 0, + "w5": 0, + "d6": 0, + "w6": 0, + "xday1": 0, + "xmonth1": 0, + "xday2": 0, + "xmonth2": 0, + "xday3": 0, + "xmonth3": 0, + "xday4": 0, + "xmonth4": 0, + "xday5": 0, + "xmonth5": 0, + "xday6": 0, + "xmonth6": 0, + "xday7": 0, + "xmonth7": 0, + "xday8": 0, + "xmonth8": 0, + "xday9": 0, + "xmonth9": 0, + "xday10": 0, + "xmonth10": 0, + "xday11": 0, + "xmonth11": 0, + "xday12": 0, + "xmonth12": 0, + "xd1": 0, + "xw1": 0, + "xd2": 0, + "xw2": 0, + "xd3": 0, + "xw3": 0, + "xd4": 0, + "xw4": 0, + "xd5": 0, + "xw5": 0, + "xd6": 0, + "xw6": 0, + "suspend": false, + "random": false, + "randon1": false, + "randoff1": false, + "randon2": false, + "randoff2": false, + "repeat": false, + "atstart": true, + "odd": false, + "even": false, + "x": 1240, + "y": 340, + "wires": [ + [ + "a8c9f90575fc417d" + ], + [], + [] + ] + }, + { + "id": "a8c9f90575fc417d", + "type": "link call", + "z": "7b8b61c2b3de438c", + "g": "28f6e572f0c46f4f", + "name": "", + "links": [ + "1bebf669a16f0cf4" + ], + "linkType": "static", + "timeout": "30", + "x": 1440, + "y": 220, + "wires": [ + [ + "2ecf7207d27bb785" + ] + ] + } +] \ No newline at end of file diff --git a/flows/R.Salon.json b/flows/R.Salon.json deleted file mode 100644 index 08cab70..0000000 --- a/flows/R.Salon.json +++ /dev/null @@ -1,3304 +0,0 @@ -[ - { - "id": "e067074d6510b7f8", - "type": "tab", - "label": "R.Salon", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "cae3ed70c3a19a30", - "type": "group", - "z": "e067074d6510b7f8", - "name": "salon - bucket", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ffC000" - }, - "nodes": [ - "0a87d6e296fbe795", - "f77161cc0db67bcc", - "36ce7ba8c84903c3" - ], - "x": 94, - "y": 19, - "w": 342, - "h": 82 - }, - { - "id": "5db3e6f241fe1fac", - "type": "group", - "z": "e067074d6510b7f8", - "name": "salon - ui select room", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true, - "stroke": "#6f2fa0" - }, - "nodes": [ - "019a3a8edd5faf37", - "0588224c71e286ea", - "d697151e2ef67c05", - "a9b99ed7c9b72669" - ], - "x": 1054, - "y": 19, - "w": 562, - "h": 82 - }, - { - "id": "6d6f0afcba784d9e", - "type": "group", - "z": "e067074d6510b7f8", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "141e7635970308b4", - "a48e05336cc1cc06" - ], - "x": 68, - "y": 233, - "w": 1314, - "h": 314 - }, - { - "id": "2bf0c433eb19ed82", - "type": "group", - "z": "e067074d6510b7f8", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "af4483b5eb251119", - "9133af06976af37d" - ], - "x": 68, - "y": 593, - "w": 1534, - "h": 254 - }, - { - "id": "579677136736aa01", - "type": "group", - "z": "e067074d6510b7f8", - "name": "salon - alexa", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "d8bfcc7fbad989a9", - "f36d13db48680f24", - "b57e31429d877e40", - "14a357cf31812953", - "fd183971af58106f", - "13f77e42b44837fc" - ], - "x": 68, - "y": 1833, - "w": 1394, - "h": 734 - }, - { - "id": "555137194aeca274", - "type": "group", - "z": "e067074d6510b7f8", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "ca6e5594c10b00d0" - ], - "x": 68, - "y": 1185.5, - "w": 1174, - "h": 209 - }, - { - "id": "cb3c4ecc11e622c8", - "type": "group", - "z": "e067074d6510b7f8", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "aa047eea162db86e", - "d2d3d56d19f17173" - ], - "x": 68, - "y": 893, - "w": 1534, - "h": 261.5 - }, - { - "id": "d7fe6b32f7d450de", - "type": "group", - "z": "e067074d6510b7f8", - "name": "catch error", - "style": { - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ff0000" - }, - "nodes": [ - "8d7b277f0f787f97", - "79f750d31979bd28", - "af6e09cdd2199095" - ], - "x": 534, - "y": 19, - "w": 422, - "h": 82 - }, - { - "id": "141e7635970308b4", - "type": "group", - "z": "e067074d6510b7f8", - "g": "6d6f0afcba784d9e", - "name": "salon - scene - lighting ceiling", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "03f7e26d1b1288fc", - "78d84c1894326c39", - "20505ee695e362db", - "31d14fe33ea1b7b2" - ], - "x": 694, - "y": 319, - "w": 662, - "h": 82 - }, - { - "id": "a48e05336cc1cc06", - "type": "group", - "z": "e067074d6510b7f8", - "g": "6d6f0afcba784d9e", - "name": "salon - device - lighting", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "bd5525663470a457", - "d28f44d60a337af9", - "881ee38178f240b8", - "aec95b13f785534f", - "c47619a61a7f717c", - "9e57918218d94872" - ], - "x": 94, - "y": 259, - "w": 502, - "h": 262 - }, - { - "id": "af4483b5eb251119", - "type": "group", - "z": "e067074d6510b7f8", - "g": "2bf0c433eb19ed82", - "name": "salon - device - shading", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "45ba97e1d323ea90", - "578976906b639a1f", - "92528dc3bdf6bca3", - "c43c58ceb78e8396", - "c64c9b003dc202fb" - ], - "x": 94, - "y": 619, - "w": 522, - "h": 202 - }, - { - "id": "9133af06976af37d", - "type": "group", - "z": "e067074d6510b7f8", - "g": "2bf0c433eb19ed82", - "name": "salon - scene - shading shutter", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "c3ece85a0f147597", - "88b4e25b46ebf594", - "bc11e38a9ca782cd", - "dba923df2e5ed1bf", - "7ba75393f3b506b5", - "f2a1727027fecf49", - "e128ce4fb84c14c9" - ], - "x": 714, - "y": 619, - "w": 862, - "h": 202 - }, - { - "id": "d8bfcc7fbad989a9", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - light", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "bc0564795bc5055b", - "a4a6ad066aafffab", - "2cf1c8b51221bbd5", - "175b8e4604b208a0", - "1b7fe8d3f6312441", - "6b9224991ba9932d", - "e553aecf4940374f" - ], - "x": 94, - "y": 1859, - "w": 1342, - "h": 82 - }, - { - "id": "f36d13db48680f24", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - aperture - left bay", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "b22ad51c1e17a489", - "491cb8fe9bda19d7", - "d3cdfbcb73f0b397", - "32612f428f89f04b", - "2ebfdbe6c2797383" - ], - "x": 94, - "y": 2099, - "w": 932, - "h": 82 - }, - { - "id": "b57e31429d877e40", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - aperture - right bay", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "54dacc2fd5d0195e", - "e1f0f157800a0cf4", - "237bf8ce3c8e7ef6", - "80423adf085377db", - "fef5a211b5cca153" - ], - "x": 94, - "y": 2219, - "w": 912, - "h": 82 - }, - { - "id": "14a357cf31812953", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - shutter", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "9cab12b971634428", - "c988ea54961f1403", - "4cd46b3578c8bae0", - "d8e97b2e6b69c796", - "44cdd18cc189cc13", - "77f75b7329f5305f", - "1af788b4074a5858" - ], - "x": 94, - "y": 2459, - "w": 1242, - "h": 82 - }, - { - "id": "fd183971af58106f", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - aperture - window", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "c81a8c2eb50047e0", - "ec9549e3f799c682", - "f6b933588a05f15e", - "d99cc436ba4ac06c", - "94d6e6b681750c4c" - ], - "x": 94, - "y": 2339, - "w": 892, - "h": 82 - }, - { - "id": "13f77e42b44837fc", - "type": "group", - "z": "e067074d6510b7f8", - "g": "579677136736aa01", - "name": "salon - alexa - temperature", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "5782587779b166d8", - "cd91dcb74480e2bb", - "05f6965eeca20da3", - "60d2ce80fb0685cb", - "2736c226d2a4e8a9" - ], - "x": 94, - "y": 1979, - "w": 952, - "h": 82 - }, - { - "id": "ca6e5594c10b00d0", - "type": "group", - "z": "e067074d6510b7f8", - "g": "555137194aeca274", - "name": "salon - scene - thermostat operating mode", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "628c2e8014a8c40c", - "a05d5930c2e71184", - "553643b4e18545ba", - "0d601d3e95908328", - "f8f9a6db99bb33e8", - "9b60d0fdfcda5257", - "f4ca06eee7fc7376", - "ad5d6657510d4e95", - "2c774c7cde335304", - "7f6d6bbaadea9039" - ], - "x": 94, - "y": 1211.5, - "w": 1122, - "h": 157 - }, - { - "id": "aa047eea162db86e", - "type": "group", - "z": "e067074d6510b7f8", - "g": "cb3c4ecc11e622c8", - "name": "salon - source - clock", - "style": { - "fill": "#0070c0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "b0ec9dc39c0e4a04", - "6ccad4521acbf705", - "bbae4d26e41478ea", - "f1ddd31035db0cc4", - "31f89f6c208761ec", - "83cf796714185454", - "b2fc7377968a4425", - "3a7e10be0513fe02", - "ec16e55b9c303ae7" - ], - "x": 714, - "y": 919, - "w": 862, - "h": 209.5 - }, - { - "id": "d2d3d56d19f17173", - "type": "group", - "z": "e067074d6510b7f8", - "g": "cb3c4ecc11e622c8", - "name": "salon - device - clock", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "84add143f23bfe25", - "ad43a0610ba77d34", - "41856b3f50fd450b", - "0a20a19873de330c" - ], - "x": 94, - "y": 919, - "w": 522, - "h": 142 - }, - { - "id": "0a87d6e296fbe795", - "type": "change", - "z": "e067074d6510b7f8", - "g": "cae3ed70c3a19a30", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "salon", - "tot": "str" - }, - { - "t": "set", - "p": "bucket", - "pt": "flow", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 270, - "y": 60, - "wires": [ - [ - "36ce7ba8c84903c3" - ] - ] - }, - { - "id": "f77161cc0db67bcc", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "cae3ed70c3a19a30", - "name": "salon - bucket", - "links": [ - "25445f5a9b787a0a" - ], - "x": 135, - "y": 60, - "wires": [ - [ - "0a87d6e296fbe795" - ] - ] - }, - { - "id": "36ce7ba8c84903c3", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "cae3ed70c3a19a30", - "name": "salon - bucket", - "mode": "link", - "links": [ - "2e7bb0e6e6079d56", - "41856b3f50fd450b", - "628c2e8014a8c40c", - "6d0ef0315dcfeea5", - "7cf763afc0515f46", - "881ee38178f240b8", - "8f6648f63012f412", - "92528dc3bdf6bca3", - "668589ced855b77f" - ], - "x": 395, - "y": 60, - "wires": [] - }, - { - "id": "019a3a8edd5faf37", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "5db3e6f241fe1fac", - "name": "salon - ui select room", - "mode": "link", - "links": [ - "1be6ca3c2b8615a2" - ], - "x": 1575, - "y": 60, - "wires": [] - }, - { - "id": "0588224c71e286ea", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "5db3e6f241fe1fac", - "name": "salon - ui select room", - "links": [ - "74172837e07ab80d" - ], - "x": 1095, - "y": 60, - "wires": [ - [ - "d697151e2ef67c05" - ] - ] - }, - { - "id": "d697151e2ef67c05", - "type": "change", - "z": "e067074d6510b7f8", - "g": "5db3e6f241fe1fac", - "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": [ - [ - "a9b99ed7c9b72669" - ] - ] - }, - { - "id": "a9b99ed7c9b72669", - "type": "ui-button", - "z": "e067074d6510b7f8", - "g": "5db3e6f241fe1fac", - "group": "36396f5285df476c", - "name": "", - "label": "Salon", - "order": 20, - "width": "2", - "height": "1", - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "", - "iconPosition": "left", - "payload": "bucket", - "payloadType": "flow", - "topic": "topic", - "topicType": "msg", - "x": 1450, - "y": 60, - "wires": [ - [ - "019a3a8edd5faf37" - ] - ] - }, - { - "id": "03f7e26d1b1288fc", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "141e7635970308b4", - "name": "salon - scene - lighting ceiling", - "links": [ - "031a6afd8300356a" - ], - "x": 735, - "y": 360, - "wires": [ - [ - "20505ee695e362db" - ] - ] - }, - { - "id": "78d84c1894326c39", - "type": "change", - "z": "e067074d6510b7f8", - "g": "141e7635970308b4", - "name": "scene lighting / ceiling / dimmer", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "light", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "ceiling", - "tot": "str" - }, - { - "t": "set", - "p": "scene.format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "scene.type", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "scene.on", - "pt": "msg", - "to": "4", - "tot": "num" - }, - { - "t": "set", - "p": "scene.off", - "pt": "msg", - "to": "0", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1110, - "y": 360, - "wires": [ - [ - "31d14fe33ea1b7b2" - ] - ] - }, - { - "id": "20505ee695e362db", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "141e7635970308b4", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "salon/light/ceiling", - "vt": "str" - }, - { - "t": "eq", - "v": "system/mode/lighting", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 870, - "y": 360, - "wires": [ - [ - "78d84c1894326c39" - ], - [ - "78d84c1894326c39" - ] - ] - }, - { - "id": "31d14fe33ea1b7b2", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "141e7635970308b4", - "name": "salon - scene - eclairage plafonnier", - "mode": "link", - "links": [ - "abdf34b12a5dd88d" - ], - "x": 1315, - "y": 360, - "wires": [] - }, - { - "id": "bd5525663470a457", - "type": "change", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "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": [ - [ - "d28f44d60a337af9" - ] - ] - }, - { - "id": "d28f44d60a337af9", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "name": "salon - device - lighting", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 555, - "y": 300, - "wires": [] - }, - { - "id": "881ee38178f240b8", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "name": "salon - device - lighting", - "links": [ - "36ce7ba8c84903c3" - ], - "x": 135, - "y": 300, - "wires": [ - [ - "bd5525663470a457", - "aec95b13f785534f", - "c47619a61a7f717c", - "9e57918218d94872" - ] - ] - }, - { - "id": "aec95b13f785534f", - "type": "change", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "name": "lighting / high / dimmer / 40", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "high", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "40", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 340, - "y": 360, - "wires": [ - [ - "d28f44d60a337af9" - ] - ] - }, - { - "id": "c47619a61a7f717c", - "type": "change", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "name": "lighting / low / dimmer / 10", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "low", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "10", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 330, - "y": 420, - "wires": [ - [ - "d28f44d60a337af9" - ] - ] - }, - { - "id": "9e57918218d94872", - "type": "change", - "z": "e067074d6510b7f8", - "g": "a48e05336cc1cc06", - "name": "lighting / timer / number / 60", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "timer", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "60", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 340, - "y": 480, - "wires": [ - [ - "d28f44d60a337af9" - ] - ] - }, - { - "id": "45ba97e1d323ea90", - "type": "change", - "z": "e067074d6510b7f8", - "g": "af4483b5eb251119", - "name": "shading / actif / boolean / true", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "shading", - "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": 350, - "y": 660, - "wires": [ - [ - "578976906b639a1f" - ] - ] - }, - { - "id": "578976906b639a1f", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "af4483b5eb251119", - "name": "salon - device - shading", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 575, - "y": 660, - "wires": [] - }, - { - "id": "92528dc3bdf6bca3", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "af4483b5eb251119", - "name": "salon - device - shading", - "links": [ - "36ce7ba8c84903c3" - ], - "x": 135, - "y": 660, - "wires": [ - [ - "45ba97e1d323ea90", - "c43c58ceb78e8396", - "c64c9b003dc202fb" - ] - ] - }, - { - "id": "c43c58ceb78e8396", - "type": "change", - "z": "e067074d6510b7f8", - "g": "af4483b5eb251119", - "name": "shading / openwork / dimmer / 14", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "shading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "openwork", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "14", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 360, - "y": 720, - "wires": [ - [ - "578976906b639a1f" - ] - ] - }, - { - "id": "c64c9b003dc202fb", - "type": "change", - "z": "e067074d6510b7f8", - "g": "af4483b5eb251119", - "name": "shading / daily / boolean / false", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "shading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "daily", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 350, - "y": 780, - "wires": [ - [ - "578976906b639a1f" - ] - ] - }, - { - "id": "c3ece85a0f147597", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "system/mode/nycthemer", - "vt": "str" - }, - { - "t": "eq", - "v": "salon/aperture/shutter", - "vt": "str" - }, - { - "t": "eq", - "v": "salon/aperture/right bay", - "vt": "str" - }, - { - "t": "eq", - "v": "salon/aperture/left bay", - "vt": "str" - }, - { - "t": "eq", - "v": "cuisine/command/remote", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 890, - "y": 720, - "wires": [ - [ - "7ba75393f3b506b5" - ], - [ - "dba923df2e5ed1bf" - ], - [ - "dba923df2e5ed1bf" - ], - [ - "dba923df2e5ed1bf" - ], - [ - "f2a1727027fecf49" - ] - ] - }, - { - "id": "88b4e25b46ebf594", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "salon - scene - shading shutter", - "links": [ - "031a6afd8300356a" - ], - "x": 755, - "y": 720, - "wires": [ - [ - "c3ece85a0f147597" - ] - ] - }, - { - "id": "bc11e38a9ca782cd", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "salon - scene - shading shutter", - "mode": "link", - "links": [ - "1850a1a4ce01b83a" - ], - "x": 1535, - "y": 720, - "wires": [] - }, - { - "id": "dba923df2e5ed1bf", - "type": "change", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1410, - "y": 720, - "wires": [ - [ - "bc11e38a9ca782cd" - ] - ] - }, - { - "id": "7ba75393f3b506b5", - "type": "delay", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "45 s (bug vs jeux)", - "pauseType": "delay", - "timeout": "45", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 1090, - "y": 660, - "wires": [ - [ - "dba923df2e5ed1bf" - ] - ] - }, - { - "id": "f2a1727027fecf49", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "remote", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "btwn", - "v": "40", - "vt": "num", - "v2": "41", - "v2t": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1060, - "y": 780, - "wires": [ - [ - "e128ce4fb84c14c9" - ] - ] - }, - { - "id": "e128ce4fb84c14c9", - "type": "change", - "z": "e067074d6510b7f8", - "g": "9133af06976af37d", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload=41", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1240, - "y": 780, - "wires": [ - [ - "dba923df2e5ed1bf" - ] - ] - }, - { - "id": "bc0564795bc5055b", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "salon - alexa - light", - "mode": "link", - "links": [ - "df6a69e3a774eebc" - ], - "x": 1395, - "y": 1900, - "wires": [] - }, - { - "id": "a4a6ad066aafffab", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "salon - alexa - light", - "links": [ - "abd3bb3b24dd961a" - ], - "x": 135, - "y": 1900, - "wires": [ - [ - "2cf1c8b51221bbd5" - ] - ] - }, - { - "id": "2cf1c8b51221bbd5", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 1900, - "wires": [ - [ - "175b8e4604b208a0" - ] - ] - }, - { - "id": "175b8e4604b208a0", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "ceiling", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 1900, - "wires": [ - [ - "6b9224991ba9932d" - ] - ] - }, - { - "id": "1b7fe8d3f6312441", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "lumière du salon", - "topic": "salon/cible/ceiling", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "SWITCH", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 920, - "y": 1900, - "wires": [ - [ - "e553aecf4940374f" - ] - ] - }, - { - "id": "6b9224991ba9932d", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "", - "links": [ - "75754d6ac1aaec7b" - ], - "linkType": "static", - "timeout": "30", - "x": 660, - "y": 1900, - "wires": [ - [ - "1b7fe8d3f6312441" - ] - ] - }, - { - "id": "e553aecf4940374f", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "d8bfcc7fbad989a9", - "name": "", - "links": [ - "71c9fb8b232fe499" - ], - "linkType": "static", - "timeout": "30", - "x": 1190, - "y": 1900, - "wires": [ - [ - "bc0564795bc5055b" - ] - ] - }, - { - "id": "b22ad51c1e17a489", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "f36d13db48680f24", - "name": "salon - alexa - aperture - left bay", - "links": [ - "c961c347fd2d14b5" - ], - "x": 135, - "y": 2140, - "wires": [ - [ - "491cb8fe9bda19d7" - ] - ] - }, - { - "id": "491cb8fe9bda19d7", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "f36d13db48680f24", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2140, - "wires": [ - [ - "d3cdfbcb73f0b397" - ] - ] - }, - { - "id": "d3cdfbcb73f0b397", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "f36d13db48680f24", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "left bay", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 2140, - "wires": [ - [ - "2ebfdbe6c2797383" - ] - ] - }, - { - "id": "32612f428f89f04b", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "f36d13db48680f24", - "name": "baie gauche du salon", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "CONTACT_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 900, - "y": 2140, - "wires": [ - [] - ] - }, - { - "id": "2ebfdbe6c2797383", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "f36d13db48680f24", - "name": "", - "links": [ - "73c07a0bc5e5429b" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 2140, - "wires": [ - [ - "32612f428f89f04b" - ] - ] - }, - { - "id": "54dacc2fd5d0195e", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "b57e31429d877e40", - "name": "salon - alexa - aperture - right bay", - "links": [ - "c961c347fd2d14b5" - ], - "x": 135, - "y": 2260, - "wires": [ - [ - "e1f0f157800a0cf4" - ] - ] - }, - { - "id": "e1f0f157800a0cf4", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "b57e31429d877e40", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2260, - "wires": [ - [ - "237bf8ce3c8e7ef6" - ] - ] - }, - { - "id": "237bf8ce3c8e7ef6", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "b57e31429d877e40", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "right bay", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 2260, - "wires": [ - [ - "fef5a211b5cca153" - ] - ] - }, - { - "id": "80423adf085377db", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "b57e31429d877e40", - "name": "baie droite du salon", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "CONTACT_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 890, - "y": 2260, - "wires": [ - [] - ] - }, - { - "id": "fef5a211b5cca153", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "b57e31429d877e40", - "name": "", - "links": [ - "73c07a0bc5e5429b" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 2260, - "wires": [ - [ - "80423adf085377db" - ] - ] - }, - { - "id": "9cab12b971634428", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "salon - alexa - shutter", - "mode": "link", - "links": [ - "df6a69e3a774eebc" - ], - "x": 1295, - "y": 2500, - "wires": [] - }, - { - "id": "c988ea54961f1403", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "salon - alexa - shutter", - "links": [ - "340d0829b2817429" - ], - "x": 135, - "y": 2500, - "wires": [ - [ - "4cd46b3578c8bae0" - ] - ] - }, - { - "id": "4cd46b3578c8bae0", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2500, - "wires": [ - [ - "d8e97b2e6b69c796" - ] - ] - }, - { - "id": "d8e97b2e6b69c796", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "shutter", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 2500, - "wires": [ - [ - "77f75b7329f5305f" - ] - ] - }, - { - "id": "44cdd18cc189cc13", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "volet du salon", - "topic": "salon/cible/shutter", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "BLINDS", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 880, - "y": 2500, - "wires": [ - [ - "1af788b4074a5858" - ] - ] - }, - { - "id": "77f75b7329f5305f", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "", - "links": [ - "86f02da7eff1e3ba" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 2500, - "wires": [ - [ - "44cdd18cc189cc13" - ] - ] - }, - { - "id": "1af788b4074a5858", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "14a357cf31812953", - "name": "", - "links": [ - "7af8e11321061713" - ], - "linkType": "static", - "timeout": "30", - "x": 1120, - "y": 2500, - "wires": [ - [ - "9cab12b971634428" - ] - ] - }, - { - "id": "c81a8c2eb50047e0", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "fd183971af58106f", - "name": "salon - alexa - aperture - window", - "links": [ - "c961c347fd2d14b5" - ], - "x": 135, - "y": 2380, - "wires": [ - [ - "ec9549e3f799c682" - ] - ] - }, - { - "id": "ec9549e3f799c682", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "fd183971af58106f", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2380, - "wires": [ - [ - "f6b933588a05f15e" - ] - ] - }, - { - "id": "f6b933588a05f15e", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "fd183971af58106f", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "window", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 2380, - "wires": [ - [ - "94d6e6b681750c4c" - ] - ] - }, - { - "id": "d99cc436ba4ac06c", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "fd183971af58106f", - "name": "fenêtre du salon", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "CONTACT_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 880, - "y": 2380, - "wires": [ - [] - ] - }, - { - "id": "94d6e6b681750c4c", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "fd183971af58106f", - "name": "", - "links": [ - "73c07a0bc5e5429b" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 2380, - "wires": [ - [ - "d99cc436ba4ac06c" - ] - ] - }, - { - "id": "5782587779b166d8", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "13f77e42b44837fc", - "name": "salon - alexa - temperature", - "links": [ - "a66c6d1f8e271921" - ], - "x": 135, - "y": 2020, - "wires": [ - [ - "cd91dcb74480e2bb" - ] - ] - }, - { - "id": "cd91dcb74480e2bb", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "13f77e42b44837fc", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 2020, - "wires": [ - [ - "60d2ce80fb0685cb" - ] - ] - }, - { - "id": "05f6965eeca20da3", - "type": "link call", - "z": "e067074d6510b7f8", - "g": "13f77e42b44837fc", - "name": "", - "links": [ - "50c950cddc1506ed" - ], - "linkType": "static", - "timeout": "30", - "x": 650, - "y": 2020, - "wires": [ - [ - "2736c226d2a4e8a9" - ] - ] - }, - { - "id": "60d2ce80fb0685cb", - "type": "change", - "z": "e067074d6510b7f8", - "g": "13f77e42b44837fc", - "name": "scene", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 430, - "y": 2020, - "wires": [ - [ - "05f6965eeca20da3" - ] - ] - }, - { - "id": "2736c226d2a4e8a9", - "type": "vsh-virtual-device", - "z": "e067074d6510b7f8", - "g": "13f77e42b44837fc", - "name": "température du salon", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "TEMPERATURE_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 920, - "y": 2020, - "wires": [ - [] - ] - }, - { - "id": "628c2e8014a8c40c", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "salon - scene - thermostat operating mode", - "links": [ - "36ce7ba8c84903c3" - ], - "x": 135, - "y": 1260, - "wires": [ - [ - "0d601d3e95908328" - ] - ] - }, - { - "id": "a05d5930c2e71184", - "type": "change", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "sync", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "sync", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 430, - "y": 1260, - "wires": [ - [ - "553643b4e18545ba", - "9b60d0fdfcda5257" - ] - ] - }, - { - "id": "553643b4e18545ba", - "type": "bigtimer", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "outtopic": "", - "outpayload1": "", - "outpayload2": "", - "name": "confort schedule (rest)", - "comment": "", - "lat": 0, - "lon": 0, - "starttime": "480", - "endtime": "1380", - "starttime2": "0", - "endtime2": "0", - "startoff": 0, - "endoff": 0, - "startoff2": 0, - "endoff2": 0, - "offs": 0, - "outtext1": "", - "outtext2": "", - "timeout": 1440, - "sun": true, - "mon": true, - "tue": true, - "wed": true, - "thu": true, - "fri": true, - "sat": true, - "jan": true, - "feb": true, - "mar": true, - "apr": true, - "may": true, - "jun": true, - "jul": true, - "aug": true, - "sep": true, - "oct": true, - "nov": true, - "dec": true, - "day1": 0, - "month1": 0, - "day2": 0, - "month2": 0, - "day3": 0, - "month3": 0, - "day4": 0, - "month4": 0, - "day5": 0, - "month5": 0, - "day6": 0, - "month6": 0, - "day7": 0, - "month7": 0, - "day8": 0, - "month8": 0, - "day9": 0, - "month9": 0, - "day10": 0, - "month10": 0, - "day11": 0, - "month11": 0, - "day12": 0, - "month12": 0, - "d1": 0, - "w1": 0, - "d2": 0, - "w2": 0, - "d3": 0, - "w3": 0, - "d4": 0, - "w4": 0, - "d5": 0, - "w5": 0, - "d6": 0, - "w6": 0, - "xday1": 0, - "xmonth1": 0, - "xday2": 0, - "xmonth2": 0, - "xday3": 0, - "xmonth3": 0, - "xday4": 0, - "xmonth4": 0, - "xday5": 0, - "xmonth5": 0, - "xday6": 0, - "xmonth6": 0, - "xday7": 0, - "xmonth7": 0, - "xday8": 0, - "xmonth8": 0, - "xday9": 0, - "xmonth9": 0, - "xday10": 0, - "xmonth10": 0, - "xday11": 0, - "xmonth11": 0, - "xday12": 0, - "xmonth12": 0, - "xd1": 0, - "xw1": 0, - "xd2": 0, - "xw2": 0, - "xd3": 0, - "xw3": 0, - "xd4": 0, - "xw4": 0, - "xd5": 0, - "xw5": 0, - "xd6": 0, - "xw6": 0, - "suspend": false, - "random": false, - "randon1": false, - "randoff1": false, - "randon2": false, - "randoff2": false, - "repeat": true, - "atstart": false, - "odd": false, - "even": false, - "x": 640, - "y": 1320, - "wires": [ - [], - [ - "7f6d6bbaadea9039" - ], - [] - ] - }, - { - "id": "0d601d3e95908328", - "type": "delay", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "5 s", - "pauseType": "delay", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 1260, - "wires": [ - [ - "a05d5930c2e71184" - ] - ] - }, - { - "id": "f8f9a6db99bb33e8", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "salon - scene - thermostat operating mode", - "mode": "link", - "links": [ - "d1c7f4810b12afe2" - ], - "x": 1175, - "y": 1260, - "wires": [] - }, - { - "id": "9b60d0fdfcda5257", - "type": "bigtimer", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "outtopic": "", - "outpayload1": "", - "outpayload2": "", - "name": "confort schedule (work)", - "comment": "", - "lat": 0, - "lon": 0, - "starttime": "1020", - "endtime": "1320", - "starttime2": "0", - "endtime2": "0", - "startoff": 0, - "endoff": 0, - "startoff2": 0, - "endoff2": 0, - "offs": 0, - "outtext1": "", - "outtext2": "", - "timeout": 1440, - "sun": true, - "mon": true, - "tue": true, - "wed": true, - "thu": true, - "fri": true, - "sat": true, - "jan": true, - "feb": true, - "mar": true, - "apr": true, - "may": true, - "jun": true, - "jul": true, - "aug": true, - "sep": true, - "oct": true, - "nov": true, - "dec": true, - "day1": 0, - "month1": 0, - "day2": 0, - "month2": 0, - "day3": 0, - "month3": 0, - "day4": 0, - "month4": 0, - "day5": 0, - "month5": 0, - "day6": 0, - "month6": 0, - "day7": 0, - "month7": 0, - "day8": 0, - "month8": 0, - "day9": 0, - "month9": 0, - "day10": 0, - "month10": 0, - "day11": 0, - "month11": 0, - "day12": 0, - "month12": 0, - "d1": 0, - "w1": 0, - "d2": 0, - "w2": 0, - "d3": 0, - "w3": 0, - "d4": 0, - "w4": 0, - "d5": 0, - "w5": 0, - "d6": 0, - "w6": 0, - "xday1": 0, - "xmonth1": 0, - "xday2": 0, - "xmonth2": 0, - "xday3": 0, - "xmonth3": 0, - "xday4": 0, - "xmonth4": 0, - "xday5": 0, - "xmonth5": 0, - "xday6": 0, - "xmonth6": 0, - "xday7": 0, - "xmonth7": 0, - "xday8": 0, - "xmonth8": 0, - "xday9": 0, - "xmonth9": 0, - "xday10": 0, - "xmonth10": 0, - "xday11": 0, - "xmonth11": 0, - "xday12": 0, - "xmonth12": 0, - "xd1": 0, - "xw1": 0, - "xd2": 0, - "xw2": 0, - "xd3": 0, - "xw3": 0, - "xd4": 0, - "xw4": 0, - "xd5": 0, - "xw5": 0, - "xd6": 0, - "xw6": 0, - "suspend": false, - "random": false, - "randon1": false, - "randoff1": false, - "randon2": false, - "randoff2": false, - "repeat": true, - "atstart": false, - "odd": false, - "even": false, - "x": 650, - "y": 1260, - "wires": [ - [], - [ - "f4ca06eee7fc7376" - ], - [] - ] - }, - { - "id": "f4ca06eee7fc7376", - "type": "change", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "jour", - "pt": "msg", - "to": "metrics[msg.scene.bucket]horloge['jour de travail']", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 870, - "y": 1260, - "wires": [ - [ - "ad5d6657510d4e95" - ] - ] - }, - { - "id": "ad5d6657510d4e95", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "work day", - "property": "metrics[msg.scene.bucket]clock['work day']", - "propertyType": "global", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1040, - "y": 1260, - "wires": [ - [ - "f8f9a6db99bb33e8" - ] - ] - }, - { - "id": "2c774c7cde335304", - "type": "switch", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "rest day", - "property": "metrics[msg.scene.bucket]clock['work day']", - "propertyType": "global", - "rules": [ - { - "t": "false" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1020, - "y": 1320, - "wires": [ - [ - "f8f9a6db99bb33e8" - ] - ] - }, - { - "id": "7f6d6bbaadea9039", - "type": "change", - "z": "e067074d6510b7f8", - "g": "ca6e5594c10b00d0", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 850, - "y": 1320, - "wires": [ - [ - "2c774c7cde335304" - ] - ] - }, - { - "id": "b0ec9dc39c0e4a04", - "type": "bigtimer", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "outtopic": "", - "outpayload1": "1", - "outpayload2": "0", - "name": "work day", - "comment": "", - "lat": "45.9388", - "lon": "5.3808", - "starttime": "0", - "endtime": "1439", - "starttime2": "0", - "endtime2": "0", - "startoff": "0", - "endoff": "0", - "startoff2": 0, - "endoff2": 0, - "offs": "0", - "outtext1": "", - "outtext2": "", - "timeout": "1440", - "sun": false, - "mon": true, - "tue": true, - "wed": false, - "thu": true, - "fri": true, - "sat": false, - "jan": true, - "feb": true, - "mar": true, - "apr": true, - "may": true, - "jun": true, - "jul": false, - "aug": false, - "sep": true, - "oct": true, - "nov": true, - "dec": true, - "day1": 0, - "month1": 0, - "day2": 0, - "month2": 0, - "day3": 0, - "month3": 0, - "day4": 0, - "month4": 0, - "day5": 0, - "month5": 0, - "day6": 0, - "month6": 0, - "day7": 0, - "month7": 0, - "day8": 0, - "month8": 0, - "day9": 0, - "month9": 0, - "day10": 0, - "month10": 0, - "day11": 0, - "month11": 0, - "day12": 0, - "month12": 0, - "d1": 0, - "w1": 0, - "d2": 0, - "w2": 0, - "d3": 0, - "w3": 0, - "d4": 0, - "w4": 0, - "d5": 0, - "w5": 0, - "d6": 0, - "w6": 0, - "xday1": 0, - "xmonth1": 0, - "xday2": 0, - "xmonth2": 0, - "xday3": 0, - "xmonth3": 0, - "xday4": 0, - "xmonth4": 0, - "xday5": 0, - "xmonth5": 0, - "xday6": 0, - "xmonth6": 0, - "xday7": 0, - "xmonth7": 0, - "xday8": 0, - "xmonth8": 0, - "xday9": 0, - "xmonth9": 0, - "xday10": 0, - "xmonth10": 0, - "xday11": 0, - "xmonth11": 0, - "xday12": 0, - "xmonth12": 0, - "xd1": 0, - "xw1": 0, - "xd2": 0, - "xw2": 0, - "xd3": 0, - "xw3": 0, - "xd4": 0, - "xw4": 0, - "xd5": 0, - "xw5": 0, - "xd6": 0, - "xw6": 0, - "suspend": false, - "random": false, - "randon1": false, - "randoff1": false, - "randon2": false, - "randoff2": false, - "repeat": false, - "atstart": true, - "odd": false, - "even": false, - "x": 1240, - "y": 1020, - "wires": [ - [ - "6ccad4521acbf705" - ], - [], - [] - ] - }, - { - "id": "6ccad4521acbf705", - "type": "change", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "clock", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "work day", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$boolean(msg.payload)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1410, - "y": 1020, - "wires": [ - [ - "bbae4d26e41478ea" - ] - ] - }, - { - "id": "bbae4d26e41478ea", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "salon - source - clock", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 1535, - "y": 1020, - "wires": [] - }, - { - "id": "f1ddd31035db0cc4", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "salon - source - clock", - "links": [ - "074a67bf0fcf09ad" - ], - "x": 755, - "y": 960, - "wires": [ - [ - "31f89f6c208761ec", - "83cf796714185454" - ] - ] - }, - { - "id": "31f89f6c208761ec", - "type": "change", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "0", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "0", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1250, - "y": 960, - "wires": [ - [ - "6ccad4521acbf705", - "3a7e10be0513fe02" - ] - ] - }, - { - "id": "83cf796714185454", - "type": "delay", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "250 ms", - "pauseType": "delay", - "timeout": "250", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 900, - "y": 1020, - "wires": [ - [ - "ec16e55b9c303ae7" - ] - ] - }, - { - "id": "b2fc7377968a4425", - "type": "bigtimer", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "outtopic": "", - "outpayload1": "1", - "outpayload2": "0", - "name": "work eve", - "comment": "", - "lat": "45.9388", - "lon": "5.3808", - "starttime": "0", - "endtime": "1439", - "starttime2": "0", - "endtime2": "0", - "startoff": "0", - "endoff": "0", - "startoff2": 0, - "endoff2": 0, - "offs": "0", - "outtext1": "", - "outtext2": "", - "timeout": "1440", - "sun": true, - "mon": true, - "tue": false, - "wed": true, - "thu": true, - "fri": false, - "sat": false, - "jan": true, - "feb": true, - "mar": true, - "apr": true, - "may": true, - "jun": true, - "jul": false, - "aug": false, - "sep": true, - "oct": true, - "nov": true, - "dec": true, - "day1": 0, - "month1": 0, - "day2": 0, - "month2": 0, - "day3": 0, - "month3": 0, - "day4": 0, - "month4": 0, - "day5": 0, - "month5": 0, - "day6": 0, - "month6": 0, - "day7": 0, - "month7": 0, - "day8": 0, - "month8": 0, - "day9": 0, - "month9": 0, - "day10": 0, - "month10": 0, - "day11": 0, - "month11": 0, - "day12": 0, - "month12": 0, - "d1": 0, - "w1": 0, - "d2": 0, - "w2": 0, - "d3": 0, - "w3": 0, - "d4": 0, - "w4": 0, - "d5": 0, - "w5": 0, - "d6": 0, - "w6": 0, - "xday1": 0, - "xmonth1": 0, - "xday2": 0, - "xmonth2": 0, - "xday3": 0, - "xmonth3": 0, - "xday4": 0, - "xmonth4": 0, - "xday5": 0, - "xmonth5": 0, - "xday6": 0, - "xmonth6": 0, - "xday7": 0, - "xmonth7": 0, - "xday8": 0, - "xmonth8": 0, - "xday9": 0, - "xmonth9": 0, - "xday10": 0, - "xmonth10": 0, - "xday11": 0, - "xmonth11": 0, - "xday12": 0, - "xmonth12": 0, - "xd1": 0, - "xw1": 0, - "xd2": 0, - "xw2": 0, - "xd3": 0, - "xw3": 0, - "xd4": 0, - "xw4": 0, - "xd5": 0, - "xw5": 0, - "xd6": 0, - "xw6": 0, - "suspend": false, - "random": false, - "randon1": false, - "randoff1": false, - "randon2": false, - "randoff2": false, - "repeat": false, - "atstart": true, - "odd": false, - "even": false, - "x": 1240, - "y": 1080, - "wires": [ - [ - "3a7e10be0513fe02" - ], - [], - [] - ] - }, - { - "id": "3a7e10be0513fe02", - "type": "change", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "clock", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "work eve", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$boolean(msg.payload)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1410, - "y": 1080, - "wires": [ - [ - "bbae4d26e41478ea" - ] - ] - }, - { - "id": "ec16e55b9c303ae7", - "type": "change", - "z": "e067074d6510b7f8", - "g": "aa047eea162db86e", - "name": "sync", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "sync", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1070, - "y": 1020, - "wires": [ - [ - "b0ec9dc39c0e4a04", - "b2fc7377968a4425" - ] - ] - }, - { - "id": "84add143f23bfe25", - "type": "change", - "z": "e067074d6510b7f8", - "g": "d2d3d56d19f17173", - "name": "clock / work day / boolean / false", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "clock", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "work day", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 350, - "y": 960, - "wires": [ - [ - "ad43a0610ba77d34" - ] - ] - }, - { - "id": "ad43a0610ba77d34", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "d2d3d56d19f17173", - "name": "salon - device - clock", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 575, - "y": 960, - "wires": [] - }, - { - "id": "41856b3f50fd450b", - "type": "link in", - "z": "e067074d6510b7f8", - "g": "d2d3d56d19f17173", - "name": "salon - device - clock", - "links": [ - "36ce7ba8c84903c3" - ], - "x": 135, - "y": 960, - "wires": [ - [ - "84add143f23bfe25", - "0a20a19873de330c" - ] - ] - }, - { - "id": "0a20a19873de330c", - "type": "change", - "z": "e067074d6510b7f8", - "g": "d2d3d56d19f17173", - "name": "clock/ work eve / boolean / false", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "clock", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "work eve", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "boolean", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 350, - "y": 1020, - "wires": [ - [ - "ad43a0610ba77d34" - ] - ] - }, - { - "id": "8d7b277f0f787f97", - "type": "catch", - "z": "e067074d6510b7f8", - "g": "d7fe6b32f7d450de", - "name": "catch error", - "scope": null, - "uncaught": false, - "x": 620, - "y": 60, - "wires": [ - [ - "79f750d31979bd28" - ] - ] - }, - { - "id": "79f750d31979bd28", - "type": "change", - "z": "e067074d6510b7f8", - "g": "d7fe6b32f7d450de", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "salon", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 790, - "y": 60, - "wires": [ - [ - "af6e09cdd2199095" - ] - ] - }, - { - "id": "af6e09cdd2199095", - "type": "link out", - "z": "e067074d6510b7f8", - "g": "d7fe6b32f7d450de", - "name": "catch error", - "mode": "link", - "links": [ - "a52f0e788cd4dca3" - ], - "x": 915, - "y": 60, - "wires": [] - } -] \ No newline at end of file diff --git a/flows/R.Toilettes.json b/flows/R.Toilettes.json deleted file mode 100644 index 0120cbd..0000000 --- a/flows/R.Toilettes.json +++ /dev/null @@ -1,1620 +0,0 @@ -[ - { - "id": "7dd036f831a5ca6e", - "type": "tab", - "label": "R.Toilettes", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "e43c869d4c1f98ef", - "type": "group", - "z": "7dd036f831a5ca6e", - "name": "toilettes - bucket", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ffC000" - }, - "nodes": [ - "18e1932e46a71274", - "45ebf96bc050779f", - "fc02e2aced7cc118" - ], - "x": 94, - "y": 19, - "w": 342, - "h": 82 - }, - { - "id": "3585fd11d948a35a", - "type": "group", - "z": "7dd036f831a5ca6e", - "name": "toilettes - ui select room", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true, - "stroke": "#6f2fa0" - }, - "nodes": [ - "44bf80d373658b2d", - "dc88725defb60f1a", - "aecf378340209352", - "860baaacdaa8d80a" - ], - "x": 1054, - "y": 19, - "w": 582, - "h": 82 - }, - { - "id": "3103911afbd7999a", - "type": "group", - "z": "7dd036f831a5ca6e", - "name": "", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "dc8c7c2aeeae4259", - "1271496473181909" - ], - "x": 68, - "y": 233, - "w": 1634, - "h": 434 - }, - { - "id": "9b0476b848cb48b7", - "type": "group", - "z": "7dd036f831a5ca6e", - "name": "toilettes - alexa", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "61e21fea0f35b657", - "37136f65e1f50cc9", - "02860064ff27f25f", - "f987f63e4046653b", - "60d916216398ec01" - ], - "x": 68, - "y": 713, - "w": 1434, - "h": 614 - }, - { - "id": "5766f83f3d113663", - "type": "group", - "z": "7dd036f831a5ca6e", - "name": "catch error", - "style": { - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ff0000" - }, - "nodes": [ - "b9f3c3bb40a8aac4", - "06ff43449dd81c02", - "d69c9016584d1fd3" - ], - "x": 534, - "y": 19, - "w": 422, - "h": 82 - }, - { - "id": "dc8c7c2aeeae4259", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "3103911afbd7999a", - "name": "toilettes - device - lighting", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "67cd83496d94405e", - "d0cdac452033d9a2", - "2e6ed52694d41627", - "1513c26ff341a038", - "d80a2413afd47cb4", - "5a11d81b87c8c228", - "3e29987b76decd02", - "84f721530d4dc2c1" - ], - "x": 94, - "y": 259, - "w": 502, - "h": 382 - }, - { - "id": "1271496473181909", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "3103911afbd7999a", - "name": "toilettes - scene - lighting ceiling", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.1", - "label": true - }, - "nodes": [ - "38b14b135a076818", - "1411c6ca5cae8fcc", - "7d7b81b4f6fdbfe0", - "61afa8c6a05d66c5", - "89b53294d8fbd82e", - "a1daebcc0d70b88c" - ], - "x": 694, - "y": 259, - "w": 982, - "h": 157 - }, - { - "id": "61e21fea0f35b657", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "9b0476b848cb48b7", - "name": "toilettes - alexa - light", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "48fb85cf9fc816df", - "a54a3aabac3983d2", - "58f3ce75b71246f5", - "80b27695fbae59d5", - "957b48265862f076", - "a191a48eeb80647b", - "4c73eaf96768680c" - ], - "x": 94, - "y": 739, - "w": 1382, - "h": 82 - }, - { - "id": "37136f65e1f50cc9", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "9b0476b848cb48b7", - "name": "toilettes - alexa - motion", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "bf5283284d6841db", - "3f67eea63eaebbbb", - "21f1942b8adfc779", - "66df46ed2b905f63", - "bffbafc983d76a7a" - ], - "x": 94, - "y": 859, - "w": 972, - "h": 82 - }, - { - "id": "02860064ff27f25f", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "9b0476b848cb48b7", - "name": "toilettes - alexa - aperture door", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "946ab6f15c353f7c", - "0a2c323ab16c9ba6", - "7ef4f958fd99d744", - "bd6f934f3ae87f2d", - "522c4cc59f174867" - ], - "x": 94, - "y": 1099, - "w": 912, - "h": 82 - }, - { - "id": "f987f63e4046653b", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "9b0476b848cb48b7", - "name": "toilettes - alexa - aperture window", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "ab4ea3a7f94bbae5", - "e2aaad9021c8ec04", - "9eece0ba7e2b5866", - "3da179ca7c5c4b92", - "9bdd2b22b7cc671b" - ], - "x": 94, - "y": 1219, - "w": 912, - "h": 82 - }, - { - "id": "60d916216398ec01", - "type": "group", - "z": "7dd036f831a5ca6e", - "g": "9b0476b848cb48b7", - "name": "toilettes - alexa - temperature", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "fda87b491f013484", - "f4e15d0614494621", - "cfdebd278d97e165", - "5b177ccee8820469", - "96985f64f73726bc" - ], - "x": 94, - "y": 979, - "w": 972, - "h": 82 - }, - { - "id": "18e1932e46a71274", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "e43c869d4c1f98ef", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "toilettes", - "tot": "str" - }, - { - "t": "set", - "p": "bucket", - "pt": "flow", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 270, - "y": 60, - "wires": [ - [ - "fc02e2aced7cc118" - ] - ] - }, - { - "id": "45ebf96bc050779f", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "e43c869d4c1f98ef", - "name": "toilettes - bucket", - "links": [ - "25445f5a9b787a0a" - ], - "x": 135, - "y": 60, - "wires": [ - [ - "18e1932e46a71274" - ] - ] - }, - { - "id": "fc02e2aced7cc118", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "e43c869d4c1f98ef", - "name": "toilettes - bucket", - "mode": "link", - "links": [ - "2e6ed52694d41627", - "2e7bb0e6e6079d56", - "825d57214a3d1f72", - "668589ced855b77f" - ], - "x": 395, - "y": 60, - "wires": [] - }, - { - "id": "44bf80d373658b2d", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "3585fd11d948a35a", - "name": "toilettes - ui select room", - "mode": "link", - "links": [ - "1be6ca3c2b8615a2" - ], - "x": 1595, - "y": 60, - "wires": [] - }, - { - "id": "dc88725defb60f1a", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "3585fd11d948a35a", - "name": "toilettes - ui select room", - "links": [ - "74172837e07ab80d" - ], - "x": 1095, - "y": 60, - "wires": [ - [ - "aecf378340209352" - ] - ] - }, - { - "id": "aecf378340209352", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "3585fd11d948a35a", - "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": [ - [ - "860baaacdaa8d80a" - ] - ] - }, - { - "id": "860baaacdaa8d80a", - "type": "ui-button", - "z": "7dd036f831a5ca6e", - "g": "3585fd11d948a35a", - "group": "36396f5285df476c", - "name": "", - "label": "Toilettes", - "order": 21, - "width": "2", - "height": "1", - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "", - "iconPosition": "left", - "payload": "bucket", - "payloadType": "flow", - "topic": "topic", - "topicType": "msg", - "x": 1460, - "y": 60, - "wires": [ - [ - "44bf80d373658b2d" - ] - ] - }, - { - "id": "67cd83496d94405e", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "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": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "d0cdac452033d9a2", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "toilettes - device - lighting", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 555, - "y": 300, - "wires": [] - }, - { - "id": "2e6ed52694d41627", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "toilettes - device - lighting", - "links": [ - "fc02e2aced7cc118" - ], - "x": 135, - "y": 300, - "wires": [ - [ - "67cd83496d94405e", - "1513c26ff341a038", - "d80a2413afd47cb4", - "5a11d81b87c8c228", - "3e29987b76decd02", - "84f721530d4dc2c1" - ] - ] - }, - { - "id": "1513c26ff341a038", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "lighting / high / dimmer / 40", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "high", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "40", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 340, - "y": 360, - "wires": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "d80a2413afd47cb4", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "lighting / low / dimmer / 4", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "low", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "4", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 330, - "y": 420, - "wires": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "5a11d81b87c8c228", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "lighting / timer / number / 5", - "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": "5", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 340, - "y": 480, - "wires": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "3e29987b76decd02", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "name": "lighting / darkness / number / 100", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "darkness", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "100", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 360, - "y": 540, - "wires": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "84f721530d4dc2c1", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "dc8c7c2aeeae4259", - "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": 600, - "wires": [ - [ - "d0cdac452033d9a2" - ] - ] - }, - { - "id": "38b14b135a076818", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "toilettes - scene - lighting ceiling", - "links": [ - "031a6afd8300356a" - ], - "x": 735, - "y": 360, - "wires": [ - [ - "a1daebcc0d70b88c" - ] - ] - }, - { - "id": "1411c6ca5cae8fcc", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "scene lighting / ceiling / dimmer", - "rules": [ - { - "t": "set", - "p": "scene.measurement", - "pt": "msg", - "to": "light", - "tot": "str" - }, - { - "t": "set", - "p": "scene.field", - "pt": "msg", - "to": "ceiling", - "tot": "str" - }, - { - "t": "set", - "p": "scene.format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "scene.type", - "pt": "msg", - "to": "lighting", - "tot": "str" - }, - { - "t": "set", - "p": "scene.on", - "pt": "msg", - "to": "4", - "tot": "num" - }, - { - "t": "set", - "p": "scene.off", - "pt": "msg", - "to": "0", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1430, - "y": 360, - "wires": [ - [ - "61afa8c6a05d66c5" - ] - ] - }, - { - "id": "7d7b81b4f6fdbfe0", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "msg.scene.bucket&'/aperture/door'", - "vt": "jsonata" - }, - { - "t": "regex", - "v": "msg.scene.bucket&'/motion'", - "vt": "jsonata", - "case": false - }, - { - "t": "eq", - "v": "msg.scene.bucket&'/light/ceiling'", - "vt": "jsonata" - }, - { - "t": "eq", - "v": "system/mode/lighting", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 1030, - "y": 360, - "wires": [ - [ - "89b53294d8fbd82e" - ], - [ - "1411c6ca5cae8fcc" - ], - [ - "1411c6ca5cae8fcc" - ], - [ - "1411c6ca5cae8fcc" - ] - ] - }, - { - "id": "61afa8c6a05d66c5", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "toilettes - scene - lighting ceiling", - "mode": "link", - "links": [ - "abdf34b12a5dd88d" - ], - "x": 1635, - "y": 360, - "wires": [] - }, - { - "id": "89b53294d8fbd82e", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "true", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1190, - "y": 300, - "wires": [ - [ - "1411c6ca5cae8fcc" - ] - ] - }, - { - "id": "48fb85cf9fc816df", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "toilettes - alexa - light", - "mode": "link", - "links": [ - "df6a69e3a774eebc" - ], - "x": 1435, - "y": 780, - "wires": [] - }, - { - "id": "a54a3aabac3983d2", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "toilettes - alexa - light", - "links": [ - "abd3bb3b24dd961a" - ], - "x": 135, - "y": 780, - "wires": [ - [ - "80b27695fbae59d5" - ] - ] - }, - { - "id": "58f3ce75b71246f5", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "ceiling", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 780, - "wires": [ - [ - "a191a48eeb80647b" - ] - ] - }, - { - "id": "80b27695fbae59d5", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 780, - "wires": [ - [ - "58f3ce75b71246f5" - ] - ] - }, - { - "id": "957b48265862f076", - "type": "vsh-virtual-device", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "lumière des toilettes", - "topic": "toilettes/cible/ceiling", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "SWITCH", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 940, - "y": 780, - "wires": [ - [ - "4c73eaf96768680c" - ] - ] - }, - { - "id": "a191a48eeb80647b", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "", - "links": [ - "75754d6ac1aaec7b" - ], - "linkType": "static", - "timeout": "30", - "x": 660, - "y": 780, - "wires": [ - [ - "957b48265862f076" - ] - ] - }, - { - "id": "4c73eaf96768680c", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "61e21fea0f35b657", - "name": "", - "links": [ - "71c9fb8b232fe499" - ], - "linkType": "static", - "timeout": "30", - "x": 1230, - "y": 780, - "wires": [ - [ - "48fb85cf9fc816df" - ] - ] - }, - { - "id": "bf5283284d6841db", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "37136f65e1f50cc9", - "name": "toilettes - alexa - motion", - "links": [ - "8f6b9cabcee961b9" - ], - "x": 135, - "y": 900, - "wires": [ - [ - "66df46ed2b905f63" - ] - ] - }, - { - "id": "3f67eea63eaebbbb", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "37136f65e1f50cc9", - "name": "", - "links": [ - "4f63773f3c770aa4" - ], - "linkType": "static", - "timeout": "30", - "x": 650, - "y": 900, - "wires": [ - [ - "bffbafc983d76a7a" - ] - ] - }, - { - "id": "21f1942b8adfc779", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "37136f65e1f50cc9", - "name": "scene", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 430, - "y": 900, - "wires": [ - [ - "3f67eea63eaebbbb" - ] - ] - }, - { - "id": "66df46ed2b905f63", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "37136f65e1f50cc9", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 900, - "wires": [ - [ - "21f1942b8adfc779" - ] - ] - }, - { - "id": "bffbafc983d76a7a", - "type": "vsh-virtual-device", - "z": "7dd036f831a5ca6e", - "g": "37136f65e1f50cc9", - "name": "mouvement des toilettes", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "MOTION_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 930, - "y": 900, - "wires": [ - [] - ] - }, - { - "id": "946ab6f15c353f7c", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "02860064ff27f25f", - "name": "toilettes - alexa - aperture door", - "links": [ - "c961c347fd2d14b5" - ], - "x": 135, - "y": 1140, - "wires": [ - [ - "0a2c323ab16c9ba6" - ] - ] - }, - { - "id": "0a2c323ab16c9ba6", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "02860064ff27f25f", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 1140, - "wires": [ - [ - "7ef4f958fd99d744" - ] - ] - }, - { - "id": "7ef4f958fd99d744", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "02860064ff27f25f", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "door", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 1140, - "wires": [ - [ - "522c4cc59f174867" - ] - ] - }, - { - "id": "bd6f934f3ae87f2d", - "type": "vsh-virtual-device", - "z": "7dd036f831a5ca6e", - "g": "02860064ff27f25f", - "name": "porte des toilettes", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "CONTACT_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 890, - "y": 1140, - "wires": [ - [] - ] - }, - { - "id": "522c4cc59f174867", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "02860064ff27f25f", - "name": "", - "links": [ - "73c07a0bc5e5429b" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 1140, - "wires": [ - [ - "bd6f934f3ae87f2d" - ] - ] - }, - { - "id": "ab4ea3a7f94bbae5", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "f987f63e4046653b", - "name": "toilettes - alexa - aperture window", - "links": [ - "c961c347fd2d14b5" - ], - "x": 135, - "y": 1260, - "wires": [ - [ - "e2aaad9021c8ec04" - ] - ] - }, - { - "id": "e2aaad9021c8ec04", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "f987f63e4046653b", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 1260, - "wires": [ - [ - "9eece0ba7e2b5866" - ] - ] - }, - { - "id": "9eece0ba7e2b5866", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "f987f63e4046653b", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "window", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 430, - "y": 1260, - "wires": [ - [ - "9bdd2b22b7cc671b" - ] - ] - }, - { - "id": "3da179ca7c5c4b92", - "type": "vsh-virtual-device", - "z": "7dd036f831a5ca6e", - "g": "f987f63e4046653b", - "name": "fenêtre des toilettes", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "CONTACT_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 890, - "y": 1260, - "wires": [ - [] - ] - }, - { - "id": "9bdd2b22b7cc671b", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "f987f63e4046653b", - "name": "", - "links": [ - "73c07a0bc5e5429b" - ], - "linkType": "static", - "timeout": "30", - "x": 640, - "y": 1260, - "wires": [ - [ - "3da179ca7c5c4b92" - ] - ] - }, - { - "id": "fda87b491f013484", - "type": "link in", - "z": "7dd036f831a5ca6e", - "g": "60d916216398ec01", - "name": "toilettes - alexa - temperature", - "links": [ - "a66c6d1f8e271921" - ], - "x": 135, - "y": 1020, - "wires": [ - [ - "f4e15d0614494621" - ] - ] - }, - { - "id": "f4e15d0614494621", - "type": "switch", - "z": "7dd036f831a5ca6e", - "g": "60d916216398ec01", - "name": "bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 1020, - "wires": [ - [ - "5b177ccee8820469" - ] - ] - }, - { - "id": "cfdebd278d97e165", - "type": "link call", - "z": "7dd036f831a5ca6e", - "g": "60d916216398ec01", - "name": "", - "links": [ - "50c950cddc1506ed" - ], - "linkType": "static", - "timeout": "30", - "x": 650, - "y": 1020, - "wires": [ - [ - "96985f64f73726bc" - ] - ] - }, - { - "id": "5b177ccee8820469", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "60d916216398ec01", - "name": "scene", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 430, - "y": 1020, - "wires": [ - [ - "cfdebd278d97e165" - ] - ] - }, - { - "id": "96985f64f73726bc", - "type": "vsh-virtual-device", - "z": "7dd036f831a5ca6e", - "g": "60d916216398ec01", - "name": "température des toilettes", - "topic": "", - "metadata": "{}", - "connection": "b156e6eff1bfadd1", - "template": "TEMPERATURE_SENSOR", - "retrievable": true, - "passthrough": false, - "diff": false, - "filter": false, - "filterTopic": false, - "plan": "free", - "x": 930, - "y": 1020, - "wires": [ - [] - ] - }, - { - "id": "b9f3c3bb40a8aac4", - "type": "catch", - "z": "7dd036f831a5ca6e", - "g": "5766f83f3d113663", - "name": "catch error", - "scope": null, - "uncaught": false, - "x": 620, - "y": 60, - "wires": [ - [ - "06ff43449dd81c02" - ] - ] - }, - { - "id": "06ff43449dd81c02", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "5766f83f3d113663", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "toilettes", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 790, - "y": 60, - "wires": [ - [ - "d69c9016584d1fd3" - ] - ] - }, - { - "id": "d69c9016584d1fd3", - "type": "link out", - "z": "7dd036f831a5ca6e", - "g": "5766f83f3d113663", - "name": "catch error", - "mode": "link", - "links": [ - "a52f0e788cd4dca3" - ], - "x": 915, - "y": 60, - "wires": [] - }, - { - "id": "a1daebcc0d70b88c", - "type": "change", - "z": "7dd036f831a5ca6e", - "g": "1271496473181909", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "scene.bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 870, - "y": 360, - "wires": [ - [ - "7d7b81b4f6fdbfe0" - ] - ] - } -] \ No newline at end of file diff --git a/flows/U.Config.json b/flows/U.Config.json index d4bb0d5..01822ac 100644 --- a/flows/U.Config.json +++ b/flows/U.Config.json @@ -67,12 +67,14 @@ "90eddf07569aadc0", "5b6c97eb42f7b833", "2302782a6ca41102", - "a69d70a155c21ef3" + "a69d70a155c21ef3", + "27a767a07e780b79", + "cc58fa2dc61acc60" ], "x": 94, "y": 319, "w": 362, - "h": 382 + "h": 442 }, { "id": "dd003c121420d45a", @@ -85,7 +87,6 @@ "label": true }, "nodes": [ - "417badba7b8593d3", "cfd1c312affb0a45", "aaba9cf674e8cfe0", "4eb13f33c92436a9", @@ -115,11 +116,15 @@ "7a76fc8d520b5b9e", "772791bd8b527740", "34f9df4fdd3bd8df", - "8b6c9751b1c7cc20" + "8b6c9751b1c7cc20", + "d7987f4bac2a1be7", + "06183d3762a605b4", + "6c0c33d1effc0c8d", + "648265bba2a83bd7" ], "x": 94, - "y": 739, - "w": 1252, + "y": 799, + "w": 2042, "h": 322 }, { @@ -260,7 +265,7 @@ "7c98833082d48029" ], "x": 415, - "y": 360, + "y": 420, "wires": [] }, { @@ -271,7 +276,7 @@ "group": "018c8ded1126b49a", "name": "reload devices definitions", "label": "Recharger les définitions d'équipements", - "order": 1, + "order": 2, "width": "6", "height": "1", "emulateClick": false, @@ -286,7 +291,7 @@ "topic": "topic", "topicType": "msg", "x": 230, - "y": 360, + "y": 420, "wires": [ [ "68a233d0b60bf782" @@ -301,7 +306,7 @@ "group": "018c8ded1126b49a", "name": "freeze kernel", "label": "Congeler le noyau", - "order": 3, + "order": 4, "width": "6", "height": "1", "tooltip": "", @@ -315,7 +320,7 @@ "topic": "gate", "topicType": "str", "x": 190, - "y": 540, + "y": 600, "wires": [ [ "aa2c3406c988ef4b" @@ -333,7 +338,7 @@ "baaac9a301ef150a" ], "x": 415, - "y": 540, + "y": 600, "wires": [] }, { @@ -344,7 +349,7 @@ "group": "018c8ded1126b49a", "name": "load context file", "label": "Recharger le fichier de context", - "order": 2, + "order": 7, "width": "6", "height": "1", "emulateClick": false, @@ -359,7 +364,7 @@ "topic": "topic", "topicType": "msg", "x": 200, - "y": 420, + "y": 480, "wires": [ [ "8820bdb5b422a686" @@ -377,7 +382,7 @@ "dfb4b5350a9383c9" ], "x": 415, - "y": 420, + "y": 480, "wires": [] }, { @@ -388,7 +393,7 @@ "group": "018c8ded1126b49a", "name": "close kernel", "label": "Fermer le noyau", - "order": 4, + "order": 5, "width": "6", "height": "1", "tooltip": "", @@ -402,7 +407,7 @@ "topic": "gate", "topicType": "str", "x": 190, - "y": 600, + "y": 660, "wires": [ [ "aa2c3406c988ef4b" @@ -417,7 +422,7 @@ "group": "018c8ded1126b49a", "name": "open kernel", "label": "Ouvrir le noyau", - "order": 5, + "order": 6, "width": "6", "height": "1", "tooltip": "", @@ -431,43 +436,13 @@ "topic": "gate", "topicType": "str", "x": 190, - "y": 660, + "y": 720, "wires": [ [ "aa2c3406c988ef4b" ] ] }, - { - "id": "417badba7b8593d3", - "type": "ui-button", - "z": "c2bfa0fea66ef080", - "g": "dd003c121420d45a", - "group": "88a7ce8d8fd7e72b", - "name": "reload", - "label": "Recharger", - "order": 1, - "width": "6", - "height": "1", - "emulateClick": false, - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "", - "iconPosition": "left", - "payload": "", - "payloadType": "str", - "topic": "topic", - "topicType": "msg", - "x": 1210, - "y": 780, - "wires": [ - [ - "e9341386035b1f2c" - ] - ] - }, { "id": "cfd1c312affb0a45", "type": "change", @@ -496,7 +471,7 @@ "to": "", "reg": false, "x": 380, - "y": 840, + "y": 900, "wires": [ [ "aaba9cf674e8cfe0" @@ -516,7 +491,7 @@ "stream": false, "addname": "bucket", "x": 550, - "y": 840, + "y": 900, "wires": [ [ "4eb13f33c92436a9" @@ -544,7 +519,7 @@ "to": "", "reg": false, "x": 710, - "y": 840, + "y": 900, "wires": [ [ "a103f8cc78fc5ad7" @@ -573,7 +548,7 @@ "reduceInitType": "", "reduceFixup": "", "x": 870, - "y": 840, + "y": 900, "wires": [ [ "9cd19202a5858a27" @@ -589,21 +564,29 @@ "name": "buckets", "label": "Bucket", "tooltip": "", - "order": 2, + "order": 1, "width": "6", "height": "1", "passthru": false, "multiple": false, - "options": [], + "chips": false, + "clearable": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], "payload": "", "topic": "topic", "topicType": "msg", "className": "", "x": 1220, - "y": 840, + "y": 900, "wires": [ [ - "d4e3490de6550eea" + "d7987f4bac2a1be7" ] ] }, @@ -628,6 +611,20 @@ "to": "data.buckets", "tot": "flow" }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, { "t": "set", "p": "class", @@ -642,7 +639,7 @@ "to": "", "reg": false, "x": 1040, - "y": 840, + "y": 900, "wires": [ [ "61464b0778183fdb" @@ -684,7 +681,7 @@ "to": "", "reg": false, "x": 380, - "y": 900, + "y": 960, "wires": [ [ "f59d0b8138fa7525" @@ -704,7 +701,7 @@ "stream": false, "addname": "measurement", "x": 550, - "y": 900, + "y": 960, "wires": [ [ "43b5266fef6d73b9" @@ -732,7 +729,7 @@ "to": "", "reg": false, "x": 710, - "y": 900, + "y": 960, "wires": [ [ "55366488e4c7e9c3" @@ -761,7 +758,7 @@ "reduceInitType": "", "reduceFixup": "", "x": 870, - "y": 900, + "y": 960, "wires": [ [ "5c6b98d2f2d16291" @@ -777,21 +774,29 @@ "name": "measurements", "label": "Measurement", "tooltip": "", - "order": 3, + "order": 2, "width": "6", "height": "1", "passthru": false, "multiple": false, - "options": [], + "chips": false, + "clearable": false, + "options": [ + { + "label": "__", + "value": "", + "type": "str" + } + ], "payload": "", "topic": "topic", "topicType": "msg", "className": "", "x": 1240, - "y": 900, + "y": 960, "wires": [ [ - "b15ee9861786845f" + "06183d3762a605b4" ] ] }, @@ -816,6 +821,13 @@ "to": "data.measurements", "tot": "flow" }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, { "t": "set", "p": "class", @@ -830,7 +842,7 @@ "to": "", "reg": false, "x": 1040, - "y": 900, + "y": 960, "wires": [ [ "649a5ab3d32438c5" @@ -887,7 +899,7 @@ "to": "", "reg": false, "x": 1050, - "y": 780, + "y": 840, "wires": [ [ "61464b0778183fdb", @@ -933,7 +945,7 @@ "to": "", "reg": false, "x": 380, - "y": 960, + "y": 1020, "wires": [ [ "41f5791b1f5773f4" @@ -953,7 +965,7 @@ "stream": false, "addname": "field", "x": 550, - "y": 960, + "y": 1020, "wires": [ [ "d5741bb4d825808f" @@ -981,7 +993,7 @@ "to": "", "reg": false, "x": 710, - "y": 960, + "y": 1020, "wires": [ [ "608c1dd85cfe7947" @@ -1010,7 +1022,7 @@ "reduceInitType": "", "reduceFixup": "", "x": 870, - "y": 960, + "y": 1020, "wires": [ [ "3737a5a641de4ed0" @@ -1026,18 +1038,26 @@ "name": "fields", "label": "Field", "tooltip": "", - "order": 4, + "order": 3, "width": "6", "height": "1", "passthru": false, "multiple": false, - "options": [], + "chips": false, + "clearable": false, + "options": [ + { + "label": "__", + "value": "", + "type": "str" + } + ], "payload": "", "topic": "topic", "topicType": "msg", "className": "", "x": 1210, - "y": 960, + "y": 1020, "wires": [ [ "5a86c32a699d6a2e" @@ -1065,6 +1085,20 @@ "to": "data.fields", "tot": "flow" }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» TOUT','':''}])", + "tot": "jsonata" + }, { "t": "set", "p": "class", @@ -1079,7 +1113,7 @@ "to": "", "reg": false, "x": 1040, - "y": 960, + "y": 1020, "wires": [ [ "385e81d9be142966" @@ -1105,7 +1139,7 @@ "allowrate": false, "outputs": 1, "x": 190, - "y": 840, + "y": 900, "wires": [ [ "cfd1c312affb0a45" @@ -1131,7 +1165,7 @@ "allowrate": false, "outputs": 1, "x": 190, - "y": 900, + "y": 960, "wires": [ [ "9401ba1506c0d201" @@ -1157,7 +1191,7 @@ "allowrate": false, "outputs": 1, "x": 190, - "y": 960, + "y": 1020, "wires": [ [ "d274c198b7d6186e" @@ -1172,7 +1206,7 @@ "group": "88a7ce8d8fd7e72b", "name": "delete", "label": "Effacer", - "order": 5, + "order": 4, "width": "6", "height": "1", "emulateClick": false, @@ -1186,11 +1220,11 @@ "payloadType": "str", "topic": "topic", "topicType": "msg", - "x": 550, - "y": 1020, + "x": 1210, + "y": 1080, "wires": [ [ - "2a90b9bd2e0a777c" + "6c0c33d1effc0c8d" ] ] }, @@ -1213,7 +1247,7 @@ "allowrate": false, "outputs": 1, "x": 190, - "y": 1020, + "y": 1080, "wires": [ [ "772791bd8b527740" @@ -1231,8 +1265,8 @@ "206c1fb4a48067df", "34f9df4fdd3bd8df" ], - "x": 1255, - "y": 1020, + "x": 2095, + "y": 1080, "wires": [] }, { @@ -1256,16 +1290,9 @@ "to": "delete.measurement", "tot": "flow" }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "delete.field", - "tot": "flow" - }, { "t": "delete", - "p": "metrics[msg.bucket][msg.measurement][msg.field]", + "p": "metrics[msg.bucket][msg.measurement]", "pt": "global" }, { @@ -1284,7 +1311,7 @@ "from": "", "to": "", "reg": false, - "x": 710, + "x": 1550, "y": 1020, "wires": [ [ @@ -1310,8 +1337,8 @@ "drop": false, "allowrate": false, "outputs": 1, - "x": 880, - "y": 1020, + "x": 1720, + "y": 1080, "wires": [ [ "8b6c9751b1c7cc20" @@ -1346,7 +1373,7 @@ "to": "", "reg": false, "x": 380, - "y": 1020, + "y": 1080, "wires": [ [ "eeff7c0a47ecf9ee" @@ -1364,7 +1391,7 @@ "1ff5fd68e1799ae5" ], "x": 915, - "y": 780, + "y": 840, "wires": [ [ "e9341386035b1f2c" @@ -1379,7 +1406,7 @@ "group": "018c8ded1126b49a", "name": "write context file", "label": "Sauvegarder le fichier de context", - "order": 2, + "order": 3, "width": "6", "height": "1", "emulateClick": false, @@ -1394,7 +1421,7 @@ "topic": "topic", "topicType": "msg", "x": 200, - "y": 480, + "y": 540, "wires": [ [ "a69d70a155c21ef3" @@ -1412,7 +1439,7 @@ "432e8063fae7039e" ], "x": 415, - "y": 480, + "y": 540, "wires": [] }, { @@ -1507,6 +1534,13 @@ "pt": "msg", "to": "Variable effacé", "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -1514,12 +1548,201 @@ "from": "", "to": "", "reg": false, - "x": 1080, - "y": 1020, + "x": 1920, + "y": 1080, "wires": [ [ "1ff5fd68e1799ae5" ] ] + }, + { + "id": "27a767a07e780b79", + "type": "ui-button", + "z": "c2bfa0fea66ef080", + "g": "dad2ac027d4f9f24", + "group": "018c8ded1126b49a", + "name": "reboot system", + "label": "Redémarrer le serveur Node-red", + "order": 1, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 200, + "y": 360, + "wires": [ + [ + "cc58fa2dc61acc60" + ] + ] + }, + { + "id": "cc58fa2dc61acc60", + "type": "link out", + "z": "c2bfa0fea66ef080", + "g": "dad2ac027d4f9f24", + "name": "config - ui - kernel reboot system", + "mode": "link", + "links": [ + "083e2e406bc15eb5" + ], + "x": 415, + "y": 360, + "wires": [] + }, + { + "id": "d7987f4bac2a1be7", + "type": "switch", + "z": "c2bfa0fea66ef080", + "g": "dd003c121420d45a", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1390, + "y": 900, + "wires": [ + [ + "e9341386035b1f2c" + ], + [ + "d4e3490de6550eea" + ] + ] + }, + { + "id": "06183d3762a605b4", + "type": "switch", + "z": "c2bfa0fea66ef080", + "g": "dd003c121420d45a", + "name": "empty", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1430, + "y": 960, + "wires": [ + [ + "b15ee9861786845f" + ] + ] + }, + { + "id": "6c0c33d1effc0c8d", + "type": "switch", + "z": "c2bfa0fea66ef080", + "g": "dd003c121420d45a", + "name": "all fields", + "property": "delete.field", + "propertyType": "flow", + "rules": [ + { + "t": "empty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1380, + "y": 1080, + "wires": [ + [ + "2a90b9bd2e0a777c" + ], + [ + "648265bba2a83bd7" + ] + ] + }, + { + "id": "648265bba2a83bd7", + "type": "change", + "z": "c2bfa0fea66ef080", + "g": "dd003c121420d45a", + "name": "global", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "delete.bucket", + "tot": "flow" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "delete.measurement", + "tot": "flow" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "delete.field", + "tot": "flow" + }, + { + "t": "delete", + "p": "metrics[msg.bucket][msg.measurement][msg.field]", + "pt": "global" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + }, + { + "t": "delete", + "p": "topic", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1550, + "y": 1080, + "wires": [ + [ + "7a76fc8d520b5b9e" + ] + ] } ] \ No newline at end of file diff --git a/flows/U.Creator.json b/flows/U.Entities.json similarity index 75% rename from flows/U.Creator.json rename to flows/U.Entities.json index ad061a2..a4379c3 100644 --- a/flows/U.Creator.json +++ b/flows/U.Entities.json @@ -2,7 +2,7 @@ { "id": "1362a4b4f08f3d5b", "type": "tab", - "label": "U.Creator", + "label": "U.Entities", "disabled": false, "info": "", "env": [] @@ -11,7 +11,7 @@ "id": "215a32642af29284", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - bucket", + "name": "entities - bucket", "style": { "fill": "#ffC000", "fill-opacity": "0.05", @@ -53,7 +53,7 @@ "id": "d62c9cf0cb81a537", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - register rooms", + "name": "entities - register rooms", "style": { "label": true, "fill": "#ff0000", @@ -64,18 +64,23 @@ "5f114cc4b6ae0579", "7992580eefeada6a", "6b5dd5979114ad9c", - "69a45eebaa58325f" + "69a45eebaa58325f", + "6eafb2a9c1ec95c0", + "39740b8338a622fd", + "4e5188bf59004a54", + "cc946bae3f4b46d8", + "fc14608145819575" ], "x": 94, "y": 379, - "w": 832, + "w": 1112, "h": 142 }, { "id": "7a3b686f86cb9beb", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - add entity", + "name": "entities - add entity", "style": { "label": true, "fill": "#6f2fa0", @@ -83,7 +88,6 @@ }, "nodes": [ "4e039b1bb507cbd3", - "1f487e161c7a3a9f", "6c95c42a1bb0e0e8", "3cad0ebae9bab6a3", "c94f5e94ee5a1918", @@ -147,23 +151,22 @@ "f5b6bba2551b5bec", "28026a2ce29f6d72", "be0fb9a04ea16004", - "e9fecb57cdb7b4a1", - "d55073835b5cbfc3", "41e9885bae118005", "bf39b8d1716ca963", "4f7352e714e2f497", - "9ee5440963269d27" + "9ee5440963269d27", + "e7c533a4825e3889" ], "x": 94, "y": 739, - "w": 1552, + "w": 1672, "h": 1062 }, { "id": "4aa11d03f1b394a5", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - boot entities", + "name": "entities - boot entities", "style": { "fill": "#ff0000", "fill-opacity": "0.05", @@ -187,7 +190,7 @@ "id": "d163a291da272610", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - delete entity", + "name": "entities - delete entity", "style": { "label": true, "fill": "#6f2fa0", @@ -195,7 +198,6 @@ }, "nodes": [ "035760b14c0a3455", - "83fc1a8db8e3774c", "c115ad43edc89efe", "e941b40b953cddbc", "6964c9772d7bc5d6", @@ -242,18 +244,19 @@ "6c4bed6b5d616836", "6ed2ba39d2ad3830", "422e1dd2aab1ae7d", - "30ccf1e79a8c842a" + "30ccf1e79a8c842a", + "389909b07238cc3a" ], "x": 94, - "y": 1839, - "w": 2212, - "h": 682 + "y": 1899, + "w": 2332, + "h": 622 }, { "id": "3b06cf51ed60a17e", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - export entities", + "name": "entities - export entities", "style": { "label": true, "fill": "#6f2fa0", @@ -303,7 +306,7 @@ "id": "ed710864874f0897", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - entity to md5", + "name": "entities - entity to md5", "style": { "label": true, "stroke": "#92d04f", @@ -331,7 +334,7 @@ "id": "e7814f99120a45d2", "type": "group", "z": "1362a4b4f08f3d5b", - "name": "creator - list entities", + "name": "entities - list entities", "style": { "label": true }, @@ -351,6 +354,106 @@ "w": 1392, "h": 142 }, + { + "id": "087716156d7ca3c7", + "type": "group", + "z": "1362a4b4f08f3d5b", + "name": "entities - add room", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6934471d55d3dc61", + "a0738c4dddf29c0c", + "7becb48e82e41f4d", + "77618bede4cd20a4", + "0031d2f1a7c3c8ac", + "6076cbdfef84255d", + "cb1e6d4592635001", + "cf0c81d932939eeb", + "c819a68d55e52a48", + "1b7806eb440632ce", + "52c9ef8bf5d5f352", + "bbc4e7be116546f6", + "69f377a19c3aaebb" + ], + "x": 94, + "y": 3039, + "w": 1112, + "h": 262 + }, + { + "id": "b8a64a86d3eb3506", + "type": "group", + "z": "1362a4b4f08f3d5b", + "name": "entities - delete room", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "44639ce55332cbf7", + "b39e6b36efa2837a", + "28b0fb497ecfebb2", + "8e60fec05ccbd504", + "eb03f7c93f8b43a3", + "66b74056a86a68c5", + "66d2402c36529cd8", + "e665cef3b57e2e30", + "be1564c06fdecf2b", + "7b09dadab4169774", + "9804124babada246", + "dc7b00050a7d145a", + "39c9aaaef7274169", + "9b255197471d7224", + "d4606f08690adde6", + "607bdd179757b5c7", + "2e60e757450968dc", + "33a339c0afc1ba9a", + "ae105b35b7dfbc69" + ], + "x": 94, + "y": 3339, + "w": 1432, + "h": 262 + }, + { + "id": "433d0b51637d03f5", + "type": "group", + "z": "1362a4b4f08f3d5b", + "name": "entities - export room", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a0202211b5f8a9ce", + "d24a1016b1615427", + "726ccca1e080bf6b", + "695be3c75559690b", + "b7488a10a88f20a9", + "0949b6119fa62e77", + "9606333fe00f01bb", + "5c4aa68efe456371", + "f83897b1f3c48879", + "20a79d9eeb90fda6", + "1fa905f4d19b3376", + "d2997f50cec29cce", + "6f0c74e816a70334", + "8d4d236424edbea8", + "f14ce35482fb5f06", + "087ef495d3f3bf63", + "c8ca16b97279bf5f" + ], + "x": 94, + "y": 3639, + "w": 1872, + "h": 202 + }, { "id": "1d1b97b90e8247f3", "type": "change", @@ -362,7 +465,7 @@ "t": "set", "p": "bucket", "pt": "msg", - "to": "creator", + "to": "entities", "tot": "str" }, { @@ -391,7 +494,7 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "215a32642af29284", - "name": "creator - bucket", + "name": "entities - bucket", "links": [ "25445f5a9b787a0a" ], @@ -408,12 +511,12 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "215a32642af29284", - "name": "creator - bucket", + "name": "entities - bucket", "mode": "link", "links": [ - "c94f5e94ee5a1918", "035760b14c0a3455", - "595853542a4259b5" + "595853542a4259b5", + "c94f5e94ee5a1918" ], "x": 395, "y": 60, @@ -446,7 +549,7 @@ "t": "set", "p": "topic", "pt": "msg", - "to": "creator", + "to": "entities", "tot": "str" } ], @@ -477,42 +580,12 @@ "y": 60, "wires": [] }, - { - "id": "1f487e161c7a3a9f", - "type": "ui-button", - "z": "1362a4b4f08f3d5b", - "g": "7a3b686f86cb9beb", - "group": "e5d4647d97841024", - "name": "reload", - "label": "", - "order": 1, - "width": "6", - "height": "1", - "emulateClick": false, - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "reload", - "iconPosition": "left", - "payload": "", - "payloadType": "str", - "topic": "topic", - "topicType": "msg", - "x": 690, - "y": 840, - "wires": [ - [ - "e9fecb57cdb7b4a1" - ] - ] - }, { "id": "2e7bb0e6e6079d56", "type": "link in", "z": "1362a4b4f08f3d5b", "g": "d62c9cf0cb81a537", - "name": "creator - register rooms", + "name": "entities - register rooms", "links": [ "0503bf7758416919", "2c97fceb2be5bfbb", @@ -531,9 +604,9 @@ "cc68069930b2479b", "e035e232e2747fed", "e6e1bdcedd4890e9", + "fb0afb89fb191395", "fc02e2aced7cc118", - "fd2f2860794605a9", - "fb0afb89fb191395" + "fd2f2860794605a9" ], "x": 135, "y": 480, @@ -584,8 +657,8 @@ "t": "set", "p": "rooms[msg.bucket]", "pt": "global", - "to": "{}", - "tot": "jsonata" + "to": "true", + "tot": "bool" } ], "action": "", @@ -610,7 +683,7 @@ "name": "bucket", "label": "Sélectionner une pièce :", "tooltip": "", - "order": 13, + "order": 12, "width": "6", "height": "1", "passthru": false, @@ -722,7 +795,7 @@ "to": "", "reg": false, "x": 1350, - "y": 780, + "y": 840, "wires": [ [ "6c95c42a1bb0e0e8", @@ -747,16 +820,17 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "7a3b686f86cb9beb", - "name": "creator - add entity", + "name": "entities - add entity", "links": [ + "21fbe912a43d9c26", "7d77f0bc3fa0e695", "fdea9ff531a587a8" ], - "x": 1235, - "y": 780, + "x": 1015, + "y": 840, "wires": [ [ - "4e039b1bb507cbd3" + "41e9885bae118005" ] ] }, @@ -1113,7 +1187,7 @@ "name": "measurement", "label": "Mesure :", "tooltip": "", - "order": 6, + "order": 5, "width": "6", "height": "1", "passthru": false, @@ -1146,7 +1220,7 @@ "name": "field", "label": "Champs :", "tooltip": "", - "order": 7, + "order": 6, "width": 0, "height": 0, "passthru": false, @@ -1331,7 +1405,7 @@ "name": "model", "label": "Modèle :", "tooltip": "", - "order": 4, + "order": 3, "width": "6", "height": "1", "passthru": false, @@ -1391,7 +1465,7 @@ "group": "e5d4647d97841024", "name": "id", "label": "Identifiant :", - "order": 12, + "order": 11, "width": "6", "height": "1", "topic": "topic", @@ -1487,7 +1561,7 @@ "group": "e5d4647d97841024", "name": "add", "label": "", - "order": 14, + "order": 13, "width": "6", "height": "1", "emulateClick": false, @@ -1575,7 +1649,7 @@ "type": "debug", "z": "1362a4b4f08f3d5b", "g": "7a3b686f86cb9beb", - "name": "creator - add entity", + "name": "entities - add entity", "active": false, "tosidebar": true, "console": false, @@ -1780,6 +1854,13 @@ "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", "tot": "jsonata" }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, { "t": "set", "p": "class", @@ -1815,14 +1896,14 @@ "name": "protocol", "label": "Protocole :", "tooltip": "", - "order": 2, + "order": 1, "width": "6", "height": "1", "passthru": false, "multiple": false, "options": [ { - "label": "non assigné", + "label": "» recharger", "value": "", "type": "str" } @@ -1835,7 +1916,7 @@ "y": 900, "wires": [ [ - "d9f51facbcafa156" + "e7c533a4825e3889" ] ] }, @@ -1972,7 +2053,7 @@ "name": "brand", "label": "Marque :", "tooltip": "", - "order": 3, + "order": 2, "width": "6", "height": "1", "passthru": false, @@ -2089,7 +2170,7 @@ "name": "options", "label": "Variante :", "tooltip": "", - "order": 5, + "order": 4, "width": "6", "height": "1", "passthru": false, @@ -2133,7 +2214,7 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "7a3b686f86cb9beb", - "name": "creator - add entity", + "name": "entities - add entity", "mode": "link", "links": [ "035760b14c0a3455", @@ -2208,6 +2289,13 @@ "pt": "msg", "to": "Entité ajouté", "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -2229,7 +2317,7 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "4aa11d03f1b394a5", - "name": "creator - boot entities", + "name": "entities - boot entities", "links": [ "25445f5a9b787a0a" ], @@ -2294,7 +2382,7 @@ "type": "debug", "z": "1362a4b4f08f3d5b", "g": "4aa11d03f1b394a5", - "name": "creator - boot entities", + "name": "entities - boot entities", "active": false, "tosidebar": true, "console": false, @@ -2334,7 +2422,7 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "4aa11d03f1b394a5", - "name": "creator - boot entities", + "name": "entities - boot entities", "mode": "link", "links": [ "d85fe6335a6eae7b" @@ -2348,44 +2436,14 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "d163a291da272610", - "name": "creator - delete entity", + "name": "entities - delete entity", "links": [ + "1d9d8c969ccdf2be", "72f3d70342e83655", "7d77f0bc3fa0e695", - "fdea9ff531a587a8", - "1d9d8c969ccdf2be" + "fdea9ff531a587a8" ], "x": 1895, - "y": 1880, - "wires": [ - [ - "ccc2df3ce92c67ad" - ] - ] - }, - { - "id": "83fc1a8db8e3774c", - "type": "ui-button", - "z": "1362a4b4f08f3d5b", - "g": "d163a291da272610", - "group": "bb1749d6bdee813d", - "name": "reload", - "label": "", - "order": 1, - "width": "6", - "height": "1", - "emulateClick": false, - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "reload", - "iconPosition": "left", - "payload": "", - "payloadType": "str", - "topic": "topic", - "topicType": "msg", - "x": 1830, "y": 1940, "wires": [ [ @@ -2552,14 +2610,14 @@ "name": "bucket", "label": "Pièce :", "tooltip": "", - "order": 2, + "order": 1, "width": "6", "height": "1", "passthru": false, "multiple": false, "options": [ { - "label": "non assigné", + "label": "» recharger", "value": "", "type": "str" } @@ -2572,7 +2630,7 @@ "y": 2060, "wires": [ [ - "ceffdbc65f225ed5" + "389909b07238cc3a" ] ] }, @@ -2738,6 +2796,13 @@ "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", "tot": "jsonata" }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, { "t": "set", "p": "payload", @@ -2908,7 +2973,7 @@ "name": "id", "label": "ID :", "tooltip": "", - "order": 3, + "order": 2, "width": "6", "height": "1", "passthru": false, @@ -3036,7 +3101,7 @@ "group": "bb1749d6bdee813d", "name": "delete", "label": "", - "order": 4, + "order": 3, "width": "6", "height": "1", "emulateClick": false, @@ -3132,8 +3197,15 @@ "t": "set", "p": "payload", "pt": "msg", - "to": "Model supprimé", + "to": "Entitée supprimée", "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -3155,7 +3227,7 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "d163a291da272610", - "name": "creator - delete entity", + "name": "entities - delete entity", "mode": "link", "links": [ "035760b14c0a3455", @@ -3172,7 +3244,7 @@ "type": "debug", "z": "1362a4b4f08f3d5b", "g": "d163a291da272610", - "name": "creator - delete entity", + "name": "entities - delete entity", "active": false, "tosidebar": true, "console": false, @@ -3856,11 +3928,11 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "3b06cf51ed60a17e", - "name": "creator - export entities", + "name": "entities - export entities", "links": [ + "72f3d70342e83655", "7d77f0bc3fa0e695", - "fdea9ff531a587a8", - "72f3d70342e83655" + "fdea9ff531a587a8" ], "x": 245, "y": 2600, @@ -3903,7 +3975,7 @@ "type": "debug", "z": "1362a4b4f08f3d5b", "g": "3b06cf51ed60a17e", - "name": "creator - import export entity", + "name": "entities - import export entity", "active": false, "tosidebar": true, "console": false, @@ -3921,7 +3993,7 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "3b06cf51ed60a17e", - "name": "creator - import export entity", + "name": "entities - import export entity", "mode": "link", "links": [ "035760b14c0a3455", @@ -4414,7 +4486,7 @@ "g": "d62c9cf0cb81a537", "name": "buckets which are rooms", "info": "", - "x": 770, + "x": 1070, "y": 480, "wires": [] }, @@ -4423,7 +4495,7 @@ "type": "debug", "z": "1362a4b4f08f3d5b", "g": "d62c9cf0cb81a537", - "name": "creator - register rooms", + "name": "entities - register rooms", "active": false, "tosidebar": true, "console": false, @@ -4433,7 +4505,7 @@ "statusVal": "", "statusType": "auto", "x": 770, - "y": 420, + "y": 480, "wires": [] }, { @@ -4502,6 +4574,13 @@ "pt": "msg", "to": "import.message", "tot": "flow" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -4988,7 +5067,7 @@ "name": "default_number", "label": "Valeur par défaut", "tooltip": "", - "order": 10, + "order": 9, "width": "6", "height": "1", "passthru": false, @@ -5016,7 +5095,7 @@ "group": "e5d4647d97841024", "name": "default_text", "label": "Valeur par défaut", - "order": 11, + "order": 10, "width": "6", "height": "1", "topic": "topic", @@ -5057,7 +5136,7 @@ "to": "", "reg": false, "x": 1350, - "y": 840, + "y": 780, "wires": [ [ "f5b6bba2551b5bec" @@ -5073,7 +5152,7 @@ "name": "default_boolean", "label": "Valeur par défaut:", "tooltip": "", - "order": 9, + "order": 8, "width": "6", "height": "1", "passthru": false, @@ -5107,7 +5186,7 @@ "type": "link in", "z": "1362a4b4f08f3d5b", "g": "ed710864874f0897", - "name": "creator - entity to md5", + "name": "entities - entity to md5", "links": [], "x": 135, "y": 600, @@ -5211,7 +5290,7 @@ "type": "link out", "z": "1362a4b4f08f3d5b", "g": "ed710864874f0897", - "name": "creator - entity to md5", + "name": "entities - entity to md5", "mode": "return", "links": [], "x": 1235, @@ -5640,37 +5719,6 @@ ] ] }, - { - "id": "e9fecb57cdb7b4a1", - "type": "link out", - "z": "1362a4b4f08f3d5b", - "g": "7a3b686f86cb9beb", - "name": "creator - add entity - reload", - "mode": "link", - "links": [ - "a330cf9fee227d5f" - ], - "x": 855, - "y": 840, - "wires": [] - }, - { - "id": "d55073835b5cbfc3", - "type": "link in", - "z": "1362a4b4f08f3d5b", - "g": "7a3b686f86cb9beb", - "name": "link in 2", - "links": [ - "21fbe912a43d9c26" - ], - "x": 1015, - "y": 840, - "wires": [ - [ - "41e9885bae118005" - ] - ] - }, { "id": "41e9885bae118005", "type": "trigger", @@ -5773,7 +5821,7 @@ "name": "suffix", "label": "Suffix :", "tooltip": "", - "order": 8, + "order": 7, "width": "6", "height": "1", "passthru": false, @@ -5891,5 +5939,1685 @@ "374944ec7a1d4b47" ] ] + }, + { + "id": "e7c533a4825e3889", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "7a3b686f86cb9beb", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1690, + "y": 900, + "wires": [ + [ + "4e039b1bb507cbd3" + ], + [ + "d9f51facbcafa156" + ] + ] + }, + { + "id": "389909b07238cc3a", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "d163a291da272610", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2350, + "y": 2060, + "wires": [ + [ + "ccc2df3ce92c67ad" + ], + [ + "ceffdbc65f225ed5" + ] + ] + }, + { + "id": "6934471d55d3dc61", + "type": "link in", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "entities - add room", + "links": [ + "69f377a19c3aaebb", + "39c9aaaef7274169" + ], + "x": 135, + "y": 3080, + "wires": [ + [ + "a0738c4dddf29c0c" + ] + ] + }, + { + "id": "a0738c4dddf29c0c", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 3080, + "wires": [ + [ + "7becb48e82e41f4d", + "77618bede4cd20a4", + "cf0c81d932939eeb" + ] + ] + }, + { + "id": "7becb48e82e41f4d", + "type": "delay", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "wait 100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 450, + "y": 3080, + "wires": [ + [ + "1b7806eb440632ce" + ] + ] + }, + { + "id": "77618bede4cd20a4", + "type": "ui-text-input", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "group": "c1cd47eafbe36514", + "name": "bucket", + "label": "Pièces :", + "order": 1, + "width": "6", + "height": "1", + "topic": "topic", + "topicType": "msg", + "mode": "text", + "delay": 300, + "passthru": false, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 430, + "y": 3140, + "wires": [ + [ + "52c9ef8bf5d5f352" + ] + ] + }, + { + "id": "0031d2f1a7c3c8ac", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "rooms[msg.room]", + "pt": "global", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 600, + "y": 3200, + "wires": [ + [ + "6076cbdfef84255d" + ] + ] + }, + { + "id": "6076cbdfef84255d", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Pièce ajouté", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 820, + "y": 3200, + "wires": [ + [ + "cb1e6d4592635001", + "69f377a19c3aaebb" + ] + ] + }, + { + "id": "cb1e6d4592635001", + "type": "debug", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "entities - add room", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "room", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 1070, + "y": 3200, + "wires": [] + }, + { + "id": "cf0c81d932939eeb", + "type": "ui-button", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "group": "c1cd47eafbe36514", + "name": "add", + "label": "", + "order": 2, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 430, + "y": 3200, + "wires": [ + [ + "0031d2f1a7c3c8ac" + ] + ] + }, + { + "id": "c819a68d55e52a48", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + }, + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 260, + "y": 3200, + "wires": [ + [ + "cf0c81d932939eeb" + ] + ] + }, + { + "id": "1b7806eb440632ce", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 260, + "y": 3140, + "wires": [ + [ + "77618bede4cd20a4" + ] + ] + }, + { + "id": "52c9ef8bf5d5f352", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "check room", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "(system|room|thermostat|agenda|home)", + "vt": "str", + "case": false + }, + { + "t": "regex", + "v": "^[a-z]{4,20}$", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 610, + "y": 3140, + "wires": [ + [ + "bbc4e7be116546f6" + ], + [ + "c819a68d55e52a48" + ], + [ + "bbc4e7be116546f6" + ] + ] + }, + { + "id": "bbc4e7be116546f6", + "type": "debug", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "entities - add room - invalid name", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "payload", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 880, + "y": 3140, + "wires": [] + }, + { + "id": "69f377a19c3aaebb", + "type": "link out", + "z": "1362a4b4f08f3d5b", + "g": "087716156d7ca3c7", + "name": "entities - add room", + "mode": "link", + "links": [ + "206c1fb4a48067df", + "6934471d55d3dc61", + "dc7b00050a7d145a" + ], + "x": 995, + "y": 3260, + "wires": [] + }, + { + "id": "44639ce55332cbf7", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "delete", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "entity", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 3380, + "wires": [ + [ + "8e60fec05ccbd504", + "9804124babada246", + "b39e6b36efa2837a" + ] + ] + }, + { + "id": "b39e6b36efa2837a", + "type": "delay", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "wait 50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 450, + "y": 3380, + "wires": [ + [ + "be1564c06fdecf2b" + ] + ] + }, + { + "id": "28b0fb497ecfebb2", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 590, + "y": 3440, + "wires": [ + [ + "44639ce55332cbf7" + ], + [ + "7b09dadab4169774" + ] + ] + }, + { + "id": "8e60fec05ccbd504", + "type": "ui-dropdown", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "group": "773eef4fbdd58da8", + "name": "bucket", + "label": "Pièce :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 430, + "y": 3440, + "wires": [ + [ + "28b0fb497ecfebb2" + ] + ] + }, + { + "id": "eb03f7c93f8b43a3", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "delete.roomsoptions", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 260, + "y": 3440, + "wires": [ + [ + "8e60fec05ccbd504" + ] + ] + }, + { + "id": "66b74056a86a68c5", + "type": "join", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1350, + "y": 3380, + "wires": [ + [ + "eb03f7c93f8b43a3" + ] + ] + }, + { + "id": "66d2402c36529cd8", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "add", + "rules": [ + { + "t": "set", + "p": "delete.roomsoptions[msg.parts.index]", + "pt": "flow", + "to": "{\t 'label':msg.room,\t 'value':msg.room\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1190, + "y": 3440, + "wires": [ + [ + "66b74056a86a68c5" + ] + ] + }, + { + "id": "e665cef3b57e2e30", + "type": "split", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "room", + "x": 830, + "y": 3380, + "wires": [ + [ + "33a339c0afc1ba9a" + ] + ] + }, + { + "id": "be1564c06fdecf2b", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "rooms", + "tot": "global" + }, + { + "t": "set", + "p": "delete.roomsoptions", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 650, + "y": 3380, + "wires": [ + [ + "e665cef3b57e2e30" + ] + ] + }, + { + "id": "7b09dadab4169774", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "options", + "rules": [ + { + "t": "set", + "p": "room", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 260, + "y": 3500, + "wires": [ + [ + "9804124babada246" + ] + ] + }, + { + "id": "9804124babada246", + "type": "ui-button", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "group": "773eef4fbdd58da8", + "name": "delete", + "label": "", + "order": 2, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "close", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 430, + "y": 3500, + "wires": [ + [ + "9b255197471d7224" + ] + ] + }, + { + "id": "dc7b00050a7d145a", + "type": "link in", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "entities - delete room", + "links": [ + "39c9aaaef7274169", + "69f377a19c3aaebb" + ], + "x": 135, + "y": 3380, + "wires": [ + [ + "44639ce55332cbf7" + ] + ] + }, + { + "id": "39c9aaaef7274169", + "type": "link out", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "entities - delete room", + "mode": "link", + "links": [ + "dc7b00050a7d145a", + "6934471d55d3dc61" + ], + "x": 1295, + "y": 3560, + "wires": [] + }, + { + "id": "9b255197471d7224", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "delete room from global", + "rules": [ + { + "t": "delete", + "p": "rooms[msg.room]", + "pt": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 650, + "y": 3500, + "wires": [ + [ + "2e60e757450968dc" + ] + ] + }, + { + "id": "d4606f08690adde6", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Pièce supprimée", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1120, + "y": 3500, + "wires": [ + [ + "607bdd179757b5c7", + "39c9aaaef7274169" + ] + ] + }, + { + "id": "607bdd179757b5c7", + "type": "debug", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "entities - delete room", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "room", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 1380, + "y": 3500, + "wires": [] + }, + { + "id": "2e60e757450968dc", + "type": "delay", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "wait 150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 890, + "y": 3500, + "wires": [ + [ + "d4606f08690adde6" + ] + ] + }, + { + "id": "33a339c0afc1ba9a", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "check room", + "property": "room", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "(system|room|thermostat|agenda|home)", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1010, + "y": 3380, + "wires": [ + [ + "ae105b35b7dfbc69" + ], + [ + "66d2402c36529cd8" + ] + ] + }, + { + "id": "ae105b35b7dfbc69", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "b8a64a86d3eb3506", + "name": "add", + "rules": [ + { + "t": "set", + "p": "delete.roomsoptions[msg.parts.index]", + "pt": "flow", + "to": "{\t 'label':msg.room&' (system)',\t 'value':''\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1190, + "y": 3380, + "wires": [ + [ + "66b74056a86a68c5" + ] + ] + }, + { + "id": "a0202211b5f8a9ce", + "type": "ui-button", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "group": "851105d76914a281", + "name": "reload", + "label": "", + "order": 1, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "reload", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 270, + "y": 3680, + "wires": [ + [ + "d24a1016b1615427" + ] + ] + }, + { + "id": "d24a1016b1615427", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "rooms", + "tot": "global" + }, + { + "t": "set", + "p": "import", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 450, + "y": 3680, + "wires": [ + [ + "20a79d9eeb90fda6" + ] + ] + }, + { + "id": "726ccca1e080bf6b", + "type": "ui-text-input", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "group": "851105d76914a281", + "name": "", + "label": "", + "order": 2, + "width": "6", + "height": "3", + "topic": "topic", + "topicType": "msg", + "mode": "textarea", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 820, + "y": 3680, + "wires": [ + [ + "695be3c75559690b" + ] + ] + }, + { + "id": "695be3c75559690b", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "to flow", + "rules": [ + { + "t": "set", + "p": "import.content", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3680, + "wires": [ + [] + ] + }, + { + "id": "b7488a10a88f20a9", + "type": "ui-button", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "group": "851105d76914a281", + "name": "import", + "label": "", + "order": 3, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 270, + "y": 3740, + "wires": [ + [ + "0949b6119fa62e77" + ] + ] + }, + { + "id": "0949b6119fa62e77", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "from flow", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.content", + "tot": "flow" + }, + { + "t": "set", + "p": "import.message", + "pt": "flow", + "to": "Pièces importé avec succès", + "tot": "str" + }, + { + "t": "delete", + "p": "entity", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 440, + "y": 3740, + "wires": [ + [ + "9606333fe00f01bb" + ] + ] + }, + { + "id": "9606333fe00f01bb", + "type": "json", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "", + "property": "payload", + "action": "obj", + "pretty": false, + "x": 610, + "y": 3740, + "wires": [ + [ + "5c4aa68efe456371" + ] + ] + }, + { + "id": "5c4aa68efe456371", + "type": "split", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "room", + "x": 770, + "y": 3740, + "wires": [ + [ + "1fa905f4d19b3376" + ] + ] + }, + { + "id": "f83897b1f3c48879", + "type": "link in", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "entities - export rooms", + "links": [], + "x": 135, + "y": 3680, + "wires": [ + [ + "a0202211b5f8a9ce" + ] + ] + }, + { + "id": "20a79d9eeb90fda6", + "type": "json", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "", + "property": "payload", + "action": "", + "pretty": true, + "x": 630, + "y": 3680, + "wires": [ + [ + "726ccca1e080bf6b" + ] + ] + }, + { + "id": "1fa905f4d19b3376", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "check room", + "property": "room", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "(system|room|thermostat|agenda|home)", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 950, + "y": 3740, + "wires": [ + [ + "d2997f50cec29cce" + ], + [ + "6f0c74e816a70334" + ] + ] + }, + { + "id": "d2997f50cec29cce", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "message", + "rules": [ + { + "t": "set", + "p": "import.message", + "pt": "flow", + "to": "Une pièce n'a pas pu être importé", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1140, + "y": 3740, + "wires": [ + [ + "8d4d236424edbea8" + ] + ] + }, + { + "id": "6f0c74e816a70334", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "entities[msg.md5]", + "pt": "global", + "to": "payload", + "tot": "msg", + "dc": true + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1140, + "y": 3800, + "wires": [ + [ + "8d4d236424edbea8" + ] + ] + }, + { + "id": "8d4d236424edbea8", + "type": "join", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1310, + "y": 3740, + "wires": [ + [ + "f14ce35482fb5f06" + ] + ] + }, + { + "id": "f14ce35482fb5f06", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.message", + "tot": "flow" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1520, + "y": 3740, + "wires": [ + [ + "087ef495d3f3bf63", + "c8ca16b97279bf5f" + ] + ] + }, + { + "id": "087ef495d3f3bf63", + "type": "debug", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "entities - import export room", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "payload", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 1800, + "y": 3680, + "wires": [] + }, + { + "id": "c8ca16b97279bf5f", + "type": "link out", + "z": "1362a4b4f08f3d5b", + "g": "433d0b51637d03f5", + "name": "entities - export room", + "mode": "link", + "links": [], + "x": 1695, + "y": 3740, + "wires": [] + }, + { + "id": "6eafb2a9c1ec95c0", + "type": "link in", + "z": "1362a4b4f08f3d5b", + "g": "d62c9cf0cb81a537", + "name": "entities - rooms to buckets", + "links": [ + "f4e4d84dd55f9d0d" + ], + "x": 135, + "y": 420, + "wires": [ + [ + "4e5188bf59004a54" + ] + ] + }, + { + "id": "39740b8338a622fd", + "type": "split", + "z": "1362a4b4f08f3d5b", + "g": "d62c9cf0cb81a537", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "room", + "x": 470, + "y": 420, + "wires": [ + [ + "fc14608145819575" + ] + ] + }, + { + "id": "4e5188bf59004a54", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "d62c9cf0cb81a537", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "rooms", + "tot": "global" + }, + { + "t": "set", + "p": "payload.home", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 290, + "y": 420, + "wires": [ + [ + "39740b8338a622fd" + ] + ] + }, + { + "id": "cc946bae3f4b46d8", + "type": "change", + "z": "1362a4b4f08f3d5b", + "g": "d62c9cf0cb81a537", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "metrics[msg.room]", + "pt": "global", + "to": "{}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 840, + "y": 420, + "wires": [ + [] + ] + }, + { + "id": "fc14608145819575", + "type": "switch", + "z": "1362a4b4f08f3d5b", + "g": "d62c9cf0cb81a537", + "name": "has bucket", + "property": "metrics", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "room", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 650, + "y": 420, + "wires": [ + [], + [ + "cc946bae3f4b46d8" + ] + ] } ] \ No newline at end of file diff --git a/flows/U.Home.json b/flows/U.Home.json deleted file mode 100644 index a6811bf..0000000 --- a/flows/U.Home.json +++ /dev/null @@ -1,528 +0,0 @@ -[ - { - "id": "e19f53e3dc7ab928", - "type": "tab", - "label": "U.Home", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "e6f586ce062979fb", - "type": "group", - "z": "e19f53e3dc7ab928", - "name": "home - bucket", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ffC000" - }, - "nodes": [ - "d210ac6cc3e866c0", - "ef0d3b8996ec469c", - "fb0afb89fb191395" - ], - "x": 94, - "y": 19, - "w": 342, - "h": 82 - }, - { - "id": "df46e2504e16fc3e", - "type": "group", - "z": "e19f53e3dc7ab928", - "name": "home - ui - chart (customized to my needs)", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "04de52a5f5237233", - "84416ebc7a349dd4" - ], - "x": 68, - "y": 353, - "w": 644, - "h": 254 - }, - { - "id": "c520bebe00c3589e", - "type": "group", - "z": "e19f53e3dc7ab928", - "name": "catch error", - "style": { - "fill": "#ff0000", - "fill-opacity": "0.05", - "label": true, - "stroke": "#ff0000" - }, - "nodes": [ - "e01f4a19b0701f2c", - "61d20690dde8a991", - "bc345ebb0941581d" - ], - "x": 534, - "y": 19, - "w": 422, - "h": 82 - }, - { - "id": "2a1bd2a4837e01f7", - "type": "group", - "z": "e19f53e3dc7ab928", - "name": "home - ui select room", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true, - "stroke": "#6f2fa0" - }, - "nodes": [ - "601b5a75c014b306", - "29f190c009d9bd2b", - "6877b109cf50132e", - "fc901a06715c2d2a" - ], - "x": 1054, - "y": 19, - "w": 562, - "h": 82 - }, - { - "id": "04de52a5f5237233", - "type": "group", - "z": "e19f53e3dc7ab928", - "g": "df46e2504e16fc3e", - "name": "home - ui - chart outdoor temperature", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "3bd22b1740d9d8b2", - "43e68c058a7661d6", - "b3f5b970a9b03119" - ], - "x": 94, - "y": 379, - "w": 592, - "h": 82 - }, - { - "id": "84416ebc7a349dd4", - "type": "group", - "z": "e19f53e3dc7ab928", - "g": "df46e2504e16fc3e", - "name": "home - ui - chart outdoor humidity", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "53e61734d5875604", - "f9ae231f709aa135", - "50bc182c3569008c" - ], - "x": 94, - "y": 499, - "w": 572, - "h": 82 - }, - { - "id": "d210ac6cc3e866c0", - "type": "change", - "z": "e19f53e3dc7ab928", - "g": "e6f586ce062979fb", - "name": "bucket", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "home", - "tot": "str" - }, - { - "t": "set", - "p": "bucket", - "pt": "flow", - "to": "bucket", - "tot": "msg" - }, - { - "t": "set", - "p": "telegram_message", - "pt": "flow", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 270, - "y": 60, - "wires": [ - [ - "fb0afb89fb191395" - ] - ] - }, - { - "id": "ef0d3b8996ec469c", - "type": "link in", - "z": "e19f53e3dc7ab928", - "g": "e6f586ce062979fb", - "name": "home - bucket", - "links": [ - "25445f5a9b787a0a" - ], - "x": 135, - "y": 60, - "wires": [ - [ - "d210ac6cc3e866c0" - ] - ] - }, - { - "id": "fb0afb89fb191395", - "type": "link out", - "z": "e19f53e3dc7ab928", - "g": "e6f586ce062979fb", - "name": "home - bucket", - "mode": "link", - "links": [ - "2e7bb0e6e6079d56", - "ab6d3d1be0d9ea74", - "ce3cbb4ae72bbc14" - ], - "x": 395, - "y": 60, - "wires": [] - }, - { - "id": "3bd22b1740d9d8b2", - "type": "ui-chart", - "z": "e19f53e3dc7ab928", - "g": "04de52a5f5237233", - "group": "8bdaa1ba3eb700cc", - "name": "chart outdoor temperature", - "label": "", - "order": 9007199254740991, - "chartType": "line", - "category": "_field", - "categoryType": "property", - "xAxisProperty": "_time", - "xAxisPropertyType": "msg", - "xAxisType": "time", - "yAxisProperty": "_value", - "ymin": "", - "ymax": "", - "action": "replace", - "pointShape": "false", - "pointRadius": "2", - "showLegend": false, - "removeOlder": 1, - "removeOlderUnit": "86400", - "removeOlderPoints": "100", - "colors": [ - "#1f77b4", - "#aec7e8", - "#ff7f0e", - "#2ca02c", - "#98df8a", - "#d62728", - "#ff9896", - "#9467bd", - "#c5b0d5" - ], - "width": 6, - "height": "6", - "className": "", - "x": 550, - "y": 420, - "wires": [ - [] - ] - }, - { - "id": "43e68c058a7661d6", - "type": "influxdb in", - "z": "e19f53e3dc7ab928", - "g": "04de52a5f5237233", - "influxdb": "e408b55d1dc6870d", - "name": "", - "query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"temperature\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )", - "rawOutput": false, - "precision": "", - "retentionPolicy": "", - "org": "iotredloop", - "x": 300, - "y": 420, - "wires": [ - [ - "3bd22b1740d9d8b2" - ] - ] - }, - { - "id": "b3f5b970a9b03119", - "type": "link in", - "z": "e19f53e3dc7ab928", - "g": "04de52a5f5237233", - "name": "home - ui - chart outdoor temperature", - "links": [ - "004bb30c27c94fb4" - ], - "x": 135, - "y": 420, - "wires": [ - [ - "43e68c058a7661d6" - ] - ] - }, - { - "id": "53e61734d5875604", - "type": "ui-chart", - "z": "e19f53e3dc7ab928", - "g": "84416ebc7a349dd4", - "group": "7f89503f8062898b", - "name": "chart outdoor humidity", - "label": "", - "order": 9007199254740991, - "chartType": "line", - "category": "_field", - "categoryType": "property", - "xAxisProperty": "_time", - "xAxisPropertyType": "msg", - "xAxisType": "time", - "yAxisProperty": "_value", - "ymin": "", - "ymax": "", - "action": "replace", - "pointShape": "false", - "pointRadius": "2", - "showLegend": false, - "removeOlder": 1, - "removeOlderUnit": "86400", - "removeOlderPoints": "100", - "colors": [ - "#1f77b4", - "#aec7e8", - "#ff7f0e", - "#2ca02c", - "#98df8a", - "#d62728", - "#ff9896", - "#9467bd", - "#c5b0d5" - ], - "width": 6, - "height": "6", - "className": "", - "x": 540, - "y": 540, - "wires": [ - [] - ] - }, - { - "id": "f9ae231f709aa135", - "type": "influxdb in", - "z": "e19f53e3dc7ab928", - "g": "84416ebc7a349dd4", - "influxdb": "e408b55d1dc6870d", - "name": "", - "query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"humidity\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )", - "rawOutput": false, - "precision": "", - "retentionPolicy": "", - "org": "iotredloop", - "x": 300, - "y": 540, - "wires": [ - [ - "53e61734d5875604" - ] - ] - }, - { - "id": "50bc182c3569008c", - "type": "link in", - "z": "e19f53e3dc7ab928", - "g": "84416ebc7a349dd4", - "name": "home - ui - chart outdoor humidity", - "links": [ - "004bb30c27c94fb4" - ], - "x": 135, - "y": 540, - "wires": [ - [ - "f9ae231f709aa135" - ] - ] - }, - { - "id": "e01f4a19b0701f2c", - "type": "catch", - "z": "e19f53e3dc7ab928", - "g": "c520bebe00c3589e", - "name": "catch error", - "scope": null, - "uncaught": false, - "x": 620, - "y": 60, - "wires": [ - [ - "61d20690dde8a991" - ] - ] - }, - { - "id": "61d20690dde8a991", - "type": "change", - "z": "e19f53e3dc7ab928", - "g": "c520bebe00c3589e", - "name": "topic", - "rules": [ - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "home", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 790, - "y": 60, - "wires": [ - [ - "bc345ebb0941581d" - ] - ] - }, - { - "id": "bc345ebb0941581d", - "type": "link out", - "z": "e19f53e3dc7ab928", - "g": "c520bebe00c3589e", - "name": "catch error", - "mode": "link", - "links": [ - "a52f0e788cd4dca3" - ], - "x": 915, - "y": 60, - "wires": [] - }, - { - "id": "601b5a75c014b306", - "type": "link out", - "z": "e19f53e3dc7ab928", - "g": "2a1bd2a4837e01f7", - "name": "home - ui select room", - "mode": "link", - "links": [ - "1be6ca3c2b8615a2" - ], - "x": 1575, - "y": 60, - "wires": [] - }, - { - "id": "29f190c009d9bd2b", - "type": "link in", - "z": "e19f53e3dc7ab928", - "g": "2a1bd2a4837e01f7", - "name": "home - ui select room", - "links": [ - "74172837e07ab80d" - ], - "x": 1095, - "y": 60, - "wires": [ - [ - "6877b109cf50132e" - ] - ] - }, - { - "id": "6877b109cf50132e", - "type": "change", - "z": "e19f53e3dc7ab928", - "g": "2a1bd2a4837e01f7", - "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": [ - [ - "fc901a06715c2d2a" - ] - ] - }, - { - "id": "fc901a06715c2d2a", - "type": "ui-button", - "z": "e19f53e3dc7ab928", - "g": "2a1bd2a4837e01f7", - "group": "36396f5285df476c", - "name": "", - "label": "Maison", - "order": 2, - "width": "2", - "height": "1", - "emulateClick": false, - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "", - "iconPosition": "left", - "payload": "bucket", - "payloadType": "flow", - "topic": "topic", - "topicType": "msg", - "x": 1460, - "y": 60, - "wires": [ - [ - "601b5a75c014b306" - ] - ] - } -] \ No newline at end of file diff --git a/flows/U.Room.List.json b/flows/U.Room.List.json deleted file mode 100644 index 19edcfb..0000000 --- a/flows/U.Room.List.json +++ /dev/null @@ -1,9992 +0,0 @@ -[ - { - "id": "b928bb81c1e02961", - "type": "tab", - "label": "U.Room.List", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "af3293313a492113", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - aperture", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "af81b0a41bcf99df", - "6d6224968ba7c5d9", - "c6f86ceb44d413ed", - "227b59bd71d4ea5a", - "0667b13392452757", - "b4bde00bbca1c9c3", - "1c698f378d20c0c8", - "4468e5d7d722f524", - "b2720f096a0b488e", - "d0e8c2ef168e690c", - "f87851f6472299ee", - "e9d47e8d56320c0f", - "e1468bd07f7833d2", - "fd32c9160864393c", - "e92aecb14578b6f2", - "8511a4bc957115d4", - "08e432ec0eeec199", - "04ae900e7a8e5ac8", - "248ab1ebea76ecae", - "95a3aef8bfc333e1", - "d5b35dbd65c8c2b9", - "3cecd7c4f79dd7fe", - "6b79b66429521305", - "7b3f1aaec004ecfa", - "c7e91ffdb1fe5a2e", - "99abe6ab320bf6f1", - "5e8e9f03c92c72bf", - "cec940e246132dd8", - "bc3f1c8b796e6e94", - "55458de5ef49bb91", - "f098e88f376a791b", - "c3a2ed381aba6a33", - "3fecb11ba25e2884", - "b129a76c891d0014", - "280b16759c50ec5d", - "48fe1d10a3a37a85", - "22b8700637e578f9", - "557d6369a161cd69" - ], - "x": 94, - "y": 199, - "w": 2302, - "h": 622 - }, - { - "id": "e9b46670bc7283be", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - battery", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "cfe03bc0196989f5", - "80c3ce3d49bd331a", - "3bc4111acd19c69a", - "55f064781c895892", - "ffe2a77ad5394471", - "44e6838e903b3566", - "90d065528adcfb62", - "c6dfc590e40a4878", - "b184b34450d43367", - "b70f40f78b57a9e9", - "276edc393b2b8718", - "9d9a9a166ac14a87", - "fb5636e8659a3798", - "f6a8e56f95d2e83f", - "188c450232762d9f", - "28383999950bc1ee", - "ab5070d8e2289db3", - "0b3ada9a154f8404", - "2a102caad43b93f6", - "47c0bf4047a645fd", - "82e320bbcec01dec", - "8ffac054b06e408a", - "47b82a6a458a6f25", - "3744b28f43a5bb2b", - "65e427add3ad7d5c", - "65d2993302d9e21b", - "999a7018d46ffc73", - "aa91636fd91822cd", - "8b02b507d6467dcb", - "510ee05b3d6497d4", - "7cdf67aea069fe46", - "699ec99e677c7dc7", - "3272b2668f830af9", - "0f1d5657502571bf", - "3d01f404ce8e4f2e", - "c8c8e81ef5a7a779", - "25c121f68955e797", - "815d0596d6b03dba", - "3cfbbbdec94a469c", - "12443294ea11d3c1", - "91b94a9d896e7e78", - "b525d95cb47e05e7", - "bb111dd74584e31e", - "d23964f1034cc332", - "2bf944e313216712", - "8ba2fb2ae10d5f8a", - "3c125c12aed493a6" - ], - "x": 94, - "y": 2059, - "w": 1912, - "h": 862 - }, - { - "id": "55552ce2fcab661e", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - seen", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "0556201671b0285e", - "fa99b8b44e92f9be", - "8b94e3c61d1c7e5d", - "eeae2c986dcc4fd5", - "1b2fe53f9f4527dc", - "e3241702c334a377", - "6eac671a3b5398ca", - "8e7e9d97a6c879c9", - "aeac844b38d85fc6", - "764bf2a2badb8940", - "ff242d9ca428610e", - "1191a4f0f73ac0a2", - "8cfe805309e7f14b", - "a53d417127982757", - "f8cca546e04eb48f", - "78919c58e908a11f", - "1debe93af15df2b3", - "3e0c8f89c9ad2c59", - "190cd8656368dea1", - "c98bc4cd21e70d26", - "8796089a19e22fe4", - "41178c35c209aac0", - "9251d2904afbdbde", - "b5e1b5781b6067d7", - "b8af5e3061c3fd5a", - "2c43537a0cf9e307", - "5bc2441e8a6e0e82", - "24163d2ac0806a9e", - "395a54a40d57ff29", - "6c04bba89bc4d93f", - "ef1a0dcd39c2ebfa", - "75b4cef66ff5b569", - "a1fecc9bf61cbecc", - "7a5403df0db1a125", - "b308c52fad5e3003", - "31e66543c855840b", - "9fe066202aa296f9", - "82643125d8e7bae9", - "4155536a5f1ff708", - "a3c2ced4e60f6aff", - "68ac0321fc403487", - "4c31f8c823796b9d", - "1fde23683c7ff5d8", - "97b05bc746ae98eb", - "8422a13fa9dcca51", - "80ccf2e84836c3b9", - "2da226787a8deb51", - "52be14f6c954aaec" - ], - "x": 94, - "y": 2959, - "w": 2132, - "h": 862 - }, - { - "id": "edfd321fdae55df0", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - light", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "2ac79808a71cacb1", - "191e72ca8d7deecf", - "4f140e0b7bb038a6", - "68a06a849669ed22", - "3add54b2949c23ec", - "5f3f7c722ac856e1", - "60368ba60dfa48a3", - "6d778528ac85f061", - "2416eed2ad7fb675", - "cae48203992d0c58", - "0971602e6a24e9b7", - "44244979d1ad8528", - "d01299e89f601944", - "c9b6f8136ca0bd79", - "fa4bf780a0f34822", - "2839b9ab42bf552c", - "428c4887aeb1b8bf", - "2c47c873b0dfeb59", - "eba701577392c37d", - "f0f16786525d1859", - "246e55d292fe0f91", - "c863abef8c3dded1", - "caf4791638c6f452", - "1b1ed5db08fa516f", - "ea7482edacd656f7", - "4a96348eb648c97c", - "f9014dd138d70756", - "4ed4b78dc034a6c9", - "a95a9af12bbd3646", - "3ea01cdef09d498b", - "912811332f1921eb", - "27111821405d5644", - "0fa65bab1ee8568a", - "7280c7be1481cd40", - "7de1422ef0247bba", - "ac514b49b2018467", - "639c01a19ae1a820", - "283d461116d4ddad", - "689e466df8f8c5c5" - ], - "x": 94, - "y": 859, - "w": 2802, - "h": 562 - }, - { - "id": "cfd2fc533d86ab94", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - outlet", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "197667ca4e9cdc54", - "3bb2a286f77067a9", - "3996f05011c215e4", - "c81bc2696963b090", - "24db240be39b9a2a", - "e804fb2bad48ce0d", - "89d8b374ec0c8d64", - "cdf2ad725fe8ba54", - "7e8e1ce7414fbc36", - "38b3477f104b9d36", - "bc14b0716cd43585", - "9f05d32a15544b29", - "465d409da29c386d", - "a3a4cb31ebdbb809", - "f31fb49f04148c64", - "a0e5fc984e2031a8", - "8e95a2345189876d", - "6a476a7e62631884", - "e163c6ad2e2227d2", - "b7a0e4825f15e4a2", - "d84590265fa8da9a", - "5dd5e52ffb38148e", - "1d70860e3f2cb386", - "0217c5132e551168", - "c3d1a81ac0746df1", - "ad569b0b9d7deb89", - "1ebdf2bf88a5d99c", - "41ab086b1bafeb41", - "7d41bae2b6bb3e6a", - "0bac1457f2c3c913", - "fbcc441952a7c9da", - "4f0a78c09e88ac52", - "825e71c37d3c674a", - "b2a2d9d670500881", - "142c5e63a5897acb", - "17e00a50bca8a511" - ], - "x": 94, - "y": 1459, - "w": 2342, - "h": 562 - }, - { - "id": "3a47bd390630563b", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - power", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "b456712facdb8f99", - "9eec2a58eea2f794", - "f7f44b26d3494661", - "60ec289316037465", - "438956ec28a1644e", - "e9be7bc2cece9e6b", - "4ad7e0736cb2f3e1", - "3dacfc613c2d6949", - "159905f89f658c3d", - "37342614a8bd3e6c", - "36b6ced1758a043b", - "55023cb2a00a038e", - "65f301cc578576a3", - "a0f6a91598012b9a", - "47f442e7e5c89435", - "962301d657a74408", - "eb891ec4b0a07cfe", - "3a821e7da32a3561", - "cf55e9963f617d17", - "0109e7088ec7040c", - "fb14e8329c2c77c8", - "628630966e299dce", - "57516cd75e235df7", - "a4d7386dea5c2987", - "0aa9ffb8eb4cd831", - "fc59359ff0fc3578", - "5d01b01dda282884", - "95dbd0806f6e50e3", - "65ba5d4db252f373", - "8c26987fb7503da4", - "b4ade4e43f7f5619", - "1c5b37e443ea3a54", - "d66db8193ecbf5f3", - "11459cef626d8dd5", - "d48781c900013ee5", - "865b1e2e30c1406e", - "2c3c9f634bfc436b", - "c18aac930067b2c5", - "01d61d75b12c086d", - "f996e39f99239f8f", - "ef696b96885101ae", - "48a0cc5241d2549f", - "8360781eafaecfeb", - "c19b6e3169ebc381", - "1127e98653b5a27a", - "4183c52e2b2c85f1", - "5fbe5259545c7e84" - ], - "x": 94, - "y": 3859, - "w": 1912, - "h": 862 - }, - { - "id": "65f5bcaeef2cb043", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - color", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "d59c718c84ca0c45", - "6974a448a0c0c431", - "3f26e65e9e14b140", - "165086f5eeb45889", - "26655f3b52fd390b", - "4f053126291b5804", - "656edb879555e04e", - "fd6b81a32bb8d757", - "17650efb4c8eac6d", - "35aed833a6fd89c9", - "78389a0e3cf80961", - "b5aef2391dcbcf4b", - "9bdb14efae83866c", - "6aa0699f4eb35c14", - "b21e235c39afcb03", - "bd985c8dc9609479", - "095ea15b0b3f109a", - "a0a1caf4e95d5a2b", - "230b7b206cbda14f", - "93ed91bff23ccae6", - "c369c0df4127877c", - "cd27de68d9e0cbc4", - "11e8012b77840d09", - "67c80d1f6f7f4480", - "862bd44140894d07", - "eb3242a9703a76df", - "d963d406dbde22b8", - "037325aca1c515e3", - "7b14579668c1af3f", - "fa5d15edbf72f647", - "b2e76bba0862cef8", - "46ff4d153fc9736c", - "04052562e24f52a7", - "b2358081175b0301", - "b73d1209033d8724", - "929e091f58d7e981", - "d23265902eda3894", - "a803317ea68e18fc", - "fadfc3bdbc68f76f", - "cbe25ff8706d300b", - "159202a1e2a32023", - "e4063f822861a8e3", - "bc769b10e03830e1" - ], - "x": 94, - "y": 4759, - "w": 3722, - "h": 562 - }, - { - "id": "14365542ae0790c8", - "type": "group", - "z": "b928bb81c1e02961", - "name": "room - ui - brihgtness", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "42acd7f9ad626301", - "c3e90ec1d4493bb4", - "6ab8f6f585ebee36", - "c17daf8aa7e26a0c", - "7379c487515b9889", - "3a6f2959b098c17e", - "69f1300be1c6d8ab", - "32f30c6a0241b184", - "1313dd5a267993d9", - "1b38e8d77f15ac4a", - "d9d65b36d28ee1b5", - "af81a38fa86c6cc8", - "dbe559c73da68763", - "d88e0ed1a96a90b5", - "42c1dae9372de9c6", - "149cc130f5efb763", - "7eacb809027a3f29", - "992d3a4f1f2cef04", - "7f81ef3f4f7d218f", - "6aeea1de4587093e", - "2155a7e805ce62e5", - "db3dc40ea4b498e3", - "65dca07a06ffa9c6", - "d272a453214030a9", - "f89a84a4111a2df9", - "ccd498fdd2090daf", - "6318eeea1f540ad8", - "6e9d7cb4048d2eef", - "ae5513076154ad8a", - "9a9eba7461771815", - "7f33cfc11587b83c", - "04f0f1dcc6935c42", - "51dd51d87769dfc4", - "1cfe4db12a78f24a" - ], - "x": 94, - "y": 5359, - "w": 2242, - "h": 562 - }, - { - "id": "af81b0a41bcf99df", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.aperture", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 360, - "wires": [ - [ - "e9d47e8d56320c0f", - "e1468bd07f7833d2", - "fd32c9160864393c", - "e92aecb14578b6f2", - "8511a4bc957115d4", - "08e432ec0eeec199", - "c7e91ffdb1fe5a2e", - "280b16759c50ec5d", - "f098e88f376a791b", - "c3a2ed381aba6a33", - "3fecb11ba25e2884", - "48fe1d10a3a37a85" - ] - ] - }, - { - "id": "6d6224968ba7c5d9", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "room - ui - aperture - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 300, - "wires": [ - [ - "4468e5d7d722f524" - ] - ] - }, - { - "id": "c6f86ceb44d413ed", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "room - ui - aperture - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 240, - "wires": [ - [ - "227b59bd71d4ea5a", - "557d6369a161cd69" - ] - ] - }, - { - "id": "227b59bd71d4ea5a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Ouvertures\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 240, - "wires": [ - [ - "b2720f096a0b488e", - "f87851f6472299ee" - ] - ] - }, - { - "id": "0667b13392452757", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Ouvertures\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 300, - "wires": [ - [ - "b2720f096a0b488e", - "f87851f6472299ee" - ] - ] - }, - { - "id": "b4bde00bbca1c9c3", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2220, - "y": 480, - "wires": [ - [ - "1c698f378d20c0c8" - ] - ] - }, - { - "id": "1c698f378d20c0c8", - "type": "link out", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "room - ui - aperture - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 2355, - "y": 480, - "wires": [] - }, - { - "id": "4468e5d7d722f524", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "aperture", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 300, - "wires": [ - [ - "0667b13392452757", - "b129a76c891d0014" - ] - ] - }, - { - "id": "b2720f096a0b488e", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1860, - "y": 300, - "wires": [ - [] - ] - }, - { - "id": "d0e8c2ef168e690c", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 240, - "wires": [] - }, - { - "id": "f87851f6472299ee", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune ouverture", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1860, - "y": 240, - "wires": [ - [ - "d0e8c2ef168e690c" - ] - ] - }, - { - "id": "e9d47e8d56320c0f", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 2, - "width": "5", - "height": "1", - "name": "aperture 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1880, - "y": 540, - "wires": [] - }, - { - "id": "e1468bd07f7833d2", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 4, - "width": "5", - "height": "1", - "name": "aperture 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1880, - "y": 600, - "wires": [] - }, - { - "id": "fd32c9160864393c", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 6, - "width": "5", - "height": "1", - "name": "aperture 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1880, - "y": 660, - "wires": [] - }, - { - "id": "e92aecb14578b6f2", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 8, - "width": "5", - "height": "1", - "name": "aperture 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1880, - "y": 720, - "wires": [] - }, - { - "id": "8511a4bc957115d4", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 10, - "width": "5", - "height": "1", - "name": "aperture 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1880, - "y": 780, - "wires": [] - }, - { - "id": "08e432ec0eeec199", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "name": "shutter", - "label": "", - "tooltip": "", - "order": 13, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "shutter", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": 1, - "className": "", - "x": 2050, - "y": 480, - "wires": [ - [ - "b4bde00bbca1c9c3" - ] - ] - }, - { - "id": "04ae900e7a8e5ac8", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 860, - "y": 540, - "wires": [ - [ - "248ab1ebea76ecae" - ] - ] - }, - { - "id": "248ab1ebea76ecae", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'La '&$string(msg.trans)&' est '&(msg.payload?'ouverte':'fermée')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1050, - "y": 540, - "wires": [ - [ - "95a3aef8bfc333e1" - ] - ] - }, - { - "id": "95a3aef8bfc333e1", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "exists", - "property": "index.aperture", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1210, - "y": 540, - "wires": [ - [ - "d5b35dbd65c8c2b9" - ], - [ - "3cecd7c4f79dd7fe" - ] - ] - }, - { - "id": "d5b35dbd65c8c2b9", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.battery[msg.field]", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1370, - "y": 540, - "wires": [ - [ - "6b79b66429521305" - ] - ] - }, - { - "id": "3cecd7c4f79dd7fe", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.aperture", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.aperture[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1370, - "y": 600, - "wires": [ - [ - "6b79b66429521305" - ] - ] - }, - { - "id": "6b79b66429521305", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 1530, - "y": 540, - "wires": [ - [ - "99abe6ab320bf6f1", - "c7e91ffdb1fe5a2e" - ], - [ - "5e8e9f03c92c72bf", - "280b16759c50ec5d" - ], - [ - "cec940e246132dd8", - "f098e88f376a791b" - ], - [ - "bc3f1c8b796e6e94", - "c3a2ed381aba6a33" - ], - [ - "55458de5ef49bb91", - "3fecb11ba25e2884" - ] - ] - }, - { - "id": "7b3f1aaec004ecfa", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "shutter", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "shutter", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 670, - "y": 480, - "wires": [ - [ - "08e432ec0eeec199", - "22b8700637e578f9" - ], - [ - "04ae900e7a8e5ac8" - ] - ] - }, - { - "id": "cfe03bc0196989f5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.battery", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2220, - "wires": [ - [ - "9d9a9a166ac14a87", - "28383999950bc1ee", - "ab5070d8e2289db3", - "0b3ada9a154f8404", - "2a102caad43b93f6", - "47c0bf4047a645fd", - "82e320bbcec01dec", - "47b82a6a458a6f25", - "3744b28f43a5bb2b", - "8ffac054b06e408a", - "25c121f68955e797", - "815d0596d6b03dba", - "3cfbbbdec94a469c", - "8ba2fb2ae10d5f8a", - "12443294ea11d3c1", - "91b94a9d896e7e78", - "b525d95cb47e05e7", - "bb111dd74584e31e", - "d23964f1034cc332", - "2bf944e313216712" - ] - ] - }, - { - "id": "80c3ce3d49bd331a", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "boot battery", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 2100, - "wires": [ - [ - "ffe2a77ad5394471", - "3c125c12aed493a6" - ] - ] - }, - { - "id": "3bc4111acd19c69a", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "room - ui - battery - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 2160, - "wires": [ - [ - "b70f40f78b57a9e9" - ] - ] - }, - { - "id": "55f064781c895892", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Batteries\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2160, - "wires": [ - [ - "276edc393b2b8718", - "f6a8e56f95d2e83f" - ] - ] - }, - { - "id": "ffe2a77ad5394471", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Batteries\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2100, - "wires": [ - [ - "276edc393b2b8718", - "f6a8e56f95d2e83f" - ] - ] - }, - { - "id": "44e6838e903b3566", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.battery[msg.field]", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 2340, - "wires": [ - [ - "b184b34450d43367" - ] - ] - }, - { - "id": "90d065528adcfb62", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.battery", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.battery[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 2400, - "wires": [ - [ - "b184b34450d43367" - ] - ] - }, - { - "id": "c6dfc590e40a4878", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "exists", - "property": "index.battery", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1050, - "y": 2340, - "wires": [ - [ - "44e6838e903b3566" - ], - [ - "90d065528adcfb62" - ] - ] - }, - { - "id": "b184b34450d43367", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - }, - { - "t": "eq", - "v": "6", - "vt": "num" - }, - { - "t": "eq", - "v": "7", - "vt": "num" - }, - { - "t": "eq", - "v": "8", - "vt": "num" - }, - { - "t": "eq", - "v": "9", - "vt": "num" - }, - { - "t": "eq", - "v": "10", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 10, - "x": 1370, - "y": 2340, - "wires": [ - [ - "c8c8e81ef5a7a779", - "25c121f68955e797" - ], - [ - "3d01f404ce8e4f2e", - "815d0596d6b03dba" - ], - [ - "0f1d5657502571bf", - "3cfbbbdec94a469c" - ], - [ - "3272b2668f830af9", - "8ba2fb2ae10d5f8a" - ], - [ - "699ec99e677c7dc7", - "12443294ea11d3c1" - ], - [ - "7cdf67aea069fe46", - "91b94a9d896e7e78" - ], - [ - "510ee05b3d6497d4", - "b525d95cb47e05e7" - ], - [ - "8b02b507d6467dcb", - "bb111dd74584e31e" - ], - [ - "aa91636fd91822cd", - "d23964f1034cc332" - ], - [ - "999a7018d46ffc73", - "2bf944e313216712" - ] - ] - }, - { - "id": "b70f40f78b57a9e9", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "battery", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 2160, - "wires": [ - [ - "55f064781c895892", - "65d2993302d9e21b" - ] - ] - }, - { - "id": "276edc393b2b8718", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1700, - "y": 2160, - "wires": [ - [] - ] - }, - { - "id": "9d9a9a166ac14a87", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 2, - "width": "5", - "height": "1", - "name": "battery 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2340, - "wires": [] - }, - { - "id": "fb5636e8659a3798", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'Niveau de batterie '&$string(msg.trans)&' à '&$string(msg.payload)&'%'", - "tot": "jsonata" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload>30", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 2340, - "wires": [ - [ - "c6dfc590e40a4878" - ] - ] - }, - { - "id": "f6a8e56f95d2e83f", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune batterie", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1700, - "y": 2100, - "wires": [ - [ - "188c450232762d9f" - ] - ] - }, - { - "id": "188c450232762d9f", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 2100, - "wires": [] - }, - { - "id": "28383999950bc1ee", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 4, - "width": "5", - "height": "1", - "name": "battery 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2400, - "wires": [] - }, - { - "id": "ab5070d8e2289db3", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 6, - "width": "5", - "height": "1", - "name": "battery 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2460, - "wires": [] - }, - { - "id": "0b3ada9a154f8404", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 8, - "width": "5", - "height": "1", - "name": "battery 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2520, - "wires": [] - }, - { - "id": "2a102caad43b93f6", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 10, - "width": "5", - "height": "1", - "name": "battery 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2580, - "wires": [] - }, - { - "id": "47c0bf4047a645fd", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 12, - "width": "5", - "height": "1", - "name": "battery 06 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2640, - "wires": [] - }, - { - "id": "82e320bbcec01dec", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 14, - "width": "5", - "height": "1", - "name": "battery 07 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2700, - "wires": [] - }, - { - "id": "8ffac054b06e408a", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 16, - "width": "5", - "height": "1", - "name": "battery 08 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2760, - "wires": [] - }, - { - "id": "47b82a6a458a6f25", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 18, - "width": "5", - "height": "1", - "name": "battery 09 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2820, - "wires": [] - }, - { - "id": "3744b28f43a5bb2b", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "group": "a8c4088f8bac709d", - "order": 20, - "width": "5", - "height": "1", - "name": "battery 10 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 2880, - "wires": [] - }, - { - "id": "65e427add3ad7d5c", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 2340, - "wires": [ - [ - "fb5636e8659a3798" - ] - ] - }, - { - "id": "0556201671b0285e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.seen", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3120, - "wires": [ - [ - "f8cca546e04eb48f", - "1debe93af15df2b3", - "3e0c8f89c9ad2c59", - "190cd8656368dea1", - "c98bc4cd21e70d26", - "8796089a19e22fe4", - "41178c35c209aac0", - "9251d2904afbdbde", - "b5e1b5781b6067d7", - "b8af5e3061c3fd5a", - "82643125d8e7bae9", - "4c31f8c823796b9d", - "68ac0321fc403487", - "a3c2ced4e60f6aff", - "4155536a5f1ff708", - "1fde23683c7ff5d8", - "97b05bc746ae98eb", - "8422a13fa9dcca51", - "80ccf2e84836c3b9", - "2da226787a8deb51" - ] - ] - }, - { - "id": "fa99b8b44e92f9be", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "boot seen", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 3000, - "wires": [ - [ - "1b2fe53f9f4527dc", - "52be14f6c954aaec" - ] - ] - }, - { - "id": "8b94e3c61d1c7e5d", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "room - ui - seen - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 3060, - "wires": [ - [ - "ff242d9ca428610e" - ] - ] - }, - { - "id": "eeae2c986dcc4fd5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Controles\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3060, - "wires": [ - [ - "1191a4f0f73ac0a2", - "a53d417127982757" - ] - ] - }, - { - "id": "1b2fe53f9f4527dc", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Controles\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3000, - "wires": [ - [ - "1191a4f0f73ac0a2", - "a53d417127982757" - ] - ] - }, - { - "id": "e3241702c334a377", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.seen[msg.field]", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1410, - "y": 3240, - "wires": [ - [ - "aeac844b38d85fc6" - ] - ] - }, - { - "id": "6eac671a3b5398ca", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.seen", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.seen[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1410, - "y": 3300, - "wires": [ - [ - "aeac844b38d85fc6" - ] - ] - }, - { - "id": "8e7e9d97a6c879c9", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "exists", - "property": "index.seen", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1250, - "y": 3240, - "wires": [ - [ - "e3241702c334a377" - ], - [ - "6eac671a3b5398ca" - ] - ] - }, - { - "id": "aeac844b38d85fc6", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - }, - { - "t": "eq", - "v": "6", - "vt": "num" - }, - { - "t": "eq", - "v": "7", - "vt": "num" - }, - { - "t": "eq", - "v": "8", - "vt": "num" - }, - { - "t": "eq", - "v": "9", - "vt": "num" - }, - { - "t": "eq", - "v": "10", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 10, - "x": 1570, - "y": 3240, - "wires": [ - [ - "9fe066202aa296f9", - "82643125d8e7bae9" - ], - [ - "31e66543c855840b", - "4c31f8c823796b9d" - ], - [ - "b308c52fad5e3003", - "68ac0321fc403487" - ], - [ - "7a5403df0db1a125", - "a3c2ced4e60f6aff" - ], - [ - "a1fecc9bf61cbecc", - "4155536a5f1ff708" - ], - [ - "75b4cef66ff5b569", - "1fde23683c7ff5d8" - ], - [ - "ef1a0dcd39c2ebfa", - "97b05bc746ae98eb" - ], - [ - "6c04bba89bc4d93f", - "8422a13fa9dcca51" - ], - [ - "395a54a40d57ff29", - "80ccf2e84836c3b9" - ], - [ - "24163d2ac0806a9e", - "2da226787a8deb51" - ] - ] - }, - { - "id": "764bf2a2badb8940", - "type": "moment", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "format date", - "topic": "", - "input": "payload", - "inputType": "msg", - "inTz": "Europe/Paris", - "adjAmount": 0, - "adjType": "days", - "adjDir": "add", - "format": "LLLL", - "locale": "fr-FR", - "output": "date", - "outputType": "msg", - "outTz": "Europe/Paris", - "x": 910, - "y": 3240, - "wires": [ - [ - "78919c58e908a11f" - ] - ] - }, - { - "id": "ff242d9ca428610e", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "seen", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 3060, - "wires": [ - [ - "eeae2c986dcc4fd5", - "5bc2441e8a6e0e82" - ] - ] - }, - { - "id": "1191a4f0f73ac0a2", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun élément", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1940, - "y": 3000, - "wires": [ - [ - "8cfe805309e7f14b" - ] - ] - }, - { - "id": "8cfe805309e7f14b", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2110, - "y": 3000, - "wires": [] - }, - { - "id": "a53d417127982757", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1940, - "y": 3060, - "wires": [ - [] - ] - }, - { - "id": "f8cca546e04eb48f", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 2, - "width": "5", - "height": "1", - "name": "seen 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3240, - "wires": [] - }, - { - "id": "78919c58e908a11f", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "$string(msg.trans)&' vue le '&$string(msg.date)", - "tot": "jsonata" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "(msg.payload+86400000)>$millis()", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1090, - "y": 3240, - "wires": [ - [ - "8e7e9d97a6c879c9" - ] - ] - }, - { - "id": "1debe93af15df2b3", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 4, - "width": "5", - "height": "1", - "name": "seen 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3300, - "wires": [] - }, - { - "id": "3e0c8f89c9ad2c59", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 6, - "width": "5", - "height": "1", - "name": "seen 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3360, - "wires": [] - }, - { - "id": "190cd8656368dea1", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 8, - "width": "5", - "height": "1", - "name": "seen 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3420, - "wires": [] - }, - { - "id": "c98bc4cd21e70d26", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 10, - "width": "5", - "height": "1", - "name": "seen 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3480, - "wires": [] - }, - { - "id": "8796089a19e22fe4", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 12, - "width": "5", - "height": "1", - "name": "seen 06 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3540, - "wires": [] - }, - { - "id": "41178c35c209aac0", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 14, - "width": "5", - "height": "1", - "name": "seen 07 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3600, - "wires": [] - }, - { - "id": "9251d2904afbdbde", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 16, - "width": "5", - "height": "1", - "name": "seen 08 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3660, - "wires": [] - }, - { - "id": "b5e1b5781b6067d7", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 18, - "width": "5", - "height": "1", - "name": "seen 09 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3720, - "wires": [] - }, - { - "id": "b8af5e3061c3fd5a", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "group": "b09caf5d92ae87c0", - "order": 20, - "width": "5", - "height": "1", - "name": "seen 10 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1950, - "y": 3780, - "wires": [] - }, - { - "id": "2c43537a0cf9e307", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 3240, - "wires": [ - [ - "764bf2a2badb8940" - ] - ] - }, - { - "id": "2ac79808a71cacb1", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "value", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "0", - "vt": "num" - }, - { - "t": "false" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 1050, - "y": 1140, - "wires": [ - [ - "191e72ca8d7deecf" - ], - [ - "191e72ca8d7deecf" - ], - [ - "4f140e0b7bb038a6" - ] - ] - }, - { - "id": "191e72ca8d7deecf", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "false", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "0", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 1140, - "wires": [ - [ - "fa4bf780a0f34822" - ] - ] - }, - { - "id": "4f140e0b7bb038a6", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "true", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "4", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 1200, - "wires": [ - [ - "fa4bf780a0f34822" - ] - ] - }, - { - "id": "68a06a849669ed22", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2720, - "y": 1140, - "wires": [ - [ - "60368ba60dfa48a3" - ] - ] - }, - { - "id": "3add54b2949c23ec", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.light", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1020, - "wires": [ - [ - "246e55d292fe0f91", - "c863abef8c3dded1", - "ea7482edacd656f7", - "1b1ed5db08fa516f", - "f9014dd138d70756", - "4ed4b78dc034a6c9", - "3ea01cdef09d498b", - "912811332f1921eb", - "0fa65bab1ee8568a", - "7280c7be1481cd40" - ] - ] - }, - { - "id": "5f3f7c722ac856e1", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "boot light", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 900, - "wires": [ - [ - "cae48203992d0c58", - "689e466df8f8c5c5" - ] - ] - }, - { - "id": "60368ba60dfa48a3", - "type": "link out", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "room - ui - light - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 2855, - "y": 1140, - "wires": [] - }, - { - "id": "6d778528ac85f061", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "room - ui - light - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 960, - "wires": [ - [ - "428c4887aeb1b8bf" - ] - ] - }, - { - "id": "2416eed2ad7fb675", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Lumières\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 960, - "wires": [ - [ - "2c47c873b0dfeb59", - "eba701577392c37d" - ] - ] - }, - { - "id": "cae48203992d0c58", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Lumières\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 900, - "wires": [ - [ - "eba701577392c37d", - "2c47c873b0dfeb59" - ] - ] - }, - { - "id": "0971602e6a24e9b7", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "99", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload>0?99:0", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2550, - "y": 1080, - "wires": [ - [ - "68a06a849669ed22" - ] - ] - }, - { - "id": "44244979d1ad8528", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "lamp", - "property": "topic", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "lamp", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2390, - "y": 1140, - "wires": [ - [ - "0971602e6a24e9b7" - ], - [ - "68a06a849669ed22" - ] - ] - }, - { - "id": "d01299e89f601944", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 1690, - "y": 1140, - "wires": [ - [ - "caf4791638c6f452", - "246e55d292fe0f91" - ], - [ - "4a96348eb648c97c", - "1b1ed5db08fa516f" - ], - [ - "a95a9af12bbd3646", - "f9014dd138d70756" - ], - [ - "27111821405d5644", - "3ea01cdef09d498b" - ], - [ - "7de1422ef0247bba", - "0fa65bab1ee8568a" - ] - ] - }, - { - "id": "c9b6f8136ca0bd79", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.light[msg.field]", - "tot": "flow" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 1140, - "wires": [ - [ - "d01299e89f601944" - ] - ] - }, - { - "id": "fa4bf780a0f34822", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "exists", - "property": "index.light", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1370, - "y": 1140, - "wires": [ - [ - "c9b6f8136ca0bd79" - ], - [ - "2839b9ab42bf552c" - ] - ] - }, - { - "id": "2839b9ab42bf552c", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.light", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.light[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 1200, - "wires": [ - [ - "d01299e89f601944" - ] - ] - }, - { - "id": "428c4887aeb1b8bf", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "light", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 960, - "wires": [ - [ - "2416eed2ad7fb675", - "283d461116d4ddad" - ] - ] - }, - { - "id": "2c47c873b0dfeb59", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 2020, - "y": 960, - "wires": [ - [] - ] - }, - { - "id": "eba701577392c37d", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune lumière", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2020, - "y": 900, - "wires": [ - [ - "f0f16786525d1859" - ] - ] - }, - { - "id": "f0f16786525d1859", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2190, - "y": 900, - "wires": [] - }, - { - "id": "246e55d292fe0f91", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "light 01", - "label": "", - "group": "0b218c608a39070c", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "field", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "4", - "onvalueType": "num", - "onicon": "lightbulb-on", - "oncolor": "yellow", - "offvalue": "0", - "offvalueType": "num", - "officon": "lightbulb-off-outline", - "offcolor": "grey", - "x": 2220, - "y": 1140, - "wires": [ - [ - "44244979d1ad8528" - ] - ] - }, - { - "id": "c863abef8c3dded1", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 2, - "width": "5", - "height": "1", - "name": "light 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1140, - "wires": [] - }, - { - "id": "caf4791638c6f452", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1140, - "wires": [ - [ - "c863abef8c3dded1" - ] - ] - }, - { - "id": "1b1ed5db08fa516f", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "light 02", - "label": "", - "group": "0b218c608a39070c", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "field", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "4", - "onvalueType": "num", - "onicon": "lightbulb-on", - "oncolor": "yellow", - "offvalue": "0", - "offvalueType": "num", - "officon": "lightbulb-off-outline", - "offcolor": "grey", - "x": 2220, - "y": 1200, - "wires": [ - [ - "44244979d1ad8528" - ] - ] - }, - { - "id": "ea7482edacd656f7", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 4, - "width": "5", - "height": "1", - "name": "light 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1200, - "wires": [] - }, - { - "id": "4a96348eb648c97c", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1200, - "wires": [ - [ - "ea7482edacd656f7" - ] - ] - }, - { - "id": "f9014dd138d70756", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "light 03", - "label": "", - "group": "0b218c608a39070c", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "field", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "4", - "onvalueType": "num", - "onicon": "lightbulb-on", - "oncolor": "yellow", - "offvalue": "0", - "offvalueType": "num", - "officon": "lightbulb-off-outline", - "offcolor": "grey", - "x": 2220, - "y": 1260, - "wires": [ - [ - "44244979d1ad8528" - ] - ] - }, - { - "id": "4ed4b78dc034a6c9", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 6, - "width": "5", - "height": "1", - "name": "light 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1260, - "wires": [] - }, - { - "id": "a95a9af12bbd3646", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1260, - "wires": [ - [ - "4ed4b78dc034a6c9" - ] - ] - }, - { - "id": "3ea01cdef09d498b", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "light 04", - "label": "", - "group": "0b218c608a39070c", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "field", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "4", - "onvalueType": "num", - "onicon": "lightbulb-on", - "oncolor": "yellow", - "offvalue": "0", - "offvalueType": "num", - "officon": "lightbulb-off-outline", - "offcolor": "grey", - "x": 2220, - "y": 1320, - "wires": [ - [ - "44244979d1ad8528" - ] - ] - }, - { - "id": "912811332f1921eb", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 8, - "width": "5", - "height": "1", - "name": "light 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1320, - "wires": [] - }, - { - "id": "27111821405d5644", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1320, - "wires": [ - [ - "912811332f1921eb" - ] - ] - }, - { - "id": "0fa65bab1ee8568a", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "light 05", - "label": "", - "group": "0b218c608a39070c", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "field", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "4", - "onvalueType": "num", - "onicon": "lightbulb-on", - "oncolor": "yellow", - "offvalue": "0", - "offvalueType": "num", - "officon": "lightbulb-off-outline", - "offcolor": "grey", - "x": 2220, - "y": 1380, - "wires": [ - [ - "44244979d1ad8528" - ] - ] - }, - { - "id": "7280c7be1481cd40", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "group": "0b218c608a39070c", - "order": 10, - "width": "5", - "height": "1", - "name": "light 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1380, - "wires": [] - }, - { - "id": "7de1422ef0247bba", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1850, - "y": 1380, - "wires": [ - [ - "7280c7be1481cd40" - ] - ] - }, - { - "id": "ac514b49b2018467", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 1140, - "wires": [ - [ - "639c01a19ae1a820" - ] - ] - }, - { - "id": "197667ca4e9cdc54", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "value", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "true" - }, - { - "t": "gt", - "v": "0", - "vt": "num" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 890, - "y": 1740, - "wires": [ - [ - "3bb2a286f77067a9" - ], - [ - "3bb2a286f77067a9" - ], - [ - "3996f05011c215e4" - ] - ] - }, - { - "id": "3bb2a286f77067a9", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "true", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1050, - "y": 1740, - "wires": [ - [ - "9f05d32a15544b29" - ] - ] - }, - { - "id": "3996f05011c215e4", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "false", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "false", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1050, - "y": 1800, - "wires": [ - [ - "9f05d32a15544b29" - ] - ] - }, - { - "id": "c81bc2696963b090", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2260, - "y": 1740, - "wires": [ - [ - "89d8b374ec0c8d64" - ] - ] - }, - { - "id": "24db240be39b9a2a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.outlet", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1620, - "wires": [ - [ - "e163c6ad2e2227d2", - "b7a0e4825f15e4a2", - "5dd5e52ffb38148e", - "1d70860e3f2cb386", - "c3d1a81ac0746df1", - "ad569b0b9d7deb89", - "41ab086b1bafeb41", - "7d41bae2b6bb3e6a", - "fbcc441952a7c9da", - "4f0a78c09e88ac52" - ] - ] - }, - { - "id": "e804fb2bad48ce0d", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "boot outlet", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 1500, - "wires": [ - [ - "f31fb49f04148c64", - "17e00a50bca8a511" - ] - ] - }, - { - "id": "89d8b374ec0c8d64", - "type": "link out", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "room - ui - outlet - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 2395, - "y": 1740, - "wires": [] - }, - { - "id": "cdf2ad725fe8ba54", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "room - ui - outlet - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 1560, - "wires": [ - [ - "465d409da29c386d" - ] - ] - }, - { - "id": "7e8e1ce7414fbc36", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 1530, - "y": 1740, - "wires": [ - [ - "d84590265fa8da9a", - "e163c6ad2e2227d2" - ], - [ - "0217c5132e551168", - "5dd5e52ffb38148e" - ], - [ - "1ebdf2bf88a5d99c", - "c3d1a81ac0746df1" - ], - [ - "0bac1457f2c3c913", - "41ab086b1bafeb41" - ], - [ - "825e71c37d3c674a", - "fbcc441952a7c9da" - ] - ] - }, - { - "id": "38b3477f104b9d36", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.outlet", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.outlet[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1370, - "y": 1800, - "wires": [ - [ - "7e8e1ce7414fbc36" - ] - ] - }, - { - "id": "bc14b0716cd43585", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.outlet[msg.field]", - "tot": "flow" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1370, - "y": 1740, - "wires": [ - [ - "7e8e1ce7414fbc36" - ] - ] - }, - { - "id": "9f05d32a15544b29", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "exists", - "property": "index.outlet", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1210, - "y": 1740, - "wires": [ - [ - "bc14b0716cd43585" - ], - [ - "38b3477f104b9d36" - ] - ] - }, - { - "id": "465d409da29c386d", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "outlet", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 1560, - "wires": [ - [ - "a3a4cb31ebdbb809", - "142c5e63a5897acb" - ] - ] - }, - { - "id": "a3a4cb31ebdbb809", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Prises\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1560, - "wires": [ - [ - "a0e5fc984e2031a8", - "8e95a2345189876d" - ] - ] - }, - { - "id": "f31fb49f04148c64", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Prises\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1500, - "wires": [ - [ - "8e95a2345189876d", - "a0e5fc984e2031a8" - ] - ] - }, - { - "id": "a0e5fc984e2031a8", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1860, - "y": 1560, - "wires": [ - [] - ] - }, - { - "id": "8e95a2345189876d", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune lumière", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1860, - "y": 1500, - "wires": [ - [ - "6a476a7e62631884" - ] - ] - }, - { - "id": "6a476a7e62631884", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 2030, - "y": 1500, - "wires": [] - }, - { - "id": "e163c6ad2e2227d2", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "sw outlet 1", - "label": "", - "group": "73569c6c69828619", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "red", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off-outline", - "offcolor": "grey", - "x": 2070, - "y": 1740, - "wires": [ - [ - "c81bc2696963b090" - ] - ] - }, - { - "id": "b7a0e4825f15e4a2", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 2, - "width": "5", - "height": "1", - "name": "txt outlet 1", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 1740, - "wires": [] - }, - { - "id": "d84590265fa8da9a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "state", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1740, - "wires": [ - [ - "b7a0e4825f15e4a2" - ] - ] - }, - { - "id": "5dd5e52ffb38148e", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "sw outlet 2", - "label": "", - "group": "73569c6c69828619", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "red", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off-outline", - "offcolor": "grey", - "x": 2070, - "y": 1800, - "wires": [ - [ - "c81bc2696963b090" - ] - ] - }, - { - "id": "1d70860e3f2cb386", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 4, - "width": "5", - "height": "1", - "name": "txt outlet 2", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 1800, - "wires": [] - }, - { - "id": "0217c5132e551168", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "state", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1800, - "wires": [ - [ - "1d70860e3f2cb386" - ] - ] - }, - { - "id": "c3d1a81ac0746df1", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "sw outlet 3", - "label": "", - "group": "73569c6c69828619", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "red", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off-outline", - "offcolor": "grey", - "x": 2070, - "y": 1860, - "wires": [ - [ - "c81bc2696963b090" - ] - ] - }, - { - "id": "ad569b0b9d7deb89", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 6, - "width": "5", - "height": "1", - "name": "txt outlet 3", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 1860, - "wires": [] - }, - { - "id": "1ebdf2bf88a5d99c", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "state", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1860, - "wires": [ - [ - "ad569b0b9d7deb89" - ] - ] - }, - { - "id": "41ab086b1bafeb41", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "sw outlet 4", - "label": "", - "group": "73569c6c69828619", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "red", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off-outline", - "offcolor": "grey", - "x": 2070, - "y": 1920, - "wires": [ - [ - "c81bc2696963b090" - ] - ] - }, - { - "id": "7d41bae2b6bb3e6a", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 8, - "width": "5", - "height": "1", - "name": "txt outlet 4", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 1920, - "wires": [] - }, - { - "id": "0bac1457f2c3c913", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "state", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1920, - "wires": [ - [ - "7d41bae2b6bb3e6a" - ] - ] - }, - { - "id": "fbcc441952a7c9da", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "sw outlet 5", - "label": "", - "group": "73569c6c69828619", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "red", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off-outline", - "offcolor": "grey", - "x": 2070, - "y": 1980, - "wires": [ - [ - "c81bc2696963b090" - ] - ] - }, - { - "id": "4f0a78c09e88ac52", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "group": "73569c6c69828619", - "order": 10, - "width": "5", - "height": "1", - "name": "txt outlet 5", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 1980, - "wires": [] - }, - { - "id": "825e71c37d3c674a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "state", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 1980, - "wires": [ - [ - "4f0a78c09e88ac52" - ] - ] - }, - { - "id": "b2a2d9d670500881", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 1740, - "wires": [ - [ - "197667ca4e9cdc54" - ] - ] - }, - { - "id": "b456712facdb8f99", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.power", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4020, - "wires": [ - [ - "55023cb2a00a038e", - "962301d657a74408", - "eb891ec4b0a07cfe", - "3a821e7da32a3561", - "cf55e9963f617d17", - "0109e7088ec7040c", - "fb14e8329c2c77c8", - "57516cd75e235df7", - "a4d7386dea5c2987", - "628630966e299dce", - "2c3c9f634bfc436b", - "01d61d75b12c086d", - "c18aac930067b2c5", - "f996e39f99239f8f", - "ef696b96885101ae", - "48a0cc5241d2549f", - "8360781eafaecfeb", - "c19b6e3169ebc381", - "1127e98653b5a27a", - "4183c52e2b2c85f1" - ] - ] - }, - { - "id": "9eec2a58eea2f794", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "boot power", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 3900, - "wires": [ - [ - "438956ec28a1644e", - "5fbe5259545c7e84" - ] - ] - }, - { - "id": "f7f44b26d3494661", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "room - ui - power - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 3960, - "wires": [ - [ - "37342614a8bd3e6c" - ] - ] - }, - { - "id": "60ec289316037465", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Puissances\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 3960, - "wires": [ - [ - "36b6ced1758a043b", - "a0f6a91598012b9a" - ] - ] - }, - { - "id": "438956ec28a1644e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Puissances\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 3900, - "wires": [ - [ - "36b6ced1758a043b", - "a0f6a91598012b9a" - ] - ] - }, - { - "id": "e9be7bc2cece9e6b", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.power[msg.field]", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 4140, - "wires": [ - [ - "159905f89f658c3d" - ] - ] - }, - { - "id": "4ad7e0736cb2f3e1", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.power", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.power[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 4200, - "wires": [ - [ - "159905f89f658c3d" - ] - ] - }, - { - "id": "3dacfc613c2d6949", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "exists", - "property": "index.power", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1050, - "y": 4140, - "wires": [ - [ - "e9be7bc2cece9e6b" - ], - [ - "4ad7e0736cb2f3e1" - ] - ] - }, - { - "id": "159905f89f658c3d", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - }, - { - "t": "eq", - "v": "6", - "vt": "num" - }, - { - "t": "eq", - "v": "7", - "vt": "num" - }, - { - "t": "eq", - "v": "8", - "vt": "num" - }, - { - "t": "eq", - "v": "9", - "vt": "num" - }, - { - "t": "eq", - "v": "10", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 10, - "x": 1370, - "y": 4140, - "wires": [ - [ - "865b1e2e30c1406e", - "2c3c9f634bfc436b" - ], - [ - "d48781c900013ee5", - "01d61d75b12c086d" - ], - [ - "11459cef626d8dd5", - "c18aac930067b2c5" - ], - [ - "d66db8193ecbf5f3", - "f996e39f99239f8f" - ], - [ - "1c5b37e443ea3a54", - "ef696b96885101ae" - ], - [ - "b4ade4e43f7f5619", - "48a0cc5241d2549f" - ], - [ - "8c26987fb7503da4", - "8360781eafaecfeb" - ], - [ - "65ba5d4db252f373", - "c19b6e3169ebc381" - ], - [ - "95dbd0806f6e50e3", - "1127e98653b5a27a" - ], - [ - "5d01b01dda282884", - "4183c52e2b2c85f1" - ] - ] - }, - { - "id": "37342614a8bd3e6c", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "power", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 3960, - "wires": [ - [ - "60ec289316037465", - "fc59359ff0fc3578" - ] - ] - }, - { - "id": "36b6ced1758a043b", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1700, - "y": 3960, - "wires": [ - [] - ] - }, - { - "id": "55023cb2a00a038e", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 2, - "width": "5", - "height": "1", - "name": "power 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4140, - "wires": [] - }, - { - "id": "65f301cc578576a3", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'Puissance '&$string(msg.trans)&' à '&$string(msg.payload)&'W'", - "tot": "jsonata" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload>0", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 4140, - "wires": [ - [ - "3dacfc613c2d6949" - ] - ] - }, - { - "id": "a0f6a91598012b9a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune puissance", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1700, - "y": 3900, - "wires": [ - [ - "47f442e7e5c89435" - ] - ] - }, - { - "id": "47f442e7e5c89435", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 3900, - "wires": [] - }, - { - "id": "962301d657a74408", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 4, - "width": "5", - "height": "1", - "name": "power 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4200, - "wires": [] - }, - { - "id": "eb891ec4b0a07cfe", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 6, - "width": "5", - "height": "1", - "name": "power 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4260, - "wires": [] - }, - { - "id": "3a821e7da32a3561", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 8, - "width": "5", - "height": "1", - "name": "power 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4320, - "wires": [] - }, - { - "id": "cf55e9963f617d17", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 10, - "width": "5", - "height": "1", - "name": "power 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4380, - "wires": [] - }, - { - "id": "0109e7088ec7040c", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 12, - "width": "5", - "height": "1", - "name": "power 06 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4440, - "wires": [] - }, - { - "id": "fb14e8329c2c77c8", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 14, - "width": "5", - "height": "1", - "name": "power 07 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4500, - "wires": [] - }, - { - "id": "628630966e299dce", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 16, - "width": "5", - "height": "1", - "name": "power 08 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4560, - "wires": [] - }, - { - "id": "57516cd75e235df7", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 18, - "width": "5", - "height": "1", - "name": "power 09 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4620, - "wires": [] - }, - { - "id": "a4d7386dea5c2987", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "group": "fb4d25e6dae3c8fd", - "order": 20, - "width": "5", - "height": "1", - "name": "power 10 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1720, - "y": 4680, - "wires": [] - }, - { - "id": "0aa9ffb8eb4cd831", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 4140, - "wires": [ - [ - "65f301cc578576a3" - ] - ] - }, - { - "id": "d59c718c84ca0c45", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "color", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3640, - "y": 5040, - "wires": [ - [ - "165086f5eeb45889" - ] - ] - }, - { - "id": "6974a448a0c0c431", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.color", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 4920, - "wires": [ - [ - "230b7b206cbda14f", - "93ed91bff23ccae6", - "c369c0df4127877c", - "11e8012b77840d09", - "862bd44140894d07", - "095ea15b0b3f109a", - "a0a1caf4e95d5a2b", - "cd27de68d9e0cbc4", - "67c80d1f6f7f4480", - "eb3242a9703a76df" - ] - ] - }, - { - "id": "3f26e65e9e14b140", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "boot color", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 4800, - "wires": [ - [ - "b5aef2391dcbcf4b", - "bc769b10e03830e1" - ] - ] - }, - { - "id": "165086f5eeb45889", - "type": "link out", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "room - ui - color - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 3775, - "y": 5040, - "wires": [] - }, - { - "id": "26655f3b52fd390b", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "room - ui - color - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 4860, - "wires": [ - [ - "35aed833a6fd89c9" - ] - ] - }, - { - "id": "4f053126291b5804", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 2930, - "y": 5040, - "wires": [ - [ - "d963d406dbde22b8", - "095ea15b0b3f109a" - ], - [ - "037325aca1c515e3", - "a0a1caf4e95d5a2b" - ], - [ - "7b14579668c1af3f", - "cd27de68d9e0cbc4" - ], - [ - "fa5d15edbf72f647", - "67c80d1f6f7f4480" - ], - [ - "b2e76bba0862cef8", - "eb3242a9703a76df" - ] - ] - }, - { - "id": "656edb879555e04e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.color", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.color[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2770, - "y": 5100, - "wires": [ - [ - "4f053126291b5804" - ] - ] - }, - { - "id": "fd6b81a32bb8d757", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.color[msg.field]", - "tot": "flow" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2770, - "y": 5040, - "wires": [ - [ - "4f053126291b5804" - ] - ] - }, - { - "id": "17650efb4c8eac6d", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "exists", - "property": "index.color", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2610, - "y": 5040, - "wires": [ - [ - "fd6b81a32bb8d757" - ], - [ - "656edb879555e04e" - ] - ] - }, - { - "id": "35aed833a6fd89c9", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "color", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 4860, - "wires": [ - [ - "78389a0e3cf80961", - "e4063f822861a8e3" - ] - ] - }, - { - "id": "78389a0e3cf80961", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Couleurs\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 4860, - "wires": [ - [ - "9bdb14efae83866c", - "6aa0699f4eb35c14" - ] - ] - }, - { - "id": "b5aef2391dcbcf4b", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Couleurs\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 4800, - "wires": [ - [ - "6aa0699f4eb35c14", - "9bdb14efae83866c" - ] - ] - }, - { - "id": "9bdb14efae83866c", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 3260, - "y": 4860, - "wires": [ - [] - ] - }, - { - "id": "6aa0699f4eb35c14", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune gestion de couleurs", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3260, - "y": 4800, - "wires": [ - [ - "b21e235c39afcb03" - ] - ] - }, - { - "id": "b21e235c39afcb03", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3430, - "y": 4800, - "wires": [] - }, - { - "id": "bd985c8dc9609479", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 5040, - "wires": [ - [ - "b2358081175b0301" - ] - ] - }, - { - "id": "095ea15b0b3f109a", - "type": "ui-dropdown", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "name": "color 01", - "label": "Couleur :", - "tooltip": "", - "order": 3, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "topic", - "topicType": "msg", - "className": "", - "x": 3460, - "y": 5040, - "wires": [ - [ - "d59c718c84ca0c45" - ] - ] - }, - { - "id": "a0a1caf4e95d5a2b", - "type": "ui-dropdown", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "name": "color 02", - "label": "Couleur :", - "tooltip": "", - "order": 5, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "topic", - "topicType": "msg", - "className": "", - "x": 3460, - "y": 5100, - "wires": [ - [ - "d59c718c84ca0c45" - ] - ] - }, - { - "id": "230b7b206cbda14f", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 2, - "width": "4", - "height": "1", - "name": "color 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3270, - "y": 5040, - "wires": [] - }, - { - "id": "93ed91bff23ccae6", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 4, - "width": "4", - "height": "1", - "name": "color 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3270, - "y": 5100, - "wires": [] - }, - { - "id": "c369c0df4127877c", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 6, - "width": "4", - "height": "1", - "name": "color 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3270, - "y": 5160, - "wires": [] - }, - { - "id": "cd27de68d9e0cbc4", - "type": "ui-dropdown", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "name": "color 03", - "label": "Couleur :", - "tooltip": "", - "order": 7, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "topic", - "topicType": "msg", - "className": "", - "x": 3460, - "y": 5160, - "wires": [ - [ - "d59c718c84ca0c45" - ] - ] - }, - { - "id": "11e8012b77840d09", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 8, - "width": "4", - "height": "1", - "name": "color 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3270, - "y": 5220, - "wires": [] - }, - { - "id": "67c80d1f6f7f4480", - "type": "ui-dropdown", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "name": "color 04", - "label": "Couleur :", - "tooltip": "", - "order": 9, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "topic", - "topicType": "msg", - "className": "", - "x": 3460, - "y": 5220, - "wires": [ - [ - "d59c718c84ca0c45" - ] - ] - }, - { - "id": "862bd44140894d07", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "order": 10, - "width": "4", - "height": "1", - "name": "color 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3270, - "y": 5280, - "wires": [] - }, - { - "id": "eb3242a9703a76df", - "type": "ui-dropdown", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "group": "377461f11e162f6d", - "name": "color 05", - "label": "Couleur :", - "tooltip": "", - "order": 11, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "topic", - "topicType": "msg", - "className": "", - "x": 3460, - "y": 5280, - "wires": [ - [ - "d59c718c84ca0c45" - ] - ] - }, - { - "id": "42acd7f9ad626301", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "brightness", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2160, - "y": 5640, - "wires": [ - [ - "c17daf8aa7e26a0c" - ] - ] - }, - { - "id": "c3e90ec1d4493bb4", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "index.brightness", - "pt": "flow", - "to": "{}", - "tot": "json" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5520, - "wires": [ - [ - "7eacb809027a3f29", - "992d3a4f1f2cef04", - "7f81ef3f4f7d218f", - "6aeea1de4587093e", - "2155a7e805ce62e5", - "db3dc40ea4b498e3", - "65dca07a06ffa9c6", - "d272a453214030a9", - "f89a84a4111a2df9", - "ccd498fdd2090daf" - ] - ] - }, - { - "id": "6ab8f6f585ebee36", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "boot brihgtness", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 5400, - "wires": [ - [ - "af81a38fa86c6cc8", - "1cfe4db12a78f24a" - ] - ] - }, - { - "id": "c17daf8aa7e26a0c", - "type": "link out", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "room - ui - brihgtness - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 2295, - "y": 5640, - "wires": [] - }, - { - "id": "7379c487515b9889", - "type": "link in", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "room - ui - brihgtness - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 5460, - "wires": [ - [ - "1b38e8d77f15ac4a" - ] - ] - }, - { - "id": "3a6f2959b098c17e", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "index", - "property": "index", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "1", - "vt": "num" - }, - { - "t": "eq", - "v": "2", - "vt": "num" - }, - { - "t": "eq", - "v": "3", - "vt": "num" - }, - { - "t": "eq", - "v": "4", - "vt": "num" - }, - { - "t": "eq", - "v": "5", - "vt": "num" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 1370, - "y": 5640, - "wires": [ - [ - "db3dc40ea4b498e3", - "ae5513076154ad8a" - ], - [ - "65dca07a06ffa9c6", - "9a9eba7461771815" - ], - [ - "d272a453214030a9", - "7f33cfc11587b83c" - ], - [ - "f89a84a4111a2df9", - "04f0f1dcc6935c42" - ], - [ - "ccd498fdd2090daf", - "51dd51d87769dfc4" - ] - ] - }, - { - "id": "69f1300be1c6d8ab", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.brightness", - "tot": "flow" - }, - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "$count($keys(msg.index)) +1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "index.brightness[msg.field]", - "pt": "flow", - "to": "index", - "tot": "msg" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 5700, - "wires": [ - [ - "3a6f2959b098c17e" - ] - ] - }, - { - "id": "32f30c6a0241b184", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "index", - "rules": [ - { - "t": "set", - "p": "index", - "pt": "msg", - "to": "index.brightness[msg.field]", - "tot": "flow" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "field", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1210, - "y": 5640, - "wires": [ - [ - "3a6f2959b098c17e" - ] - ] - }, - { - "id": "1313dd5a267993d9", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "exists", - "property": "index.brightness", - "propertyType": "flow", - "rules": [ - { - "t": "hask", - "v": "field", - "vt": "msg" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1050, - "y": 5640, - "wires": [ - [ - "32f30c6a0241b184" - ], - [ - "69f1300be1c6d8ab" - ] - ] - }, - { - "id": "1b38e8d77f15ac4a", - "type": "switch", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "brightness", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 5460, - "wires": [ - [ - "d9d65b36d28ee1b5", - "6318eeea1f540ad8" - ] - ] - }, - { - "id": "d9d65b36d28ee1b5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Luminosités\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5460, - "wires": [ - [ - "dbe559c73da68763", - "d88e0ed1a96a90b5" - ] - ] - }, - { - "id": "af81a38fa86c6cc8", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Luminosités\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5400, - "wires": [ - [ - "d88e0ed1a96a90b5", - "dbe559c73da68763" - ] - ] - }, - { - "id": "dbe559c73da68763", - "type": "ui-control", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1700, - "y": 5460, - "wires": [ - [] - ] - }, - { - "id": "d88e0ed1a96a90b5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune gestion de couleurs", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1700, - "y": 5400, - "wires": [ - [ - "42c1dae9372de9c6" - ] - ] - }, - { - "id": "42c1dae9372de9c6", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 5400, - "wires": [] - }, - { - "id": "149cc130f5efb763", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 700, - "y": 5640, - "wires": [ - [ - "6e9d7cb4048d2eef" - ] - ] - }, - { - "id": "7eacb809027a3f29", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 2, - "width": "2", - "height": "1", - "name": "brihgtness 01 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1730, - "y": 5640, - "wires": [] - }, - { - "id": "992d3a4f1f2cef04", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 4, - "width": "2", - "height": "1", - "name": "brihgtness 02 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1730, - "y": 5700, - "wires": [] - }, - { - "id": "7f81ef3f4f7d218f", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 6, - "width": "2", - "height": "1", - "name": "brihgtness 03 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1730, - "y": 5760, - "wires": [] - }, - { - "id": "6aeea1de4587093e", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 8, - "width": "2", - "height": "1", - "name": "brihgtness 04 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1730, - "y": 5820, - "wires": [] - }, - { - "id": "2155a7e805ce62e5", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "order": 10, - "width": "2", - "height": "1", - "name": "brihgtness 05 (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1730, - "y": 5880, - "wires": [] - }, - { - "id": "db3dc40ea4b498e3", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "name": "brihgtness 01", - "label": "", - "tooltip": "", - "order": 3, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "topic", - "topicType": "msg", - "thumbLabel": true, - "min": 0, - "max": "255", - "step": 1, - "className": "", - "x": 1960, - "y": 5640, - "wires": [ - [ - "42acd7f9ad626301" - ] - ] - }, - { - "id": "65dca07a06ffa9c6", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "name": "brihgtness 02", - "label": "", - "tooltip": "", - "order": 5, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "topic", - "topicType": "msg", - "thumbLabel": true, - "min": 0, - "max": "255", - "step": 1, - "className": "", - "x": 1960, - "y": 5700, - "wires": [ - [ - "42acd7f9ad626301" - ] - ] - }, - { - "id": "d272a453214030a9", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "name": "brihgtness 03", - "label": "", - "tooltip": "", - "order": 7, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "topic", - "topicType": "msg", - "thumbLabel": true, - "min": 0, - "max": "255", - "step": 1, - "className": "", - "x": 1960, - "y": 5760, - "wires": [ - [ - "42acd7f9ad626301" - ] - ] - }, - { - "id": "f89a84a4111a2df9", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "name": "brihgtness 04", - "label": "", - "tooltip": "", - "order": 9, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "topic", - "topicType": "msg", - "thumbLabel": true, - "min": 0, - "max": "255", - "step": 1, - "className": "", - "x": 1960, - "y": 5820, - "wires": [ - [ - "42acd7f9ad626301" - ] - ] - }, - { - "id": "ccd498fdd2090daf", - "type": "ui-slider", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "group": "07c72906c906336b", - "name": "brihgtness 05", - "label": "", - "tooltip": "", - "order": 11, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "topic", - "topicType": "msg", - "thumbLabel": true, - "min": 0, - "max": "255", - "step": 1, - "className": "", - "x": 1960, - "y": 5880, - "wires": [ - [ - "42acd7f9ad626301" - ] - ] - }, - { - "id": "c7e91ffdb1fe5a2e", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "aperture 01", - "label": "", - "group": "1af30d82c94d6258", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "purple", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door", - "offcolor": "grey", - "x": 2090, - "y": 540, - "wires": [ - [] - ] - }, - { - "id": "99abe6ab320bf6f1", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 540, - "wires": [ - [ - "e9d47e8d56320c0f" - ] - ] - }, - { - "id": "5e8e9f03c92c72bf", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 600, - "wires": [ - [ - "e1468bd07f7833d2" - ] - ] - }, - { - "id": "cec940e246132dd8", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 660, - "wires": [ - [ - "fd32c9160864393c" - ] - ] - }, - { - "id": "bc3f1c8b796e6e94", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 720, - "wires": [ - [ - "e92aecb14578b6f2" - ] - ] - }, - { - "id": "55458de5ef49bb91", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 780, - "wires": [ - [ - "8511a4bc957115d4" - ] - ] - }, - { - "id": "280b16759c50ec5d", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "aperture 02", - "label": "", - "group": "1af30d82c94d6258", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "purple", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door", - "offcolor": "grey", - "x": 2090, - "y": 600, - "wires": [ - [] - ] - }, - { - "id": "f098e88f376a791b", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "aperture 03", - "label": "", - "group": "1af30d82c94d6258", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "purple", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door", - "offcolor": "grey", - "x": 2090, - "y": 660, - "wires": [ - [] - ] - }, - { - "id": "c3a2ed381aba6a33", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "aperture 04", - "label": "", - "group": "1af30d82c94d6258", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "purple", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door", - "offcolor": "grey", - "x": 2090, - "y": 720, - "wires": [ - [] - ] - }, - { - "id": "3fecb11ba25e2884", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "aperture 05", - "label": "", - "group": "1af30d82c94d6258", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "purple", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door", - "offcolor": "grey", - "x": 2090, - "y": 780, - "wires": [ - [] - ] - }, - { - "id": "b73d1209033d8724", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "colors", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "[\t {'value':'#FFFFFF','label':'white'},\t {'value':'#FF0018','label':'red'},\t {'value':'#FFFF41','label':'yellow'},\t {'value':'#008018','label':'green'},\t {'value':'#0000F9','label':'blue'},\t {'value':'#86007D','label':'purple'}\t]", - "tot": "jsonata" - }, - { - "t": "set", - "p": "old_trans", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1430, - "y": 5040, - "wires": [ - [ - "929e091f58d7e981" - ] - ] - }, - { - "id": "929e091f58d7e981", - "type": "split", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "", - "x": 1590, - "y": 5040, - "wires": [ - [ - "d23265902eda3894" - ] - ] - }, - { - "id": "d23265902eda3894", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "payload.label", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1750, - "y": 5040, - "wires": [ - [ - "cbe25ff8706d300b" - ] - ] - }, - { - "id": "a803317ea68e18fc", - "type": "join", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "mode": "auto", - "build": "object", - "property": "payload", - "propertyType": "msg", - "key": "topic", - "joiner": "\\n", - "joinerType": "str", - "accumulate": "false", - "timeout": "", - "count": "", - "reduceRight": false, - "x": 2290, - "y": 5040, - "wires": [ - [ - "fadfc3bdbc68f76f" - ] - ] - }, - { - "id": "fadfc3bdbc68f76f", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "old_payload", - "tot": "msg" - }, - { - "t": "delete", - "p": "old_payload", - "pt": "msg" - }, - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "old_trans", - "tot": "msg" - }, - { - "t": "delete", - "p": "old_trans", - "pt": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2450, - "y": 5040, - "wires": [ - [ - "17650efb4c8eac6d" - ] - ] - }, - { - "id": "cbe25ff8706d300b", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 1940, - "y": 5040, - "wires": [ - [ - "159202a1e2a32023" - ] - ] - }, - { - "id": "159202a1e2a32023", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload.label", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2130, - "y": 5040, - "wires": [ - [ - "a803317ea68e18fc" - ] - ] - }, - { - "id": "46ff4d153fc9736c", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'Couleur '&msg.old_trans&' en '&msg.trans", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1270, - "y": 5040, - "wires": [ - [ - "b73d1209033d8724" - ] - ] - }, - { - "id": "b2358081175b0301", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "colors", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "old_trans", - "pt": "msg", - "to": "trans", - "tot": "msg" - }, - { - "t": "set", - "p": "colors", - "pt": "msg", - "to": "{\t '#FFFFFF':'white',\t '#FF0018':'red',\t '#FFFF41':'yellow',\t '#008018':'green',\t '#0000F9':'blue',\t '#86007D':'purple'\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "colors[msg.payload]", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 5040, - "wires": [ - [ - "04052562e24f52a7" - ] - ] - }, - { - "id": "04052562e24f52a7", - "type": "link call", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 1080, - "y": 5040, - "wires": [ - [ - "46ff4d153fc9736c" - ] - ] - }, - { - "id": "d963d406dbde22b8", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 5040, - "wires": [ - [ - "230b7b206cbda14f" - ] - ] - }, - { - "id": "037325aca1c515e3", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 5100, - "wires": [ - [ - "93ed91bff23ccae6" - ] - ] - }, - { - "id": "7b14579668c1af3f", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 5160, - "wires": [ - [ - "c369c0df4127877c" - ] - ] - }, - { - "id": "fa5d15edbf72f647", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 5220, - "wires": [ - [ - "11e8012b77840d09" - ] - ] - }, - { - "id": "b2e76bba0862cef8", - "type": "change", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3090, - "y": 5280, - "wires": [ - [ - "862bd44140894d07" - ] - ] - }, - { - "id": "639c01a19ae1a820", - "type": "change", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'Lumière '&msg.trans&(msg.payload?' allumée':' éteinte')", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 1140, - "wires": [ - [ - "2ac79808a71cacb1" - ] - ] - }, - { - "id": "b129a76c891d0014", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 480, - "wires": [ - [ - "7b3f1aaec004ecfa" - ] - ] - }, - { - "id": "65d2993302d9e21b", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 2340, - "wires": [ - [ - "65e427add3ad7d5c" - ] - ] - }, - { - "id": "5bc2441e8a6e0e82", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 3240, - "wires": [ - [ - "2c43537a0cf9e307" - ] - ] - }, - { - "id": "283d461116d4ddad", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 1140, - "wires": [ - [ - "ac514b49b2018467" - ] - ] - }, - { - "id": "142c5e63a5897acb", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 1740, - "wires": [ - [ - "b2a2d9d670500881" - ] - ] - }, - { - "id": "fc59359ff0fc3578", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 4140, - "wires": [ - [ - "0aa9ffb8eb4cd831" - ] - ] - }, - { - "id": "e4063f822861a8e3", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 5040, - "wires": [ - [ - "bd985c8dc9609479" - ] - ] - }, - { - "id": "6318eeea1f540ad8", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 5640, - "wires": [ - [ - "149cc130f5efb763" - ] - ] - }, - { - "id": "6e9d7cb4048d2eef", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "text", - "rules": [ - { - "t": "set", - "p": "trans", - "pt": "msg", - "to": "'Luminosité '&msg.trans&' à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 5640, - "wires": [ - [ - "1313dd5a267993d9" - ] - ] - }, - { - "id": "ae5513076154ad8a", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5640, - "wires": [ - [ - "7eacb809027a3f29" - ] - ] - }, - { - "id": "9a9eba7461771815", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5700, - "wires": [ - [ - "992d3a4f1f2cef04" - ] - ] - }, - { - "id": "7f33cfc11587b83c", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5760, - "wires": [ - [ - "7f81ef3f4f7d218f" - ] - ] - }, - { - "id": "04f0f1dcc6935c42", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5820, - "wires": [ - [ - "6aeea1de4587093e" - ] - ] - }, - { - "id": "51dd51d87769dfc4", - "type": "change", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 5880, - "wires": [ - [ - "2155a7e805ce62e5" - ] - ] - }, - { - "id": "999a7018d46ffc73", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2880, - "wires": [ - [ - "3744b28f43a5bb2b" - ] - ] - }, - { - "id": "aa91636fd91822cd", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2820, - "wires": [ - [ - "47b82a6a458a6f25" - ] - ] - }, - { - "id": "8b02b507d6467dcb", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2760, - "wires": [ - [ - "8ffac054b06e408a" - ] - ] - }, - { - "id": "510ee05b3d6497d4", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2700, - "wires": [ - [ - "82e320bbcec01dec" - ] - ] - }, - { - "id": "7cdf67aea069fe46", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2640, - "wires": [ - [ - "47c0bf4047a645fd" - ] - ] - }, - { - "id": "699ec99e677c7dc7", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2580, - "wires": [ - [ - "2a102caad43b93f6" - ] - ] - }, - { - "id": "3272b2668f830af9", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2520, - "wires": [ - [ - "0b3ada9a154f8404" - ] - ] - }, - { - "id": "0f1d5657502571bf", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2460, - "wires": [ - [ - "ab5070d8e2289db3" - ] - ] - }, - { - "id": "3d01f404ce8e4f2e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2400, - "wires": [ - [ - "28383999950bc1ee" - ] - ] - }, - { - "id": "c8c8e81ef5a7a779", - "type": "change", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 2340, - "wires": [ - [ - "9d9a9a166ac14a87" - ] - ] - }, - { - "id": "25c121f68955e797", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 01", - "label": "", - "group": "a8c4088f8bac709d", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2340, - "wires": [ - [] - ] - }, - { - "id": "815d0596d6b03dba", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 02", - "label": "", - "group": "a8c4088f8bac709d", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2400, - "wires": [ - [] - ] - }, - { - "id": "3cfbbbdec94a469c", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 03", - "label": "", - "group": "a8c4088f8bac709d", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2460, - "wires": [ - [] - ] - }, - { - "id": "8ba2fb2ae10d5f8a", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 04", - "label": "", - "group": "a8c4088f8bac709d", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2520, - "wires": [ - [] - ] - }, - { - "id": "12443294ea11d3c1", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 05", - "label": "", - "group": "a8c4088f8bac709d", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2580, - "wires": [ - [] - ] - }, - { - "id": "91b94a9d896e7e78", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 06", - "label": "", - "group": "a8c4088f8bac709d", - "order": 13, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2640, - "wires": [ - [] - ] - }, - { - "id": "b525d95cb47e05e7", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 07", - "label": "", - "group": "a8c4088f8bac709d", - "order": 15, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2700, - "wires": [ - [] - ] - }, - { - "id": "bb111dd74584e31e", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 08", - "label": "", - "group": "a8c4088f8bac709d", - "order": 17, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2760, - "wires": [ - [] - ] - }, - { - "id": "d23964f1034cc332", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 09", - "label": "", - "group": "a8c4088f8bac709d", - "order": 19, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2820, - "wires": [ - [] - ] - }, - { - "id": "2bf944e313216712", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "battery 10", - "label": "", - "group": "a8c4088f8bac709d", - "order": 21, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "battery-high", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "batery-off", - "offcolor": "teal", - "x": 1920, - "y": 2880, - "wires": [ - [] - ] - }, - { - "id": "48fe1d10a3a37a85", - "type": "ui-text", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "group": "1af30d82c94d6258", - "order": 12, - "width": "2", - "height": "1", - "name": "shutter (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1870, - "y": 480, - "wires": [] - }, - { - "id": "22b8700637e578f9", - "type": "change", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Volet à '&msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1690, - "y": 480, - "wires": [ - [ - "48fe1d10a3a37a85" - ] - ] - }, - { - "id": "24163d2ac0806a9e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3780, - "wires": [ - [ - "b8af5e3061c3fd5a" - ] - ] - }, - { - "id": "395a54a40d57ff29", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3720, - "wires": [ - [ - "b5e1b5781b6067d7" - ] - ] - }, - { - "id": "6c04bba89bc4d93f", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3660, - "wires": [ - [ - "9251d2904afbdbde" - ] - ] - }, - { - "id": "ef1a0dcd39c2ebfa", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3600, - "wires": [ - [ - "41178c35c209aac0" - ] - ] - }, - { - "id": "75b4cef66ff5b569", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3540, - "wires": [ - [ - "8796089a19e22fe4" - ] - ] - }, - { - "id": "a1fecc9bf61cbecc", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3480, - "wires": [ - [ - "c98bc4cd21e70d26" - ] - ] - }, - { - "id": "7a5403df0db1a125", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3420, - "wires": [ - [ - "190cd8656368dea1" - ] - ] - }, - { - "id": "b308c52fad5e3003", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3360, - "wires": [ - [ - "3e0c8f89c9ad2c59" - ] - ] - }, - { - "id": "31e66543c855840b", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3300, - "wires": [ - [ - "1debe93af15df2b3" - ] - ] - }, - { - "id": "9fe066202aa296f9", - "type": "change", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1770, - "y": 3240, - "wires": [ - [ - "f8cca546e04eb48f" - ] - ] - }, - { - "id": "82643125d8e7bae9", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 01", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3240, - "wires": [ - [] - ] - }, - { - "id": "4c31f8c823796b9d", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 02", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3300, - "wires": [ - [] - ] - }, - { - "id": "68ac0321fc403487", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 03", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3360, - "wires": [ - [] - ] - }, - { - "id": "a3c2ced4e60f6aff", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 04", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3420, - "wires": [ - [] - ] - }, - { - "id": "4155536a5f1ff708", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 05", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3480, - "wires": [ - [] - ] - }, - { - "id": "1fde23683c7ff5d8", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 06", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 13, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3540, - "wires": [ - [] - ] - }, - { - "id": "97b05bc746ae98eb", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 07", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 15, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3600, - "wires": [ - [] - ] - }, - { - "id": "8422a13fa9dcca51", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 08", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 17, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3660, - "wires": [ - [] - ] - }, - { - "id": "80ccf2e84836c3b9", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 09", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 19, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3720, - "wires": [ - [] - ] - }, - { - "id": "2da226787a8deb51", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "seen 10", - "label": "", - "group": "b09caf5d92ae87c0", - "order": 21, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "eye-outline", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "eye-off", - "offcolor": "teal", - "x": 2140, - "y": 3780, - "wires": [ - [] - ] - }, - { - "id": "5d01b01dda282884", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4680, - "wires": [ - [ - "a4d7386dea5c2987" - ] - ] - }, - { - "id": "95dbd0806f6e50e3", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4620, - "wires": [ - [ - "57516cd75e235df7" - ] - ] - }, - { - "id": "65ba5d4db252f373", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4560, - "wires": [ - [ - "628630966e299dce" - ] - ] - }, - { - "id": "8c26987fb7503da4", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4500, - "wires": [ - [ - "fb14e8329c2c77c8" - ] - ] - }, - { - "id": "b4ade4e43f7f5619", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4440, - "wires": [ - [ - "0109e7088ec7040c" - ] - ] - }, - { - "id": "1c5b37e443ea3a54", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4380, - "wires": [ - [ - "cf55e9963f617d17" - ] - ] - }, - { - "id": "d66db8193ecbf5f3", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4320, - "wires": [ - [ - "3a821e7da32a3561" - ] - ] - }, - { - "id": "11459cef626d8dd5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4260, - "wires": [ - [ - "eb891ec4b0a07cfe" - ] - ] - }, - { - "id": "d48781c900013ee5", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4200, - "wires": [ - [ - "962301d657a74408" - ] - ] - }, - { - "id": "865b1e2e30c1406e", - "type": "change", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1530, - "y": 4140, - "wires": [ - [ - "55023cb2a00a038e" - ] - ] - }, - { - "id": "2c3c9f634bfc436b", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 01", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4140, - "wires": [ - [] - ] - }, - { - "id": "01d61d75b12c086d", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 02", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4200, - "wires": [ - [] - ] - }, - { - "id": "c18aac930067b2c5", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 03", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4260, - "wires": [ - [] - ] - }, - { - "id": "f996e39f99239f8f", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 04", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4320, - "wires": [ - [] - ] - }, - { - "id": "ef696b96885101ae", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 05", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4380, - "wires": [ - [] - ] - }, - { - "id": "48a0cc5241d2549f", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 06", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 13, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4440, - "wires": [ - [] - ] - }, - { - "id": "8360781eafaecfeb", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 07", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 15, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4500, - "wires": [ - [] - ] - }, - { - "id": "c19b6e3169ebc381", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 08", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 17, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4560, - "wires": [ - [] - ] - }, - { - "id": "1127e98653b5a27a", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 09", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 19, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4620, - "wires": [ - [] - ] - }, - { - "id": "4183c52e2b2c85f1", - "type": "ui-switch", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "power 10", - "label": "", - "group": "fb4d25e6dae3c8fd", - "order": 21, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "meter-electric", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "meter-electric-outline", - "offcolor": "grey", - "x": 1920, - "y": 4680, - "wires": [ - [] - ] - }, - { - "id": "5fbe5259545c7e84", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "3a47bd390630563b", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 4020, - "wires": [ - [ - "b456712facdb8f99" - ] - ] - }, - { - "id": "52be14f6c954aaec", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "55552ce2fcab661e", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 3120, - "wires": [ - [ - "0556201671b0285e" - ] - ] - }, - { - "id": "3c125c12aed493a6", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "e9b46670bc7283be", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 2220, - "wires": [ - [ - "cfe03bc0196989f5" - ] - ] - }, - { - "id": "17e00a50bca8a511", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "cfd2fc533d86ab94", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 1620, - "wires": [ - [ - "24db240be39b9a2a" - ] - ] - }, - { - "id": "557d6369a161cd69", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "af3293313a492113", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 360, - "wires": [ - [ - "af81b0a41bcf99df" - ] - ] - }, - { - "id": "689e466df8f8c5c5", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "edfd321fdae55df0", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 1020, - "wires": [ - [ - "3add54b2949c23ec" - ] - ] - }, - { - "id": "bc769b10e03830e1", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "65f5bcaeef2cb043", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 4920, - "wires": [ - [ - "6974a448a0c0c431" - ] - ] - }, - { - "id": "1cfe4db12a78f24a", - "type": "delay", - "z": "b928bb81c1e02961", - "g": "14365542ae0790c8", - "name": "50 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 5520, - "wires": [ - [ - "c3e90ec1d4493bb4" - ] - ] - } -] \ No newline at end of file diff --git a/flows/U.Room.Scene.json b/flows/U.Room.Scene.json deleted file mode 100644 index a0724ab..0000000 --- a/flows/U.Room.Scene.json +++ /dev/null @@ -1,10738 +0,0 @@ -[ - { - "id": "eeb3b84351fc9295", - "type": "tab", - "label": "U.Room.Scene", - "disabled": false, - "info": "", - "env": [] - }, - { - "id": "9b11e3a85026957b", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - cumulus", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "3ea1bb4e5ff3e53a", - "bf71f08c103ab9bf", - "6d4b70fa6bba8616", - "b8ed61d35607d163", - "4c93ed77e680ad7a", - "f1cc0ee7d294d743", - "6899ef31a931df1c", - "a2ed4c3380f63344", - "d66a556c8804aa96", - "5a3cf6eb82112299", - "3fbe41cfcb30b29f", - "8a877a1f0ad96a9f", - "86bf6614eaaed4fb", - "f1a67acc80e7df25", - "a734f97d04983224", - "5aa2370542c80557", - "417fbb2eb3a923ed", - "57e410937624c3d6", - "c17dc35aca46f82c", - "c35b2b2e8f2b4219", - "92754828aa30243d", - "473d6854093e32df", - "109b8b2fe8df33cb", - "98eb7016dea145b8", - "d51ca92136da8ea4", - "56484d472a10cece", - "e67a8cdad7117ce2", - "8e1e779d0e2a97e2", - "92f84c3ac249f995", - "6ae3dd31e136b128", - "a9a219cec32d41db", - "6626de35491fc7e5", - "2948383446051f6c", - "b476823397a6cb50", - "9c1497c3869ae5b0", - "e5267eaa5761e821", - "309706fa0b759907" - ], - "x": 94, - "y": 199, - "w": 2382, - "h": 742 - }, - { - "id": "139783cbea6b84f0", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - lighting", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "4db69cc034f21733", - "7b827a64c14fb9cb", - "5f218ee61959294d", - "6ebcb13cc88ec167", - "d58e31cbba7fe1fb", - "79e409df0c12d8bb", - "b90b3d45412b51d0", - "6d468d4c78e0a5d5", - "1356cf8e6dacc702", - "94e962dcf138ee98", - "a384b36f395ac476", - "b570fc100217d48f", - "2f0256ee1c8ee8bd", - "e416e76dbc779a5c", - "891441049126e441", - "f987368eb35277fe", - "ee59c5af14e637f3", - "a2ca1cbf65a3d6da", - "6b16733d5f1837c0", - "0211a14a27109897", - "3f34497743010927", - "69d61490df35d838", - "4e1d7986190989e5", - "3702e76504099091", - "d608ad4cac54244d", - "4ac95d6cca44f46d", - "e6259c762aec16ea", - "974a59dc173e747b", - "7750f047196281c7", - "3a4cd663457429f7", - "1a5f2695438cbfb8", - "90417422245553bb", - "4951ba32095bc5f2", - "3563d6cc5602d9c6", - "49a7645f7932ec41", - "e95d3ad0623d35fe", - "59a7c31353278ac1", - "6e9eab0fc1a758ae", - "93d9685cdee76b2d", - "62dd7eabb91e408b", - "3bdb97b4240b5f07", - "a3453a03261acf84", - "3abc2b9923687477", - "3cb082c8274cf548" - ], - "x": 94, - "y": 1879, - "w": 1482, - "h": 862 - }, - { - "id": "bb2ebd173a2ba06c", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - thermostat", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "9737afb19d9c9fbb", - "dd49b4996fb683ff", - "fbb1bdcb44abce21", - "6c6cf33417f59f97", - "fc673a36d8691d63", - "37aa96c6d80d8ade", - "1ef76a4c1fab9b78", - "adc6196b15cf8c39", - "26bdcbaa93cfcc27", - "c4f79cb042dc36a1", - "f391ba85b3d53073", - "7e364afe6e09d405", - "b8374382f89b46c6", - "5b4d546fd3646af7", - "fafbe160c912822f", - "f85914dec075a3d8", - "bd8ab43b4a91a2ae", - "19b6504e1bbece40", - "f968a8fc298f04c3", - "07108de5adf3ae2a", - "bcf6468037b4c2a6", - "37794c3da2ceda38", - "dfd8650d923f73e4", - "4c5adf85df17025b", - "26537f8818c29c61", - "a7420198a3e0f879", - "f23d5105ca948593", - "2efa063af4b505d2", - "6cc81c8342d6ef1c", - "f7ed99ce22cd37cb", - "348134507ffe8815", - "63561fec4fba2afd", - "53f7b3195f6dfeed", - "99e789a941d2af52", - "39615dab9370d868", - "e223793b9998818b", - "136162f12991809c", - "fb9711affc7d14af", - "a9e89b46159c4ec8", - "cb3f8f9fa322b59f", - "51dc21bc28ea3f06", - "272807d6b707d92f", - "4540d4f432f8742d", - "6d0cb16590b1da18", - "bfb0a473b6a09c81", - "61d316384ef1521b", - "27d7b08fb3646a52", - "3f9eefa51c1e5e9e", - "ff2211c1efd24971", - "f814aebd5bd599b5", - "8c3c9bc4a66b1e32", - "0711217590341f99", - "3930f84bd36fd5aa", - "b6f3145afc37707c", - "7a9f4d42d5c7497c", - "dd517b4d06983aac", - "e7dcdd83cf9e08e1", - "73dc6a2b0e041f8e", - "bcfed6ac5d278d3c", - "93e874f6e4a1f87a", - "fcbda9c625fdecac", - "f5cf184989e2cc69", - "3d40410e159beaab", - "4565730f04bd7072", - "95eb528329f90cf2", - "79764253e9e92fda", - "3e6cd35a857771f8", - "4ad97596d0efa64b", - "f19ecf4219ed5190", - "33fde1af7428bf26", - "1d92bf6b8fc98959", - "25b3542fda8fae4d", - "4b8267934ced5596", - "151d5194b8538480", - "f670239d8cf08808", - "a4b56ada8159bff6", - "990b4d58c23a68a2", - "ee3e358d88bbf249", - "6f096e24c9634c56", - "83b16f9aed4fa051", - "db3ebf0b6421aeae", - "10c3697bddec1a05", - "4f0ea1cdd4d0b719" - ], - "x": 2574, - "y": 199, - "w": 1942, - "h": 1942 - }, - { - "id": "96eb67f8be94bf98", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - shading - load", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "2d0ce076b11e16ba", - "b394effe7a57f79a", - "c97e08992c83f769", - "3bd921f16659d915", - "8ee8772fa3a4c742", - "3473a74146113307", - "2feac259f3f849cf", - "6afc26adb1632a78", - "486df3adde8e9f19", - "caed2b0a311ef651", - "f8c9bdc9468519cc", - "d46a05d7499a2baf", - "1ff4a921e075affc", - "c20f3ad695b504d9", - "ace2b79f4bb79129", - "4ba85aac882689c9", - "f0af60c382a79669", - "9016e50cba8bfc51", - "a3e5f41d31ec8cc3", - "06648a9cfafa7763", - "3e2e4e9b894029c8", - "6c209c997c1913af", - "9137722c14af0906", - "cb13c9daccf388ee", - "29a5cea9f00406df", - "42e7727aca3d42a1", - "af4763dd0a68af6b", - "ad3a18ea13234fa7", - "8f75f6329e26fbc7" - ], - "x": 94, - "y": 2779, - "w": 1482, - "h": 562 - }, - { - "id": "90046052f5bcb625", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - clock", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "511350d9f34ce767", - "7aaae6f81accc54b", - "20845c677b589935", - "acfd5fff279e15de", - "674dd33239c8c3e7", - "d2846ad9c776708a", - "4f9d174388a77ea5", - "f77679312512233c", - "f5f89b6efb421399", - "5673ce2c9088f475", - "f718cac6e7ec06c5", - "79fe08848f124125", - "a87c14e04ed75544", - "61ed7b677cad542e", - "af46ed6d30e60e05", - "7f2dd140d1c88cb9", - "dad6bb6b40fef41e", - "a65aa958e432f9a5" - ], - "x": 94, - "y": 3379, - "w": 1212, - "h": 382 - }, - { - "id": "707b31c0a7883fe2", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - rhasspy", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "89fea9401e9ea5c1", - "fc11e57431b3bece", - "b1825677cbba4273", - "a06fcd9bc49dd111", - "8beb2a2f4c26c437", - "539d1393b0bcbaf6", - "4251d90a5ab9d7a1", - "58a80e8214149e12", - "5209317f54f78726", - "d5abdb129e7bdcb1", - "d201aa9375be8c18", - "0be97543e6033a9a", - "892332a6fc4a6710", - "dc709a1842ae7a88", - "5ed94f8216251cb1", - "43a2549e341c526b", - "13dbb1a630d2cd7d", - "787028ce8e3aa268", - "a589feb1b401ea68", - "4ce96c7ddf9665c7", - "2034de4581f58c90", - "86076299a0fb4895", - "4e9259e00dbed0ac" - ], - "x": 94, - "y": 4459, - "w": 1422, - "h": 442 - }, - { - "id": "a0938dfc54b55acc", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - air conditioner", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "97aa2e016643bfbd", - "383c38e98cd05755", - "5a5c10ecd5d798be", - "932e7fad1c98966f", - "baadaeea2e2d4f95", - "c5d646bd69c37865", - "9d8b8d237e2704ea", - "4da4c768067c032b", - "12fca45ce9ab2abb", - "c6383ca66673fd96", - "cd9ba8ff11c8036d", - "f520ba0c172598b7", - "327f0ed7b5fa48d2", - "f68f5c75e58e22cb", - "a8dd4b383d7eb632", - "4205795bed6b3290", - "2a45ad61a4b3d598", - "dcfb0cd127aa904e", - "22c8ba7a5b818ab1", - "4e080e4032b4c4c8", - "988c34fbce846dcc", - "88a37cbdf2f5f465", - "e6cf92eef6f506ec", - "0bb31a889d427f54", - "ad3172b46080261c", - "0ecce96328bfdde4", - "2a4f2715f401f8f2", - "738201cd36aef02d", - "9d154c219f206faf", - "6b1aeadab15d8e8c" - ], - "x": 94, - "y": 3799, - "w": 1622, - "h": 622 - }, - { - "id": "48dd7d439fba9eda", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - alexa", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "d5a2226e7f24deda", - "fc6548d30b49e4d0", - "c72c85a05c057eb6", - "5f5234be5bf42b3a", - "8a6f97848d7b1a2c", - "63f153f048b1295f", - "130d6f3ddbbffdae", - "2923cfe0def7c0ad", - "2723a51ead34599a", - "f1f8c53efd3838a8", - "a1ac1aa658d58387", - "ecf7b9d277d80279", - "e61351b02452479b", - "4635fe1f7e4a367f", - "dbac3472fc6c8c6b", - "7475623aa0893639", - "626e1746ced16a4c", - "a8480038bfbf3fcc", - "d522ee9073fbd7f0", - "c90a6ddfd223af79", - "22b72e8520c12a40", - "ed28b9fa5c455f0c", - "1f6f49b445e2d521", - "b4c8c70bb7e8948d", - "8fc146f9644edbbe", - "b37b3ee777a644db" - ], - "x": 94, - "y": 4939, - "w": 1462, - "h": 502 - }, - { - "id": "35fa81df547b4491", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - telegram", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "0691d9a37686f464", - "3c6ee783748b235e", - "761cb37547fe4dc2", - "a033c6dbdefb80f9", - "1d6b2ca73ae11560", - "befe8bfd3d3446cc", - "2936573edcac41e4", - "661f755eabe3c32b", - "45ec5e8001fad3fa", - "9c9162236e4b23a6", - "ce9aca3509c7c320", - "42cb1c19195b7aaf", - "6495af71a7195bb4", - "bf793e9865c9e834", - "5f4fe9067e1fd9a0", - "05b5a24c1547eb9a", - "b4a9884f6b553123", - "5ab53f45b766d97b", - "86f604b24a73308c", - "25609df681da5c1b", - "d2194c4dad790ec4", - "12697008ac3ea99d", - "97087ce25aae4515", - "4edb12baad4c5bd0", - "58e1c9e33b0a90f3" - ], - "x": 94, - "y": 5479, - "w": 1682, - "h": 442 - }, - { - "id": "486786996f8e512b", - "type": "group", - "z": "eeb3b84351fc9295", - "name": "room - ui - airflow", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "9958ae246d4edc9d", - "625142605bf476a4", - "4dcfe4665aa8fabf", - "ce3cb01895016d69", - "8be81912e014841a", - "6b8eff0718819266", - "b1ebe0e08e2084f1", - "fd421d21a13fd9cd", - "5994c74117a8e31c", - "ddcf6edbc20142df", - "055c0a0f268053e4", - "4751d9bbafc5bc21", - "a5bf2bb33f9ff5bb", - "16cca2765e899796", - "0cbdea1f752e09f9", - "3d3b69a92d3e5a3b", - "b2f7ebfba6bbc4d4", - "367ddcc943fb234e", - "b3e71ec6ef25bab1", - "661050a25f78f9a2", - "ef2769915480b0f6", - "4bea82d34bf79d91", - "ef9a2b91b42284b7", - "a4dbfc219ae2dcd8", - "9cab1d58af793873", - "174edf5e342c527e", - "c7121847509f1d08", - "989b7d7ecba85616", - "1fc6514464e22856", - "ede7f68b56764350", - "dd4ba0864d260f4c", - "45a643fb738127eb", - "3962dc523ff48938", - "a80b7e58e8b264f6", - "0e12a116cd5a645e", - "98ea4337ad7298c2", - "ab9f875320713f08", - "6ba28539428fe214", - "95108e6e070e7630", - "3902e4b05ebbbfaf", - "2294d7008f04fb84", - "6ad49aefeefbd09d", - "18531ed9a7d1af80", - "204d9ba1193ba811" - ], - "x": 94, - "y": 979, - "w": 1532, - "h": 862 - }, - { - "id": "3ea1bb4e5ff3e53a", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "daily", - "vt": "str" - }, - { - "t": "eq", - "v": "night", - "vt": "str" - }, - { - "t": "eq", - "v": "timer", - "vt": "str" - }, - { - "t": "eq", - "v": "electric meter", - "vt": "str" - }, - { - "t": "eq", - "v": "balloon", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 6, - "x": 670, - "y": 600, - "wires": [ - [ - "f1a67acc80e7df25", - "bd45f02bb3b3849b" - ], - [ - "5aa2370542c80557", - "9c1497c3869ae5b0" - ], - [ - "57e410937624c3d6", - "2948383446051f6c" - ], - [ - "a734f97d04983224", - "a9a219cec32d41db" - ], - [ - "c35b2b2e8f2b4219" - ], - [ - "417fbb2eb3a923ed", - "e5267eaa5761e821" - ] - ] - }, - { - "id": "bf71f08c103ab9bf", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "false", - "tot": "bool" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[{'label':'N/A','value':''}]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 650, - "y": 360, - "wires": [ - [ - "f1a67acc80e7df25", - "5aa2370542c80557", - "417fbb2eb3a923ed", - "57e410937624c3d6", - "8e1e779d0e2a97e2", - "a734f97d04983224", - "e67a8cdad7117ce2", - "6626de35491fc7e5", - "b476823397a6cb50", - "309706fa0b759907" - ] - ] - }, - { - "id": "6d4b70fa6bba8616", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cumulus", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2300, - "y": 600, - "wires": [ - [ - "f1cc0ee7d294d743" - ] - ] - }, - { - "id": "b8ed61d35607d163", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "room - ui - cumulus - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 240, - "wires": [ - [ - "3fbe41cfcb30b29f", - "92f84c3ac249f995" - ] - ] - }, - { - "id": "4c93ed77e680ad7a", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "room - ui - cumulus - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 300, - "wires": [ - [ - "a2ed4c3380f63344" - ] - ] - }, - { - "id": "f1cc0ee7d294d743", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "room - ui - cumulus - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 2435, - "y": 600, - "wires": [] - }, - { - "id": "6899ef31a931df1c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2300, - "y": 900, - "wires": [ - [ - "f1cc0ee7d294d743" - ] - ] - }, - { - "id": "a2ed4c3380f63344", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "cumulus", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 300, - "wires": [ - [ - "8a877a1f0ad96a9f", - "c17dc35aca46f82c" - ] - ] - }, - { - "id": "d66a556c8804aa96", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 990, - "y": 240, - "wires": [] - }, - { - "id": "5a3cf6eb82112299", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun cumulus", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 820, - "y": 240, - "wires": [ - [ - "d66a556c8804aa96" - ] - ] - }, - { - "id": "3fbe41cfcb30b29f", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Cumulus\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 650, - "y": 240, - "wires": [ - [ - "5a3cf6eb82112299", - "86bf6614eaaed4fb" - ] - ] - }, - { - "id": "8a877a1f0ad96a9f", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Cumulus\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 650, - "y": 300, - "wires": [ - [ - "86bf6614eaaed4fb", - "5a3cf6eb82112299" - ] - ] - }, - { - "id": "86bf6614eaaed4fb", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 820, - "y": 300, - "wires": [ - [] - ] - }, - { - "id": "f1a67acc80e7df25", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "actif", - "label": "", - "group": "d9226f161296ef5d", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1190, - "y": 600, - "wires": [ - [ - "6d4b70fa6bba8616" - ] - ] - }, - { - "id": "a734f97d04983224", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "name": "timer", - "label": "", - "tooltip": "", - "order": 11, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "timer", - "topicType": "str", - "thumbLabel": true, - "min": "20", - "max": "240", - "step": "10", - "className": "", - "x": 1190, - "y": 780, - "wires": [ - [ - "6d4b70fa6bba8616" - ] - ] - }, - { - "id": "5aa2370542c80557", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "daily", - "label": "", - "group": "d9226f161296ef5d", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "daily", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "alarm-check", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "alarm-off", - "offcolor": "grey", - "x": 1190, - "y": 660, - "wires": [ - [ - "6d4b70fa6bba8616" - ] - ] - }, - { - "id": "417fbb2eb3a923ed", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "balloon", - "label": "", - "group": "d9226f161296ef5d", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "balloon", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "water-boiler", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "water-boiler-off", - "offcolor": "grey", - "x": 1200, - "y": 900, - "wires": [ - [ - "6899ef31a931df1c" - ] - ] - }, - { - "id": "57e410937624c3d6", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "night", - "label": "", - "group": "d9226f161296ef5d", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "night", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "shield-moon", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "shield-moon-outline", - "offcolor": "grey", - "x": 1190, - "y": 720, - "wires": [ - [ - "6d4b70fa6bba8616" - ] - ] - }, - { - "id": "c17dc35aca46f82c", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 600, - "wires": [ - [ - "3ea1bb4e5ff3e53a" - ] - ] - }, - { - "id": "c35b2b2e8f2b4219", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "cumulus.options", - "pt": "flow", - "to": "[]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 850, - "y": 840, - "wires": [ - [ - "92754828aa30243d" - ] - ] - }, - { - "id": "92754828aa30243d", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 1030, - "y": 840, - "wires": [ - [ - "473d6854093e32df" - ] - ] - }, - { - "id": "473d6854093e32df", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "measurement", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "tariff", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1220, - "y": 840, - "wires": [ - [ - "109b8b2fe8df33cb" - ], - [ - "d51ca92136da8ea4" - ] - ] - }, - { - "id": "109b8b2fe8df33cb", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "field", - "property": "payload.current", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "electric meter", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1410, - "y": 780, - "wires": [ - [ - "98eb7016dea145b8" - ], - [ - "d51ca92136da8ea4" - ] - ] - }, - { - "id": "98eb7016dea145b8", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "add", - "rules": [ - { - "t": "set", - "p": "cumulus_options", - "pt": "msg", - "to": "cumulus.options", - "tot": "flow" - }, - { - "t": "set", - "p": "cumulus_count", - "pt": "msg", - "to": "$count(msg.cumulus_options)-1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "cumulus_count", - "pt": "msg", - "to": "msg.cumulus_count+1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "cumulus_options[msg.cumulus_count]", - "pt": "msg", - "to": "{\t 'label': msg.bucket&'/tariff/electric meter',\t 'value': msg.bucket&'/tariff/electric meter'\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "cumulus.options", - "pt": "flow", - "to": "cumulus_options", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1570, - "y": 780, - "wires": [ - [ - "d51ca92136da8ea4" - ] - ] - }, - { - "id": "d51ca92136da8ea4", - "type": "join", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "", - "mode": "auto", - "build": "object", - "property": "payload", - "propertyType": "msg", - "key": "topic", - "joiner": "\\n", - "joinerType": "str", - "accumulate": "false", - "timeout": "", - "count": "", - "reduceRight": false, - "x": 1730, - "y": 840, - "wires": [ - [ - "56484d472a10cece" - ] - ] - }, - { - "id": "56484d472a10cece", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "cumulus.options", - "tot": "flow" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "old_payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1900, - "y": 840, - "wires": [ - [ - "e67a8cdad7117ce2" - ] - ] - }, - { - "id": "e67a8cdad7117ce2", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "name": "electric meter", - "label": "Compteur électrique :", - "tooltip": "", - "order": 12, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "electric meter", - "topicType": "str", - "className": "", - "x": 2100, - "y": 780, - "wires": [ - [ - "6d4b70fa6bba8616" - ] - ] - }, - { - "id": "8e1e779d0e2a97e2", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 10, - "width": "2", - "height": "1", - "name": "timer (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 780, - "wires": [] - }, - { - "id": "4db69cc034f21733", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "night", - "vt": "str" - }, - { - "t": "eq", - "v": "motion", - "vt": "str" - }, - { - "t": "eq", - "v": "retention", - "vt": "str" - }, - { - "t": "eq", - "v": "nightlight", - "vt": "str" - }, - { - "t": "eq", - "v": "timer", - "vt": "str" - }, - { - "t": "eq", - "v": "high", - "vt": "str" - }, - { - "t": "eq", - "v": "low", - "vt": "str" - }, - { - "t": "eq", - "v": "darkness", - "vt": "str" - }, - { - "t": "eq", - "v": "luminosity", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 10, - "x": 670, - "y": 2160, - "wires": [ - [ - "2f0256ee1c8ee8bd", - "3abc2b9923687477" - ], - [ - "6b16733d5f1837c0", - "49a7645f7932ec41" - ], - [ - "0211a14a27109897", - "59a7c31353278ac1" - ], - [ - "69d61490df35d838", - "6e9eab0fc1a758ae" - ], - [ - "4e1d7986190989e5", - "3bdb97b4240b5f07" - ], - [ - "e416e76dbc779a5c", - "4ac95d6cca44f46d" - ], - [ - "891441049126e441", - "3cb082c8274cf548" - ], - [ - "f987368eb35277fe", - "7750f047196281c7" - ], - [ - "ee59c5af14e637f3", - "a3453a03261acf84" - ], - [ - "a2ca1cbf65a3d6da", - "90417422245553bb" - ] - ] - }, - { - "id": "7b827a64c14fb9cb", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "lighting", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1400, - "y": 2160, - "wires": [ - [ - "79e409df0c12d8bb" - ] - ] - }, - { - "id": "5f218ee61959294d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2040, - "wires": [ - [ - "2f0256ee1c8ee8bd", - "6b16733d5f1837c0", - "0211a14a27109897", - "69d61490df35d838", - "4e1d7986190989e5", - "e416e76dbc779a5c", - "891441049126e441", - "f987368eb35277fe", - "ee59c5af14e637f3", - "a2ca1cbf65a3d6da", - "d608ad4cac54244d", - "e6259c762aec16ea", - "974a59dc173e747b", - "3a4cd663457429f7", - "1a5f2695438cbfb8", - "4951ba32095bc5f2", - "3563d6cc5602d9c6", - "e95d3ad0623d35fe", - "93d9685cdee76b2d", - "62dd7eabb91e408b" - ] - ] - }, - { - "id": "6ebcb13cc88ec167", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "room - ui - lighting - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 1980, - "wires": [ - [ - "1356cf8e6dacc702" - ] - ] - }, - { - "id": "d58e31cbba7fe1fb", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "room - ui - lighting - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 1920, - "wires": [ - [ - "b90b3d45412b51d0", - "3702e76504099091" - ] - ] - }, - { - "id": "79e409df0c12d8bb", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "room - ui - lighting - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1535, - "y": 2160, - "wires": [] - }, - { - "id": "b90b3d45412b51d0", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Eclairage\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1920, - "wires": [ - [ - "94e962dcf138ee98", - "b570fc100217d48f" - ] - ] - }, - { - "id": "6d468d4c78e0a5d5", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Eclairage\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1980, - "wires": [ - [ - "b570fc100217d48f", - "94e962dcf138ee98" - ] - ] - }, - { - "id": "1356cf8e6dacc702", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "lighting", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 1980, - "wires": [ - [ - "6d468d4c78e0a5d5", - "3f34497743010927" - ] - ] - }, - { - "id": "94e962dcf138ee98", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune gestion d'éclairage", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 1920, - "wires": [ - [ - "a384b36f395ac476" - ] - ] - }, - { - "id": "a384b36f395ac476", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 1920, - "wires": [] - }, - { - "id": "b570fc100217d48f", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 1980, - "wires": [ - [] - ] - }, - { - "id": "2f0256ee1c8ee8bd", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "actif", - "label": "", - "group": "4deac0812bc789d5", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1210, - "y": 2160, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "e416e76dbc779a5c", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "name": "timer", - "label": "", - "tooltip": "", - "order": 15, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "timer", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "120", - "step": "1", - "className": "", - "x": 1210, - "y": 2460, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "891441049126e441", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "name": "high", - "label": "", - "tooltip": "", - "order": 17, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "high", - "topicType": "str", - "thumbLabel": true, - "min": "2", - "max": "99", - "step": 1, - "className": "", - "x": 1210, - "y": 2520, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "f987368eb35277fe", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "name": "low", - "label": "", - "tooltip": "", - "order": 19, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "low", - "topicType": "str", - "thumbLabel": true, - "min": "2", - "max": "99", - "step": 1, - "className": "", - "x": 1210, - "y": 2580, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "ee59c5af14e637f3", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "name": "darkness", - "label": "", - "tooltip": "", - "order": 13, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "darkness", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "500", - "step": "10", - "className": "", - "x": 1220, - "y": 2640, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "a2ca1cbf65a3d6da", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "name": "luminosity", - "label": "", - "tooltip": "", - "order": 21, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "luminosity", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "2500", - "step": "100", - "className": "", - "x": 1220, - "y": 2700, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "6b16733d5f1837c0", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "night", - "label": "", - "group": "4deac0812bc789d5", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "night", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "shield-moon", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "shield-moon-outline", - "offcolor": "grey", - "x": 1210, - "y": 2220, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "0211a14a27109897", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "motion", - "label": "", - "group": "4deac0812bc789d5", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "motion", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "motion-sensor", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "motion-sensor-off", - "offcolor": "grey", - "x": 1210, - "y": 2280, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "3f34497743010927", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "150 ms", - "pauseType": "delay", - "timeout": "150", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 2160, - "wires": [ - [ - "4db69cc034f21733" - ] - ] - }, - { - "id": "69d61490df35d838", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "retention", - "label": "", - "group": "4deac0812bc789d5", - "order": 9, - "width": "1", - "height": "1", - "passthru": false, - "topic": "retention", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "pin", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "pin_outline", - "offcolor": "grey", - "x": 1220, - "y": 2340, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "4e1d7986190989e5", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "nightlight", - "label": "", - "group": "4deac0812bc789d5", - "order": 11, - "width": "1", - "height": "1", - "passthru": false, - "topic": "nightlight", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "lightbulb-night", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "lightbulb-night-outline", - "offcolor": "grey", - "x": 1220, - "y": 2400, - "wires": [ - [ - "7b827a64c14fb9cb" - ] - ] - }, - { - "id": "9737afb19d9c9fbb", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "room - ui - thermostat - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 2615, - "y": 240, - "wires": [ - [ - "fbb1bdcb44abce21", - "4b8267934ced5596" - ] - ] - }, - { - "id": "dd49b4996fb683ff", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "room - ui - thermostat - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 2615, - "y": 300, - "wires": [ - [ - "7e364afe6e09d405" - ] - ] - }, - { - "id": "fbb1bdcb44abce21", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Thermostat\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3670, - "y": 240, - "wires": [ - [ - "b8374382f89b46c6", - "fafbe160c912822f" - ] - ] - }, - { - "id": "6c6cf33417f59f97", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Thermostat\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3670, - "y": 300, - "wires": [ - [ - "fafbe160c912822f", - "b8374382f89b46c6" - ] - ] - }, - { - "id": "fc673a36d8691d63", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3670, - "y": 360, - "wires": [ - [ - "f85914dec075a3d8", - "f968a8fc298f04c3", - "37794c3da2ceda38", - "f23d5105ca948593", - "348134507ffe8815", - "93e874f6e4a1f87a", - "3d40410e159beaab", - "4565730f04bd7072", - "79764253e9e92fda", - "4ad97596d0efa64b", - "63561fec4fba2afd", - "07108de5adf3ae2a", - "bcf6468037b4c2a6", - "4c5adf85df17025b", - "3f9eefa51c1e5e9e", - "dfd8650d923f73e4", - "53f7b3195f6dfeed", - "6cc81c8342d6ef1c", - "99e789a941d2af52", - "f7ed99ce22cd37cb", - "cb3f8f9fa322b59f", - "51dc21bc28ea3f06", - "272807d6b707d92f", - "4540d4f432f8742d", - "6d0cb16590b1da18", - "bfb0a473b6a09c81", - "61d316384ef1521b", - "8c3c9bc4a66b1e32", - "ff2211c1efd24971", - "33fde1af7428bf26", - "f814aebd5bd599b5", - "25b3542fda8fae4d", - "e223793b9998818b" - ] - ] - }, - { - "id": "37aa96c6d80d8ade", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "thermostat", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4340, - "y": 600, - "wires": [ - [ - "1ef76a4c1fab9b78" - ] - ] - }, - { - "id": "1ef76a4c1fab9b78", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "room - ui - thermostat - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 4475, - "y": 600, - "wires": [] - }, - { - "id": "adc6196b15cf8c39", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "status", - "vt": "str" - }, - { - "t": "eq", - "v": "heat request", - "vt": "str" - }, - { - "t": "eq", - "v": "pilot", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture opened", - "vt": "str" - }, - { - "t": "eq", - "v": "delayed aperture", - "vt": "str" - }, - { - "t": "eq", - "v": "temperature setpoint", - "vt": "str" - }, - { - "t": "eq", - "v": "indoor temperature", - "vt": "str" - }, - { - "t": "eq", - "v": "outdoor temperature", - "vt": "str" - }, - { - "t": "eq", - "v": "operating mode", - "vt": "str" - }, - { - "t": "eq", - "v": "eco setpoint", - "vt": "str" - }, - { - "t": "eq", - "v": "confort setpoint", - "vt": "str" - }, - { - "t": "eq", - "v": "indoor coefficient", - "vt": "str" - }, - { - "t": "eq", - "v": "outdoor coefficient", - "vt": "str" - }, - { - "t": "eq", - "v": "preheat time", - "vt": "str" - }, - { - "t": "eq", - "v": "cycle time", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture delay", - "vt": "str" - }, - { - "t": "eq", - "v": "offloading delay", - "vt": "str" - }, - { - "t": "eq", - "v": "offloading power", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture 1", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture 2", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture 3", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture 4", - "vt": "str" - }, - { - "t": "eq", - "v": "aperture 5", - "vt": "str" - }, - { - "t": "eq", - "v": "last pilot", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 25, - "x": 3130, - "y": 600, - "wires": [ - [ - "f85914dec075a3d8", - "1d92bf6b8fc98959" - ], - [ - "fb9711affc7d14af" - ], - [ - "61d316384ef1521b" - ], - [ - "37794c3da2ceda38" - ], - [ - "bd8ab43b4a91a2ae" - ], - [ - "19b6504e1bbece40" - ], - [ - "a7420198a3e0f879" - ], - [ - "26537f8818c29c61" - ], - [ - "27d7b08fb3646a52" - ], - [ - "151d5194b8538480" - ], - [ - "07108de5adf3ae2a", - "f670239d8cf08808" - ], - [ - "bcf6468037b4c2a6", - "a4b56ada8159bff6" - ], - [ - "6cc81c8342d6ef1c", - "990b4d58c23a68a2" - ], - [ - "f7ed99ce22cd37cb", - "ee3e358d88bbf249" - ], - [ - "51dc21bc28ea3f06", - "6f096e24c9634c56" - ], - [ - "4540d4f432f8742d", - "83b16f9aed4fa051" - ], - [ - "ff2211c1efd24971", - "db3ebf0b6421aeae" - ], - [ - "f814aebd5bd599b5", - "10c3697bddec1a05" - ], - [ - "bfb0a473b6a09c81", - "4f0ea1cdd4d0b719" - ], - [ - "bcfed6ac5d278d3c" - ], - [ - "f5cf184989e2cc69" - ], - [ - "95eb528329f90cf2" - ], - [ - "3e6cd35a857771f8" - ], - [ - "f19ecf4219ed5190" - ], - [ - "c4f79cb042dc36a1" - ] - ] - }, - { - "id": "26bdcbaa93cfcc27", - "type": "humanizer", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "input": "msg.payload", - "x": 3470, - "y": 2040, - "wires": [ - [ - "2efa063af4b505d2" - ] - ] - }, - { - "id": "c4f79cb042dc36a1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "calcul", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$round(($millis() - msg.payload)/1000)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 2040, - "wires": [ - [ - "26bdcbaa93cfcc27" - ] - ] - }, - { - "id": "f391ba85b3d53073", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4340, - "y": 780, - "wires": [ - [ - "1ef76a4c1fab9b78" - ] - ] - }, - { - "id": "7e364afe6e09d405", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "thermostat", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 2780, - "y": 300, - "wires": [ - [ - "6c6cf33417f59f97", - "39615dab9370d868", - "fcbda9c625fdecac" - ] - ] - }, - { - "id": "b8374382f89b46c6", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune thermostat", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3840, - "y": 240, - "wires": [ - [ - "5b4d546fd3646af7" - ] - ] - }, - { - "id": "5b4d546fd3646af7", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 4010, - "y": 240, - "wires": [] - }, - { - "id": "fafbe160c912822f", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 3840, - "y": 300, - "wires": [ - [] - ] - }, - { - "id": "f85914dec075a3d8", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "actif", - "label": "", - "group": "28836135eb153545", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 4090, - "y": 600, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "bd8ab43b4a91a2ae", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "aperture opened", - "label": "", - "group": "28836135eb153545", - "order": 7, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "door-open", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "door-closed", - "offcolor": "grey", - "x": 4120, - "y": 840, - "wires": [ - [] - ] - }, - { - "id": "19b6504e1bbece40", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "delayed aperture", - "label": "", - "group": "28836135eb153545", - "order": 8, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "timer-remove", - "oncolor": "grey", - "offvalue": "false", - "offvalueType": "bool", - "officon": "timer-check", - "offcolor": "teal", - "x": 4130, - "y": 900, - "wires": [ - [] - ] - }, - { - "id": "f968a8fc298f04c3", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "operating mode", - "label": "Mode", - "tooltip": "", - "order": 12, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "operating mode", - "topicType": "str", - "className": "", - "x": 4120, - "y": 1140, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "07108de5adf3ae2a", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "eco setpoint", - "label": "", - "tooltip": "", - "order": 14, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "eco setpoint", - "topicType": "str", - "thumbLabel": true, - "min": "15", - "max": "35", - "step": "0.5", - "className": "", - "x": 4110, - "y": 1200, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "bcf6468037b4c2a6", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "confort setpoint", - "label": "", - "tooltip": "", - "order": 16, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "confort setpoint", - "topicType": "str", - "thumbLabel": true, - "min": "15", - "max": "35", - "step": "0.5", - "className": "", - "x": 4120, - "y": 1260, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "37794c3da2ceda38", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "pilot", - "label": "", - "group": "28836135eb153545", - "order": 6, - "width": "1", - "height": "1", - "passthru": false, - "topic": "pilot", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "power-plug", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "power-plug-off", - "offcolor": "grey", - "x": 4090, - "y": 780, - "wires": [ - [ - "f391ba85b3d53073" - ] - ] - }, - { - "id": "dfd8650d923f73e4", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 10, - "width": "2", - "height": "1", - "name": "indoor temperature", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3870, - "y": 1080, - "wires": [] - }, - { - "id": "4c5adf85df17025b", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 9, - "width": "2", - "height": "1", - "name": "temperature setpoint", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 960, - "wires": [] - }, - { - "id": "26537f8818c29c61", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Interieur à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1080, - "wires": [ - [ - "dfd8650d923f73e4" - ] - ] - }, - { - "id": "a7420198a3e0f879", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Consigne à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 960, - "wires": [ - [ - "4c5adf85df17025b" - ] - ] - }, - { - "id": "f23d5105ca948593", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 36, - "width": "6", - "height": "1", - "name": "seens", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3830, - "y": 2040, - "wires": [] - }, - { - "id": "2efa063af4b505d2", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Dernier ordre il y a '&msg.payload.humanized", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3650, - "y": 2040, - "wires": [ - [ - "f23d5105ca948593" - ] - ] - }, - { - "id": "6cc81c8342d6ef1c", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "indoor coefficient", - "label": "", - "tooltip": "", - "order": 18, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "indoor coefficient", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "200", - "step": 1, - "className": "", - "x": 4130, - "y": 1320, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "f7ed99ce22cd37cb", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "outdoor coefficient", - "label": "", - "tooltip": "", - "order": 20, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "outdoor coefficient", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "200", - "step": 1, - "className": "", - "x": 4130, - "y": 1380, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "348134507ffe8815", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 4, - "width": "2", - "height": "1", - "name": "status", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3830, - "y": 660, - "wires": [] - }, - { - "id": "63561fec4fba2afd", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 13, - "width": "2", - "height": "1", - "name": "eco setpoint (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3870, - "y": 1200, - "wires": [] - }, - { - "id": "53f7b3195f6dfeed", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 17, - "width": "2", - "height": "1", - "name": "indoor coefficient (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 1320, - "wires": [] - }, - { - "id": "99e789a941d2af52", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 19, - "width": "2", - "height": "1", - "name": "outdoor coefficient (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 1380, - "wires": [] - }, - { - "id": "39615dab9370d868", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "250 ms", - "pauseType": "delay", - "timeout": "250", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 2980, - "y": 600, - "wires": [ - [ - "adc6196b15cf8c39" - ] - ] - }, - { - "id": "e223793b9998818b", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 15, - "width": "2", - "height": "1", - "name": "confort setpoint (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 1260, - "wires": [] - }, - { - "id": "136162f12991809c", - "type": "link call", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "links": [ - "df0e4ab2e1efc286" - ], - "linkType": "static", - "timeout": "30", - "x": 3480, - "y": 660, - "wires": [ - [ - "a9e89b46159c4ec8" - ] - ] - }, - { - "id": "fb9711affc7d14af", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "move", - "rules": [ - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 660, - "wires": [ - [ - "136162f12991809c" - ] - ] - }, - { - "id": "a9e89b46159c4ec8", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "move", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "trans", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3670, - "y": 660, - "wires": [ - [ - "348134507ffe8815" - ] - ] - }, - { - "id": "cb3f8f9fa322b59f", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 21, - "width": "2", - "height": "1", - "name": "preheat time(txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3860, - "y": 1440, - "wires": [] - }, - { - "id": "51dc21bc28ea3f06", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "preheat time", - "label": "", - "tooltip": "", - "order": 22, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "preheat time", - "topicType": "str", - "thumbLabel": true, - "min": "5", - "max": "60", - "step": "5", - "className": "", - "x": 4110, - "y": 1440, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "272807d6b707d92f", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 23, - "width": "2", - "height": "1", - "name": "cycle time(txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3860, - "y": 1500, - "wires": [] - }, - { - "id": "4540d4f432f8742d", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "cycle time", - "label": "", - "tooltip": "", - "order": 24, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "cycle time", - "topicType": "str", - "thumbLabel": true, - "min": "5", - "max": "120", - "step": "5", - "className": "", - "x": 4100, - "y": 1500, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "6d0cb16590b1da18", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 29, - "width": "2", - "height": "1", - "name": "offloading power (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 1680, - "wires": [] - }, - { - "id": "bfb0a473b6a09c81", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "offloading power", - "label": "", - "tooltip": "", - "order": 30, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "offloading power", - "topicType": "str", - "thumbLabel": true, - "min": "100", - "max": "1500", - "step": "100", - "className": "", - "x": 4120, - "y": 1680, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "61d316384ef1521b", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "heat request", - "label": "", - "group": "28836135eb153545", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog-play", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-stop-outline", - "offcolor": "grey", - "x": 4110, - "y": 720, - "wires": [ - [] - ] - }, - { - "id": "27d7b08fb3646a52", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Exterieur à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1020, - "wires": [ - [ - "3f9eefa51c1e5e9e" - ] - ] - }, - { - "id": "3f9eefa51c1e5e9e", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 11, - "width": "2", - "height": "1", - "name": "outdoor temperature", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-left", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3880, - "y": 1020, - "wires": [] - }, - { - "id": "ff2211c1efd24971", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture delay", - "label": "", - "tooltip": "", - "order": 26, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "aperture delay", - "topicType": "str", - "thumbLabel": true, - "min": "1", - "max": "30", - "step": 1, - "className": "", - "x": 4120, - "y": 1560, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "f814aebd5bd599b5", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "offloading delay", - "label": "", - "tooltip": "", - "order": 28, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "offloading delay", - "topicType": "str", - "thumbLabel": true, - "min": "1", - "max": "60", - "step": 1, - "className": "", - "x": 4120, - "y": 1620, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "8c3c9bc4a66b1e32", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 25, - "width": "2", - "height": "1", - "name": "aperture delay(txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3870, - "y": 1560, - "wires": [] - }, - { - "id": "0711217590341f99", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "thermostat.options", - "pt": "flow", - "to": "[]", - "tot": "jsonata" - }, - { - "t": "set", - "p": "thermostat.options[0]", - "pt": "flow", - "to": "{\t 'label': 'non assigné',\t 'value': ''\t}", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3150, - "y": 2100, - "wires": [ - [ - "3930f84bd36fd5aa" - ] - ] - }, - { - "id": "3930f84bd36fd5aa", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 3330, - "y": 2100, - "wires": [ - [ - "b6f3145afc37707c" - ] - ] - }, - { - "id": "b6f3145afc37707c", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "measurement", - "x": 3490, - "y": 2100, - "wires": [ - [ - "7a9f4d42d5c7497c" - ] - ] - }, - { - "id": "7a9f4d42d5c7497c", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "aperture", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 3680, - "y": 2100, - "wires": [ - [ - "dd517b4d06983aac" - ] - ] - }, - { - "id": "dd517b4d06983aac", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "field", - "x": 3870, - "y": 2100, - "wires": [ - [ - "e7dcdd83cf9e08e1" - ] - ] - }, - { - "id": "e7dcdd83cf9e08e1", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "shutter", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 4030, - "y": 2100, - "wires": [ - [ - "73dc6a2b0e041f8e" - ] - ] - }, - { - "id": "73dc6a2b0e041f8e", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "add", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "count", - "pt": "msg", - "to": "$count(msg.options)-1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "count", - "pt": "msg", - "to": "msg.count+1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "options[msg.count]", - "pt": "msg", - "to": "{\t 'label': msg.bucket&'/aperture/'&msg.field,\t 'value': msg.bucket&'/aperture/'&msg.field\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "thermostat.options", - "pt": "flow", - "to": "options", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 4190, - "y": 2100, - "wires": [ - [] - ] - }, - { - "id": "bcfed6ac5d278d3c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1740, - "wires": [ - [ - "93e874f6e4a1f87a" - ] - ] - }, - { - "id": "93e874f6e4a1f87a", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture 1", - "label": "Ouverture 1 :", - "tooltip": "", - "order": 31, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "aperture 1", - "topicType": "str", - "className": "", - "x": 4110, - "y": 1740, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "fcbda9c625fdecac", - "type": "rbe", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "", - "func": "rbe", - "gap": "", - "start": "", - "inout": "out", - "septopics": false, - "property": "bucket", - "topi": "topic", - "x": 2970, - "y": 2100, - "wires": [ - [ - "0711217590341f99" - ] - ] - }, - { - "id": "f5cf184989e2cc69", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1800, - "wires": [ - [ - "3d40410e159beaab" - ] - ] - }, - { - "id": "3d40410e159beaab", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture 2", - "label": "Ouverture 2 :", - "tooltip": "", - "order": 32, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "aperture 2", - "topicType": "str", - "className": "", - "x": 4110, - "y": 1800, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "4565730f04bd7072", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture 3", - "label": "Ouverture 3 :", - "tooltip": "", - "order": 33, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "aperture 3", - "topicType": "str", - "className": "", - "x": 4110, - "y": 1860, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "95eb528329f90cf2", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1860, - "wires": [ - [ - "4565730f04bd7072" - ] - ] - }, - { - "id": "79764253e9e92fda", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture 4", - "label": "Ouverture 4 :", - "tooltip": "", - "order": 34, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "aperture 4", - "topicType": "str", - "className": "", - "x": 4110, - "y": 1920, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "3e6cd35a857771f8", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1920, - "wires": [ - [ - "79764253e9e92fda" - ] - ] - }, - { - "id": "4ad97596d0efa64b", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "name": "aperture 5", - "label": "Ouverture 5 :", - "tooltip": "", - "order": 35, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "aperture 5", - "topicType": "str", - "className": "", - "x": 4110, - "y": 1980, - "wires": [ - [ - "37aa96c6d80d8ade" - ] - ] - }, - { - "id": "f19ecf4219ed5190", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "thermostat.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1980, - "wires": [ - [ - "4ad97596d0efa64b" - ] - ] - }, - { - "id": "33fde1af7428bf26", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 27, - "width": "2", - "height": "1", - "name": "offloading delay(txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3870, - "y": 1620, - "wires": [] - }, - { - "id": "2d0ce076b11e16ba", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "daily", - "vt": "str" - }, - { - "t": "eq", - "v": "timer", - "vt": "str" - }, - { - "t": "eq", - "v": "luminosity", - "vt": "str" - }, - { - "t": "eq", - "v": "openwork", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 5, - "x": 670, - "y": 3060, - "wires": [ - [ - "f0af60c382a79669", - "06648a9cfafa7763" - ], - [ - "4ba85aac882689c9", - "af4763dd0a68af6b" - ], - [ - "1ff4a921e075affc", - "6c209c997c1913af" - ], - [ - "c20f3ad695b504d9", - "ad3a18ea13234fa7" - ], - [ - "ace2b79f4bb79129", - "29a5cea9f00406df" - ] - ] - }, - { - "id": "b394effe7a57f79a", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "shading", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1400, - "y": 3060, - "wires": [ - [ - "8ee8772fa3a4c742" - ] - ] - }, - { - "id": "c97e08992c83f769", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "room - ui - shading - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 2880, - "wires": [ - [ - "3473a74146113307" - ] - ] - }, - { - "id": "3bd921f16659d915", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "boot shading", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 2820, - "wires": [ - [ - "486df3adde8e9f19", - "a3e5f41d31ec8cc3" - ] - ] - }, - { - "id": "8ee8772fa3a4c742", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "room - ui - shading - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1535, - "y": 3060, - "wires": [] - }, - { - "id": "3473a74146113307", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "shading", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 2880, - "wires": [ - [ - "6afc26adb1632a78", - "9016e50cba8bfc51" - ] - ] - }, - { - "id": "2feac259f3f849cf", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2940, - "wires": [ - [ - "4ba85aac882689c9", - "f0af60c382a79669", - "1ff4a921e075affc", - "c20f3ad695b504d9", - "ace2b79f4bb79129", - "3e2e4e9b894029c8", - "8f75f6329e26fbc7", - "42e7727aca3d42a1", - "9137722c14af0906", - "cb13c9daccf388ee" - ] - ] - }, - { - "id": "6afc26adb1632a78", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Ombrage\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2880, - "wires": [ - [ - "d46a05d7499a2baf", - "caed2b0a311ef651" - ] - ] - }, - { - "id": "486df3adde8e9f19", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Ombrage\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2820, - "wires": [ - [ - "caed2b0a311ef651", - "d46a05d7499a2baf" - ] - ] - }, - { - "id": "caed2b0a311ef651", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune gestion d'ombrage", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 2820, - "wires": [ - [ - "f8c9bdc9468519cc" - ] - ] - }, - { - "id": "f8c9bdc9468519cc", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 2820, - "wires": [] - }, - { - "id": "d46a05d7499a2baf", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 2880, - "wires": [ - [] - ] - }, - { - "id": "1ff4a921e075affc", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "name": "timer", - "label": "Minuterie", - "tooltip": "", - "order": 7, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "timer", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "120", - "step": "5", - "className": "", - "x": 1210, - "y": 3180, - "wires": [ - [ - "b394effe7a57f79a" - ] - ] - }, - { - "id": "c20f3ad695b504d9", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "name": "luminosity", - "label": "", - "tooltip": "", - "order": 9, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "luminosity", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "3000", - "step": "100", - "className": "", - "x": 1220, - "y": 3240, - "wires": [ - [ - "b394effe7a57f79a" - ] - ] - }, - { - "id": "ace2b79f4bb79129", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "name": "openwork", - "label": "", - "tooltip": "", - "order": 11, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "openwork", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": 1, - "className": "", - "x": 1220, - "y": 3300, - "wires": [ - [ - "b394effe7a57f79a" - ] - ] - }, - { - "id": "4ba85aac882689c9", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "daily", - "label": "", - "group": "104179763815c332", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "daily", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "alarm-check", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "alarm-off", - "offcolor": "grey", - "x": 1210, - "y": 3120, - "wires": [ - [ - "b394effe7a57f79a" - ] - ] - }, - { - "id": "f0af60c382a79669", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "actif", - "label": "", - "group": "104179763815c332", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1210, - "y": 3060, - "wires": [ - [ - "b394effe7a57f79a" - ] - ] - }, - { - "id": "9016e50cba8bfc51", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 3060, - "wires": [ - [ - "2d0ce076b11e16ba" - ] - ] - }, - { - "id": "511350d9f34ce767", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "room - ui - clock - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 3420, - "wires": [ - [ - "acfd5fff279e15de", - "61ed7b677cad542e" - ] - ] - }, - { - "id": "7aaae6f81accc54b", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "room - ui - clock - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 3480, - "wires": [ - [ - "20845c677b589935" - ] - ] - }, - { - "id": "20845c677b589935", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "clock", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 3480, - "wires": [ - [ - "f77679312512233c", - "a87c14e04ed75544" - ] - ] - }, - { - "id": "acfd5fff279e15de", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Horloge\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3420, - "wires": [ - [ - "674dd33239c8c3e7", - "4f9d174388a77ea5" - ] - ] - }, - { - "id": "674dd33239c8c3e7", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune horloge", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 3420, - "wires": [ - [ - "d2846ad9c776708a" - ] - ] - }, - { - "id": "d2846ad9c776708a", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "group": "3f693201c9dfc80c", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 3420, - "wires": [] - }, - { - "id": "4f9d174388a77ea5", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 3480, - "wires": [ - [] - ] - }, - { - "id": "f77679312512233c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Horloge\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3480, - "wires": [ - [ - "4f9d174388a77ea5", - "674dd33239c8c3e7" - ] - ] - }, - { - "id": "f5f89b6efb421399", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3540, - "wires": [ - [ - "f718cac6e7ec06c5", - "79fe08848f124125", - "af46ed6d30e60e05", - "a65aa958e432f9a5" - ] - ] - }, - { - "id": "5673ce2c9088f475", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "work day", - "vt": "str" - }, - { - "t": "eq", - "v": "work eve", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 670, - "y": 3660, - "wires": [ - [ - "f718cac6e7ec06c5", - "7f2dd140d1c88cb9" - ], - [ - "79fe08848f124125", - "dad6bb6b40fef41e" - ] - ] - }, - { - "id": "f718cac6e7ec06c5", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "work day", - "label": "", - "group": "3f693201c9dfc80c", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "work day", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "briefcase-clock", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "briefcase-clock-outline", - "offcolor": "grey", - "x": 1220, - "y": 3660, - "wires": [ - [] - ] - }, - { - "id": "79fe08848f124125", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "work eve", - "label": "", - "group": "3f693201c9dfc80c", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "work eve", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "briefcase-clock", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "briefcase-clock-outline", - "offcolor": "grey", - "x": 1220, - "y": 3720, - "wires": [ - [] - ] - }, - { - "id": "a87c14e04ed75544", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 3660, - "wires": [ - [ - "5673ce2c9088f475" - ] - ] - }, - { - "id": "89fea9401e9ea5c1", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "high", - "vt": "str" - }, - { - "t": "eq", - "v": "low", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 670, - "y": 4740, - "wires": [ - [ - "13dbb1a630d2cd7d" - ], - [ - "86076299a0fb4895" - ], - [ - "a589feb1b401ea68" - ] - ] - }, - { - "id": "fc11e57431b3bece", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "jarvis", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1340, - "y": 4740, - "wires": [ - [ - "8beb2a2f4c26c437" - ] - ] - }, - { - "id": "b1825677cbba4273", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "room - ui - rhasspy - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 4560, - "wires": [ - [ - "539d1393b0bcbaf6" - ] - ] - }, - { - "id": "a06fcd9bc49dd111", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "room - ui - rhasspy - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 4500, - "wires": [ - [ - "5209317f54f78726", - "4e9259e00dbed0ac" - ] - ] - }, - { - "id": "8beb2a2f4c26c437", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "room - ui - rhasspy - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1475, - "y": 4740, - "wires": [] - }, - { - "id": "539d1393b0bcbaf6", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "jarvis", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 4560, - "wires": [ - [ - "58a80e8214149e12", - "892332a6fc4a6710" - ] - ] - }, - { - "id": "4251d90a5ab9d7a1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4620, - "wires": [ - [ - "787028ce8e3aa268", - "2034de4581f58c90", - "4ce96c7ddf9665c7", - "43a2549e341c526b", - "dc709a1842ae7a88", - "5ed94f8216251cb1" - ] - ] - }, - { - "id": "58a80e8214149e12", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Jarvis\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4560, - "wires": [ - [ - "0be97543e6033a9a", - "d5abdb129e7bdcb1" - ] - ] - }, - { - "id": "5209317f54f78726", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Jarvis\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4500, - "wires": [ - [ - "d5abdb129e7bdcb1", - "0be97543e6033a9a" - ] - ] - }, - { - "id": "d5abdb129e7bdcb1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun assistant local", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 4500, - "wires": [ - [ - "d201aa9375be8c18" - ] - ] - }, - { - "id": "d201aa9375be8c18", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 4500, - "wires": [] - }, - { - "id": "0be97543e6033a9a", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 4560, - "wires": [ - [] - ] - }, - { - "id": "892332a6fc4a6710", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 4740, - "wires": [ - [ - "89fea9401e9ea5c1" - ] - ] - }, - { - "id": "97aa2e016643bfbd", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "room - ui - air conditioner - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 3840, - "wires": [ - [ - "5a5c10ecd5d798be", - "2a4f2715f401f8f2" - ] - ] - }, - { - "id": "383c38e98cd05755", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "room - ui - air conditioner - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 3900, - "wires": [ - [ - "12fca45ce9ab2abb" - ] - ] - }, - { - "id": "5a5c10ecd5d798be", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Climatisation\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3840, - "wires": [ - [ - "c6383ca66673fd96", - "f520ba0c172598b7" - ] - ] - }, - { - "id": "932e7fad1c98966f", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Climatisation\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3900, - "wires": [ - [ - "f520ba0c172598b7", - "c6383ca66673fd96" - ] - ] - }, - { - "id": "baadaeea2e2d4f95", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3960, - "wires": [ - [ - "327f0ed7b5fa48d2", - "f68f5c75e58e22cb", - "dcfb0cd127aa904e", - "22c8ba7a5b818ab1", - "4e080e4032b4c4c8", - "0bb31a889d427f54", - "e6cf92eef6f506ec", - "4205795bed6b3290", - "a8dd4b383d7eb632" - ] - ] - }, - { - "id": "c5d646bd69c37865", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "air conditioner", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1540, - "y": 4080, - "wires": [ - [ - "9d8b8d237e2704ea" - ] - ] - }, - { - "id": "9d8b8d237e2704ea", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "room - ui - air conditioner - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1675, - "y": 4080, - "wires": [] - }, - { - "id": "4da4c768067c032b", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "mode", - "vt": "str" - }, - { - "t": "eq", - "v": "fan rate", - "vt": "str" - }, - { - "t": "eq", - "v": "fan direction", - "vt": "str" - }, - { - "t": "eq", - "v": "temperature setpoint", - "vt": "str" - }, - { - "t": "eq", - "v": "advanced", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 6, - "x": 670, - "y": 4080, - "wires": [ - [ - "327f0ed7b5fa48d2", - "988c34fbce846dcc" - ], - [ - "738201cd36aef02d" - ], - [ - "9d154c219f206faf" - ], - [ - "6b1aeadab15d8e8c" - ], - [ - "0ecce96328bfdde4", - "a8dd4b383d7eb632" - ], - [ - "88a37cbdf2f5f465", - "ad3172b46080261c" - ] - ] - }, - { - "id": "12fca45ce9ab2abb", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "air conditioner", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 3900, - "wires": [ - [ - "932e7fad1c98966f", - "2a45ad61a4b3d598" - ] - ] - }, - { - "id": "c6383ca66673fd96", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun climatiseur", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 3840, - "wires": [ - [ - "cd9ba8ff11c8036d" - ] - ] - }, - { - "id": "cd9ba8ff11c8036d", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 3840, - "wires": [] - }, - { - "id": "f520ba0c172598b7", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 3900, - "wires": [ - [] - ] - }, - { - "id": "327f0ed7b5fa48d2", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "power", - "label": "", - "group": "3b3e6fe6f656ea0e", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "fan", - "oncolor": "blue", - "offvalue": "false", - "offvalueType": "bool", - "officon": "fan-off", - "offcolor": "grey", - "x": 1270, - "y": 4080, - "wires": [ - [ - "c5d646bd69c37865" - ] - ] - }, - { - "id": "f68f5c75e58e22cb", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "name": "mode", - "label": "Mode", - "tooltip": "", - "order": 6, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "mode", - "topicType": "str", - "className": "", - "x": 1270, - "y": 4140, - "wires": [ - [ - "c5d646bd69c37865" - ] - ] - }, - { - "id": "a8dd4b383d7eb632", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "name": "temperature setpoint", - "label": "", - "tooltip": "", - "order": 10, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "temperature setpoint", - "topicType": "str", - "thumbLabel": true, - "min": "18", - "max": "31", - "step": "1", - "className": "", - "x": 1320, - "y": 4320, - "wires": [ - [ - "c5d646bd69c37865" - ] - ] - }, - { - "id": "4205795bed6b3290", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "order": 9, - "width": "2", - "height": "1", - "name": "temperature setpoint (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1050, - "y": 4320, - "wires": [] - }, - { - "id": "2a45ad61a4b3d598", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 4080, - "wires": [ - [ - "4da4c768067c032b" - ] - ] - }, - { - "id": "dcfb0cd127aa904e", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "name": "fan rate", - "label": "Ventilation", - "tooltip": "", - "order": 7, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "fan rate", - "topicType": "str", - "className": "", - "x": 1280, - "y": 4200, - "wires": [ - [ - "c5d646bd69c37865" - ] - ] - }, - { - "id": "22c8ba7a5b818ab1", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "name": "fan direction", - "label": "Direction", - "tooltip": "", - "order": 8, - "width": "2", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "fan direction", - "topicType": "str", - "className": "", - "x": 1290, - "y": 4260, - "wires": [ - [ - "c5d646bd69c37865" - ] - ] - }, - { - "id": "d5a2226e7f24deda", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "high", - "vt": "str" - }, - { - "t": "eq", - "v": "low", - "vt": "str" - }, - { - "t": "eq", - "v": "volume", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 4, - "x": 670, - "y": 5220, - "wires": [ - [ - "dbac3472fc6c8c6b", - "a8480038bfbf3fcc" - ], - [ - "e61351b02452479b", - "8fc146f9644edbbe" - ], - [ - "4635fe1f7e4a367f", - "1f6f49b445e2d521" - ], - [ - "22b72e8520c12a40", - "626e1746ced16a4c" - ] - ] - }, - { - "id": "fc6548d30b49e4d0", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "alexa", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1380, - "y": 5220, - "wires": [ - [ - "8a6f97848d7b1a2c" - ] - ] - }, - { - "id": "c72c85a05c057eb6", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "room - ui - alexa - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 5040, - "wires": [ - [ - "63f153f048b1295f" - ] - ] - }, - { - "id": "5f5234be5bf42b3a", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "room - ui - alexa - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 4980, - "wires": [ - [ - "2723a51ead34599a", - "c90a6ddfd223af79" - ] - ] - }, - { - "id": "8a6f97848d7b1a2c", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "room - ui - alexa - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1515, - "y": 5220, - "wires": [] - }, - { - "id": "63f153f048b1295f", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "alexa", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 5040, - "wires": [ - [ - "2923cfe0def7c0ad", - "7475623aa0893639" - ] - ] - }, - { - "id": "130d6f3ddbbffdae", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5100, - "wires": [ - [ - "dbac3472fc6c8c6b", - "d522ee9073fbd7f0", - "b37b3ee777a644db", - "b4c8c70bb7e8948d", - "ed28b9fa5c455f0c", - "e61351b02452479b", - "4635fe1f7e4a367f", - "626e1746ced16a4c" - ] - ] - }, - { - "id": "2923cfe0def7c0ad", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Alexa\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5040, - "wires": [ - [ - "ecf7b9d277d80279", - "f1f8c53efd3838a8" - ] - ] - }, - { - "id": "2723a51ead34599a", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Alexa\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4980, - "wires": [ - [ - "f1f8c53efd3838a8", - "ecf7b9d277d80279" - ] - ] - }, - { - "id": "f1f8c53efd3838a8", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun assistant Alexa", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 4980, - "wires": [ - [ - "a1ac1aa658d58387" - ] - ] - }, - { - "id": "a1ac1aa658d58387", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 4980, - "wires": [] - }, - { - "id": "ecf7b9d277d80279", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 5040, - "wires": [ - [] - ] - }, - { - "id": "e61351b02452479b", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "name": "high", - "label": "", - "tooltip": "", - "order": 7, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "high", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": "1", - "className": "", - "x": 1190, - "y": 5280, - "wires": [ - [ - "fc6548d30b49e4d0" - ] - ] - }, - { - "id": "4635fe1f7e4a367f", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "name": "low", - "label": "", - "tooltip": "", - "order": 9, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "low", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": "1", - "className": "", - "x": 1190, - "y": 5340, - "wires": [ - [ - "fc6548d30b49e4d0" - ] - ] - }, - { - "id": "dbac3472fc6c8c6b", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "actif", - "label": "", - "group": "e807a144dac63624", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1190, - "y": 5220, - "wires": [ - [ - "fc6548d30b49e4d0" - ] - ] - }, - { - "id": "7475623aa0893639", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 5220, - "wires": [ - [ - "d5a2226e7f24deda" - ] - ] - }, - { - "id": "626e1746ced16a4c", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "name": "volume", - "label": "", - "tooltip": "", - "order": 5, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "volume", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": "1", - "className": "", - "x": 1200, - "y": 5400, - "wires": [ - [ - "fc6548d30b49e4d0" - ] - ] - }, - { - "id": "0691d9a37686f464", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 670, - "y": 5760, - "wires": [ - [ - "6495af71a7195bb4", - "4edb12baad4c5bd0" - ] - ] - }, - { - "id": "3c6ee783748b235e", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "telegram", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1520, - "y": 5760, - "wires": [ - [ - "1d6b2ca73ae11560" - ] - ] - }, - { - "id": "761cb37547fe4dc2", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "room - ui - telegram - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 5580, - "wires": [ - [ - "befe8bfd3d3446cc" - ] - ] - }, - { - "id": "a033c6dbdefb80f9", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "room - ui - telegram - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 5520, - "wires": [ - [ - "45ec5e8001fad3fa", - "58e1c9e33b0a90f3" - ] - ] - }, - { - "id": "1d6b2ca73ae11560", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "room - ui - alexa - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1655, - "y": 5760, - "wires": [] - }, - { - "id": "befe8bfd3d3446cc", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "telegram", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 5580, - "wires": [ - [ - "661f755eabe3c32b", - "bf793e9865c9e834" - ] - ] - }, - { - "id": "2936573edcac41e4", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5640, - "wires": [ - [ - "6495af71a7195bb4", - "97087ce25aae4515", - "5f4fe9067e1fd9a0" - ] - ] - }, - { - "id": "661f755eabe3c32b", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Telegram\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5580, - "wires": [ - [ - "42cb1c19195b7aaf", - "9c9162236e4b23a6" - ] - ] - }, - { - "id": "45ec5e8001fad3fa", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Telegram\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5520, - "wires": [ - [ - "9c9162236e4b23a6", - "42cb1c19195b7aaf" - ] - ] - }, - { - "id": "9c9162236e4b23a6", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun assistant Telegram", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 5520, - "wires": [ - [ - "ce9aca3509c7c320" - ] - ] - }, - { - "id": "ce9aca3509c7c320", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "group": "cfbed463c3e70b05", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 5520, - "wires": [] - }, - { - "id": "42cb1c19195b7aaf", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 5580, - "wires": [ - [] - ] - }, - { - "id": "6495af71a7195bb4", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "actif", - "label": "", - "group": "cfbed463c3e70b05", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1170, - "y": 5760, - "wires": [ - [ - "3c6ee783748b235e" - ] - ] - }, - { - "id": "bf793e9865c9e834", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 5760, - "wires": [ - [ - "0691d9a37686f464", - "5ab53f45b766d97b" - ] - ] - }, - { - "id": "5f4fe9067e1fd9a0", - "type": "ui-text-input", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "group": "cfbed463c3e70b05", - "name": "", - "label": "Message", - "order": 4, - "width": "5", - "height": "1", - "topic": "topic", - "topicType": "msg", - "mode": "text", - "delay": 300, - "passthru": true, - "sendOnDelay": false, - "sendOnBlur": true, - "sendOnEnter": true, - "className": "", - "x": 1000, - "y": 5820, - "wires": [ - [ - "b4a9884f6b553123" - ] - ] - }, - { - "id": "05b5a24c1547eb9a", - "type": "ui-button", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "group": "cfbed463c3e70b05", - "name": "send", - "label": "", - "order": 5, - "width": "1", - "height": "1", - "emulateClick": false, - "tooltip": "", - "color": "", - "bgcolor": "", - "className": "", - "icon": "send", - "iconPosition": "left", - "payload": "", - "payloadType": "str", - "topic": "message", - "topicType": "str", - "x": 990, - "y": 5880, - "wires": [ - [ - "12697008ac3ea99d" - ] - ] - }, - { - "id": "b4a9884f6b553123", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "flow", - "rules": [ - { - "t": "set", - "p": "telegram.content", - "pt": "flow", - "to": "payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1170, - "y": 5820, - "wires": [ - [] - ] - }, - { - "id": "5ab53f45b766d97b", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "empty", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 670, - "y": 5820, - "wires": [ - [ - "5f4fe9067e1fd9a0" - ] - ] - }, - { - "id": "86f604b24a73308c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "telegram.content", - "tot": "flow" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1340, - "y": 5880, - "wires": [ - [ - "5ab53f45b766d97b", - "25609df681da5c1b", - "3c6ee783748b235e" - ] - ] - }, - { - "id": "25609df681da5c1b", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "set notification metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "notification", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "message", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Message telegram envoyé", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1560, - "y": 5880, - "wires": [ - [ - "d2194c4dad790ec4" - ] - ] - }, - { - "id": "d2194c4dad790ec4", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "telegram - ui - notification", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 1735, - "y": 5880, - "wires": [] - }, - { - "id": "12697008ac3ea99d", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "flow", - "property": "telegram.content", - "propertyType": "flow", - "rules": [ - { - "t": "nempty" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1170, - "y": 5880, - "wires": [ - [ - "86f604b24a73308c" - ] - ] - }, - { - "id": "97087ce25aae4515", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "group": "cfbed463c3e70b05", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 5760, - "wires": [] - }, - { - "id": "4edb12baad4c5bd0", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5760, - "wires": [ - [ - "97087ce25aae4515" - ] - ] - }, - { - "id": "9958ae246d4edc9d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "thermostat.options", - "pt": "flow", - "to": "[]", - "tot": "jsonata" - }, - { - "t": "set", - "p": "airflow.options[0]", - "pt": "flow", - "to": "{\t 'label': 'non assigné',\t 'value': ''\t}", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 670, - "y": 1800, - "wires": [ - [ - "625142605bf476a4" - ] - ] - }, - { - "id": "625142605bf476a4", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 850, - "y": 1800, - "wires": [ - [ - "4dcfe4665aa8fabf" - ] - ] - }, - { - "id": "4dcfe4665aa8fabf", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "measurement", - "x": 1010, - "y": 1800, - "wires": [ - [ - "ce3cb01895016d69" - ] - ] - }, - { - "id": "ce3cb01895016d69", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "humidity", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1200, - "y": 1800, - "wires": [ - [ - "8be81912e014841a" - ] - ] - }, - { - "id": "8be81912e014841a", - "type": "split", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "field", - "x": 1390, - "y": 1800, - "wires": [ - [ - "6b8eff0718819266" - ] - ] - }, - { - "id": "6b8eff0718819266", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "add", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "count", - "pt": "msg", - "to": "$count(msg.options)-1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "count", - "pt": "msg", - "to": "msg.count+1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "options[msg.count]", - "pt": "msg", - "to": "{\t 'label': msg.bucket&'/humidity/'&msg.field,\t 'value': msg.bucket&'/humidity/'&msg.field\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "airflow.options", - "pt": "flow", - "to": "options", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1550, - "y": 1800, - "wires": [ - [] - ] - }, - { - "id": "b1ebe0e08e2084f1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 1500, - "wires": [ - [ - "fd421d21a13fd9cd" - ] - ] - }, - { - "id": "fd421d21a13fd9cd", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity 1", - "label": "Capteur d'humidité 1 :", - "tooltip": "", - "order": 10, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "humidity 1", - "topicType": "str", - "className": "", - "x": 1210, - "y": 1500, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "5994c74117a8e31c", - "type": "rbe", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "", - "func": "rbe", - "gap": "", - "start": "", - "inout": "out", - "septopics": false, - "property": "bucket", - "topi": "topic", - "x": 490, - "y": 1800, - "wires": [ - [ - "9958ae246d4edc9d" - ] - ] - }, - { - "id": "ddcf6edbc20142df", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity 2", - "label": "Capteur d'humidité 2 :", - "tooltip": "", - "order": 11, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "humidity 2", - "topicType": "str", - "className": "", - "x": 1210, - "y": 1560, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "055c0a0f268053e4", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 1560, - "wires": [ - [ - "ddcf6edbc20142df" - ] - ] - }, - { - "id": "4751d9bbafc5bc21", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity 3", - "label": "Capteur d'humidité 3 :", - "tooltip": "", - "order": 12, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "humidity 3", - "topicType": "str", - "className": "", - "x": 1210, - "y": 1620, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "a5bf2bb33f9ff5bb", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 1620, - "wires": [ - [ - "4751d9bbafc5bc21" - ] - ] - }, - { - "id": "16cca2765e899796", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity 4", - "label": "Capteur d'humidité 4 :", - "tooltip": "", - "order": 13, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "humidity 4", - "topicType": "str", - "className": "", - "x": 1210, - "y": 1680, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "0cbdea1f752e09f9", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 1680, - "wires": [ - [ - "16cca2765e899796" - ] - ] - }, - { - "id": "3d3b69a92d3e5a3b", - "type": "ui-dropdown", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity 5", - "label": "Capteur d'humidité 5 :", - "tooltip": "", - "order": 14, - "width": "6", - "height": "1", - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "humidity 5", - "topicType": "str", - "className": "", - "x": 1210, - "y": 1740, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "b2f7ebfba6bbc4d4", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "airflow.options", - "tot": "flow" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 1740, - "wires": [ - [ - "3d3b69a92d3e5a3b" - ] - ] - }, - { - "id": "367ddcc943fb234e", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "actif", - "vt": "str" - }, - { - "t": "eq", - "v": "timer", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity", - "vt": "str" - }, - { - "t": "eq", - "v": "cmv", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity 1", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity 2", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity 3", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity 4", - "vt": "str" - }, - { - "t": "eq", - "v": "humidity 5", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 9, - "x": 670, - "y": 1260, - "wires": [ - [ - "dd4ba0864d260f4c", - "6ba28539428fe214" - ], - [ - "45a643fb738127eb", - "2294d7008f04fb84" - ], - [ - "3962dc523ff48938", - "6ad49aefeefbd09d" - ], - [ - "18531ed9a7d1af80", - "a80b7e58e8b264f6" - ], - [ - "b1ebe0e08e2084f1" - ], - [ - "055c0a0f268053e4" - ], - [ - "a5bf2bb33f9ff5bb" - ], - [ - "0cbdea1f752e09f9" - ], - [ - "b2f7ebfba6bbc4d4" - ] - ] - }, - { - "id": "b3e71ec6ef25bab1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "false", - "tot": "bool" - }, - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[{'label':'N/A','value':''}]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1140, - "wires": [ - [ - "dd4ba0864d260f4c", - "a80b7e58e8b264f6", - "98ea4337ad7298c2", - "45a643fb738127eb", - "ab9f875320713f08", - "3962dc523ff48938", - "fd421d21a13fd9cd", - "ddcf6edbc20142df", - "4751d9bbafc5bc21", - "16cca2765e899796", - "3d3b69a92d3e5a3b", - "95108e6e070e7630", - "204d9ba1193ba811" - ] - ] - }, - { - "id": "661050a25f78f9a2", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "airflow", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1380, - "y": 1260, - "wires": [ - [ - "ef9a2b91b42284b7" - ] - ] - }, - { - "id": "ef2769915480b0f6", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "room - ui - airflow - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 1020, - "wires": [ - [ - "174edf5e342c527e", - "3902e4b05ebbbfaf" - ] - ] - }, - { - "id": "4bea82d34bf79d91", - "type": "link in", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "room - ui - airflow - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 1080, - "wires": [ - [ - "9cab1d58af793873" - ] - ] - }, - { - "id": "ef9a2b91b42284b7", - "type": "link out", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "room - ui - airflow - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1515, - "y": 1260, - "wires": [] - }, - { - "id": "a4dbfc219ae2dcd8", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "cible", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1380, - "y": 1320, - "wires": [ - [ - "ef9a2b91b42284b7" - ] - ] - }, - { - "id": "9cab1d58af793873", - "type": "switch", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "airflow", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 300, - "y": 1080, - "wires": [ - [ - "ede7f68b56764350", - "0e12a116cd5a645e", - "5994c74117a8e31c" - ] - ] - }, - { - "id": "174edf5e342c527e", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Ventilation\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1020, - "wires": [ - [ - "1fc6514464e22856", - "c7121847509f1d08" - ] - ] - }, - { - "id": "c7121847509f1d08", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucune ventialtion", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1000, - "y": 1020, - "wires": [ - [ - "989b7d7ecba85616" - ] - ] - }, - { - "id": "989b7d7ecba85616", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1170, - "y": 1020, - "wires": [] - }, - { - "id": "1fc6514464e22856", - "type": "ui-control", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1000, - "y": 1080, - "wires": [ - [] - ] - }, - { - "id": "ede7f68b56764350", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Ventilation\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1080, - "wires": [ - [ - "1fc6514464e22856", - "c7121847509f1d08" - ] - ] - }, - { - "id": "dd4ba0864d260f4c", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "actif", - "label": "", - "group": "2da57f82233c276b", - "order": 3, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1190, - "y": 1260, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "45a643fb738127eb", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "timer", - "label": "", - "tooltip": "", - "order": 7, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "timer", - "topicType": "str", - "thumbLabel": true, - "min": "20", - "max": "240", - "step": "10", - "className": "", - "x": 1190, - "y": 1380, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "3962dc523ff48938", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "name": "humidity", - "label": "", - "tooltip": "", - "order": 9, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "humidity", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "95", - "step": "5", - "className": "", - "x": 1200, - "y": 1440, - "wires": [ - [ - "661050a25f78f9a2" - ] - ] - }, - { - "id": "a80b7e58e8b264f6", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "cmv", - "label": "", - "group": "2da57f82233c276b", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "cmv", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "fan", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "fan-off", - "offcolor": "grey", - "x": 1190, - "y": 1320, - "wires": [ - [ - "a4dbfc219ae2dcd8" - ] - ] - }, - { - "id": "0e12a116cd5a645e", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "250 ms", - "pauseType": "delay", - "timeout": "250", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 500, - "y": 1260, - "wires": [ - [ - "367ddcc943fb234e" - ] - ] - }, - { - "id": "98ea4337ad7298c2", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "order": 6, - "width": "2", - "height": "1", - "name": "titmer (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 1380, - "wires": [] - }, - { - "id": "ab9f875320713f08", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "order": 8, - "width": "2", - "height": "1", - "name": "humidity (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 1440, - "wires": [] - }, - { - "id": "58e1c9e33b0a90f3", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "35fa81df547b4491", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 5640, - "wires": [ - [ - "2936573edcac41e4" - ] - ] - }, - { - "id": "a8480038bfbf3fcc", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5220, - "wires": [ - [ - "d522ee9073fbd7f0" - ] - ] - }, - { - "id": "d522ee9073fbd7f0", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 5220, - "wires": [] - }, - { - "id": "c90a6ddfd223af79", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 5100, - "wires": [ - [ - "130d6f3ddbbffdae" - ] - ] - }, - { - "id": "22b72e8520c12a40", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Volume à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5400, - "wires": [ - [ - "ed28b9fa5c455f0c" - ] - ] - }, - { - "id": "ed28b9fa5c455f0c", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "order": 4, - "width": "2", - "height": "1", - "name": "volume (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 5400, - "wires": [] - }, - { - "id": "1f6f49b445e2d521", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Réglage faible à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5340, - "wires": [ - [ - "b4c8c70bb7e8948d" - ] - ] - }, - { - "id": "b4c8c70bb7e8948d", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "order": 8, - "width": "2", - "height": "1", - "name": "low (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 5340, - "wires": [] - }, - { - "id": "b37b3ee777a644db", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "group": "e807a144dac63624", - "order": 6, - "width": "2", - "height": "1", - "name": "high (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 5280, - "wires": [] - }, - { - "id": "8fc146f9644edbbe", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "48dd7d439fba9eda", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Réglage fort à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 5280, - "wires": [ - [ - "b37b3ee777a644db" - ] - ] - }, - { - "id": "4e080e4032b4c4c8", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "order": 2, - "width": "5", - "height": "1", - "name": "power (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 4080, - "wires": [] - }, - { - "id": "988c34fbce846dcc", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Climatiseur en fonction':\"Climatiseur à l'arrêt\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4080, - "wires": [ - [ - "4e080e4032b4c4c8" - ] - ] - }, - { - "id": "88a37cbdf2f5f465", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Configuration '&(msg.payload=\"2\"?'puissant':(msg.payload=\"12\"?'économique':'normal'))", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4380, - "wires": [ - [ - "e6cf92eef6f506ec" - ] - ] - }, - { - "id": "e6cf92eef6f506ec", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "group": "3b3e6fe6f656ea0e", - "order": 4, - "width": "5", - "height": "1", - "name": "advanced (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 4380, - "wires": [] - }, - { - "id": "0bb31a889d427f54", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "advanced", - "label": "", - "group": "3b3e6fe6f656ea0e", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "topic", - "topicType": "msg", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "fan-alert", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "fan", - "offcolor": "grey", - "x": 1440, - "y": 4380, - "wires": [ - [] - ] - }, - { - "id": "ad3172b46080261c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload=\"2\"?true:(msg.payload=\"12\"?true:false)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1270, - "y": 4380, - "wires": [ - [ - "0bb31a889d427f54" - ] - ] - }, - { - "id": "0ecce96328bfdde4", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Consigne à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4320, - "wires": [ - [ - "4205795bed6b3290" - ] - ] - }, - { - "id": "2a4f2715f401f8f2", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 3960, - "wires": [ - [ - "baadaeea2e2d4f95" - ] - ] - }, - { - "id": "dc709a1842ae7a88", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "name": "high", - "label": "", - "tooltip": "", - "order": 7, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "high", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": "1", - "className": "", - "x": 1170, - "y": 4800, - "wires": [ - [ - "fc11e57431b3bece" - ] - ] - }, - { - "id": "5ed94f8216251cb1", - "type": "ui-slider", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "name": "low", - "label": "", - "tooltip": "", - "order": 9, - "width": "4", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "low", - "topicType": "str", - "thumbLabel": true, - "min": 0, - "max": "99", - "step": "1", - "className": "", - "x": 1170, - "y": 4860, - "wires": [ - [ - "fc11e57431b3bece" - ] - ] - }, - { - "id": "43a2549e341c526b", - "type": "ui-switch", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "actif", - "label": "", - "group": "b7f2b376a6150162", - "order": 5, - "width": "1", - "height": "1", - "passthru": false, - "topic": "actif", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "cog", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "cog-off-outline", - "offcolor": "grey", - "x": 1170, - "y": 4740, - "wires": [ - [ - "fc11e57431b3bece" - ] - ] - }, - { - "id": "13dbb1a630d2cd7d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4740, - "wires": [ - [ - "787028ce8e3aa268" - ] - ] - }, - { - "id": "787028ce8e3aa268", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "order": 4, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 4740, - "wires": [] - }, - { - "id": "a589feb1b401ea68", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Réglage faible à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4860, - "wires": [ - [ - "4ce96c7ddf9665c7" - ] - ] - }, - { - "id": "4ce96c7ddf9665c7", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "order": 8, - "width": "2", - "height": "1", - "name": "low (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 4860, - "wires": [] - }, - { - "id": "2034de4581f58c90", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "group": "b7f2b376a6150162", - "order": 6, - "width": "2", - "height": "1", - "name": "high (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 4800, - "wires": [] - }, - { - "id": "86076299a0fb4895", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Réglage fort à '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 4800, - "wires": [ - [ - "2034de4581f58c90" - ] - ] - }, - { - "id": "4e9259e00dbed0ac", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "707b31c0a7883fe2", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 4620, - "wires": [ - [ - "4251d90a5ab9d7a1" - ] - ] - }, - { - "id": "61ed7b677cad542e", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 3540, - "wires": [ - [ - "f5f89b6efb421399" - ] - ] - }, - { - "id": "af46ed6d30e60e05", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "group": "3f693201c9dfc80c", - "order": 2, - "width": "5", - "height": "1", - "name": "work day (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 3660, - "wires": [] - }, - { - "id": "7f2dd140d1c88cb9", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Jour de travail':'Jour de repos'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3660, - "wires": [ - [ - "af46ed6d30e60e05" - ] - ] - }, - { - "id": "dad6bb6b40fef41e", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Veille de travail':'Veille de repos'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3720, - "wires": [ - [ - "a65aa958e432f9a5" - ] - ] - }, - { - "id": "a65aa958e432f9a5", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "90046052f5bcb625", - "group": "3f693201c9dfc80c", - "order": 4, - "width": "5", - "height": "1", - "name": "work eve (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 3720, - "wires": [] - }, - { - "id": "a3e5f41d31ec8cc3", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 2940, - "wires": [ - [ - "2feac259f3f849cf" - ] - ] - }, - { - "id": "06648a9cfafa7763", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion d'ombrage active\":\"Gestion d'ombrage inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3060, - "wires": [ - [ - "3e2e4e9b894029c8" - ] - ] - }, - { - "id": "3e2e4e9b894029c8", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 3060, - "wires": [] - }, - { - "id": "6c209c997c1913af", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Minuterie à '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3180, - "wires": [ - [ - "9137722c14af0906" - ] - ] - }, - { - "id": "9137722c14af0906", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 6, - "width": "2", - "height": "1", - "name": "timer (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 3180, - "wires": [] - }, - { - "id": "ad3a18ea13234fa7", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Luminosité à '&msg.payload&'Lx'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3240, - "wires": [ - [ - "cb13c9daccf388ee" - ] - ] - }, - { - "id": "cb13c9daccf388ee", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 8, - "width": "2", - "height": "1", - "name": "luminosity (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 3240, - "wires": [] - }, - { - "id": "29a5cea9f00406df", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Ajouré à '&msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3300, - "wires": [ - [ - "42e7727aca3d42a1" - ] - ] - }, - { - "id": "42e7727aca3d42a1", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 10, - "width": "2", - "height": "1", - "name": "openwork (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 3300, - "wires": [] - }, - { - "id": "8f75f6329e26fbc7", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "group": "104179763815c332", - "order": 4, - "width": "5", - "height": "1", - "name": "daily (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 3120, - "wires": [] - }, - { - "id": "af4763dd0a68af6b", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "96eb67f8be94bf98", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Déjà éxécuté aujourd'hui\":\"Non exécuté aurjourd'hui\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 3120, - "wires": [ - [ - "8f75f6329e26fbc7" - ] - ] - }, - { - "id": "3702e76504099091", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "100 ms", - "pauseType": "delay", - "timeout": "100", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 280, - "y": 2040, - "wires": [ - [ - "5f218ee61959294d" - ] - ] - }, - { - "id": "3abc2b9923687477", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion d'éclairage active\":\"Gestion d'éclairage inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2160, - "wires": [ - [ - "d608ad4cac54244d" - ] - ] - }, - { - "id": "d608ad4cac54244d", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 2160, - "wires": [] - }, - { - "id": "4ac95d6cca44f46d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Minuterie à '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2460, - "wires": [ - [ - "e6259c762aec16ea" - ] - ] - }, - { - "id": "e6259c762aec16ea", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 14, - "width": "2", - "height": "1", - "name": "timer (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 2460, - "wires": [] - }, - { - "id": "3cb082c8274cf548", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Eclairage fort '&msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2520, - "wires": [ - [ - "974a59dc173e747b" - ] - ] - }, - { - "id": "974a59dc173e747b", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 16, - "width": "2", - "height": "1", - "name": "high (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 2520, - "wires": [] - }, - { - "id": "7750f047196281c7", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Eclairage faible '&msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2580, - "wires": [ - [ - "3a4cd663457429f7" - ] - ] - }, - { - "id": "3a4cd663457429f7", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 18, - "width": "2", - "height": "1", - "name": "low (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 2580, - "wires": [] - }, - { - "id": "a3453a03261acf84", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Obscurité à '&msg.payload&'Lx'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2640, - "wires": [ - [ - "1a5f2695438cbfb8" - ] - ] - }, - { - "id": "1a5f2695438cbfb8", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 12, - "width": "2", - "height": "1", - "name": "darkness (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 2640, - "wires": [] - }, - { - "id": "90417422245553bb", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Luminosité à '&msg.payload&'Lx'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2700, - "wires": [ - [ - "4951ba32095bc5f2" - ] - ] - }, - { - "id": "4951ba32095bc5f2", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 20, - "width": "2", - "height": "1", - "name": "luminosity (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 2700, - "wires": [] - }, - { - "id": "3563d6cc5602d9c6", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 4, - "width": "5", - "height": "1", - "name": "night (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 2220, - "wires": [] - }, - { - "id": "49a7645f7932ec41", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Nocturne actif':'Nocturne inactif'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2220, - "wires": [ - [ - "3563d6cc5602d9c6" - ] - ] - }, - { - "id": "e95d3ad0623d35fe", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 6, - "width": "5", - "height": "1", - "name": "motion (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 2280, - "wires": [] - }, - { - "id": "59a7c31353278ac1", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Mouvement actif':'Mouvement inactif'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2280, - "wires": [ - [ - "e95d3ad0623d35fe" - ] - ] - }, - { - "id": "6e9eab0fc1a758ae", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Maintient actif':'Maintient inactif'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2340, - "wires": [ - [ - "93d9685cdee76b2d" - ] - ] - }, - { - "id": "93d9685cdee76b2d", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 8, - "width": "5", - "height": "1", - "name": "retention (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 2340, - "wires": [] - }, - { - "id": "62dd7eabb91e408b", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "group": "4deac0812bc789d5", - "order": 10, - "width": "5", - "height": "1", - "name": "nightlight (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1020, - "y": 2400, - "wires": [] - }, - { - "id": "3bdb97b4240b5f07", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "139783cbea6b84f0", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Veilleuse active':'Veilleuse inactive'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 2400, - "wires": [ - [ - "62dd7eabb91e408b" - ] - ] - }, - { - "id": "6ba28539428fe214", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion de ventilation active\":\"Gestion de ventialtion inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1260, - "wires": [ - [ - "95108e6e070e7630" - ] - ] - }, - { - "id": "95108e6e070e7630", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 1260, - "wires": [] - }, - { - "id": "3902e4b05ebbbfaf", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 1140, - "wires": [ - [ - "b3e71ec6ef25bab1" - ] - ] - }, - { - "id": "2294d7008f04fb84", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Minuterie à '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1380, - "wires": [ - [ - "98ea4337ad7298c2" - ] - ] - }, - { - "id": "6ad49aefeefbd09d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Humidité à '&msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1440, - "wires": [ - [ - "ab9f875320713f08" - ] - ] - }, - { - "id": "18531ed9a7d1af80", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Ventilation en marche\":\"Ventialtion à l'arrêt\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 1320, - "wires": [ - [ - "204d9ba1193ba811" - ] - ] - }, - { - "id": "204d9ba1193ba811", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "486786996f8e512b", - "group": "2da57f82233c276b", - "order": 4, - "width": "5", - "height": "1", - "name": "cmv (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 1320, - "wires": [] - }, - { - "id": "92f84c3ac249f995", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 270, - "y": 360, - "wires": [ - [ - "bf71f08c103ab9bf" - ] - ] - }, - { - "id": "bd45f02bb3b3849b", - "type": "change", - "z": "eeb3b84351fc9295", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion de cumulus active\":\"Gestion de cumulus inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 600, - "wires": [ - [ - "6ae3dd31e136b128" - ] - ] - }, - { - "id": "6ae3dd31e136b128", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1002.8571166992188, - "y": 600, - "wires": [] - }, - { - "id": "a9a219cec32d41db", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Minuterie à '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 780, - "wires": [ - [ - "8e1e779d0e2a97e2" - ] - ] - }, - { - "id": "b476823397a6cb50", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 6, - "width": "5", - "height": "1", - "name": "daily (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 660, - "wires": [] - }, - { - "id": "9c1497c3869ae5b0", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Déjà éxécuté aujourd'hui\":\"Non exécuté aurjourd'hui\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 660, - "wires": [ - [ - "b476823397a6cb50" - ] - ] - }, - { - "id": "6626de35491fc7e5", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 8, - "width": "5", - "height": "1", - "name": "night (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1000, - "y": 720, - "wires": [] - }, - { - "id": "2948383446051f6c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Nocturne actif':'Nocturne inactif'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 720, - "wires": [ - [ - "6626de35491fc7e5" - ] - ] - }, - { - "id": "e5267eaa5761e821", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Cumulus en marche\":\"Cumulus à l'arrêt\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 830, - "y": 900, - "wires": [ - [ - "309706fa0b759907" - ] - ] - }, - { - "id": "309706fa0b759907", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "9b11e3a85026957b", - "group": "d9226f161296ef5d", - "order": 4, - "width": "5", - "height": "1", - "name": "balloon (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1010, - "y": 900, - "wires": [] - }, - { - "id": "1d92bf6b8fc98959", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?\"Gestion de thermostat active\":\"Gestion de thermostat inactive\"", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 600, - "wires": [ - [ - "25b3542fda8fae4d" - ] - ] - }, - { - "id": "25b3542fda8fae4d", - "type": "ui-text", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "group": "28836135eb153545", - "order": 2, - "width": "5", - "height": "1", - "name": "actif (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 3840, - "y": 600, - "wires": [] - }, - { - "id": "4b8267934ced5596", - "type": "delay", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 2750, - "y": 360, - "wires": [ - [ - "fc673a36d8691d63" - ] - ] - }, - { - "id": "151d5194b8538480", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[\t {'label':'Eco','value':'eco'},\t {'label':'Confort','value':'confort'},\t {'label':'Hors-Gel','value':'anti-freeze'},\t {'label':'Arrêt','value':'off'}\t]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3300, - "y": 1140, - "wires": [ - [ - "f968a8fc298f04c3" - ] - ] - }, - { - "id": "f670239d8cf08808", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Mode eco à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1200, - "wires": [ - [ - "63561fec4fba2afd" - ] - ] - }, - { - "id": "a4b56ada8159bff6", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Mode confort à '&msg.payload&'°'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1260, - "wires": [ - [ - "e223793b9998818b" - ] - ] - }, - { - "id": "990b4d58c23a68a2", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Coef. int. de '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1320, - "wires": [ - [ - "53f7b3195f6dfeed" - ] - ] - }, - { - "id": "ee3e358d88bbf249", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Coef. ext. de '&msg.payload", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1380, - "wires": [ - [ - "99e789a941d2af52" - ] - ] - }, - { - "id": "6f096e24c9634c56", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Préchauffe de '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1440, - "wires": [ - [ - "cb3f8f9fa322b59f" - ] - ] - }, - { - "id": "83b16f9aed4fa051", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Cycle de '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1500, - "wires": [ - [ - "272807d6b707d92f" - ] - ] - }, - { - "id": "db3ebf0b6421aeae", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Délai ouvrant '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1560, - "wires": [ - [ - "8c3c9bc4a66b1e32" - ] - ] - }, - { - "id": "10c3697bddec1a05", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Délai délestage '&msg.payload&'m'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1620, - "wires": [ - [ - "33fde1af7428bf26" - ] - ] - }, - { - "id": "4f0ea1cdd4d0b719", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "bb2ebd173a2ba06c", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'Puissance de '&msg.payload&'w'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3290, - "y": 1680, - "wires": [ - [ - "6d0cb16590b1da18" - ] - ] - }, - { - "id": "738201cd36aef02d", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation','value':'6'},\t {'label':'Auto (0)','value':'0'},\t {'label':'Auto (1)','value':'1'},\t {'label':'Auto (7)','value':'7'}\t]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 4140, - "wires": [ - [ - "f68f5c75e58e22cb" - ] - ] - }, - { - "id": "9d154c219f206faf", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[\t {'label':'Silence','value':'B'},\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation (0)','value':'6'},\t {'label':'Auto','value':'A'}\t]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 4200, - "wires": [ - [ - "dcfb0cd127aa904e" - ] - ] - }, - { - "id": "6b1aeadab15d8e8c", - "type": "change", - "z": "eeb3b84351fc9295", - "g": "a0938dfc54b55acc", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "[\t {'label':'Normal','value':'0'},\t {'label':'Vertical','value':'1'}\t]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 840, - "y": 4260, - "wires": [ - [ - "22c8ba7a5b818ab1" - ] - ] - } -] \ No newline at end of file diff --git a/flows/U.Room.json b/flows/U.Room.json index fce8a3a..616c0c6 100644 --- a/flows/U.Room.json +++ b/flows/U.Room.json @@ -90,21 +90,25 @@ "4ed33d50e1b4ebc9", "656d1866a8ae8cf8", "9e4bfee0db3051d4", - "74172837e07ab80d", "1be6ca3c2b8615a2", "06976c9133796ab8", - "3d2ea19ae9c4b9d2", "9043871af737eb1a", "b6323e1460f6f50c", - "eed5df5df9eb8030", - "b375ca01bb8f1e43", "dc4343f890e4a3e1", - "57e1a96c1bf54302" + "57e1a96c1bf54302", + "458c9a22f37b6191", + "314561e371cc1d33", + "d261fda32fe95984", + "37a5b70ff95bdfaa", + "a236904666d238af", + "9ff63582ab95f6c6", + "e5e35f07fafcaa5b", + "cd511cc2255f17b9" ], "x": 94, "y": 439, - "w": 1432, - "h": 442 + "w": 2712, + "h": 322 }, { "id": "094bebacb1145e5f", @@ -118,12 +122,19 @@ }, "nodes": [ "4e8f7076589ea977", - "42c0f1473438a281" + "42c0f1473438a281", + "e27bdf5e4cdc9e39", + "cf7114b43871c414", + "9b11e3a85026957b", + "486786996f8e512b", + "48dd7d439fba9eda", + "90046052f5bcb625", + "35fa81df547b4491" ], "x": 68, - "y": 1913, + "y": 2213, "w": 2344, - "h": 1334 + "h": 4154 }, { "id": "f68e8c6415aca870", @@ -146,52 +157,6 @@ "w": 422, "h": 82 }, - { - "id": "37f02e75f6e70daa", - "type": "group", - "z": "aab0c030de7df5cc", - "name": "home - linky - ui", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "ff3ea6db082a3ede", - "7a8446bfe5858de9", - "7ca84197b56de1f6", - "5f8cd6bd9f561403", - "3c5b954c4db04bdb", - "3a816c9d45c03626", - "d387848d485bbad4", - "88b4fa01095bf6be", - "9afdec924f923d90", - "6ef64156f6aee952", - "ab09e46f4313cec3", - "88a3ebf72baa83c9", - "7bde9e5371850ec6", - "94a9afc0489abcb3", - "76f6a0873cbd318f", - "a86d64f42452a3b7", - "2c63dd2b7c70df86", - "ce16a38c205cea88", - "223c9437360c96cb", - "8a1c1129f96fc4f7", - "2da12c408933c87b", - "bb91528b79a7fef4", - "5ee9de3d5907e482", - "f8bf0c474caebb26", - "9725fd4ac3730948", - "da46e6b6c18a5350", - "53c25ef43112837d", - "674e46c767bb1ff9", - "636a8238144e0df5" - ], - "x": 94, - "y": 3379, - "w": 1612, - "h": 502 - }, { "id": "1d72cb06c368a2c9", "type": "group", @@ -208,10 +173,204 @@ "0db8801c7e0e4401" ], "x": 68, - "y": 953, + "y": 1253, "w": 2484, "h": 914 }, + { + "id": "df46e2504e16fc3e", + "type": "group", + "z": "aab0c030de7df5cc", + "name": "home - ui - chart (customized to my needs)", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "04de52a5f5237233", + "84416ebc7a349dd4" + ], + "x": 68, + "y": 933, + "w": 644, + "h": 254 + }, + { + "id": "70381517043fd6a9", + "type": "group", + "z": "aab0c030de7df5cc", + "name": "list", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "af3293313a492113", + "edfd321fdae55df0", + "cfd2fc533d86ab94", + "e9b46670bc7283be", + "55552ce2fcab661e", + "3a47bd390630563b", + "65f5bcaeef2cb043", + "14365542ae0790c8", + "450d06a664f3f2f1" + ], + "x": 2628, + "y": 1253, + "w": 2594, + "h": 6254 + }, + { + "id": "bb2ebd173a2ba06c", + "type": "group", + "z": "aab0c030de7df5cc", + "name": "room - ui - thermostat", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9737afb19d9c9fbb", + "dd49b4996fb683ff", + "fbb1bdcb44abce21", + "6c6cf33417f59f97", + "fc673a36d8691d63", + "37aa96c6d80d8ade", + "1ef76a4c1fab9b78", + "adc6196b15cf8c39", + "26bdcbaa93cfcc27", + "c4f79cb042dc36a1", + "f391ba85b3d53073", + "7e364afe6e09d405", + "b8374382f89b46c6", + "5b4d546fd3646af7", + "fafbe160c912822f", + "f85914dec075a3d8", + "bd8ab43b4a91a2ae", + "19b6504e1bbece40", + "f968a8fc298f04c3", + "07108de5adf3ae2a", + "bcf6468037b4c2a6", + "37794c3da2ceda38", + "dfd8650d923f73e4", + "4c5adf85df17025b", + "26537f8818c29c61", + "a7420198a3e0f879", + "f23d5105ca948593", + "2efa063af4b505d2", + "6cc81c8342d6ef1c", + "f7ed99ce22cd37cb", + "348134507ffe8815", + "63561fec4fba2afd", + "53f7b3195f6dfeed", + "99e789a941d2af52", + "39615dab9370d868", + "e223793b9998818b", + "136162f12991809c", + "fb9711affc7d14af", + "a9e89b46159c4ec8", + "cb3f8f9fa322b59f", + "51dc21bc28ea3f06", + "272807d6b707d92f", + "4540d4f432f8742d", + "6d0cb16590b1da18", + "bfb0a473b6a09c81", + "61d316384ef1521b", + "27d7b08fb3646a52", + "3f9eefa51c1e5e9e", + "ff2211c1efd24971", + "f814aebd5bd599b5", + "8c3c9bc4a66b1e32", + "0711217590341f99", + "3930f84bd36fd5aa", + "b6f3145afc37707c", + "7a9f4d42d5c7497c", + "dd517b4d06983aac", + "e7dcdd83cf9e08e1", + "73dc6a2b0e041f8e", + "bcfed6ac5d278d3c", + "93e874f6e4a1f87a", + "fcbda9c625fdecac", + "f5cf184989e2cc69", + "3d40410e159beaab", + "4565730f04bd7072", + "95eb528329f90cf2", + "79764253e9e92fda", + "3e6cd35a857771f8", + "4ad97596d0efa64b", + "f19ecf4219ed5190", + "33fde1af7428bf26", + "1d92bf6b8fc98959", + "25b3542fda8fae4d", + "4b8267934ced5596", + "151d5194b8538480", + "f670239d8cf08808", + "a4b56ada8159bff6", + "990b4d58c23a68a2", + "ee3e358d88bbf249", + "6f096e24c9634c56", + "83b16f9aed4fa051", + "db3ebf0b6421aeae", + "10c3697bddec1a05", + "4f0ea1cdd4d0b719", + "ad09f7f6ad1acedd", + "7bb3239b80bb5650" + ], + "x": 5354, + "y": 1279, + "w": 2127, + "h": 1942 + }, + { + "id": "a0938dfc54b55acc", + "type": "group", + "z": "aab0c030de7df5cc", + "name": "room - ui - air conditioner", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "97aa2e016643bfbd", + "383c38e98cd05755", + "5a5c10ecd5d798be", + "932e7fad1c98966f", + "baadaeea2e2d4f95", + "c5d646bd69c37865", + "9d8b8d237e2704ea", + "4da4c768067c032b", + "12fca45ce9ab2abb", + "c6383ca66673fd96", + "cd9ba8ff11c8036d", + "f520ba0c172598b7", + "327f0ed7b5fa48d2", + "f68f5c75e58e22cb", + "a8dd4b383d7eb632", + "4205795bed6b3290", + "2a45ad61a4b3d598", + "dcfb0cd127aa904e", + "22c8ba7a5b818ab1", + "4e080e4032b4c4c8", + "988c34fbce846dcc", + "88a37cbdf2f5f465", + "e6cf92eef6f506ec", + "0bb31a889d427f54", + "ad3172b46080261c", + "0ecce96328bfdde4", + "2a4f2715f401f8f2", + "738201cd36aef02d", + "9d154c219f206faf", + "6b1aeadab15d8e8c" + ], + "x": 5354, + "y": 3259, + "w": 1622, + "h": 622 + }, { "id": "a3df49e3ec177d8d", "type": "group", @@ -238,7 +397,7 @@ "20c48f73de388537" ], "x": 94, - "y": 979, + "y": 1279, "w": 1292, "h": 202 }, @@ -268,7 +427,7 @@ "238894bac5405d86" ], "x": 94, - "y": 1219, + "y": 1519, "w": 1292, "h": 202 }, @@ -313,7 +472,7 @@ "a8c19f86a71e21fe" ], "x": 94, - "y": 1459, + "y": 1759, "w": 2432, "h": 382 }, @@ -356,7 +515,9 @@ "cd4ebdd2c6d86368", "48ee82efe7b41570", "290e5853a51cb170", - "e15462f85288d3c0" + "e15462f85288d3c0", + "5a9f17c8e8298b92", + "b8e3afedf42e1ec0" ], "x": 694, "y": 199, @@ -417,7 +578,7 @@ "cecdc0524ebf11ca" ], "x": 94, - "y": 1939, + "y": 2239, "w": 2292, "h": 802 }, @@ -452,18 +613,834 @@ "b60115a1fd023b76", "c2aa1840a5deddbf", "62c1bb0cb832960f", - "8aa78c963092f63a", - "9775046f290c1bf5", - "c32cc33c321acd07", - "8c7c93ce9d3d346c", - "b7732e5da33d4247", - "ae7ba0058dad62d1", - "0ff03eeb1954d8f2", - "8dfe90979253107e" + "8aa78c963092f63a" ], "x": 94, - "y": 2779, + "y": 3079, "w": 2292, + "h": 322 + }, + { + "id": "e27bdf5e4cdc9e39", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - photovoltaic", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "613dd73590f50433", + "150f3acd97d50753", + "8db09f7819d2fc6d", + "daab9b7b09d11bac", + "775c66f414eb199a", + "d19c82d1654a04ca", + "8db4331ffeff0ab1", + "2eb4bd8b2ab468ef", + "6a027347453d83c3", + "342b305e6299276c", + "5827a4b8ae9ce58a", + "e55be2c582d3618f", + "a58b09ccb8f97924", + "28ae56ce57b30c92", + "c99676ea32c261f1", + "5383281dc0065107" + ], + "x": 94, + "y": 3439, + "w": 1172, + "h": 322 + }, + { + "id": "cf7114b43871c414", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - agenda", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "7c1941c9ed1317fd", + "69c1098076e822f6", + "edf6d818fc24d922", + "c7fb4cc0446dbf74", + "daf44778ff19113d", + "1a58eab278d161f3", + "95b83d4f7b2e36d6", + "6888bb4727921ff4", + "aa0d0e7c55d0ca77", + "0cdf527eea858d38", + "fa60e7b17b73d75a", + "38113221fd7ac74f", + "e62675c777ab078d", + "816e8f38b155770a", + "5e69f8525379ec0c", + "20fe207df07074ca", + "e0a3e77a2e5cc677", + "96f6b4a768453df2", + "686debd2a5597828", + "e9015b7aad0145df", + "b7fbf4650b5dac3a", + "e53a56f681d4ca9e", + "b4c42dd5263f05c2", + "0467047fa991d42e", + "7dc1c5c9ba185887" + ], + "x": 94, + "y": 3799, + "w": 1472, + "h": 562 + }, + { + "id": "04de52a5f5237233", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "df46e2504e16fc3e", + "name": "home - ui - chart outdoor temperature", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "3bd22b1740d9d8b2", + "43e68c058a7661d6", + "b3f5b970a9b03119" + ], + "x": 94, + "y": 959, + "w": 592, + "h": 82 + }, + { + "id": "84416ebc7a349dd4", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "df46e2504e16fc3e", + "name": "home - ui - chart outdoor humidity", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "53e61734d5875604", + "f9ae231f709aa135", + "50bc182c3569008c" + ], + "x": 94, + "y": 1079, + "w": 572, + "h": 82 + }, + { + "id": "9b11e3a85026957b", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - cumulus", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "3ea1bb4e5ff3e53a", + "bf71f08c103ab9bf", + "b8ed61d35607d163", + "4c93ed77e680ad7a", + "f1cc0ee7d294d743", + "6899ef31a931df1c", + "a2ed4c3380f63344", + "d66a556c8804aa96", + "5a3cf6eb82112299", + "3fbe41cfcb30b29f", + "8a877a1f0ad96a9f", + "86bf6614eaaed4fb", + "417fbb2eb3a923ed", + "c17dc35aca46f82c", + "92f84c3ac249f995", + "e5267eaa5761e821", + "309706fa0b759907" + ], + "x": 94, + "y": 4399, + "w": 1462, + "h": 322 + }, + { + "id": "486786996f8e512b", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - airflow", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "367ddcc943fb234e", + "b3e71ec6ef25bab1", + "ef2769915480b0f6", + "4bea82d34bf79d91", + "a4dbfc219ae2dcd8", + "9cab1d58af793873", + "174edf5e342c527e", + "c7121847509f1d08", + "989b7d7ecba85616", + "1fc6514464e22856", + "ede7f68b56764350", + "a80b7e58e8b264f6", + "0e12a116cd5a645e", + "3902e4b05ebbbfaf", + "18531ed9a7d1af80", + "204d9ba1193ba811", + "ef9a2b91b42284b7" + ], + "x": 94, + "y": 4759, + "w": 1442, + "h": 322 + }, + { + "id": "48dd7d439fba9eda", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - alexa", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d5a2226e7f24deda", + "fc6548d30b49e4d0", + "c72c85a05c057eb6", + "5f5234be5bf42b3a", + "8a6f97848d7b1a2c", + "63f153f048b1295f", + "130d6f3ddbbffdae", + "2923cfe0def7c0ad", + "2723a51ead34599a", + "f1f8c53efd3838a8", + "a1ac1aa658d58387", + "ecf7b9d277d80279", + "7475623aa0893639", + "626e1746ced16a4c", + "c90a6ddfd223af79", + "22b72e8520c12a40", + "ed28b9fa5c455f0c" + ], + "x": 94, + "y": 5119, + "w": 1462, + "h": 322 + }, + { + "id": "90046052f5bcb625", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - clock", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "511350d9f34ce767", + "7aaae6f81accc54b", + "20845c677b589935", + "acfd5fff279e15de", + "674dd33239c8c3e7", + "d2846ad9c776708a", + "4f9d174388a77ea5", + "f77679312512233c", + "f5f89b6efb421399", + "5673ce2c9088f475", + "f718cac6e7ec06c5", + "79fe08848f124125", + "a87c14e04ed75544", + "61ed7b677cad542e", + "af46ed6d30e60e05", + "7f2dd140d1c88cb9", + "dad6bb6b40fef41e", + "a65aa958e432f9a5" + ], + "x": 94, + "y": 5479, + "w": 1212, + "h": 382 + }, + { + "id": "35fa81df547b4491", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "094bebacb1145e5f", + "name": "room - ui - telegram", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0691d9a37686f464", + "3c6ee783748b235e", + "761cb37547fe4dc2", + "a033c6dbdefb80f9", + "1d6b2ca73ae11560", + "befe8bfd3d3446cc", + "2936573edcac41e4", + "661f755eabe3c32b", + "45ec5e8001fad3fa", + "9c9162236e4b23a6", + "ce9aca3509c7c320", + "42cb1c19195b7aaf", + "6495af71a7195bb4", + "bf793e9865c9e834", + "5f4fe9067e1fd9a0", + "05b5a24c1547eb9a", + "b4a9884f6b553123", + "5ab53f45b766d97b", + "86f604b24a73308c", + "25609df681da5c1b", + "d2194c4dad790ec4", + "12697008ac3ea99d", + "97087ce25aae4515", + "4edb12baad4c5bd0", + "58e1c9e33b0a90f3" + ], + "x": 94, + "y": 5899, + "w": 1682, + "h": 442 + }, + { + "id": "af3293313a492113", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - aperture", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "af81b0a41bcf99df", + "6d6224968ba7c5d9", + "c6f86ceb44d413ed", + "227b59bd71d4ea5a", + "0667b13392452757", + "b4bde00bbca1c9c3", + "1c698f378d20c0c8", + "4468e5d7d722f524", + "b2720f096a0b488e", + "d0e8c2ef168e690c", + "f87851f6472299ee", + "e9d47e8d56320c0f", + "e1468bd07f7833d2", + "fd32c9160864393c", + "e92aecb14578b6f2", + "8511a4bc957115d4", + "08e432ec0eeec199", + "04ae900e7a8e5ac8", + "248ab1ebea76ecae", + "95a3aef8bfc333e1", + "d5b35dbd65c8c2b9", + "3cecd7c4f79dd7fe", + "6b79b66429521305", + "7b3f1aaec004ecfa", + "c7e91ffdb1fe5a2e", + "99abe6ab320bf6f1", + "5e8e9f03c92c72bf", + "cec940e246132dd8", + "bc3f1c8b796e6e94", + "55458de5ef49bb91", + "f098e88f376a791b", + "c3a2ed381aba6a33", + "3fecb11ba25e2884", + "b129a76c891d0014", + "280b16759c50ec5d", + "48fe1d10a3a37a85", + "22b8700637e578f9", + "557d6369a161cd69" + ], + "x": 2654, + "y": 1279, + "w": 2302, + "h": 622 + }, + { + "id": "edfd321fdae55df0", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - light", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "2ac79808a71cacb1", + "191e72ca8d7deecf", + "4f140e0b7bb038a6", + "68a06a849669ed22", + "3add54b2949c23ec", + "5f3f7c722ac856e1", + "60368ba60dfa48a3", + "6d778528ac85f061", + "2416eed2ad7fb675", + "cae48203992d0c58", + "d01299e89f601944", + "c9b6f8136ca0bd79", + "fa4bf780a0f34822", + "2839b9ab42bf552c", + "428c4887aeb1b8bf", + "2c47c873b0dfeb59", + "eba701577392c37d", + "f0f16786525d1859", + "246e55d292fe0f91", + "c863abef8c3dded1", + "caf4791638c6f452", + "1b1ed5db08fa516f", + "ea7482edacd656f7", + "4a96348eb648c97c", + "f9014dd138d70756", + "4ed4b78dc034a6c9", + "a95a9af12bbd3646", + "3ea01cdef09d498b", + "912811332f1921eb", + "27111821405d5644", + "0fa65bab1ee8568a", + "7280c7be1481cd40", + "7de1422ef0247bba", + "ac514b49b2018467", + "639c01a19ae1a820", + "283d461116d4ddad", + "689e466df8f8c5c5" + ], + "x": 2654, + "y": 1939, + "w": 2482, + "h": 562 + }, + { + "id": "cfd2fc533d86ab94", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - outlet", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "197667ca4e9cdc54", + "3bb2a286f77067a9", + "3996f05011c215e4", + "c81bc2696963b090", + "24db240be39b9a2a", + "e804fb2bad48ce0d", + "89d8b374ec0c8d64", + "cdf2ad725fe8ba54", + "7e8e1ce7414fbc36", + "38b3477f104b9d36", + "bc14b0716cd43585", + "9f05d32a15544b29", + "465d409da29c386d", + "a3a4cb31ebdbb809", + "f31fb49f04148c64", + "a0e5fc984e2031a8", + "8e95a2345189876d", + "6a476a7e62631884", + "e163c6ad2e2227d2", + "b7a0e4825f15e4a2", + "d84590265fa8da9a", + "5dd5e52ffb38148e", + "1d70860e3f2cb386", + "0217c5132e551168", + "c3d1a81ac0746df1", + "ad569b0b9d7deb89", + "1ebdf2bf88a5d99c", + "41ab086b1bafeb41", + "7d41bae2b6bb3e6a", + "0bac1457f2c3c913", + "fbcc441952a7c9da", + "4f0a78c09e88ac52", + "825e71c37d3c674a", + "b2a2d9d670500881", + "142c5e63a5897acb", + "17e00a50bca8a511" + ], + "x": 2654, + "y": 2539, + "w": 2342, + "h": 562 + }, + { + "id": "e9b46670bc7283be", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - battery", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "cfe03bc0196989f5", + "80c3ce3d49bd331a", + "3bc4111acd19c69a", + "55f064781c895892", + "ffe2a77ad5394471", + "44e6838e903b3566", + "90d065528adcfb62", + "c6dfc590e40a4878", + "b184b34450d43367", + "b70f40f78b57a9e9", + "276edc393b2b8718", + "9d9a9a166ac14a87", + "fb5636e8659a3798", + "f6a8e56f95d2e83f", + "188c450232762d9f", + "28383999950bc1ee", + "ab5070d8e2289db3", + "0b3ada9a154f8404", + "2a102caad43b93f6", + "47c0bf4047a645fd", + "82e320bbcec01dec", + "8ffac054b06e408a", + "47b82a6a458a6f25", + "3744b28f43a5bb2b", + "65e427add3ad7d5c", + "65d2993302d9e21b", + "999a7018d46ffc73", + "aa91636fd91822cd", + "8b02b507d6467dcb", + "510ee05b3d6497d4", + "7cdf67aea069fe46", + "699ec99e677c7dc7", + "3272b2668f830af9", + "0f1d5657502571bf", + "3d01f404ce8e4f2e", + "c8c8e81ef5a7a779", + "25c121f68955e797", + "815d0596d6b03dba", + "3cfbbbdec94a469c", + "12443294ea11d3c1", + "91b94a9d896e7e78", + "b525d95cb47e05e7", + "bb111dd74584e31e", + "d23964f1034cc332", + "2bf944e313216712", + "8ba2fb2ae10d5f8a", + "3c125c12aed493a6" + ], + "x": 2654, + "y": 3139, + "w": 1912, + "h": 862 + }, + { + "id": "55552ce2fcab661e", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - seen", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0556201671b0285e", + "fa99b8b44e92f9be", + "8b94e3c61d1c7e5d", + "eeae2c986dcc4fd5", + "1b2fe53f9f4527dc", + "e3241702c334a377", + "6eac671a3b5398ca", + "8e7e9d97a6c879c9", + "aeac844b38d85fc6", + "764bf2a2badb8940", + "ff242d9ca428610e", + "1191a4f0f73ac0a2", + "8cfe805309e7f14b", + "a53d417127982757", + "f8cca546e04eb48f", + "78919c58e908a11f", + "1debe93af15df2b3", + "3e0c8f89c9ad2c59", + "190cd8656368dea1", + "c98bc4cd21e70d26", + "8796089a19e22fe4", + "41178c35c209aac0", + "9251d2904afbdbde", + "b5e1b5781b6067d7", + "b8af5e3061c3fd5a", + "2c43537a0cf9e307", + "5bc2441e8a6e0e82", + "24163d2ac0806a9e", + "395a54a40d57ff29", + "6c04bba89bc4d93f", + "ef1a0dcd39c2ebfa", + "75b4cef66ff5b569", + "a1fecc9bf61cbecc", + "7a5403df0db1a125", + "b308c52fad5e3003", + "31e66543c855840b", + "9fe066202aa296f9", + "82643125d8e7bae9", + "4155536a5f1ff708", + "a3c2ced4e60f6aff", + "68ac0321fc403487", + "4c31f8c823796b9d", + "1fde23683c7ff5d8", + "97b05bc746ae98eb", + "8422a13fa9dcca51", + "80ccf2e84836c3b9", + "2da226787a8deb51", + "52be14f6c954aaec" + ], + "x": 2654, + "y": 4039, + "w": 2132, + "h": 862 + }, + { + "id": "3a47bd390630563b", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - power", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "b456712facdb8f99", + "9eec2a58eea2f794", + "f7f44b26d3494661", + "60ec289316037465", + "438956ec28a1644e", + "e9be7bc2cece9e6b", + "4ad7e0736cb2f3e1", + "3dacfc613c2d6949", + "159905f89f658c3d", + "37342614a8bd3e6c", + "36b6ced1758a043b", + "55023cb2a00a038e", + "65f301cc578576a3", + "a0f6a91598012b9a", + "47f442e7e5c89435", + "962301d657a74408", + "eb891ec4b0a07cfe", + "3a821e7da32a3561", + "cf55e9963f617d17", + "0109e7088ec7040c", + "fb14e8329c2c77c8", + "628630966e299dce", + "57516cd75e235df7", + "a4d7386dea5c2987", + "0aa9ffb8eb4cd831", + "fc59359ff0fc3578", + "5d01b01dda282884", + "95dbd0806f6e50e3", + "65ba5d4db252f373", + "8c26987fb7503da4", + "b4ade4e43f7f5619", + "1c5b37e443ea3a54", + "d66db8193ecbf5f3", + "11459cef626d8dd5", + "d48781c900013ee5", + "865b1e2e30c1406e", + "2c3c9f634bfc436b", + "c18aac930067b2c5", + "01d61d75b12c086d", + "f996e39f99239f8f", + "ef696b96885101ae", + "48a0cc5241d2549f", + "8360781eafaecfeb", + "c19b6e3169ebc381", + "1127e98653b5a27a", + "4183c52e2b2c85f1", + "5fbe5259545c7e84" + ], + "x": 2654, + "y": 4939, + "w": 1912, + "h": 862 + }, + { + "id": "65f5bcaeef2cb043", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - color", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d59c718c84ca0c45", + "6974a448a0c0c431", + "3f26e65e9e14b140", + "165086f5eeb45889", + "26655f3b52fd390b", + "4f053126291b5804", + "656edb879555e04e", + "fd6b81a32bb8d757", + "17650efb4c8eac6d", + "35aed833a6fd89c9", + "78389a0e3cf80961", + "b5aef2391dcbcf4b", + "9bdb14efae83866c", + "6aa0699f4eb35c14", + "b21e235c39afcb03", + "bd985c8dc9609479", + "095ea15b0b3f109a", + "a0a1caf4e95d5a2b", + "230b7b206cbda14f", + "93ed91bff23ccae6", + "c369c0df4127877c", + "cd27de68d9e0cbc4", + "11e8012b77840d09", + "67c80d1f6f7f4480", + "862bd44140894d07", + "eb3242a9703a76df", + "d963d406dbde22b8", + "037325aca1c515e3", + "7b14579668c1af3f", + "fa5d15edbf72f647", + "b2e76bba0862cef8", + "46ff4d153fc9736c", + "04052562e24f52a7", + "b2358081175b0301", + "b73d1209033d8724", + "929e091f58d7e981", + "d23265902eda3894", + "a803317ea68e18fc", + "fadfc3bdbc68f76f", + "cbe25ff8706d300b", + "159202a1e2a32023", + "e4063f822861a8e3", + "bc769b10e03830e1" + ], + "x": 2654, + "y": 5839, + "w": 2542, + "h": 562 + }, + { + "id": "14365542ae0790c8", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - brihgtness", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "42acd7f9ad626301", + "c3e90ec1d4493bb4", + "6ab8f6f585ebee36", + "c17daf8aa7e26a0c", + "7379c487515b9889", + "3a6f2959b098c17e", + "69f1300be1c6d8ab", + "32f30c6a0241b184", + "1313dd5a267993d9", + "1b38e8d77f15ac4a", + "d9d65b36d28ee1b5", + "af81a38fa86c6cc8", + "dbe559c73da68763", + "d88e0ed1a96a90b5", + "42c1dae9372de9c6", + "149cc130f5efb763", + "7eacb809027a3f29", + "992d3a4f1f2cef04", + "7f81ef3f4f7d218f", + "6aeea1de4587093e", + "2155a7e805ce62e5", + "db3dc40ea4b498e3", + "65dca07a06ffa9c6", + "d272a453214030a9", + "f89a84a4111a2df9", + "ccd498fdd2090daf", + "6318eeea1f540ad8", + "6e9d7cb4048d2eef", + "ae5513076154ad8a", + "9a9eba7461771815", + "7f33cfc11587b83c", + "04f0f1dcc6935c42", + "51dd51d87769dfc4", + "1cfe4db12a78f24a" + ], + "x": 2654, + "y": 6439, + "w": 2242, + "h": 562 + }, + { + "id": "450d06a664f3f2f1", + "type": "group", + "z": "aab0c030de7df5cc", + "g": "70381517043fd6a9", + "name": "room - ui - overload", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "d3ecaf8ee5a9a5f3", + "892aa8fda585f5b2", + "e0cb1aec4e0fda1c", + "31254c9a4c46f49c", + "943c9a5e7bb69227", + "94b3fd103974e612", + "44bb7746b927fef2", + "a8f14d2493aa1ccc", + "11f218242b107b91", + "9d11ec1e81b17e3d", + "143b6433267f0fa1", + "4bd89dce27b61c84", + "2c68008e717394eb", + "e4e4dde43d4eef06", + "a2bcd5bf77abacdd", + "c7dde6eba09fbd5a", + "b3fb451be3c81d2b", + "96c183ca09036f9e", + "207c8c517b76a96d", + "41be9069ac8254e1", + "f7df745c748863ac", + "fae60b32c35a15e2", + "f8787219bfa0b999", + "7acbbb904086727c", + "36f2cc31fc4e1e37", + "94ecac051c7ae0c0", + "c3fd837c967f3c0d", + "8d582cfd231d8e30" + ], + "x": 2654, + "y": 7039, + "w": 2202, "h": 442 }, { @@ -629,7 +1606,9 @@ "1d6b2ca73ae11560", "8c7c93ce9d3d346c", "165086f5eeb45889", - "c17daf8aa7e26a0c" + "c17daf8aa7e26a0c", + "326ca0a44e78d7d6", + "31254c9a4c46f49c" ], "x": 1095, "y": 60, @@ -768,11 +1747,12 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 890, + "x": 930, "y": 240, "wires": [ [ - "cd4ebdd2c6d86368" + "cd4ebdd2c6d86368", + "b8e3afedf42e1ec0" ] ] }, @@ -866,7 +1846,8 @@ "y": 300, "wires": [ [ - "cd4ebdd2c6d86368" + "cd4ebdd2c6d86368", + "b8e3afedf42e1ec0" ] ] }, @@ -919,10 +1900,9 @@ "to": "", "reg": false, "x": 280, - "y": 720, + "y": 660, "wires": [ [ - "b375ca01bb8f1e43", "3b74b2448cdb18a9" ] ] @@ -955,7 +1935,7 @@ "to": "", "reg": false, "x": 1100, - "y": 840, + "y": 720, "wires": [ [ "dc4343f890e4a3e1" @@ -975,7 +1955,7 @@ "stream": false, "addname": "measurement", "x": 470, - "y": 780, + "y": 660, "wires": [ [ "b2e5e7af716d4ec6" @@ -995,7 +1975,7 @@ "stream": false, "addname": "field", "x": 690, - "y": 780, + "y": 660, "wires": [ [ "aa39991b7847c574" @@ -1028,7 +2008,7 @@ "to": "", "reg": false, "x": 900, - "y": 780, + "y": 660, "wires": [ [ "9ee5e12567650c9d" @@ -1084,7 +2064,7 @@ "to": "", "reg": false, "x": 1270, - "y": 660, + "y": 600, "wires": [ [ "9e4bfee0db3051d4" @@ -1101,7 +2081,7 @@ "031a6afd8300356a" ], "x": 135, - "y": 840, + "y": 720, "wires": [ [ "ef424db05e8a1103" @@ -1127,7 +2107,7 @@ "repair": false, "outputs": 1, "x": 290, - "y": 840, + "y": 720, "wires": [ [ "9ee5e12567650c9d" @@ -1262,42 +2242,13 @@ "71d0e8896af92442", "a033c6dbdefb80f9", "3f26e65e9e14b140", - "6ab8f6f585ebee36" + "6ab8f6f585ebee36", + "613dd73590f50433", + "0cdf527eea858d38", + "27c5af4040c9d67b", + "e0cb1aec4e0fda1c" ], "x": 1435, - "y": 660, - "wires": [] - }, - { - "id": "74172837e07ab80d", - "type": "link out", - "z": "aab0c030de7df5cc", - "g": "b64c96e257072f51", - "name": "room - seletion - select", - "mode": "link", - "links": [ - "0588224c71e286ea", - "2c612fdffe67f6a1", - "05413d613ec94002", - "d6202f83353ef991", - "dcf6e22992b1a266", - "9e08854ef865d0d7", - "6b83b5c2984312c4", - "dc88725defb60f1a", - "06a05a3b06eca91f", - "1ce42313fa49e65c", - "337f1fd20587c947", - "835ca54b2c05e702", - "96adf7bcdf4b3817", - "da3a569002e98615", - "2d281d07956505d2", - "768aebc01cc24cfa", - "49f81da257fd1bd5", - "b5fb778a5f959426", - "7bfbfd723b885933", - "29f190c009d9bd2b" - ], - "x": 1395, "y": 600, "wires": [] }, @@ -1327,16 +2278,16 @@ "d6a7e2cef723dc90", "0ffed8fdad553396", "167294a666df090a", - "601b5a75c014b306" + "601b5a75c014b306", + "e5e35f07fafcaa5b" ], "x": 135, - "y": 660, + "y": 600, "wires": [ [ "1dd86a8b8b446749", "656d1866a8ae8cf8", - "66835e34ae95f3f0", - "3d2ea19ae9c4b9d2" + "66835e34ae95f3f0" ] ] }, @@ -1357,34 +2308,6 @@ ] ] }, - { - "id": "3d2ea19ae9c4b9d2", - "type": "change", - "z": "aab0c030de7df5cc", - "g": "b64c96e257072f51", - "name": "payload to room", - "rules": [ - { - "t": "set", - "p": "room", - "pt": "msg", - "to": "payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 300, - "y": 600, - "wires": [ - [ - "74172837e07ab80d" - ] - ] - }, { "id": "9043871af737eb1a", "type": "change", @@ -1416,7 +2339,6 @@ "y": 480, "wires": [ [ - "b375ca01bb8f1e43", "57e1a96c1bf54302", "1dd86a8b8b446749" ] @@ -1454,39 +2376,15 @@ "157c2c86081bbfab", "761cb37547fe4dc2", "26655f3b52fd390b", - "7379c487515b9889" + "7379c487515b9889", + "150f3acd97d50753", + "fa60e7b17b73d75a", + "dd8957465e23e1c9", + "943c9a5e7bb69227" ], "x": 1415, - "y": 840, - "wires": [] - }, - { - "id": "b375ca01bb8f1e43", - "type": "change", - "z": "aab0c030de7df5cc", - "g": "b64c96e257072f51", - "name": "format payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$uppercase(msg.page_title)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1260, "y": 720, - "wires": [ - [ - "eed5df5df9eb8030" - ] - ] + "wires": [] }, { "id": "dc4343f890e4a3e1", @@ -1507,7 +2405,7 @@ "allowrate": false, "outputs": 1, "x": 1290, - "y": 840, + "y": 720, "wires": [ [ "b6323e1460f6f50c" @@ -1533,10 +2431,10 @@ "allowrate": false, "outputs": 1, "x": 1250, - "y": 540, + "y": 480, "wires": [ [ - "74172837e07ab80d" + "458c9a22f37b6191" ] ] }, @@ -1545,12 +2443,12 @@ "type": "ui-slider", "z": "aab0c030de7df5cc", "g": "fedaeb34f9bc97e4", - "group": "d464a60fe4e4c421", + "group": "36396f5285df476c", "name": "reset delay", - "label": "Délai de remise à zéro", + "label": "", "tooltip": "", - "order": 0, - "width": "6", + "order": 3, + "width": "4", "height": "1", "passthru": false, "outs": "end", @@ -1569,28 +2467,6 @@ ] ] }, - { - "id": "eed5df5df9eb8030", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "g": "b64c96e257072f51", - "group": "36396f5285df476c", - "order": 1, - "width": "6", - "height": "1", - "name": "Pièce", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1450, - "y": 720, - "wires": [] - }, { "id": "dfb1c71d12e96d7e", "type": "link in", @@ -1601,7 +2477,7 @@ "9e4bfee0db3051d4" ], "x": 135, - "y": 1980, + "y": 2280, "wires": [ [ "01e05de4b3ca9c5f", @@ -1644,7 +2520,7 @@ "to": "", "reg": false, "x": 1970, - "y": 1980, + "y": 2280, "wires": [ [ "20c75ef7e51d5b8e", @@ -1680,7 +2556,7 @@ "to": "", "reg": false, "x": 1970, - "y": 2040, + "y": 2340, "wires": [ [ "0a90a652239db393", @@ -1700,7 +2576,7 @@ "linkType": "static", "timeout": "0.5", "x": 1610, - "y": 2160, + "y": 2460, "wires": [ [ "3fddcb78e40b1d2b" @@ -1719,7 +2595,7 @@ "linkType": "static", "timeout": "0.5", "x": 1600, - "y": 2280, + "y": 2580, "wires": [ [ "778d16bd84481a10" @@ -1738,7 +2614,7 @@ "linkType": "static", "timeout": "0.5", "x": 1610, - "y": 2400, + "y": 2700, "wires": [ [ "93a7acc4ebb52d85" @@ -1757,7 +2633,7 @@ "linkType": "static", "timeout": "0.5", "x": 1600, - "y": 2520, + "y": 2820, "wires": [ [ "c0b755705bfe5f7c" @@ -1774,7 +2650,7 @@ "b6323e1460f6f50c" ], "x": 135, - "y": 2040, + "y": 2340, "wires": [ [ "035559e237d36f74" @@ -1820,7 +2696,7 @@ "repair": false, "outputs": 5, "x": 1360, - "y": 2160, + "y": 2460, "wires": [ [], [ @@ -1858,7 +2734,7 @@ "to": "", "reg": false, "x": 1980, - "y": 2520, + "y": 2820, "wires": [ [ "6c94f5bf30aea70d" @@ -1884,7 +2760,7 @@ "color": "#717171", "className": "", "x": 2170, - "y": 2520, + "y": 2820, "wires": [] }, { @@ -1906,7 +2782,7 @@ "color": "#717171", "className": "", "x": 2180, - "y": 2400, + "y": 2700, "wires": [] }, { @@ -1930,7 +2806,7 @@ "to": "", "reg": false, "x": 1980, - "y": 2400, + "y": 2700, "wires": [ [ "8fb6a9d9412b2bec" @@ -1958,7 +2834,7 @@ "to": "", "reg": false, "x": 1980, - "y": 2280, + "y": 2580, "wires": [ [ "e46801b96418c26a" @@ -1984,7 +2860,7 @@ "color": "#717171", "className": "", "x": 2170, - "y": 2280, + "y": 2580, "wires": [] }, { @@ -2008,7 +2884,7 @@ "to": "", "reg": false, "x": 1980, - "y": 2160, + "y": 2460, "wires": [ [ "a81fa955d6562f5f" @@ -2034,7 +2910,7 @@ "color": "#717171", "className": "", "x": 2180, - "y": 2160, + "y": 2460, "wires": [] }, { @@ -2056,7 +2932,7 @@ "color": "#717171", "className": "", "x": 2160, - "y": 2640, + "y": 2940, "wires": [] }, { @@ -2080,7 +2956,7 @@ "to": "", "reg": false, "x": 1980, - "y": 2640, + "y": 2940, "wires": [ [ "5cc6b20c6df480dd" @@ -2108,7 +2984,7 @@ "to": "", "reg": false, "x": 2140, - "y": 1980, + "y": 2280, "wires": [ [ "e0045ca80f8e03c1" @@ -2134,7 +3010,7 @@ "color": "#717171", "className": "", "x": 2310, - "y": 1980, + "y": 2280, "wires": [] }, { @@ -2146,7 +3022,7 @@ "ui": "2d75e4809d2a6fbf", "events": "all", "x": 2140, - "y": 2040, + "y": 2340, "wires": [ [] ] @@ -2170,7 +3046,7 @@ "repair": false, "outputs": 1, "x": 1810, - "y": 2160, + "y": 2460, "wires": [ [ "d7aff9d041ae7444", @@ -2197,7 +3073,7 @@ "repair": false, "outputs": 1, "x": 1810, - "y": 2280, + "y": 2580, "wires": [ [ "d05c1a4eee3f01e4", @@ -2224,7 +3100,7 @@ "repair": false, "outputs": 1, "x": 1810, - "y": 2400, + "y": 2700, "wires": [ [ "88b22e34de3b524d", @@ -2251,7 +3127,7 @@ "repair": false, "outputs": 1, "x": 1810, - "y": 2520, + "y": 2820, "wires": [ [ "59c93aa71ad35d29", @@ -2287,7 +3163,7 @@ "to": "", "reg": false, "x": 1970, - "y": 2100, + "y": 2400, "wires": [ [ "a81fa955d6562f5f", @@ -2338,7 +3214,7 @@ "to": "", "reg": false, "x": 970, - "y": 2160, + "y": 2460, "wires": [ [ "83438124d9dced41" @@ -2364,7 +3240,7 @@ "topic": "topic", "outputs": 1, "x": 560, - "y": 2040, + "y": 2340, "wires": [ [ "f4795bfce2a04229", @@ -2386,7 +3262,7 @@ "stream": false, "addname": "measurement", "x": 1150, - "y": 2160, + "y": 2460, "wires": [ [ "9615af109f15be41" @@ -2413,7 +3289,7 @@ "repair": false, "outputs": 1, "x": 310, - "y": 2040, + "y": 2340, "wires": [ [ "8585e6f3431e8d42" @@ -2438,18 +3314,13 @@ "t": "eq", "v": "rstp", "vt": "str" - }, - { - "t": "eq", - "v": "snapshot", - "vt": "str" } ], "checkall": "true", "repair": false, - "outputs": 3, + "outputs": 2, "x": 550, - "y": 3120, + "y": 3360, "wires": [ [ "50c35b8d464c83cd", @@ -2458,9 +3329,6 @@ [ "50c35b8d464c83cd", "b74b0ea99d56eb7e" - ], - [ - "ae7ba0058dad62d1" ] ] }, @@ -2492,7 +3360,7 @@ "to": "", "reg": false, "x": 730, - "y": 2880, + "y": 3180, "wires": [ [ "ea0406109e5de115", @@ -2520,7 +3388,7 @@ "topic": "topic", "outputs": 1, "x": 1290, - "y": 3060, + "y": 3360, "wires": [ [ "ef4532a3ebf0b36e" @@ -2555,7 +3423,7 @@ "to": "", "reg": false, "x": 730, - "y": 3060, + "y": 3300, "wires": [ [ "8aa78c963092f63a" @@ -2579,7 +3447,7 @@ "repair": false, "outputs": 1, "x": 1480, - "y": 3060, + "y": 3360, "wires": [ [ "967fea7a3b32f198" @@ -2604,7 +3472,7 @@ "senderr": false, "headers": [], "x": 1690, - "y": 3060, + "y": 3360, "wires": [ [ "16094297767ce839" @@ -2639,7 +3507,7 @@ "to": "", "reg": false, "x": 730, - "y": 2940, + "y": 3240, "wires": [ [ "ea0406109e5de115", @@ -2657,11 +3525,10 @@ "9e4bfee0db3051d4" ], "x": 135, - "y": 2880, + "y": 3180, "wires": [ [ - "6bd965a44bd48431", - "9775046f290c1bf5" + "6bd965a44bd48431" ] ] }, @@ -2675,7 +3542,7 @@ "b6323e1460f6f50c" ], "x": 135, - "y": 3120, + "y": 3360, "wires": [ [ "fb170cb858137be7" @@ -2701,7 +3568,7 @@ "repair": false, "outputs": 1, "x": 320, - "y": 3120, + "y": 3360, "wires": [ [ "24f76309a6dfe14a" @@ -2729,7 +3596,7 @@ "to": "", "reg": false, "x": 730, - "y": 3120, + "y": 3360, "wires": [ [] ] @@ -2743,7 +3610,7 @@ "ui": "2d75e4809d2a6fbf", "events": "all", "x": 900, - "y": 2880, + "y": 3180, "wires": [ [] ] @@ -2767,7 +3634,7 @@ "color": "#717171", "className": "", "x": 1070, - "y": 2820, + "y": 3120, "wires": [] }, { @@ -2791,7 +3658,7 @@ "to": "", "reg": false, "x": 900, - "y": 2820, + "y": 3120, "wires": [ [ "03b02d165b1d7e28" @@ -2819,7 +3686,7 @@ "to": "", "reg": false, "x": 2110, - "y": 3060, + "y": 3360, "wires": [ [ "b60115a1fd023b76" @@ -2846,7 +3713,7 @@ "templateScope": "local", "className": "", "x": 2310, - "y": 2940, + "y": 3240, "wires": [ [] ] @@ -2879,7 +3746,7 @@ "to": "", "reg": false, "x": 900, - "y": 2940, + "y": 3240, "wires": [ [ "b60115a1fd023b76", @@ -2906,7 +3773,7 @@ "topic": "topic", "outputs": 1, "x": 1090, - "y": 3000, + "y": 3300, "wires": [ [ "4adc84859872765c" @@ -2932,7 +3799,7 @@ "topic": "topic", "outputs": 1, "x": 1090, - "y": 3060, + "y": 3360, "wires": [ [ "4adc84859872765c" @@ -2948,7 +3815,7 @@ "action": "str", "property": "payload", "x": 1900, - "y": 3060, + "y": 3360, "wires": [ [ "263b6e6e05263288" @@ -3021,7 +3888,7 @@ "group": "1a2635629b812ca3", "name": "chart temperature", "label": "", - "order": 9007199254740991, + "order": 2, "chartType": "line", "category": "_field", "categoryType": "property", @@ -3053,7 +3920,7 @@ "height": "6", "className": "", "x": 1170, - "y": 1140, + "y": 1440, "wires": [ [] ] @@ -3071,7 +3938,7 @@ "retentionPolicy": "", "org": "iotredloop", "x": 780, - "y": 1140, + "y": 1440, "wires": [ [ "20c48f73de388537", @@ -3100,7 +3967,7 @@ "to": "", "reg": false, "x": 590, - "y": 1140, + "y": 1440, "wires": [ [ "023b97f731941ec8" @@ -3117,7 +3984,7 @@ "b6323e1460f6f50c" ], "x": 135, - "y": 1140, + "y": 1440, "wires": [ [ "b6d352f0739c9c5d" @@ -3143,7 +4010,7 @@ "repair": false, "outputs": 1, "x": 360, - "y": 1140, + "y": 1440, "wires": [ [ "d83b592e2491dcb6" @@ -3160,7 +4027,7 @@ "9e4bfee0db3051d4" ], "x": 135, - "y": 1020, + "y": 1320, "wires": [ [ "fc6afa9a094180d3" @@ -3186,7 +4053,7 @@ "color": "#717171", "className": "", "x": 1310, - "y": 1020, + "y": 1320, "wires": [] }, { @@ -3210,7 +4077,7 @@ "to": "", "reg": false, "x": 1140, - "y": 1020, + "y": 1320, "wires": [ [ "3918bb15caaf1ec5" @@ -3245,7 +4112,7 @@ "to": "", "reg": false, "x": 970, - "y": 1020, + "y": 1320, "wires": [ [ "44d4e7ddd6c2f416", @@ -3281,7 +4148,7 @@ "to": "", "reg": false, "x": 970, - "y": 1080, + "y": 1380, "wires": [ [ "44d4e7ddd6c2f416", @@ -3298,7 +4165,7 @@ "ui": "2d75e4809d2a6fbf", "events": "all", "x": 1140, - "y": 1080, + "y": 1380, "wires": [ [] ] @@ -3324,7 +4191,7 @@ "to": "", "reg": false, "x": 970, - "y": 1140, + "y": 1440, "wires": [ [ "ec99f621f7253cd7" @@ -3339,7 +4206,7 @@ "group": "e41130e3f4e3f1fe", "name": "chart humidity", "label": "", - "order": 9007199254740991, + "order": 2, "chartType": "line", "category": "_field", "categoryType": "property", @@ -3371,7 +4238,7 @@ "height": "6", "className": "", "x": 1160, - "y": 1380, + "y": 1680, "wires": [ [] ] @@ -3389,7 +4256,7 @@ "retentionPolicy": "", "org": "iotredloop", "x": 780, - "y": 1380, + "y": 1680, "wires": [ [ "238894bac5405d86", @@ -3418,7 +4285,7 @@ "to": "", "reg": false, "x": 590, - "y": 1380, + "y": 1680, "wires": [ [ "c95545cb575e900a" @@ -3435,7 +4302,7 @@ "b6323e1460f6f50c" ], "x": 135, - "y": 1380, + "y": 1680, "wires": [ [ "588f7e8cf7861975" @@ -3461,7 +4328,7 @@ "repair": false, "outputs": 1, "x": 360, - "y": 1380, + "y": 1680, "wires": [ [ "a521b0c77c8e1b96" @@ -3478,7 +4345,7 @@ "9e4bfee0db3051d4" ], "x": 135, - "y": 1260, + "y": 1560, "wires": [ [ "13bb4993d29c190f" @@ -3513,7 +4380,7 @@ "to": "", "reg": false, "x": 970, - "y": 1320, + "y": 1620, "wires": [ [ "4fac1159c7fb1196", @@ -3540,7 +4407,7 @@ "color": "#717171", "className": "", "x": 1310, - "y": 1260, + "y": 1560, "wires": [] }, { @@ -3564,7 +4431,7 @@ "to": "", "reg": false, "x": 1140, - "y": 1260, + "y": 1560, "wires": [ [ "5943f812794763bb" @@ -3599,7 +4466,7 @@ "to": "", "reg": false, "x": 970, - "y": 1260, + "y": 1560, "wires": [ [ "4fac1159c7fb1196", @@ -3616,7 +4483,7 @@ "ui": "2d75e4809d2a6fbf", "events": "all", "x": 1140, - "y": 1320, + "y": 1620, "wires": [ [] ] @@ -3642,770 +4509,13 @@ "to": "", "reg": false, "x": 970, - "y": 1380, + "y": 1680, "wires": [ [ "1f143110084f2d12" ] ] }, - { - "id": "ff3ea6db082a3ede", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 2, - "width": "1", - "height": "1", - "name": "current", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1460, - "y": 3660, - "wires": [] - }, - { - "id": "7a8446bfe5858de9", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 1, - "width": "5", - "height": "1", - "name": "power", - "label": "Puissance", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1450, - "y": 3600, - "wires": [] - }, - { - "id": "7ca84197b56de1f6", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 4, - "width": "6", - "height": "1", - "name": "tariff", - "label": "Tarif", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1450, - "y": 3720, - "wires": [] - }, - { - "id": "5f8cd6bd9f561403", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 5, - "width": "6", - "height": "1", - "name": "conso_total_today", - "label": "Consommation ajourdh'ui", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1490, - "y": 3780, - "wires": [] - }, - { - "id": "3c5b954c4db04bdb", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 6, - "width": "6", - "height": "1", - "name": "conso_total_yesturday", - "label": "Consommation hier", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1500, - "y": 3840, - "wires": [] - }, - { - "id": "3a816c9d45c03626", - "type": "influxdb in", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "influxdb": "e408b55d1dc6870d", - "name": "", - "query": "", - "rawOutput": false, - "precision": "", - "retentionPolicy": "", - "org": "iotredloop", - "x": 900, - "y": 3780, - "wires": [ - [ - "6ef64156f6aee952" - ] - ] - }, - { - "id": "d387848d485bbad4", - "type": "influxdb in", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "influxdb": "e408b55d1dc6870d", - "name": "", - "query": "import \"date\"\nfrom(bucket: \"linky\")\n |> range(start: date.truncate(t:-1d,unit:1d), stop: date.truncate(t:0d,unit:1d))\n |> filter(fn: (r) =>\n r._field == \"conso_total_day\"\n )\n |> aggregateWindow(every: 24h, fn: max)", - "rawOutput": false, - "precision": "", - "retentionPolicy": "", - "org": "iotredloop", - "x": 900, - "y": 3840, - "wires": [ - [ - "ab09e46f4313cec3" - ] - ] - }, - { - "id": "88b4fa01095bf6be", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "payload.0['_value']", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$round($number(msg.payload)/1000, 1)&'kWh'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1290, - "y": 3780, - "wires": [ - [ - "5f8cd6bd9f561403" - ] - ] - }, - { - "id": "9afdec924f923d90", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "payload.0['_value']", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$round(msg.payload/1000, 1)&'kWh'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1290, - "y": 3840, - "wires": [ - [ - "3c5b954c4db04bdb" - ] - ] - }, - { - "id": "6ef64156f6aee952", - "type": "switch", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "has values", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "nempty" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1110, - "y": 3780, - "wires": [ - [ - "88b4fa01095bf6be" - ] - ] - }, - { - "id": "ab09e46f4313cec3", - "type": "switch", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "has values", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "nempty" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1110, - "y": 3840, - "wires": [ - [ - "9afdec924f923d90" - ] - ] - }, - { - "id": "88a3ebf72baa83c9", - "type": "link in", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "room - ui - chart temperature - load", - "links": [ - "9e4bfee0db3051d4" - ], - "x": 135, - "y": 3420, - "wires": [ - [ - "76f6a0873cbd318f", - "ce16a38c205cea88" - ] - ] - }, - { - "id": "7bde9e5371850ec6", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "group": "", - "order": 1, - "width": "6", - "height": "1", - "name": "none", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-center", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1630, - "y": 3420, - "wires": [] - }, - { - "id": "94a9afc0489abcb3", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Aucun compteur d'énergie", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1460, - "y": 3420, - "wires": [ - [ - "7bde9e5371850ec6" - ] - ] - }, - { - "id": "76f6a0873cbd318f", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Electricité\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1290, - "y": 3420, - "wires": [ - [ - "2c63dd2b7c70df86", - "94a9afc0489abcb3" - ] - ] - }, - { - "id": "a86d64f42452a3b7", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "set", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Electricité\"]\t }\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "remove", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1290, - "y": 3480, - "wires": [ - [ - "2c63dd2b7c70df86", - "94a9afc0489abcb3" - ] - ] - }, - { - "id": "2c63dd2b7c70df86", - "type": "ui-control", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "", - "ui": "2d75e4809d2a6fbf", - "events": "all", - "x": 1460, - "y": 3480, - "wires": [ - [] - ] - }, - { - "id": "ce16a38c205cea88", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1290, - "y": 3540, - "wires": [ - [ - "7a8446bfe5858de9", - "ff3ea6db082a3ede", - "7ca84197b56de1f6", - "5f8cd6bd9f561403", - "3c5b954c4db04bdb" - ] - ] - }, - { - "id": "223c9437360c96cb", - "type": "link in", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "room - ui - seen - metric", - "links": [ - "b6323e1460f6f50c" - ], - "x": 135, - "y": 3480, - "wires": [ - [ - "8a1c1129f96fc4f7" - ] - ] - }, - { - "id": "8a1c1129f96fc4f7", - "type": "switch", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "power", - "vt": "str" - }, - { - "t": "eq", - "v": "current", - "vt": "str" - }, - { - "t": "eq", - "v": "tariff", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 300, - "y": 3480, - "wires": [ - [ - "a86d64f42452a3b7", - "674e46c767bb1ff9", - "636a8238144e0df5" - ], - [ - "a86d64f42452a3b7", - "53c25ef43112837d" - ], - [ - "a86d64f42452a3b7", - "da46e6b6c18a5350" - ] - ] - }, - { - "id": "2da12c408933c87b", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload&'W'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1280, - "y": 3600, - "wires": [ - [ - "7a8446bfe5858de9" - ] - ] - }, - { - "id": "9725fd4ac3730948", - "type": "change", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "'('&msg.payload&'A)'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1280, - "y": 3660, - "wires": [ - [ - "ff3ea6db082a3ede" - ] - ] - }, - { - "id": "bb91528b79a7fef4", - "type": "function", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "HP/HC", - "func": "if (msg.payload=='HP'){\n msg.payload='Heures pleines';\n} else {\n msg.payload='Heures creuses';\n}\nreturn msg;", - "outputs": 1, - "timeout": "", - "noerr": 0, - "initialize": "", - "finalize": "", - "libs": [], - "x": 1280, - "y": 3720, - "wires": [ - [ - "7ca84197b56de1f6" - ] - ] - }, - { - "id": "5ee9de3d5907e482", - "type": "delay", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "", - "pauseType": "rate", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "minute", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": true, - "allowrate": false, - "outputs": 1, - "x": 680, - "y": 3780, - "wires": [ - [ - "3a816c9d45c03626", - "d387848d485bbad4" - ] - ] - }, - { - "id": "f8bf0c474caebb26", - "type": "comment", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "from db bucket linky", - "info": "", - "x": 690, - "y": 3840, - "wires": [] - }, - { - "id": "da46e6b6c18a5350", - "type": "delay", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "40 ms", - "pauseType": "delay", - "timeout": "40", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 490, - "y": 3720, - "wires": [ - [ - "bb91528b79a7fef4" - ] - ] - }, - { - "id": "53c25ef43112837d", - "type": "delay", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "40 ms", - "pauseType": "delay", - "timeout": "40", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 490, - "y": 3660, - "wires": [ - [ - "9725fd4ac3730948" - ] - ] - }, - { - "id": "674e46c767bb1ff9", - "type": "delay", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "40 ms", - "pauseType": "delay", - "timeout": "40", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 490, - "y": 3600, - "wires": [ - [ - "2da12c408933c87b" - ] - ] - }, - { - "id": "636a8238144e0df5", - "type": "delay", - "z": "aab0c030de7df5cc", - "d": true, - "g": "37f02e75f6e70daa", - "name": "20 ms", - "pauseType": "delay", - "timeout": "20", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 490, - "y": 3780, - "wires": [ - [ - "5ee9de3d5907e482" - ] - ] - }, { "id": "44795f19725dfb16", "type": "ui-chart", @@ -4446,7 +4556,7 @@ "height": "6", "className": "", "x": 2290, - "y": 1800, + "y": 2100, "wires": [ [] ] @@ -4464,7 +4574,7 @@ "retentionPolicy": "", "org": "iotredloop", "x": 1920, - "y": 1800, + "y": 2100, "wires": [ [ "5cc27b9e016bbe1b" @@ -4499,7 +4609,7 @@ "to": "", "reg": false, "x": 1730, - "y": 1800, + "y": 2100, "wires": [ [ "2b909499790cab01" @@ -4516,7 +4626,7 @@ "b6323e1460f6f50c" ], "x": 135, - "y": 1560, + "y": 1860, "wires": [ [ "fea7dd1138155750" @@ -4533,7 +4643,7 @@ "9e4bfee0db3051d4" ], "x": 135, - "y": 1500, + "y": 1800, "wires": [ [ "ecd8bf936f027cdc", @@ -4569,7 +4679,7 @@ "to": "", "reg": false, "x": 1190, - "y": 1560, + "y": 1860, "wires": [ [ "c60c3603ff04bca1", @@ -4598,7 +4708,7 @@ "color": "#717171", "className": "", "x": 2450, - "y": 1500, + "y": 1800, "wires": [] }, { @@ -4622,7 +4732,7 @@ "to": "", "reg": false, "x": 2280, - "y": 1500, + "y": 1800, "wires": [ [ "32acac8443b52345" @@ -4657,7 +4767,7 @@ "to": "", "reg": false, "x": 1190, - "y": 1500, + "y": 1800, "wires": [ [ "c60c3603ff04bca1", @@ -4674,7 +4784,7 @@ "ui": "2d75e4809d2a6fbf", "events": "all", "x": 2280, - "y": 1560, + "y": 1860, "wires": [ [] ] @@ -4700,7 +4810,7 @@ "to": "", "reg": false, "x": 2110, - "y": 1800, + "y": 2100, "wires": [ [ "44795f19725dfb16" @@ -4727,7 +4837,7 @@ "repair": false, "outputs": 1, "x": 340, - "y": 1560, + "y": 1860, "wires": [ [ "2b7c57be9b721cd6" @@ -4746,7 +4856,7 @@ "linkType": "static", "timeout": "30", "x": 1920, - "y": 1680, + "y": 1980, "wires": [ [ "5c3172390ae5eefb" @@ -4781,7 +4891,7 @@ "to": "", "reg": false, "x": 2110, - "y": 1680, + "y": 1980, "wires": [ [ "898d54359ae10f09" @@ -4807,7 +4917,7 @@ "color": "#717171", "className": "", "x": 2270, - "y": 1680, + "y": 1980, "wires": [] }, { @@ -4823,7 +4933,7 @@ "to": "", "reg": false, "x": 2110, - "y": 1620, + "y": 1920, "wires": [ [ "44795f19725dfb16", @@ -4832,178 +4942,6 @@ ] ] }, - { - "id": "9775046f290c1bf5", - "type": "change", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "reset", - "rules": [], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 730, - "y": 3000, - "wires": [ - [ - "b7732e5da33d4247", - "0ff03eeb1954d8f2" - ] - ] - }, - { - "id": "c32cc33c321acd07", - "type": "change", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "camera", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1080, - "y": 3180, - "wires": [ - [ - "8c7c93ce9d3d346c" - ] - ] - }, - { - "id": "8c7c93ce9d3d346c", - "type": "link out", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "room - ui - camera - metric", - "mode": "link", - "links": [ - "2690f4e06626ebda" - ], - "x": 1215, - "y": 3180, - "wires": [] - }, - { - "id": "b7732e5da33d4247", - "type": "ui-switch", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "snapshot", - "label": "", - "group": "0083c332a401849d", - "order": 4, - "width": "1", - "height": "1", - "passthru": false, - "topic": "snapshot", - "topicType": "str", - "style": "", - "className": "", - "onvalue": "true", - "onvalueType": "bool", - "onicon": "camera-wireless", - "oncolor": "teal", - "offvalue": "false", - "offvalueType": "bool", - "officon": "camera-off-outline", - "offcolor": "grey", - "x": 900, - "y": 3180, - "wires": [ - [ - "c32cc33c321acd07" - ] - ] - }, - { - "id": "ae7ba0058dad62d1", - "type": "delay", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "20 ms", - "pauseType": "delay", - "timeout": "20", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 730, - "y": 3180, - "wires": [ - [ - "b7732e5da33d4247", - "8dfe90979253107e" - ] - ] - }, - { - "id": "0ff03eeb1954d8f2", - "type": "ui-text", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "group": "0083c332a401849d", - "order": 3, - "width": "5", - "height": "1", - "name": "snapshot (txt)", - "label": "", - "format": "{{msg.payload}}", - "layout": "row-right", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1100, - "y": 3120, - "wires": [] - }, - { - "id": "8dfe90979253107e", - "type": "change", - "z": "aab0c030de7df5cc", - "g": "42c0f1473438a281", - "name": "format", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload?'Capture de mouvement active':'Capture de mouvement inactive'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 890, - "y": 3120, - "wires": [ - [ - "0ff03eeb1954d8f2" - ] - ] - }, { "id": "b0e2b38384530493", "type": "ui-switch", @@ -5029,7 +4967,7 @@ "officon": "motion-sensor-off", "offcolor": "grey", "x": 2150, - "y": 2580, + "y": 2880, "wires": [ [] ] @@ -5059,7 +4997,7 @@ "officon": "sun-angle-outline", "offcolor": "grey", "x": 2160, - "y": 2460, + "y": 2760, "wires": [ [] ] @@ -5085,7 +5023,7 @@ "to": "", "reg": false, "x": 1970, - "y": 2460, + "y": 2760, "wires": [ [ "adf79dcb4ba8b960" @@ -5142,7 +5080,7 @@ "to": "", "reg": false, "x": 1970, - "y": 2340, + "y": 2640, "wires": [ [ "308199e1755f6e79" @@ -5174,7 +5112,7 @@ "officon": "thermometer-low", "offcolor": "grey", "x": 2170, - "y": 2220, + "y": 2520, "wires": [ [] ] @@ -5200,7 +5138,7 @@ "to": "", "reg": false, "x": 1970, - "y": 2220, + "y": 2520, "wires": [ [ "2109f9c2efef71b7" @@ -5232,7 +5170,7 @@ "officon": "fire-off", "offcolor": "grey", "x": 2150, - "y": 2700, + "y": 3000, "wires": [ [] ] @@ -5256,7 +5194,7 @@ "allowrate": false, "outputs": 1, "x": 780, - "y": 2160, + "y": 2460, "wires": [ [ "4f1473471bbae45e" @@ -5282,7 +5220,7 @@ "allowrate": false, "outputs": 1, "x": 770, - "y": 2100, + "y": 2400, "wires": [ [ "68ac80a46640bc8a" @@ -5308,7 +5246,7 @@ "allowrate": false, "outputs": 1, "x": 270, - "y": 1620, + "y": 1920, "wires": [ [ "4ca2710a68ee8cf7" @@ -5343,7 +5281,7 @@ "to": "", "reg": false, "x": 2110, - "y": 1740, + "y": 2040, "wires": [ [ "8bc96e353c45fe20" @@ -5378,7 +5316,7 @@ "to": "", "reg": false, "x": 1010, - "y": 1680, + "y": 1980, "wires": [ [ "8baf81aaecbe3ab0", @@ -5406,7 +5344,7 @@ "repair": false, "outputs": 1, "x": 610, - "y": 1560, + "y": 1860, "wires": [ [ "154312b0a80ad157", @@ -5431,7 +5369,7 @@ "repair": false, "outputs": 1, "x": 1190, - "y": 1680, + "y": 1980, "wires": [ [ "529b8f85ea492b9a" @@ -5455,7 +5393,7 @@ "repair": false, "outputs": 1, "x": 1190, - "y": 1740, + "y": 2040, "wires": [ [ "27ccfea85f2033da" @@ -5483,7 +5421,7 @@ "to": "", "reg": false, "x": 1350, - "y": 1740, + "y": 2040, "wires": [ [ "8bb2921d3035f78f" @@ -5511,7 +5449,7 @@ "to": "", "reg": false, "x": 1350, - "y": 1680, + "y": 1980, "wires": [ [ "ce300a4fa3da028b", @@ -5538,7 +5476,7 @@ "allowrate": false, "outputs": 1, "x": 820, - "y": 1680, + "y": 1980, "wires": [ [ "d28afb23b014c0d3" @@ -5591,7 +5529,7 @@ "to": "", "reg": false, "x": 1350, - "y": 1800, + "y": 2100, "wires": [ [ "3e26b34cc3ab9745" @@ -5617,7 +5555,17640 @@ "color": "#717171", "className": "", "x": 2270, + "y": 2040, + "wires": [] + }, + { + "id": "458c9a22f37b6191", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "get rooms from global", + "rules": [ + { + "t": "set", + "p": "form.rooms", + "pt": "flow", + "to": "[]", + "tot": "json" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "rooms", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1480, + "y": 480, + "wires": [ + [ + "314561e371cc1d33" + ] + ] + }, + { + "id": "314561e371cc1d33", + "type": "split", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "split rooms", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "room", + "x": 1710, + "y": 480, + "wires": [ + [ + "d261fda32fe95984" + ] + ] + }, + { + "id": "d261fda32fe95984", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "to array", + "rules": [ + { + "t": "set", + "p": "form.rooms[msg.parts.index]", + "pt": "flow", + "to": "{'label':msg.room,'value':msg.room}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1900, + "y": 480, + "wires": [ + [ + "37a5b70ff95bdfaa" + ] + ] + }, + { + "id": "37a5b70ff95bdfaa", + "type": "join", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 2070, + "y": 480, + "wires": [ + [ + "a236904666d238af" + ] + ] + }, + { + "id": "a236904666d238af", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "set option", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "form.rooms", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2240, + "y": 480, + "wires": [ + [ + "9ff63582ab95f6c6" + ] + ] + }, + { + "id": "9ff63582ab95f6c6", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "group": "36396f5285df476c", + "name": "select room", + "label": "Chosir une pièce :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 2430, + "y": 480, + "wires": [ + [ + "cd511cc2255f17b9" + ] + ] + }, + { + "id": "e5e35f07fafcaa5b", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "room - seletion - select", + "mode": "link", + "links": [ + "1be6ca3c2b8615a2" + ], + "x": 2765, + "y": 480, + "wires": [] + }, + { + "id": "5a9f17c8e8298b92", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "fedaeb34f9bc97e4", + "group": "36396f5285df476c", + "order": 2, + "width": "2", + "height": "1", + "name": "reset delay (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1300, + "y": 240, + "wires": [] + }, + { + "id": "b8e3afedf42e1ec0", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "fedaeb34f9bc97e4", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'RAZ à '&msg.payload&'min'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1110, + "y": 240, + "wires": [ + [ + "5a9f17c8e8298b92" + ] + ] + }, + { + "id": "cd511cc2255f17b9", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "b64c96e257072f51", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2610, + "y": 480, + "wires": [ + [ + "458c9a22f37b6191" + ], + [ + "e5e35f07fafcaa5b" + ] + ] + }, + { + "id": "613dd73590f50433", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "room - ui - photovoltaic - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 3480, + "wires": [ + [ + "daab9b7b09d11bac", + "c99676ea32c261f1" + ] + ] + }, + { + "id": "150f3acd97d50753", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "room - ui - photovoltaic - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 3540, + "wires": [ + [ + "8db09f7819d2fc6d" + ] + ] + }, + { + "id": "8db09f7819d2fc6d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "photovoltaic", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 3540, + "wires": [ + [ + "8db4331ffeff0ab1", + "5383281dc0065107" + ] + ] + }, + { + "id": "daab9b7b09d11bac", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Photovoltaïque\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3480, + "wires": [ + [ + "2eb4bd8b2ab468ef", + "775c66f414eb199a", + "342b305e6299276c", + "e55be2c582d3618f" + ] + ] + }, + { + "id": "775c66f414eb199a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun relevé photovoltaic", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1020, + "y": 3480, + "wires": [ + [ + "d19c82d1654a04ca" + ] + ] + }, + { + "id": "d19c82d1654a04ca", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "group": "63f4993fe010ac66", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1190, + "y": 3480, + "wires": [] + }, + { + "id": "8db4331ffeff0ab1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Photovoltaïque\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3540, + "wires": [ + [ + "2eb4bd8b2ab468ef", + "775c66f414eb199a" + ] + ] + }, + { + "id": "2eb4bd8b2ab468ef", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1020, + "y": 3540, + "wires": [ + [] + ] + }, + { + "id": "6a027347453d83c3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload&'W'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 840, + "y": 3660, + "wires": [ + [ + "342b305e6299276c" + ] + ] + }, + { + "id": "342b305e6299276c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "group": "63f4993fe010ac66", + "order": 2, + "width": "6", + "height": "1", + "name": "production power", + "label": "Production", + "format": "{{msg.payload}}", + "layout": "row-spread", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1050, + "y": 3660, + "wires": [] + }, + { + "id": "5827a4b8ae9ce58a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload&'W'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 840, + "y": 3720, + "wires": [ + [ + "e55be2c582d3618f" + ] + ] + }, + { + "id": "e55be2c582d3618f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "group": "63f4993fe010ac66", + "order": 3, + "width": "6", + "height": "1", + "name": "import power", + "label": "Importation", + "format": "{{msg.payload}}", + "layout": "row-spread", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1030, + "y": 3720, + "wires": [] + }, + { + "id": "a58b09ccb8f97924", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "production power", + "vt": "str" + }, + { + "t": "eq", + "v": "import power", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 670, + "y": 3660, + "wires": [ + [ + "6a027347453d83c3" + ], + [ + "5827a4b8ae9ce58a" + ] + ] + }, + { + "id": "28ae56ce57b30c92", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3600, + "wires": [ + [ + "342b305e6299276c", + "e55be2c582d3618f" + ] + ] + }, + { + "id": "c99676ea32c261f1", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 3600, + "wires": [ + [ + "28ae56ce57b30c92" + ] + ] + }, + { + "id": "5383281dc0065107", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "e27bdf5e4cdc9e39", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 3660, + "wires": [ + [ + "a58b09ccb8f97924" + ] + ] + }, + { + "id": "7c1941c9ed1317fd", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun anniversaire aujourd'hui", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1140, + "y": 4080, + "wires": [ + [ + "69c1098076e822f6" + ] + ] + }, + { + "id": "69c1098076e822f6", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "group": "cde58fe11ffae273", + "order": 2, + "width": "6", + "height": "1", + "name": "today birthday", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1340, + "y": 4020, + "wires": [] + }, + { + "id": "edf6d818fc24d922", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "group": "cde58fe11ffae273", + "order": 3, + "width": "6", + "height": "1", + "name": "tomorrow birthday", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1350, + "y": 4140, + "wires": [] + }, + { + "id": "c7fb4cc0446dbf74", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun anniversaire demain", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1140, + "y": 4200, + "wires": [ + [ + "edf6d818fc24d922" + ] + ] + }, + { + "id": "daf44778ff19113d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "nempty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 960, + "y": 4020, + "wires": [ + [ + "69c1098076e822f6" + ], + [ + "7c1941c9ed1317fd" + ] + ] + }, + { + "id": "1a58eab278d161f3", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "nempty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 960, + "y": 4140, + "wires": [ + [ + "edf6d818fc24d922" + ], + [ + "c7fb4cc0446dbf74" + ] + ] + }, + { + "id": "95b83d4f7b2e36d6", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 440, + "y": 4020, + "wires": [ + [ + "6888bb4727921ff4", + "aa0d0e7c55d0ca77", + "0467047fa991d42e" + ] + ] + }, + { + "id": "6888bb4727921ff4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics.agenda.birthday.today", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 630, + "y": 4020, + "wires": [ + [ + "daf44778ff19113d" + ] + ] + }, + { + "id": "aa0d0e7c55d0ca77", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics.agenda.birthday.tomorrow", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 630, + "y": 4140, + "wires": [ + [ + "1a58eab278d161f3" + ] + ] + }, + { + "id": "0cdf527eea858d38", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "room - ui - agenda - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 3840, + "wires": [ + [ + "e62675c777ab078d", + "e9015b7aad0145df" + ] + ] + }, + { + "id": "fa60e7b17b73d75a", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "room - ui - agenda - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 3900, + "wires": [ + [ + "38113221fd7ac74f" + ] + ] + }, + { + "id": "38113221fd7ac74f", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "room", + "property": "room", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "home", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 270, + "y": 3900, + "wires": [ + [ + "95b83d4f7b2e36d6", + "e0a3e77a2e5cc677" + ] + ] + }, + { + "id": "e62675c777ab078d", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Agenda\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1150, + "y": 3840, + "wires": [ + [ + "20fe207df07074ca", + "816e8f38b155770a" + ] + ] + }, + { + "id": "816e8f38b155770a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun relevé photovoltaic", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1320, + "y": 3840, + "wires": [ + [ + "5e69f8525379ec0c" + ] + ] + }, + { + "id": "5e69f8525379ec0c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "group": "cde58fe11ffae273", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1490, + "y": 3840, + "wires": [] + }, + { + "id": "20fe207df07074ca", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1320, + "y": 3900, + "wires": [ + [] + ] + }, + { + "id": "e0a3e77a2e5cc677", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Agenda\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1150, + "y": 3900, + "wires": [ + [ + "20fe207df07074ca", + "816e8f38b155770a" + ] + ] + }, + { + "id": "96f6b4a768453df2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 970, + "y": 3960, + "wires": [ + [ + "7c1941c9ed1317fd", + "c7fb4cc0446dbf74", + "e53a56f681d4ca9e" + ] + ] + }, + { + "id": "686debd2a5597828", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 430, + "y": 3960, + "wires": [ + [ + "96f6b4a768453df2" + ] + ] + }, + { + "id": "e9015b7aad0145df", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "room", + "property": "room", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "home", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 270, + "y": 3960, + "wires": [ + [ + "686debd2a5597828" + ] + ] + }, + { + "id": "e53a56f681d4ca9e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune poubelle demain", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1140, + "y": 4320, + "wires": [ + [ + "b7fbf4650b5dac3a" + ] + ] + }, + { + "id": "b7fbf4650b5dac3a", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "group": "cde58fe11ffae273", + "order": 4, + "width": "6", + "height": "1", + "name": "tomorrow trash", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1340, + "y": 4260, + "wires": [] + }, + { + "id": "b4c42dd5263f05c2", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "payload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "nempty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 960, + "y": 4260, + "wires": [ + [ + "b7fbf4650b5dac3a" + ], + [ + "e53a56f681d4ca9e" + ] + ] + }, + { + "id": "0467047fa991d42e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics.agenda.trash.tomorrow", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 630, + "y": 4260, + "wires": [ + [ + "b4c42dd5263f05c2" + ] + ] + }, + { + "id": "7dc1c5c9ba185887", + "type": "comment", + "z": "aab0c030de7df5cc", + "g": "cf7114b43871c414", + "name": "on room \"home\" only", + "info": "", + "x": 210, + "y": 4080, + "wires": [] + }, + { + "id": "3bd22b1740d9d8b2", + "type": "ui-chart", + "z": "aab0c030de7df5cc", + "d": true, + "g": "04de52a5f5237233", + "group": "8bdaa1ba3eb700cc", + "name": "chart outdoor temperature", + "label": "", + "order": 1, + "chartType": "line", + "category": "_field", + "categoryType": "property", + "xAxisProperty": "_time", + "xAxisPropertyType": "msg", + "xAxisType": "time", + "yAxisProperty": "_value", + "ymin": "", + "ymax": "", + "action": "replace", + "pointShape": "false", + "pointRadius": "2", + "showLegend": false, + "removeOlder": 1, + "removeOlderUnit": "86400", + "removeOlderPoints": "100", + "colors": [ + "#1f77b4", + "#aec7e8", + "#ff7f0e", + "#2ca02c", + "#98df8a", + "#d62728", + "#ff9896", + "#9467bd", + "#c5b0d5" + ], + "width": 6, + "height": "6", + "className": "", + "x": 550, + "y": 1000, + "wires": [ + [] + ] + }, + { + "id": "43e68c058a7661d6", + "type": "influxdb in", + "z": "aab0c030de7df5cc", + "d": true, + "g": "04de52a5f5237233", + "influxdb": "e408b55d1dc6870d", + "name": "", + "query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"temperature\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )", + "rawOutput": false, + "precision": "", + "retentionPolicy": "", + "org": "iotredloop", + "x": 300, + "y": 1000, + "wires": [ + [ + "3bd22b1740d9d8b2" + ] + ] + }, + { + "id": "b3f5b970a9b03119", + "type": "link in", + "z": "aab0c030de7df5cc", + "d": true, + "g": "04de52a5f5237233", + "name": "home - ui - chart outdoor temperature", + "links": [ + "004bb30c27c94fb4" + ], + "x": 135, + "y": 1000, + "wires": [ + [ + "43e68c058a7661d6" + ] + ] + }, + { + "id": "53e61734d5875604", + "type": "ui-chart", + "z": "aab0c030de7df5cc", + "d": true, + "g": "84416ebc7a349dd4", + "group": "7f89503f8062898b", + "name": "chart outdoor humidity", + "label": "", + "order": 1, + "chartType": "line", + "category": "_field", + "categoryType": "property", + "xAxisProperty": "_time", + "xAxisPropertyType": "msg", + "xAxisType": "time", + "yAxisProperty": "_value", + "ymin": "", + "ymax": "", + "action": "replace", + "pointShape": "false", + "pointRadius": "2", + "showLegend": false, + "removeOlder": 1, + "removeOlderUnit": "86400", + "removeOlderPoints": "100", + "colors": [ + "#1f77b4", + "#aec7e8", + "#ff7f0e", + "#2ca02c", + "#98df8a", + "#d62728", + "#ff9896", + "#9467bd", + "#c5b0d5" + ], + "width": 6, + "height": "6", + "className": "", + "x": 540, + "y": 1120, + "wires": [ + [] + ] + }, + { + "id": "f9ae231f709aa135", + "type": "influxdb in", + "z": "aab0c030de7df5cc", + "d": true, + "g": "84416ebc7a349dd4", + "influxdb": "e408b55d1dc6870d", + "name": "", + "query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"humidity\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )", + "rawOutput": false, + "precision": "", + "retentionPolicy": "", + "org": "iotredloop", + "x": 300, + "y": 1120, + "wires": [ + [ + "53e61734d5875604" + ] + ] + }, + { + "id": "50bc182c3569008c", + "type": "link in", + "z": "aab0c030de7df5cc", + "d": true, + "g": "84416ebc7a349dd4", + "name": "home - ui - chart outdoor humidity", + "links": [ + "004bb30c27c94fb4" + ], + "x": 135, + "y": 1120, + "wires": [ + [ + "f9ae231f709aa135" + ] + ] + }, + { + "id": "3ea1bb4e5ff3e53a", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "balloon", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 4620, + "wires": [ + [ + "417fbb2eb3a923ed", + "e5267eaa5761e821" + ] + ] + }, + { + "id": "bf71f08c103ab9bf", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[{'label':'N/A','value':''}]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4560, + "wires": [ + [ + "417fbb2eb3a923ed", + "309706fa0b759907" + ] + ] + }, + { + "id": "b8ed61d35607d163", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "room - ui - cumulus - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 4440, + "wires": [ + [ + "3fbe41cfcb30b29f", + "92f84c3ac249f995" + ] + ] + }, + { + "id": "4c93ed77e680ad7a", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "room - ui - cumulus - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 4500, + "wires": [ + [ + "a2ed4c3380f63344" + ] + ] + }, + { + "id": "f1cc0ee7d294d743", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "room - ui - cumulus - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 1515, + "y": 4620, + "wires": [] + }, + { + "id": "6899ef31a931df1c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1380, + "y": 4620, + "wires": [ + [ + "f1cc0ee7d294d743" + ] + ] + }, + { + "id": "a2ed4c3380f63344", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "cumulus", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 4500, + "wires": [ + [ + "8a877a1f0ad96a9f", + "c17dc35aca46f82c" + ] + ] + }, + { + "id": "d66a556c8804aa96", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "group": "d9226f161296ef5d", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1170, + "y": 4440, + "wires": [] + }, + { + "id": "5a3cf6eb82112299", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun cumulus", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 4440, + "wires": [ + [ + "d66a556c8804aa96" + ] + ] + }, + { + "id": "3fbe41cfcb30b29f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Cumulus\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4440, + "wires": [ + [ + "5a3cf6eb82112299", + "86bf6614eaaed4fb" + ] + ] + }, + { + "id": "8a877a1f0ad96a9f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Cumulus\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4500, + "wires": [ + [ + "86bf6614eaaed4fb", + "5a3cf6eb82112299" + ] + ] + }, + { + "id": "86bf6614eaaed4fb", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1000, + "y": 4500, + "wires": [ + [] + ] + }, + { + "id": "417fbb2eb3a923ed", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "balloon", + "label": "", + "group": "d9226f161296ef5d", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "balloon", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "water-boiler", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "water-boiler-off", + "offcolor": "grey", + "x": 1200, + "y": 4620, + "wires": [ + [ + "6899ef31a931df1c" + ] + ] + }, + { + "id": "c17dc35aca46f82c", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 4620, + "wires": [ + [ + "3ea1bb4e5ff3e53a" + ] + ] + }, + { + "id": "92f84c3ac249f995", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 4560, + "wires": [ + [ + "bf71f08c103ab9bf" + ] + ] + }, + { + "id": "e5267eaa5761e821", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?\"Cumulus en marche\":\"Cumulus à l'arrêt\"", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4680, + "wires": [ + [ + "309706fa0b759907" + ] + ] + }, + { + "id": "309706fa0b759907", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "9b11e3a85026957b", + "group": "d9226f161296ef5d", + "order": 2, + "width": "5", + "height": "1", + "name": "balloon (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1010, + "y": 4680, + "wires": [] + }, + { + "id": "367ddcc943fb234e", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "cmv", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 4980, + "wires": [ + [ + "18531ed9a7d1af80", + "a80b7e58e8b264f6" + ] + ] + }, + { + "id": "b3e71ec6ef25bab1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[{'label':'N/A','value':''}]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4920, + "wires": [ + [ + "a80b7e58e8b264f6", + "204d9ba1193ba811" + ] + ] + }, + { + "id": "ef2769915480b0f6", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "room - ui - airflow - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 4800, + "wires": [ + [ + "174edf5e342c527e", + "3902e4b05ebbbfaf" + ] + ] + }, + { + "id": "4bea82d34bf79d91", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "room - ui - airflow - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 4860, + "wires": [ + [ + "9cab1d58af793873" + ] + ] + }, + { + "id": "a4dbfc219ae2dcd8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1360, + "y": 4980, + "wires": [ + [ + "ef9a2b91b42284b7" + ] + ] + }, + { + "id": "9cab1d58af793873", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "airflow", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 4860, + "wires": [ + [ + "ede7f68b56764350", + "0e12a116cd5a645e" + ] + ] + }, + { + "id": "174edf5e342c527e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Ventilation\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4800, + "wires": [ + [ + "1fc6514464e22856", + "c7121847509f1d08" + ] + ] + }, + { + "id": "c7121847509f1d08", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune ventialtion", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 4800, + "wires": [ + [ + "989b7d7ecba85616" + ] + ] + }, + { + "id": "989b7d7ecba85616", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "group": "2da57f82233c276b", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1170, + "y": 4800, + "wires": [] + }, + { + "id": "1fc6514464e22856", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1000, + "y": 4860, + "wires": [ + [] + ] + }, + { + "id": "ede7f68b56764350", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Ventilation\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 4860, + "wires": [ + [ + "1fc6514464e22856", + "c7121847509f1d08" + ] + ] + }, + { + "id": "a80b7e58e8b264f6", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "cmv", + "label": "", + "group": "2da57f82233c276b", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "cmv", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "fan", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "fan-off", + "offcolor": "grey", + "x": 1170, + "y": 4980, + "wires": [ + [ + "a4dbfc219ae2dcd8" + ] + ] + }, + { + "id": "0e12a116cd5a645e", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "250 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 4980, + "wires": [ + [ + "367ddcc943fb234e" + ] + ] + }, + { + "id": "3902e4b05ebbbfaf", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 4920, + "wires": [ + [ + "b3e71ec6ef25bab1" + ] + ] + }, + { + "id": "18531ed9a7d1af80", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?\"Ventilation en marche\":\"Ventialtion à l'arrêt\"", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5040, + "wires": [ + [ + "204d9ba1193ba811" + ] + ] + }, + { + "id": "204d9ba1193ba811", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "group": "2da57f82233c276b", + "order": 2, + "width": "5", + "height": "1", + "name": "cmv (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1000, + "y": 5040, + "wires": [] + }, + { + "id": "ef9a2b91b42284b7", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "486786996f8e512b", + "name": "room - ui - airflow - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 1495, + "y": 4980, + "wires": [] + }, + { + "id": "d5a2226e7f24deda", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "alexa", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 5340, + "wires": [ + [ + "22b72e8520c12a40", + "626e1746ced16a4c" + ] + ] + }, + { + "id": "fc6548d30b49e4d0", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "volume", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1380, + "y": 5340, + "wires": [ + [ + "8a6f97848d7b1a2c" + ] + ] + }, + { + "id": "c72c85a05c057eb6", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "room - ui - alexa - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 5220, + "wires": [ + [ + "63f153f048b1295f" + ] + ] + }, + { + "id": "5f5234be5bf42b3a", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "room - ui - alexa - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 5160, + "wires": [ + [ + "2723a51ead34599a", + "c90a6ddfd223af79" + ] + ] + }, + { + "id": "8a6f97848d7b1a2c", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "room - ui - alexa - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 1515, + "y": 5340, + "wires": [] + }, + { + "id": "63f153f048b1295f", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "volume", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 5220, + "wires": [ + [ + "2923cfe0def7c0ad", + "7475623aa0893639" + ] + ] + }, + { + "id": "130d6f3ddbbffdae", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5280, + "wires": [ + [ + "ed28b9fa5c455f0c", + "626e1746ced16a4c" + ] + ] + }, + { + "id": "2923cfe0def7c0ad", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Alexa\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5220, + "wires": [ + [ + "ecf7b9d277d80279", + "f1f8c53efd3838a8" + ] + ] + }, + { + "id": "2723a51ead34599a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Alexa\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5160, + "wires": [ + [ + "f1f8c53efd3838a8", + "ecf7b9d277d80279" + ] + ] + }, + { + "id": "f1f8c53efd3838a8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun assistant Alexa", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 5160, + "wires": [ + [ + "a1ac1aa658d58387" + ] + ] + }, + { + "id": "a1ac1aa658d58387", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "group": "e807a144dac63624", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1170, + "y": 5160, + "wires": [] + }, + { + "id": "ecf7b9d277d80279", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1000, + "y": 5220, + "wires": [ + [] + ] + }, + { + "id": "7475623aa0893639", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 5340, + "wires": [ + [ + "d5a2226e7f24deda" + ] + ] + }, + { + "id": "626e1746ced16a4c", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "group": "e807a144dac63624", + "name": "alexa", + "label": "", + "tooltip": "", + "order": 3, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "alexa", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": 0, + "max": "99", + "step": "1", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1210, + "y": 5340, + "wires": [ + [ + "fc6548d30b49e4d0" + ] + ] + }, + { + "id": "c90a6ddfd223af79", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 5280, + "wires": [ + [ + "130d6f3ddbbffdae" + ] + ] + }, + { + "id": "22b72e8520c12a40", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Volume à '&msg.payload", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 5400, + "wires": [ + [ + "ed28b9fa5c455f0c" + ] + ] + }, + { + "id": "ed28b9fa5c455f0c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "48dd7d439fba9eda", + "group": "e807a144dac63624", + "order": 2, + "width": "2", + "height": "1", + "name": "volume (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1030, + "y": 5400, + "wires": [] + }, + { + "id": "511350d9f34ce767", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "room - ui - clock - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 5520, + "wires": [ + [ + "acfd5fff279e15de", + "61ed7b677cad542e" + ] + ] + }, + { + "id": "7aaae6f81accc54b", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "room - ui - clock - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 5580, + "wires": [ + [ + "20845c677b589935" + ] + ] + }, + { + "id": "20845c677b589935", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "clock", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 5580, + "wires": [ + [ + "f77679312512233c", + "a87c14e04ed75544" + ] + ] + }, + { + "id": "acfd5fff279e15de", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Horloge\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5520, + "wires": [ + [ + "674dd33239c8c3e7", + "4f9d174388a77ea5" + ] + ] + }, + { + "id": "674dd33239c8c3e7", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune horloge", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 5520, + "wires": [ + [ + "d2846ad9c776708a" + ] + ] + }, + { + "id": "d2846ad9c776708a", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "group": "3f693201c9dfc80c", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1170, + "y": 5520, + "wires": [] + }, + { + "id": "4f9d174388a77ea5", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1000, + "y": 5580, + "wires": [ + [] + ] + }, + { + "id": "f77679312512233c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Horloge\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5580, + "wires": [ + [ + "4f9d174388a77ea5", + "674dd33239c8c3e7" + ] + ] + }, + { + "id": "f5f89b6efb421399", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5640, + "wires": [ + [ + "f718cac6e7ec06c5", + "79fe08848f124125", + "af46ed6d30e60e05", + "a65aa958e432f9a5" + ] + ] + }, + { + "id": "5673ce2c9088f475", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "work day", + "vt": "str" + }, + { + "t": "eq", + "v": "work eve", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 670, + "y": 5760, + "wires": [ + [ + "f718cac6e7ec06c5", + "7f2dd140d1c88cb9" + ], + [ + "79fe08848f124125", + "dad6bb6b40fef41e" + ] + ] + }, + { + "id": "f718cac6e7ec06c5", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "work day", + "label": "", + "group": "3f693201c9dfc80c", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "work day", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "briefcase-clock", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "briefcase-clock-outline", + "offcolor": "grey", + "x": 1220, + "y": 5760, + "wires": [ + [] + ] + }, + { + "id": "79fe08848f124125", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "work eve", + "label": "", + "group": "3f693201c9dfc80c", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "work eve", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "briefcase-clock", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "briefcase-clock-outline", + "offcolor": "grey", + "x": 1220, + "y": 5820, + "wires": [ + [] + ] + }, + { + "id": "a87c14e04ed75544", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 5760, + "wires": [ + [ + "5673ce2c9088f475" + ] + ] + }, + { + "id": "61ed7b677cad542e", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 5640, + "wires": [ + [ + "f5f89b6efb421399" + ] + ] + }, + { + "id": "af46ed6d30e60e05", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "group": "3f693201c9dfc80c", + "order": 2, + "width": "5", + "height": "1", + "name": "work day (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1020, + "y": 5760, + "wires": [] + }, + { + "id": "7f2dd140d1c88cb9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'Jour de travail':'Jour de repos'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5760, + "wires": [ + [ + "af46ed6d30e60e05" + ] + ] + }, + { + "id": "dad6bb6b40fef41e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'Veille de travail':'Veille de repos'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5820, + "wires": [ + [ + "a65aa958e432f9a5" + ] + ] + }, + { + "id": "a65aa958e432f9a5", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "90046052f5bcb625", + "group": "3f693201c9dfc80c", + "order": 4, + "width": "5", + "height": "1", + "name": "work eve (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1020, + "y": 5820, + "wires": [] + }, + { + "id": "0691d9a37686f464", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "actif", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 6180, + "wires": [ + [ + "6495af71a7195bb4", + "4edb12baad4c5bd0" + ] + ] + }, + { + "id": "3c6ee783748b235e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "telegram", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1520, + "y": 6180, + "wires": [ + [ + "1d6b2ca73ae11560" + ] + ] + }, + { + "id": "761cb37547fe4dc2", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "room - ui - telegram - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 135, + "y": 6000, + "wires": [ + [ + "befe8bfd3d3446cc" + ] + ] + }, + { + "id": "a033c6dbdefb80f9", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "room - ui - telegram - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 135, + "y": 5940, + "wires": [ + [ + "45ec5e8001fad3fa", + "58e1c9e33b0a90f3" + ] + ] + }, + { + "id": "1d6b2ca73ae11560", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "room - ui - alexa - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 1655, + "y": 6180, + "wires": [] + }, + { + "id": "befe8bfd3d3446cc", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "telegram", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 6000, + "wires": [ + [ + "661f755eabe3c32b", + "bf793e9865c9e834" + ] + ] + }, + { + "id": "2936573edcac41e4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 6060, + "wires": [ + [ + "6495af71a7195bb4", + "97087ce25aae4515", + "5f4fe9067e1fd9a0" + ] + ] + }, + { + "id": "661f755eabe3c32b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Telegram\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 6000, + "wires": [ + [ + "42cb1c19195b7aaf", + "9c9162236e4b23a6" + ] + ] + }, + { + "id": "45ec5e8001fad3fa", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Telegram\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 5940, + "wires": [ + [ + "9c9162236e4b23a6", + "42cb1c19195b7aaf" + ] + ] + }, + { + "id": "9c9162236e4b23a6", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun assistant Telegram", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 5940, + "wires": [ + [ + "ce9aca3509c7c320" + ] + ] + }, + { + "id": "ce9aca3509c7c320", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "group": "cfbed463c3e70b05", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1170, + "y": 5940, + "wires": [] + }, + { + "id": "42cb1c19195b7aaf", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 1000, + "y": 6000, + "wires": [ + [] + ] + }, + { + "id": "6495af71a7195bb4", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "actif", + "label": "", + "group": "cfbed463c3e70b05", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "actif", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "cog", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "cog-off-outline", + "offcolor": "grey", + "x": 1170, + "y": 6180, + "wires": [ + [ + "3c6ee783748b235e" + ] + ] + }, + { + "id": "bf793e9865c9e834", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 500, + "y": 6180, + "wires": [ + [ + "0691d9a37686f464", + "5ab53f45b766d97b" + ] + ] + }, + { + "id": "5f4fe9067e1fd9a0", + "type": "ui-text-input", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "group": "cfbed463c3e70b05", + "name": "", + "label": "Message", + "order": 4, + "width": "5", + "height": "1", + "topic": "topic", + "topicType": "msg", + "mode": "text", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 1000, + "y": 6240, + "wires": [ + [ + "b4a9884f6b553123" + ] + ] + }, + { + "id": "05b5a24c1547eb9a", + "type": "ui-button", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "group": "cfbed463c3e70b05", + "name": "send", + "label": "", + "order": 5, + "width": "1", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "send", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "message", + "topicType": "str", + "x": 990, + "y": 6300, + "wires": [ + [ + "12697008ac3ea99d" + ] + ] + }, + { + "id": "b4a9884f6b553123", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "flow", + "rules": [ + { + "t": "set", + "p": "telegram.content", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1170, + "y": 6240, + "wires": [ + [] + ] + }, + { + "id": "5ab53f45b766d97b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "empty", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 670, + "y": 6240, + "wires": [ + [ + "5f4fe9067e1fd9a0" + ] + ] + }, + { + "id": "86f604b24a73308c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "telegram.content", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1340, + "y": 6300, + "wires": [ + [ + "5ab53f45b766d97b", + "25609df681da5c1b", + "3c6ee783748b235e" + ] + ] + }, + { + "id": "25609df681da5c1b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Message telegram envoyé", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1560, + "y": 6300, + "wires": [ + [ + "d2194c4dad790ec4" + ] + ] + }, + { + "id": "d2194c4dad790ec4", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "telegram - ui - notification", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 1735, + "y": 6300, + "wires": [] + }, + { + "id": "12697008ac3ea99d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "flow", + "property": "telegram.content", + "propertyType": "flow", + "rules": [ + { + "t": "nempty" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1170, + "y": 6300, + "wires": [ + [ + "86f604b24a73308c" + ] + ] + }, + { + "id": "97087ce25aae4515", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "group": "cfbed463c3e70b05", + "order": 2, + "width": "5", + "height": "1", + "name": "actif (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1000, + "y": 6180, + "wires": [] + }, + { + "id": "4edb12baad4c5bd0", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 6180, + "wires": [ + [ + "97087ce25aae4515" + ] + ] + }, + { + "id": "58e1c9e33b0a90f3", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "35fa81df547b4491", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 270, + "y": 6060, + "wires": [ + [ + "2936573edcac41e4" + ] + ] + }, + { + "id": "af81b0a41bcf99df", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.aperture", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1440, + "wires": [ + [ + "e9d47e8d56320c0f", + "e1468bd07f7833d2", + "fd32c9160864393c", + "e92aecb14578b6f2", + "8511a4bc957115d4", + "08e432ec0eeec199", + "c7e91ffdb1fe5a2e", + "280b16759c50ec5d", + "f098e88f376a791b", + "c3a2ed381aba6a33", + "3fecb11ba25e2884", + "48fe1d10a3a37a85" + ] + ] + }, + { + "id": "6d6224968ba7c5d9", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "room - ui - aperture - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 1380, + "wires": [ + [ + "4468e5d7d722f524" + ] + ] + }, + { + "id": "c6f86ceb44d413ed", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "room - ui - aperture - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 1320, + "wires": [ + [ + "227b59bd71d4ea5a", + "557d6369a161cd69" + ] + ] + }, + { + "id": "227b59bd71d4ea5a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Ouvertures\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1320, + "wires": [ + [ + "b2720f096a0b488e", + "f87851f6472299ee" + ] + ] + }, + { + "id": "0667b13392452757", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Ouvertures\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1380, + "wires": [ + [ + "b2720f096a0b488e", + "f87851f6472299ee" + ] + ] + }, + { + "id": "b4bde00bbca1c9c3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4780, + "y": 1560, + "wires": [ + [ + "1c698f378d20c0c8" + ] + ] + }, + { + "id": "1c698f378d20c0c8", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "room - ui - aperture - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 4915, + "y": 1560, + "wires": [] + }, + { + "id": "4468e5d7d722f524", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "aperture", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 1380, + "wires": [ + [ + "0667b13392452757", + "b129a76c891d0014" + ] + ] + }, + { + "id": "b2720f096a0b488e", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4420, + "y": 1380, + "wires": [ + [] + ] + }, + { + "id": "d0e8c2ef168e690c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 1320, + "wires": [] + }, + { + "id": "f87851f6472299ee", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune ouverture", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4420, + "y": 1320, + "wires": [ + [ + "d0e8c2ef168e690c" + ] + ] + }, + { + "id": "e9d47e8d56320c0f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 2, + "width": "5", + "height": "1", + "name": "aperture 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4440, + "y": 1620, + "wires": [] + }, + { + "id": "e1468bd07f7833d2", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 4, + "width": "5", + "height": "1", + "name": "aperture 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4440, + "y": 1680, + "wires": [] + }, + { + "id": "fd32c9160864393c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 6, + "width": "5", + "height": "1", + "name": "aperture 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4440, "y": 1740, "wires": [] + }, + { + "id": "e92aecb14578b6f2", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 8, + "width": "5", + "height": "1", + "name": "aperture 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4440, + "y": 1800, + "wires": [] + }, + { + "id": "8511a4bc957115d4", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 10, + "width": "5", + "height": "1", + "name": "aperture 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4440, + "y": 1860, + "wires": [] + }, + { + "id": "08e432ec0eeec199", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "name": "shutter", + "label": "", + "tooltip": "", + "order": 13, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "shutter", + "topicType": "str", + "thumbLabel": true, + "min": 0, + "max": "99", + "step": 1, + "className": "", + "x": 4610, + "y": 1560, + "wires": [ + [ + "b4bde00bbca1c9c3" + ] + ] + }, + { + "id": "04ae900e7a8e5ac8", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3420, + "y": 1620, + "wires": [ + [ + "248ab1ebea76ecae" + ] + ] + }, + { + "id": "248ab1ebea76ecae", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'La '&$string(msg.trans)&' est '&(msg.payload?'ouverte':'fermée')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3610, + "y": 1620, + "wires": [ + [ + "95a3aef8bfc333e1" + ] + ] + }, + { + "id": "95a3aef8bfc333e1", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "exists", + "property": "index.aperture", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3770, + "y": 1620, + "wires": [ + [ + "d5b35dbd65c8c2b9" + ], + [ + "3cecd7c4f79dd7fe" + ] + ] + }, + { + "id": "d5b35dbd65c8c2b9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.battery[msg.field]", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3930, + "y": 1620, + "wires": [ + [ + "6b79b66429521305" + ] + ] + }, + { + "id": "3cecd7c4f79dd7fe", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.aperture", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.aperture[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3930, + "y": 1680, + "wires": [ + [ + "6b79b66429521305" + ] + ] + }, + { + "id": "6b79b66429521305", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 4090, + "y": 1620, + "wires": [ + [ + "99abe6ab320bf6f1", + "c7e91ffdb1fe5a2e" + ], + [ + "5e8e9f03c92c72bf", + "280b16759c50ec5d" + ], + [ + "cec940e246132dd8", + "f098e88f376a791b" + ], + [ + "bc3f1c8b796e6e94", + "c3a2ed381aba6a33" + ], + [ + "55458de5ef49bb91", + "3fecb11ba25e2884" + ] + ] + }, + { + "id": "7b3f1aaec004ecfa", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "shutter", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "shutter", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3230, + "y": 1560, + "wires": [ + [ + "08e432ec0eeec199", + "22b8700637e578f9" + ], + [ + "04ae900e7a8e5ac8" + ] + ] + }, + { + "id": "c7e91ffdb1fe5a2e", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "aperture 01", + "label": "", + "group": "1af30d82c94d6258", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "purple", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door", + "offcolor": "grey", + "x": 4650, + "y": 1620, + "wires": [ + [] + ] + }, + { + "id": "99abe6ab320bf6f1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1620, + "wires": [ + [ + "e9d47e8d56320c0f" + ] + ] + }, + { + "id": "5e8e9f03c92c72bf", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1680, + "wires": [ + [ + "e1468bd07f7833d2" + ] + ] + }, + { + "id": "cec940e246132dd8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1740, + "wires": [ + [ + "fd32c9160864393c" + ] + ] + }, + { + "id": "bc3f1c8b796e6e94", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1800, + "wires": [ + [ + "e92aecb14578b6f2" + ] + ] + }, + { + "id": "55458de5ef49bb91", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1860, + "wires": [ + [ + "8511a4bc957115d4" + ] + ] + }, + { + "id": "f098e88f376a791b", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "aperture 03", + "label": "", + "group": "1af30d82c94d6258", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "purple", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door", + "offcolor": "grey", + "x": 4650, + "y": 1740, + "wires": [ + [] + ] + }, + { + "id": "c3a2ed381aba6a33", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "aperture 04", + "label": "", + "group": "1af30d82c94d6258", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "purple", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door", + "offcolor": "grey", + "x": 4650, + "y": 1800, + "wires": [ + [] + ] + }, + { + "id": "3fecb11ba25e2884", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "aperture 05", + "label": "", + "group": "1af30d82c94d6258", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "purple", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door", + "offcolor": "grey", + "x": 4650, + "y": 1860, + "wires": [ + [] + ] + }, + { + "id": "b129a76c891d0014", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 1560, + "wires": [ + [ + "7b3f1aaec004ecfa" + ] + ] + }, + { + "id": "280b16759c50ec5d", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "aperture 02", + "label": "", + "group": "1af30d82c94d6258", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "purple", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door", + "offcolor": "grey", + "x": 4650, + "y": 1680, + "wires": [ + [] + ] + }, + { + "id": "48fe1d10a3a37a85", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "group": "1af30d82c94d6258", + "order": 12, + "width": "2", + "height": "1", + "name": "shutter (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 1560, + "wires": [] + }, + { + "id": "22b8700637e578f9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Volet à '&msg.payload&'%'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 1560, + "wires": [ + [ + "48fe1d10a3a37a85" + ] + ] + }, + { + "id": "557d6369a161cd69", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "af3293313a492113", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 1440, + "wires": [ + [ + "af81b0a41bcf99df" + ] + ] + }, + { + "id": "2ac79808a71cacb1", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "value", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "0", + "vt": "num" + }, + { + "t": "false" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 3610, + "y": 2220, + "wires": [ + [ + "191e72ca8d7deecf" + ], + [ + "191e72ca8d7deecf" + ], + [ + "4f140e0b7bb038a6" + ] + ] + }, + { + "id": "191e72ca8d7deecf", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "false", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "0", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 2220, + "wires": [ + [ + "fa4bf780a0f34822" + ] + ] + }, + { + "id": "4f140e0b7bb038a6", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "true", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "4", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 2280, + "wires": [ + [ + "fa4bf780a0f34822" + ] + ] + }, + { + "id": "68a06a849669ed22", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4960, + "y": 2220, + "wires": [ + [ + "60368ba60dfa48a3" + ] + ] + }, + { + "id": "3add54b2949c23ec", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.light", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2100, + "wires": [ + [ + "246e55d292fe0f91", + "c863abef8c3dded1", + "ea7482edacd656f7", + "1b1ed5db08fa516f", + "f9014dd138d70756", + "4ed4b78dc034a6c9", + "3ea01cdef09d498b", + "912811332f1921eb", + "0fa65bab1ee8568a", + "7280c7be1481cd40" + ] + ] + }, + { + "id": "5f3f7c722ac856e1", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "boot light", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 1980, + "wires": [ + [ + "cae48203992d0c58", + "689e466df8f8c5c5" + ] + ] + }, + { + "id": "60368ba60dfa48a3", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "room - ui - light - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 5095, + "y": 2220, + "wires": [] + }, + { + "id": "6d778528ac85f061", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "room - ui - light - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 2040, + "wires": [ + [ + "428c4887aeb1b8bf" + ] + ] + }, + { + "id": "2416eed2ad7fb675", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Lumières\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2040, + "wires": [ + [ + "2c47c873b0dfeb59", + "eba701577392c37d" + ] + ] + }, + { + "id": "cae48203992d0c58", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Lumières\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 1980, + "wires": [ + [ + "eba701577392c37d", + "2c47c873b0dfeb59" + ] + ] + }, + { + "id": "d01299e89f601944", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 4250, + "y": 2220, + "wires": [ + [ + "caf4791638c6f452", + "246e55d292fe0f91" + ], + [ + "4a96348eb648c97c", + "1b1ed5db08fa516f" + ], + [ + "a95a9af12bbd3646", + "f9014dd138d70756" + ], + [ + "27111821405d5644", + "3ea01cdef09d498b" + ], + [ + "7de1422ef0247bba", + "0fa65bab1ee8568a" + ] + ] + }, + { + "id": "c9b6f8136ca0bd79", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.light[msg.field]", + "tot": "flow" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 2220, + "wires": [ + [ + "d01299e89f601944" + ] + ] + }, + { + "id": "fa4bf780a0f34822", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "exists", + "property": "index.light", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3930, + "y": 2220, + "wires": [ + [ + "c9b6f8136ca0bd79" + ], + [ + "2839b9ab42bf552c" + ] + ] + }, + { + "id": "2839b9ab42bf552c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.light", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.light[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 2280, + "wires": [ + [ + "d01299e89f601944" + ] + ] + }, + { + "id": "428c4887aeb1b8bf", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "light", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 2040, + "wires": [ + [ + "2416eed2ad7fb675", + "283d461116d4ddad" + ] + ] + }, + { + "id": "2c47c873b0dfeb59", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4580, + "y": 2040, + "wires": [ + [] + ] + }, + { + "id": "eba701577392c37d", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune lumière", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4580, + "y": 1980, + "wires": [ + [ + "f0f16786525d1859" + ] + ] + }, + { + "id": "f0f16786525d1859", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4750, + "y": 1980, + "wires": [] + }, + { + "id": "246e55d292fe0f91", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "light 01", + "label": "", + "group": "0b218c608a39070c", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "4", + "onvalueType": "num", + "onicon": "lightbulb-on", + "oncolor": "yellow", + "offvalue": "0", + "offvalueType": "num", + "officon": "lightbulb-off-outline", + "offcolor": "grey", + "x": 4780, + "y": 2220, + "wires": [ + [ + "68a06a849669ed22" + ] + ] + }, + { + "id": "c863abef8c3dded1", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 2, + "width": "5", + "height": "1", + "name": "light 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2220, + "wires": [] + }, + { + "id": "caf4791638c6f452", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2220, + "wires": [ + [ + "c863abef8c3dded1" + ] + ] + }, + { + "id": "1b1ed5db08fa516f", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "light 02", + "label": "", + "group": "0b218c608a39070c", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "4", + "onvalueType": "num", + "onicon": "lightbulb-on", + "oncolor": "yellow", + "offvalue": "0", + "offvalueType": "num", + "officon": "lightbulb-off-outline", + "offcolor": "grey", + "x": 4780, + "y": 2280, + "wires": [ + [ + "68a06a849669ed22" + ] + ] + }, + { + "id": "ea7482edacd656f7", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 4, + "width": "5", + "height": "1", + "name": "light 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2280, + "wires": [] + }, + { + "id": "4a96348eb648c97c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2280, + "wires": [ + [ + "ea7482edacd656f7" + ] + ] + }, + { + "id": "f9014dd138d70756", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "light 03", + "label": "", + "group": "0b218c608a39070c", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "4", + "onvalueType": "num", + "onicon": "lightbulb-on", + "oncolor": "yellow", + "offvalue": "0", + "offvalueType": "num", + "officon": "lightbulb-off-outline", + "offcolor": "grey", + "x": 4780, + "y": 2340, + "wires": [ + [ + "68a06a849669ed22" + ] + ] + }, + { + "id": "4ed4b78dc034a6c9", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 6, + "width": "5", + "height": "1", + "name": "light 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2340, + "wires": [] + }, + { + "id": "a95a9af12bbd3646", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2340, + "wires": [ + [ + "4ed4b78dc034a6c9" + ] + ] + }, + { + "id": "3ea01cdef09d498b", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "light 04", + "label": "", + "group": "0b218c608a39070c", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "4", + "onvalueType": "num", + "onicon": "lightbulb-on", + "oncolor": "yellow", + "offvalue": "0", + "offvalueType": "num", + "officon": "lightbulb-off-outline", + "offcolor": "grey", + "x": 4780, + "y": 2400, + "wires": [ + [ + "68a06a849669ed22" + ] + ] + }, + { + "id": "912811332f1921eb", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 8, + "width": "5", + "height": "1", + "name": "light 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2400, + "wires": [] + }, + { + "id": "27111821405d5644", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2400, + "wires": [ + [ + "912811332f1921eb" + ] + ] + }, + { + "id": "0fa65bab1ee8568a", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "light 05", + "label": "", + "group": "0b218c608a39070c", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "4", + "onvalueType": "num", + "onicon": "lightbulb-on", + "oncolor": "yellow", + "offvalue": "0", + "offvalueType": "num", + "officon": "lightbulb-off-outline", + "offcolor": "grey", + "x": 4780, + "y": 2460, + "wires": [ + [ + "68a06a849669ed22" + ] + ] + }, + { + "id": "7280c7be1481cd40", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "group": "0b218c608a39070c", + "order": 10, + "width": "5", + "height": "1", + "name": "light 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2460, + "wires": [] + }, + { + "id": "7de1422ef0247bba", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4410, + "y": 2460, + "wires": [ + [ + "7280c7be1481cd40" + ] + ] + }, + { + "id": "ac514b49b2018467", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 2220, + "wires": [ + [ + "639c01a19ae1a820" + ] + ] + }, + { + "id": "639c01a19ae1a820", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'Lumière '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 2220, + "wires": [ + [ + "2ac79808a71cacb1" + ] + ] + }, + { + "id": "283d461116d4ddad", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 2220, + "wires": [ + [ + "ac514b49b2018467" + ] + ] + }, + { + "id": "689e466df8f8c5c5", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "edfd321fdae55df0", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 2100, + "wires": [ + [ + "3add54b2949c23ec" + ] + ] + }, + { + "id": "197667ca4e9cdc54", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "value", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "gt", + "v": "0", + "vt": "num" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 3450, + "y": 2820, + "wires": [ + [ + "3bb2a286f77067a9" + ], + [ + "3bb2a286f77067a9" + ], + [ + "3996f05011c215e4" + ] + ] + }, + { + "id": "3bb2a286f77067a9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "true", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3610, + "y": 2820, + "wires": [ + [ + "9f05d32a15544b29" + ] + ] + }, + { + "id": "3996f05011c215e4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "false", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3610, + "y": 2880, + "wires": [ + [ + "9f05d32a15544b29" + ] + ] + }, + { + "id": "c81bc2696963b090", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4820, + "y": 2820, + "wires": [ + [ + "89d8b374ec0c8d64" + ] + ] + }, + { + "id": "24db240be39b9a2a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.outlet", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2700, + "wires": [ + [ + "e163c6ad2e2227d2", + "b7a0e4825f15e4a2", + "5dd5e52ffb38148e", + "1d70860e3f2cb386", + "c3d1a81ac0746df1", + "ad569b0b9d7deb89", + "41ab086b1bafeb41", + "7d41bae2b6bb3e6a", + "fbcc441952a7c9da", + "4f0a78c09e88ac52" + ] + ] + }, + { + "id": "e804fb2bad48ce0d", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "boot outlet", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 2580, + "wires": [ + [ + "f31fb49f04148c64", + "17e00a50bca8a511" + ] + ] + }, + { + "id": "89d8b374ec0c8d64", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "room - ui - outlet - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 4955, + "y": 2820, + "wires": [] + }, + { + "id": "cdf2ad725fe8ba54", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "room - ui - outlet - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 2640, + "wires": [ + [ + "465d409da29c386d" + ] + ] + }, + { + "id": "7e8e1ce7414fbc36", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 4090, + "y": 2820, + "wires": [ + [ + "d84590265fa8da9a", + "e163c6ad2e2227d2" + ], + [ + "0217c5132e551168", + "5dd5e52ffb38148e" + ], + [ + "1ebdf2bf88a5d99c", + "c3d1a81ac0746df1" + ], + [ + "0bac1457f2c3c913", + "41ab086b1bafeb41" + ], + [ + "825e71c37d3c674a", + "fbcc441952a7c9da" + ] + ] + }, + { + "id": "38b3477f104b9d36", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.outlet", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.outlet[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3930, + "y": 2880, + "wires": [ + [ + "7e8e1ce7414fbc36" + ] + ] + }, + { + "id": "bc14b0716cd43585", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.outlet[msg.field]", + "tot": "flow" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3930, + "y": 2820, + "wires": [ + [ + "7e8e1ce7414fbc36" + ] + ] + }, + { + "id": "9f05d32a15544b29", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "exists", + "property": "index.outlet", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3770, + "y": 2820, + "wires": [ + [ + "bc14b0716cd43585" + ], + [ + "38b3477f104b9d36" + ] + ] + }, + { + "id": "465d409da29c386d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "outlet", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 2640, + "wires": [ + [ + "a3a4cb31ebdbb809", + "142c5e63a5897acb" + ] + ] + }, + { + "id": "a3a4cb31ebdbb809", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Prises\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2640, + "wires": [ + [ + "a0e5fc984e2031a8", + "8e95a2345189876d" + ] + ] + }, + { + "id": "f31fb49f04148c64", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Prises\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2580, + "wires": [ + [ + "8e95a2345189876d", + "a0e5fc984e2031a8" + ] + ] + }, + { + "id": "a0e5fc984e2031a8", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4420, + "y": 2640, + "wires": [ + [] + ] + }, + { + "id": "8e95a2345189876d", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune lumière", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4420, + "y": 2580, + "wires": [ + [ + "6a476a7e62631884" + ] + ] + }, + { + "id": "6a476a7e62631884", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4590, + "y": 2580, + "wires": [] + }, + { + "id": "e163c6ad2e2227d2", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "sw outlet 1", + "label": "", + "group": "73569c6c69828619", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off-outline", + "offcolor": "grey", + "x": 4630, + "y": 2820, + "wires": [ + [ + "c81bc2696963b090" + ] + ] + }, + { + "id": "b7a0e4825f15e4a2", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 2, + "width": "5", + "height": "1", + "name": "txt outlet 1", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 2820, + "wires": [] + }, + { + "id": "d84590265fa8da9a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "state", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2820, + "wires": [ + [ + "b7a0e4825f15e4a2" + ] + ] + }, + { + "id": "5dd5e52ffb38148e", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "sw outlet 2", + "label": "", + "group": "73569c6c69828619", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off-outline", + "offcolor": "grey", + "x": 4630, + "y": 2880, + "wires": [ + [ + "c81bc2696963b090" + ] + ] + }, + { + "id": "1d70860e3f2cb386", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 4, + "width": "5", + "height": "1", + "name": "txt outlet 2", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 2880, + "wires": [] + }, + { + "id": "0217c5132e551168", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "state", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2880, + "wires": [ + [ + "1d70860e3f2cb386" + ] + ] + }, + { + "id": "c3d1a81ac0746df1", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "sw outlet 3", + "label": "", + "group": "73569c6c69828619", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off-outline", + "offcolor": "grey", + "x": 4630, + "y": 2940, + "wires": [ + [ + "c81bc2696963b090" + ] + ] + }, + { + "id": "ad569b0b9d7deb89", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 6, + "width": "5", + "height": "1", + "name": "txt outlet 3", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 2940, + "wires": [] + }, + { + "id": "1ebdf2bf88a5d99c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "state", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 2940, + "wires": [ + [ + "ad569b0b9d7deb89" + ] + ] + }, + { + "id": "41ab086b1bafeb41", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "sw outlet 4", + "label": "", + "group": "73569c6c69828619", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off-outline", + "offcolor": "grey", + "x": 4630, + "y": 3000, + "wires": [ + [ + "c81bc2696963b090" + ] + ] + }, + { + "id": "7d41bae2b6bb3e6a", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 8, + "width": "5", + "height": "1", + "name": "txt outlet 4", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 3000, + "wires": [] + }, + { + "id": "0bac1457f2c3c913", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "state", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 3000, + "wires": [ + [ + "7d41bae2b6bb3e6a" + ] + ] + }, + { + "id": "fbcc441952a7c9da", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "sw outlet 5", + "label": "", + "group": "73569c6c69828619", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off-outline", + "offcolor": "grey", + "x": 4630, + "y": 3060, + "wires": [ + [ + "c81bc2696963b090" + ] + ] + }, + { + "id": "4f0a78c09e88ac52", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "group": "73569c6c69828619", + "order": 10, + "width": "5", + "height": "1", + "name": "txt outlet 5", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 3060, + "wires": [] + }, + { + "id": "825e71c37d3c674a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "state", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Prise '&msg.trans&(msg.payload?' allumée':' éteinte')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4250, + "y": 3060, + "wires": [ + [ + "4f0a78c09e88ac52" + ] + ] + }, + { + "id": "b2a2d9d670500881", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 2820, + "wires": [ + [ + "197667ca4e9cdc54" + ] + ] + }, + { + "id": "142c5e63a5897acb", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 2820, + "wires": [ + [ + "b2a2d9d670500881" + ] + ] + }, + { + "id": "17e00a50bca8a511", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "cfd2fc533d86ab94", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 2700, + "wires": [ + [ + "24db240be39b9a2a" + ] + ] + }, + { + "id": "cfe03bc0196989f5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.battery", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3300, + "wires": [ + [ + "9d9a9a166ac14a87", + "28383999950bc1ee", + "ab5070d8e2289db3", + "0b3ada9a154f8404", + "2a102caad43b93f6", + "47c0bf4047a645fd", + "82e320bbcec01dec", + "47b82a6a458a6f25", + "3744b28f43a5bb2b", + "8ffac054b06e408a", + "25c121f68955e797", + "815d0596d6b03dba", + "3cfbbbdec94a469c", + "8ba2fb2ae10d5f8a", + "12443294ea11d3c1", + "91b94a9d896e7e78", + "b525d95cb47e05e7", + "bb111dd74584e31e", + "d23964f1034cc332", + "2bf944e313216712" + ] + ] + }, + { + "id": "80c3ce3d49bd331a", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "boot battery", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 3180, + "wires": [ + [ + "ffe2a77ad5394471", + "3c125c12aed493a6" + ] + ] + }, + { + "id": "3bc4111acd19c69a", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "room - ui - battery - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 3240, + "wires": [ + [ + "b70f40f78b57a9e9" + ] + ] + }, + { + "id": "55f064781c895892", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Batteries\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3240, + "wires": [ + [ + "276edc393b2b8718", + "f6a8e56f95d2e83f" + ] + ] + }, + { + "id": "ffe2a77ad5394471", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Batteries\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3180, + "wires": [ + [ + "276edc393b2b8718", + "f6a8e56f95d2e83f" + ] + ] + }, + { + "id": "44e6838e903b3566", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.battery[msg.field]", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 3420, + "wires": [ + [ + "b184b34450d43367" + ] + ] + }, + { + "id": "90d065528adcfb62", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.battery", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.battery[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 3480, + "wires": [ + [ + "b184b34450d43367" + ] + ] + }, + { + "id": "c6dfc590e40a4878", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "exists", + "property": "index.battery", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3610, + "y": 3420, + "wires": [ + [ + "44e6838e903b3566" + ], + [ + "90d065528adcfb62" + ] + ] + }, + { + "id": "b184b34450d43367", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + }, + { + "t": "eq", + "v": "6", + "vt": "num" + }, + { + "t": "eq", + "v": "7", + "vt": "num" + }, + { + "t": "eq", + "v": "8", + "vt": "num" + }, + { + "t": "eq", + "v": "9", + "vt": "num" + }, + { + "t": "eq", + "v": "10", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 10, + "x": 3930, + "y": 3420, + "wires": [ + [ + "c8c8e81ef5a7a779", + "25c121f68955e797" + ], + [ + "3d01f404ce8e4f2e", + "815d0596d6b03dba" + ], + [ + "0f1d5657502571bf", + "3cfbbbdec94a469c" + ], + [ + "3272b2668f830af9", + "8ba2fb2ae10d5f8a" + ], + [ + "699ec99e677c7dc7", + "12443294ea11d3c1" + ], + [ + "7cdf67aea069fe46", + "91b94a9d896e7e78" + ], + [ + "510ee05b3d6497d4", + "b525d95cb47e05e7" + ], + [ + "8b02b507d6467dcb", + "bb111dd74584e31e" + ], + [ + "aa91636fd91822cd", + "d23964f1034cc332" + ], + [ + "999a7018d46ffc73", + "2bf944e313216712" + ] + ] + }, + { + "id": "b70f40f78b57a9e9", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "battery", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 3240, + "wires": [ + [ + "55f064781c895892", + "65d2993302d9e21b" + ] + ] + }, + { + "id": "276edc393b2b8718", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4260, + "y": 3240, + "wires": [ + [] + ] + }, + { + "id": "9d9a9a166ac14a87", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 2, + "width": "5", + "height": "1", + "name": "battery 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3420, + "wires": [] + }, + { + "id": "fb5636e8659a3798", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'Niveau de batterie '&$string(msg.trans)&' à '&$string(msg.payload)&'%'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload>30", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 3420, + "wires": [ + [ + "c6dfc590e40a4878" + ] + ] + }, + { + "id": "f6a8e56f95d2e83f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune batterie", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4260, + "y": 3180, + "wires": [ + [ + "188c450232762d9f" + ] + ] + }, + { + "id": "188c450232762d9f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 3180, + "wires": [] + }, + { + "id": "28383999950bc1ee", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 4, + "width": "5", + "height": "1", + "name": "battery 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3480, + "wires": [] + }, + { + "id": "ab5070d8e2289db3", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 6, + "width": "5", + "height": "1", + "name": "battery 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3540, + "wires": [] + }, + { + "id": "0b3ada9a154f8404", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 8, + "width": "5", + "height": "1", + "name": "battery 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3600, + "wires": [] + }, + { + "id": "2a102caad43b93f6", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 10, + "width": "5", + "height": "1", + "name": "battery 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3660, + "wires": [] + }, + { + "id": "47c0bf4047a645fd", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 12, + "width": "5", + "height": "1", + "name": "battery 06 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3720, + "wires": [] + }, + { + "id": "82e320bbcec01dec", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 14, + "width": "5", + "height": "1", + "name": "battery 07 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3780, + "wires": [] + }, + { + "id": "8ffac054b06e408a", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 16, + "width": "5", + "height": "1", + "name": "battery 08 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3840, + "wires": [] + }, + { + "id": "47b82a6a458a6f25", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 18, + "width": "5", + "height": "1", + "name": "battery 09 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3900, + "wires": [] + }, + { + "id": "3744b28f43a5bb2b", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "group": "a8c4088f8bac709d", + "order": 20, + "width": "5", + "height": "1", + "name": "battery 10 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 3960, + "wires": [] + }, + { + "id": "65e427add3ad7d5c", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 3420, + "wires": [ + [ + "fb5636e8659a3798" + ] + ] + }, + { + "id": "65d2993302d9e21b", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 3420, + "wires": [ + [ + "65e427add3ad7d5c" + ] + ] + }, + { + "id": "999a7018d46ffc73", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3960, + "wires": [ + [ + "3744b28f43a5bb2b" + ] + ] + }, + { + "id": "aa91636fd91822cd", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3900, + "wires": [ + [ + "47b82a6a458a6f25" + ] + ] + }, + { + "id": "8b02b507d6467dcb", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3840, + "wires": [ + [ + "8ffac054b06e408a" + ] + ] + }, + { + "id": "510ee05b3d6497d4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3780, + "wires": [ + [ + "82e320bbcec01dec" + ] + ] + }, + { + "id": "7cdf67aea069fe46", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3720, + "wires": [ + [ + "47c0bf4047a645fd" + ] + ] + }, + { + "id": "699ec99e677c7dc7", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3660, + "wires": [ + [ + "2a102caad43b93f6" + ] + ] + }, + { + "id": "3272b2668f830af9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3600, + "wires": [ + [ + "0b3ada9a154f8404" + ] + ] + }, + { + "id": "0f1d5657502571bf", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3540, + "wires": [ + [ + "ab5070d8e2289db3" + ] + ] + }, + { + "id": "3d01f404ce8e4f2e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3480, + "wires": [ + [ + "28383999950bc1ee" + ] + ] + }, + { + "id": "c8c8e81ef5a7a779", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 3420, + "wires": [ + [ + "9d9a9a166ac14a87" + ] + ] + }, + { + "id": "25c121f68955e797", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 01", + "label": "", + "group": "a8c4088f8bac709d", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3420, + "wires": [ + [] + ] + }, + { + "id": "815d0596d6b03dba", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 02", + "label": "", + "group": "a8c4088f8bac709d", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3480, + "wires": [ + [] + ] + }, + { + "id": "3cfbbbdec94a469c", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 03", + "label": "", + "group": "a8c4088f8bac709d", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3540, + "wires": [ + [] + ] + }, + { + "id": "12443294ea11d3c1", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 05", + "label": "", + "group": "a8c4088f8bac709d", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3660, + "wires": [ + [] + ] + }, + { + "id": "91b94a9d896e7e78", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 06", + "label": "", + "group": "a8c4088f8bac709d", + "order": 13, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3720, + "wires": [ + [] + ] + }, + { + "id": "b525d95cb47e05e7", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 07", + "label": "", + "group": "a8c4088f8bac709d", + "order": 15, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3780, + "wires": [ + [] + ] + }, + { + "id": "bb111dd74584e31e", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 08", + "label": "", + "group": "a8c4088f8bac709d", + "order": 17, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3840, + "wires": [ + [] + ] + }, + { + "id": "d23964f1034cc332", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 09", + "label": "", + "group": "a8c4088f8bac709d", + "order": 19, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3900, + "wires": [ + [] + ] + }, + { + "id": "2bf944e313216712", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 10", + "label": "", + "group": "a8c4088f8bac709d", + "order": 21, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3960, + "wires": [ + [] + ] + }, + { + "id": "8ba2fb2ae10d5f8a", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "battery 04", + "label": "", + "group": "a8c4088f8bac709d", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "battery-high", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "batery-off", + "offcolor": "teal", + "x": 4480, + "y": 3600, + "wires": [ + [] + ] + }, + { + "id": "3c125c12aed493a6", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "e9b46670bc7283be", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 3300, + "wires": [ + [ + "cfe03bc0196989f5" + ] + ] + }, + { + "id": "0556201671b0285e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.seen", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4200, + "wires": [ + [ + "f8cca546e04eb48f", + "1debe93af15df2b3", + "3e0c8f89c9ad2c59", + "190cd8656368dea1", + "c98bc4cd21e70d26", + "8796089a19e22fe4", + "41178c35c209aac0", + "9251d2904afbdbde", + "b5e1b5781b6067d7", + "b8af5e3061c3fd5a", + "82643125d8e7bae9", + "4c31f8c823796b9d", + "68ac0321fc403487", + "a3c2ced4e60f6aff", + "4155536a5f1ff708", + "1fde23683c7ff5d8", + "97b05bc746ae98eb", + "8422a13fa9dcca51", + "80ccf2e84836c3b9", + "2da226787a8deb51" + ] + ] + }, + { + "id": "fa99b8b44e92f9be", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "boot seen", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 4080, + "wires": [ + [ + "1b2fe53f9f4527dc", + "52be14f6c954aaec" + ] + ] + }, + { + "id": "8b94e3c61d1c7e5d", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "room - ui - seen - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 4140, + "wires": [ + [ + "ff242d9ca428610e" + ] + ] + }, + { + "id": "eeae2c986dcc4fd5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Controles\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4140, + "wires": [ + [ + "1191a4f0f73ac0a2", + "a53d417127982757" + ] + ] + }, + { + "id": "1b2fe53f9f4527dc", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Controles\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4080, + "wires": [ + [ + "1191a4f0f73ac0a2", + "a53d417127982757" + ] + ] + }, + { + "id": "e3241702c334a377", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.seen[msg.field]", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3970, + "y": 4320, + "wires": [ + [ + "aeac844b38d85fc6" + ] + ] + }, + { + "id": "6eac671a3b5398ca", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.seen", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.seen[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3970, + "y": 4380, + "wires": [ + [ + "aeac844b38d85fc6" + ] + ] + }, + { + "id": "8e7e9d97a6c879c9", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "exists", + "property": "index.seen", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3810, + "y": 4320, + "wires": [ + [ + "e3241702c334a377" + ], + [ + "6eac671a3b5398ca" + ] + ] + }, + { + "id": "aeac844b38d85fc6", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + }, + { + "t": "eq", + "v": "6", + "vt": "num" + }, + { + "t": "eq", + "v": "7", + "vt": "num" + }, + { + "t": "eq", + "v": "8", + "vt": "num" + }, + { + "t": "eq", + "v": "9", + "vt": "num" + }, + { + "t": "eq", + "v": "10", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 10, + "x": 4130, + "y": 4320, + "wires": [ + [ + "9fe066202aa296f9", + "82643125d8e7bae9" + ], + [ + "31e66543c855840b", + "4c31f8c823796b9d" + ], + [ + "b308c52fad5e3003", + "68ac0321fc403487" + ], + [ + "7a5403df0db1a125", + "a3c2ced4e60f6aff" + ], + [ + "a1fecc9bf61cbecc", + "4155536a5f1ff708" + ], + [ + "75b4cef66ff5b569", + "1fde23683c7ff5d8" + ], + [ + "ef1a0dcd39c2ebfa", + "97b05bc746ae98eb" + ], + [ + "6c04bba89bc4d93f", + "8422a13fa9dcca51" + ], + [ + "395a54a40d57ff29", + "80ccf2e84836c3b9" + ], + [ + "24163d2ac0806a9e", + "2da226787a8deb51" + ] + ] + }, + { + "id": "764bf2a2badb8940", + "type": "moment", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "format date", + "topic": "", + "input": "payload", + "inputType": "msg", + "inTz": "Europe/Paris", + "adjAmount": 0, + "adjType": "days", + "adjDir": "add", + "format": "LLLL", + "locale": "fr-FR", + "output": "date", + "outputType": "msg", + "outTz": "Europe/Paris", + "x": 3470, + "y": 4320, + "wires": [ + [ + "78919c58e908a11f" + ] + ] + }, + { + "id": "ff242d9ca428610e", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "seen", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 4140, + "wires": [ + [ + "eeae2c986dcc4fd5", + "5bc2441e8a6e0e82" + ] + ] + }, + { + "id": "1191a4f0f73ac0a2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun élément", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4500, + "y": 4080, + "wires": [ + [ + "8cfe805309e7f14b" + ] + ] + }, + { + "id": "8cfe805309e7f14b", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4670, + "y": 4080, + "wires": [] + }, + { + "id": "a53d417127982757", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4500, + "y": 4140, + "wires": [ + [] + ] + }, + { + "id": "f8cca546e04eb48f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 2, + "width": "5", + "height": "1", + "name": "seen 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4320, + "wires": [] + }, + { + "id": "78919c58e908a11f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "$string(msg.trans)&' vue le '&$string(msg.date)", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "(msg.payload+86400000)>$millis()", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3650, + "y": 4320, + "wires": [ + [ + "8e7e9d97a6c879c9" + ] + ] + }, + { + "id": "1debe93af15df2b3", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 4, + "width": "5", + "height": "1", + "name": "seen 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4380, + "wires": [] + }, + { + "id": "3e0c8f89c9ad2c59", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 6, + "width": "5", + "height": "1", + "name": "seen 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4440, + "wires": [] + }, + { + "id": "190cd8656368dea1", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 8, + "width": "5", + "height": "1", + "name": "seen 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4500, + "wires": [] + }, + { + "id": "c98bc4cd21e70d26", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 10, + "width": "5", + "height": "1", + "name": "seen 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4560, + "wires": [] + }, + { + "id": "8796089a19e22fe4", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 12, + "width": "5", + "height": "1", + "name": "seen 06 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4620, + "wires": [] + }, + { + "id": "41178c35c209aac0", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 14, + "width": "5", + "height": "1", + "name": "seen 07 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4680, + "wires": [] + }, + { + "id": "9251d2904afbdbde", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 16, + "width": "5", + "height": "1", + "name": "seen 08 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4740, + "wires": [] + }, + { + "id": "b5e1b5781b6067d7", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 18, + "width": "5", + "height": "1", + "name": "seen 09 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4800, + "wires": [] + }, + { + "id": "b8af5e3061c3fd5a", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "group": "b09caf5d92ae87c0", + "order": 20, + "width": "5", + "height": "1", + "name": "seen 10 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4510, + "y": 4860, + "wires": [] + }, + { + "id": "2c43537a0cf9e307", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 4320, + "wires": [ + [ + "764bf2a2badb8940" + ] + ] + }, + { + "id": "5bc2441e8a6e0e82", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 4320, + "wires": [ + [ + "2c43537a0cf9e307" + ] + ] + }, + { + "id": "24163d2ac0806a9e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4860, + "wires": [ + [ + "b8af5e3061c3fd5a" + ] + ] + }, + { + "id": "395a54a40d57ff29", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4800, + "wires": [ + [ + "b5e1b5781b6067d7" + ] + ] + }, + { + "id": "6c04bba89bc4d93f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4740, + "wires": [ + [ + "9251d2904afbdbde" + ] + ] + }, + { + "id": "ef1a0dcd39c2ebfa", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4680, + "wires": [ + [ + "41178c35c209aac0" + ] + ] + }, + { + "id": "75b4cef66ff5b569", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4620, + "wires": [ + [ + "8796089a19e22fe4" + ] + ] + }, + { + "id": "a1fecc9bf61cbecc", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4560, + "wires": [ + [ + "c98bc4cd21e70d26" + ] + ] + }, + { + "id": "7a5403df0db1a125", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4500, + "wires": [ + [ + "190cd8656368dea1" + ] + ] + }, + { + "id": "b308c52fad5e3003", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4440, + "wires": [ + [ + "3e0c8f89c9ad2c59" + ] + ] + }, + { + "id": "31e66543c855840b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4380, + "wires": [ + [ + "1debe93af15df2b3" + ] + ] + }, + { + "id": "9fe066202aa296f9", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4330, + "y": 4320, + "wires": [ + [ + "f8cca546e04eb48f" + ] + ] + }, + { + "id": "82643125d8e7bae9", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 01", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4320, + "wires": [ + [] + ] + }, + { + "id": "4155536a5f1ff708", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 05", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4560, + "wires": [ + [] + ] + }, + { + "id": "a3c2ced4e60f6aff", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 04", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4500, + "wires": [ + [] + ] + }, + { + "id": "68ac0321fc403487", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 03", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4440, + "wires": [ + [] + ] + }, + { + "id": "4c31f8c823796b9d", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 02", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4380, + "wires": [ + [] + ] + }, + { + "id": "1fde23683c7ff5d8", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 06", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 13, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4620, + "wires": [ + [] + ] + }, + { + "id": "97b05bc746ae98eb", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 07", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 15, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4680, + "wires": [ + [] + ] + }, + { + "id": "8422a13fa9dcca51", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 08", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 17, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4740, + "wires": [ + [] + ] + }, + { + "id": "80ccf2e84836c3b9", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 09", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 19, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4800, + "wires": [ + [] + ] + }, + { + "id": "2da226787a8deb51", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "seen 10", + "label": "", + "group": "b09caf5d92ae87c0", + "order": 21, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "eye-outline", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "eye-off", + "offcolor": "teal", + "x": 4700, + "y": 4860, + "wires": [ + [] + ] + }, + { + "id": "52be14f6c954aaec", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "55552ce2fcab661e", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 4200, + "wires": [ + [ + "0556201671b0285e" + ] + ] + }, + { + "id": "b456712facdb8f99", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.power", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5100, + "wires": [ + [ + "55023cb2a00a038e", + "962301d657a74408", + "eb891ec4b0a07cfe", + "3a821e7da32a3561", + "cf55e9963f617d17", + "0109e7088ec7040c", + "fb14e8329c2c77c8", + "57516cd75e235df7", + "a4d7386dea5c2987", + "628630966e299dce", + "2c3c9f634bfc436b", + "01d61d75b12c086d", + "c18aac930067b2c5", + "f996e39f99239f8f", + "ef696b96885101ae", + "48a0cc5241d2549f", + "8360781eafaecfeb", + "c19b6e3169ebc381", + "1127e98653b5a27a", + "4183c52e2b2c85f1" + ] + ] + }, + { + "id": "9eec2a58eea2f794", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "boot power", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 4980, + "wires": [ + [ + "438956ec28a1644e", + "5fbe5259545c7e84" + ] + ] + }, + { + "id": "f7f44b26d3494661", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "room - ui - power - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 5040, + "wires": [ + [ + "37342614a8bd3e6c" + ] + ] + }, + { + "id": "60ec289316037465", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Puissances\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5040, + "wires": [ + [ + "36b6ced1758a043b", + "a0f6a91598012b9a" + ] + ] + }, + { + "id": "438956ec28a1644e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Puissances\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 4980, + "wires": [ + [ + "36b6ced1758a043b", + "a0f6a91598012b9a" + ] + ] + }, + { + "id": "e9be7bc2cece9e6b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.power[msg.field]", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 5220, + "wires": [ + [ + "159905f89f658c3d" + ] + ] + }, + { + "id": "4ad7e0736cb2f3e1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.power", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.power[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 5280, + "wires": [ + [ + "159905f89f658c3d" + ] + ] + }, + { + "id": "3dacfc613c2d6949", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "exists", + "property": "index.power", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3610, + "y": 5220, + "wires": [ + [ + "e9be7bc2cece9e6b" + ], + [ + "4ad7e0736cb2f3e1" + ] + ] + }, + { + "id": "159905f89f658c3d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + }, + { + "t": "eq", + "v": "6", + "vt": "num" + }, + { + "t": "eq", + "v": "7", + "vt": "num" + }, + { + "t": "eq", + "v": "8", + "vt": "num" + }, + { + "t": "eq", + "v": "9", + "vt": "num" + }, + { + "t": "eq", + "v": "10", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 10, + "x": 3930, + "y": 5220, + "wires": [ + [ + "865b1e2e30c1406e", + "2c3c9f634bfc436b" + ], + [ + "d48781c900013ee5", + "01d61d75b12c086d" + ], + [ + "11459cef626d8dd5", + "c18aac930067b2c5" + ], + [ + "d66db8193ecbf5f3", + "f996e39f99239f8f" + ], + [ + "1c5b37e443ea3a54", + "ef696b96885101ae" + ], + [ + "b4ade4e43f7f5619", + "48a0cc5241d2549f" + ], + [ + "8c26987fb7503da4", + "8360781eafaecfeb" + ], + [ + "65ba5d4db252f373", + "c19b6e3169ebc381" + ], + [ + "95dbd0806f6e50e3", + "1127e98653b5a27a" + ], + [ + "5d01b01dda282884", + "4183c52e2b2c85f1" + ] + ] + }, + { + "id": "37342614a8bd3e6c", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "power", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 5040, + "wires": [ + [ + "60ec289316037465", + "fc59359ff0fc3578" + ] + ] + }, + { + "id": "36b6ced1758a043b", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4260, + "y": 5040, + "wires": [ + [] + ] + }, + { + "id": "55023cb2a00a038e", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 2, + "width": "5", + "height": "1", + "name": "power 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5220, + "wires": [] + }, + { + "id": "65f301cc578576a3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'Puissance '&$string(msg.trans)&' à '&$string(msg.payload)&'W'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload>0", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 5220, + "wires": [ + [ + "3dacfc613c2d6949" + ] + ] + }, + { + "id": "a0f6a91598012b9a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune puissance", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4260, + "y": 4980, + "wires": [ + [ + "47f442e7e5c89435" + ] + ] + }, + { + "id": "47f442e7e5c89435", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 4980, + "wires": [] + }, + { + "id": "962301d657a74408", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 4, + "width": "5", + "height": "1", + "name": "power 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5280, + "wires": [] + }, + { + "id": "eb891ec4b0a07cfe", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 6, + "width": "5", + "height": "1", + "name": "power 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5340, + "wires": [] + }, + { + "id": "3a821e7da32a3561", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 8, + "width": "5", + "height": "1", + "name": "power 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5400, + "wires": [] + }, + { + "id": "cf55e9963f617d17", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 10, + "width": "5", + "height": "1", + "name": "power 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5460, + "wires": [] + }, + { + "id": "0109e7088ec7040c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 12, + "width": "5", + "height": "1", + "name": "power 06 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5520, + "wires": [] + }, + { + "id": "fb14e8329c2c77c8", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 14, + "width": "5", + "height": "1", + "name": "power 07 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5580, + "wires": [] + }, + { + "id": "628630966e299dce", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 16, + "width": "5", + "height": "1", + "name": "power 08 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5640, + "wires": [] + }, + { + "id": "57516cd75e235df7", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 18, + "width": "5", + "height": "1", + "name": "power 09 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5700, + "wires": [] + }, + { + "id": "a4d7386dea5c2987", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "group": "fb4d25e6dae3c8fd", + "order": 20, + "width": "5", + "height": "1", + "name": "power 10 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 5760, + "wires": [] + }, + { + "id": "0aa9ffb8eb4cd831", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 5220, + "wires": [ + [ + "65f301cc578576a3" + ] + ] + }, + { + "id": "fc59359ff0fc3578", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 5220, + "wires": [ + [ + "0aa9ffb8eb4cd831" + ] + ] + }, + { + "id": "5d01b01dda282884", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5760, + "wires": [ + [ + "a4d7386dea5c2987" + ] + ] + }, + { + "id": "95dbd0806f6e50e3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5700, + "wires": [ + [ + "57516cd75e235df7" + ] + ] + }, + { + "id": "65ba5d4db252f373", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5640, + "wires": [ + [ + "628630966e299dce" + ] + ] + }, + { + "id": "8c26987fb7503da4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5580, + "wires": [ + [ + "fb14e8329c2c77c8" + ] + ] + }, + { + "id": "b4ade4e43f7f5619", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5520, + "wires": [ + [ + "0109e7088ec7040c" + ] + ] + }, + { + "id": "1c5b37e443ea3a54", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5460, + "wires": [ + [ + "cf55e9963f617d17" + ] + ] + }, + { + "id": "d66db8193ecbf5f3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5400, + "wires": [ + [ + "3a821e7da32a3561" + ] + ] + }, + { + "id": "11459cef626d8dd5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5340, + "wires": [ + [ + "eb891ec4b0a07cfe" + ] + ] + }, + { + "id": "d48781c900013ee5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5280, + "wires": [ + [ + "962301d657a74408" + ] + ] + }, + { + "id": "865b1e2e30c1406e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 5220, + "wires": [ + [ + "55023cb2a00a038e" + ] + ] + }, + { + "id": "2c3c9f634bfc436b", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 01", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5220, + "wires": [ + [] + ] + }, + { + "id": "c18aac930067b2c5", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 03", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5340, + "wires": [ + [] + ] + }, + { + "id": "01d61d75b12c086d", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 02", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5280, + "wires": [ + [] + ] + }, + { + "id": "f996e39f99239f8f", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 04", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 9, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5400, + "wires": [ + [] + ] + }, + { + "id": "ef696b96885101ae", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 05", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 11, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5460, + "wires": [ + [] + ] + }, + { + "id": "48a0cc5241d2549f", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 06", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 13, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5520, + "wires": [ + [] + ] + }, + { + "id": "8360781eafaecfeb", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 07", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 15, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5580, + "wires": [ + [] + ] + }, + { + "id": "c19b6e3169ebc381", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 08", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 17, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5640, + "wires": [ + [] + ] + }, + { + "id": "1127e98653b5a27a", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 09", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 19, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5700, + "wires": [ + [] + ] + }, + { + "id": "4183c52e2b2c85f1", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "power 10", + "label": "", + "group": "fb4d25e6dae3c8fd", + "order": 21, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "meter-electric", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "meter-electric-outline", + "offcolor": "grey", + "x": 4480, + "y": 5760, + "wires": [ + [] + ] + }, + { + "id": "5fbe5259545c7e84", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "3a47bd390630563b", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 5100, + "wires": [ + [ + "b456712facdb8f99" + ] + ] + }, + { + "id": "d59c718c84ca0c45", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "color", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5020, + "y": 6120, + "wires": [ + [ + "165086f5eeb45889" + ] + ] + }, + { + "id": "6974a448a0c0c431", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.color", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6000, + "wires": [ + [ + "230b7b206cbda14f", + "93ed91bff23ccae6", + "c369c0df4127877c", + "11e8012b77840d09", + "862bd44140894d07", + "095ea15b0b3f109a", + "a0a1caf4e95d5a2b", + "cd27de68d9e0cbc4", + "67c80d1f6f7f4480", + "eb3242a9703a76df" + ] + ] + }, + { + "id": "3f26e65e9e14b140", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "boot color", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 5880, + "wires": [ + [ + "b5aef2391dcbcf4b", + "bc769b10e03830e1" + ] + ] + }, + { + "id": "165086f5eeb45889", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "room - ui - color - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 5155, + "y": 6120, + "wires": [] + }, + { + "id": "26655f3b52fd390b", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "room - ui - color - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 5940, + "wires": [ + [ + "35aed833a6fd89c9" + ] + ] + }, + { + "id": "4f053126291b5804", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 4310, + "y": 6120, + "wires": [ + [ + "d963d406dbde22b8", + "095ea15b0b3f109a" + ], + [ + "037325aca1c515e3", + "a0a1caf4e95d5a2b" + ], + [ + "7b14579668c1af3f", + "cd27de68d9e0cbc4" + ], + [ + "fa5d15edbf72f647", + "67c80d1f6f7f4480" + ], + [ + "b2e76bba0862cef8", + "eb3242a9703a76df" + ] + ] + }, + { + "id": "656edb879555e04e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.color", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.color[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4150, + "y": 6240, + "wires": [ + [ + "4f053126291b5804" + ] + ] + }, + { + "id": "fd6b81a32bb8d757", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.color[msg.field]", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4150, + "y": 6180, + "wires": [ + [ + "4f053126291b5804" + ] + ] + }, + { + "id": "17650efb4c8eac6d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "exists", + "property": "index.color", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3990, + "y": 6180, + "wires": [ + [ + "fd6b81a32bb8d757" + ], + [ + "656edb879555e04e" + ] + ] + }, + { + "id": "35aed833a6fd89c9", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "color", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 5940, + "wires": [ + [ + "78389a0e3cf80961", + "e4063f822861a8e3" + ] + ] + }, + { + "id": "78389a0e3cf80961", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Couleurs\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 5940, + "wires": [ + [ + "9bdb14efae83866c", + "6aa0699f4eb35c14" + ] + ] + }, + { + "id": "b5aef2391dcbcf4b", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Couleurs\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 5880, + "wires": [ + [ + "6aa0699f4eb35c14", + "9bdb14efae83866c" + ] + ] + }, + { + "id": "9bdb14efae83866c", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4640, + "y": 5940, + "wires": [ + [] + ] + }, + { + "id": "6aa0699f4eb35c14", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune gestion de couleurs", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4640, + "y": 5880, + "wires": [ + [ + "b21e235c39afcb03" + ] + ] + }, + { + "id": "b21e235c39afcb03", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4810, + "y": 5880, + "wires": [] + }, + { + "id": "bd985c8dc9609479", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 6120, + "wires": [ + [ + "b2358081175b0301" + ] + ] + }, + { + "id": "095ea15b0b3f109a", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "name": "color 01", + "label": "Couleur :", + "tooltip": "", + "order": 3, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "blanc", + "value": "#FFFFFF", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 4840, + "y": 6120, + "wires": [ + [ + "d59c718c84ca0c45" + ] + ] + }, + { + "id": "a0a1caf4e95d5a2b", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "name": "color 02", + "label": "Couleur :", + "tooltip": "", + "order": 5, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "blanc", + "value": "#FFFFFF", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 4840, + "y": 6180, + "wires": [ + [ + "d59c718c84ca0c45" + ] + ] + }, + { + "id": "230b7b206cbda14f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 2, + "width": "4", + "height": "1", + "name": "color 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4650, + "y": 6120, + "wires": [] + }, + { + "id": "93ed91bff23ccae6", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 4, + "width": "4", + "height": "1", + "name": "color 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4650, + "y": 6180, + "wires": [] + }, + { + "id": "c369c0df4127877c", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 6, + "width": "4", + "height": "1", + "name": "color 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4650, + "y": 6240, + "wires": [] + }, + { + "id": "cd27de68d9e0cbc4", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "name": "color 03", + "label": "Couleur :", + "tooltip": "", + "order": 7, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "blanc", + "value": "#FFFFFF", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 4840, + "y": 6240, + "wires": [ + [ + "d59c718c84ca0c45" + ] + ] + }, + { + "id": "11e8012b77840d09", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 8, + "width": "4", + "height": "1", + "name": "color 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4650, + "y": 6300, + "wires": [] + }, + { + "id": "67c80d1f6f7f4480", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "name": "color 04", + "label": "Couleur :", + "tooltip": "", + "order": 9, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "blanc", + "value": "#FFFFFF", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 4840, + "y": 6300, + "wires": [ + [ + "d59c718c84ca0c45" + ] + ] + }, + { + "id": "862bd44140894d07", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "order": 10, + "width": "4", + "height": "1", + "name": "color 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4650, + "y": 6360, + "wires": [] + }, + { + "id": "eb3242a9703a76df", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "group": "377461f11e162f6d", + "name": "color 05", + "label": "Couleur :", + "tooltip": "", + "order": 11, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "blanc", + "value": "#FFFFFF", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 4840, + "y": 6360, + "wires": [ + [ + "d59c718c84ca0c45" + ] + ] + }, + { + "id": "d963d406dbde22b8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6120, + "wires": [ + [ + "230b7b206cbda14f" + ] + ] + }, + { + "id": "037325aca1c515e3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6180, + "wires": [ + [ + "93ed91bff23ccae6" + ] + ] + }, + { + "id": "7b14579668c1af3f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6240, + "wires": [ + [ + "c369c0df4127877c" + ] + ] + }, + { + "id": "fa5d15edbf72f647", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6300, + "wires": [ + [ + "11e8012b77840d09" + ] + ] + }, + { + "id": "b2e76bba0862cef8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4470, + "y": 6360, + "wires": [ + [ + "862bd44140894d07" + ] + ] + }, + { + "id": "46ff4d153fc9736c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'Couleur '&msg.old_trans&' en '&msg.trans", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3830, + "y": 6120, + "wires": [ + [ + "b73d1209033d8724" + ] + ] + }, + { + "id": "04052562e24f52a7", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3640, + "y": 6120, + "wires": [ + [ + "46ff4d153fc9736c" + ] + ] + }, + { + "id": "b2358081175b0301", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "colors", + "rules": [ + { + "t": "set", + "p": "old_payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "old_trans", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "colors", + "pt": "msg", + "to": "{\t '#FFFFFF':'white',\t '#FF0018':'red',\t '#FFFF41':'yellow',\t '#008018':'green',\t '#0000F9':'blue',\t '#86007D':'purple'\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "path_field", + "pt": "msg", + "to": "field", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "colors[msg.payload]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 6120, + "wires": [ + [ + "04052562e24f52a7" + ] + ] + }, + { + "id": "b73d1209033d8724", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "colors", + "rules": [ + { + "t": "set", + "p": "old_payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "[\t {'value':'#FFFFFF','label':'white'},\t {'value':'#FF0018','label':'red'},\t {'value':'#FFFF41','label':'yellow'},\t {'value':'#008018','label':'green'},\t {'value':'#0000F9','label':'blue'},\t {'value':'#86007D','label':'purple'}\t]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "old_trans", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3990, + "y": 6120, + "wires": [ + [ + "929e091f58d7e981" + ] + ] + }, + { + "id": "929e091f58d7e981", + "type": "split", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "", + "x": 4150, + "y": 6120, + "wires": [ + [ + "d23265902eda3894" + ] + ] + }, + { + "id": "d23265902eda3894", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "old_field", + "pt": "msg", + "to": "field", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "payload.label", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3130, + "y": 6180, + "wires": [ + [ + "cbe25ff8706d300b" + ] + ] + }, + { + "id": "a803317ea68e18fc", + "type": "join", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 3670, + "y": 6180, + "wires": [ + [ + "fadfc3bdbc68f76f" + ] + ] + }, + { + "id": "fadfc3bdbc68f76f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "old_payload", + "tot": "msg" + }, + { + "t": "delete", + "p": "old_payload", + "pt": "msg" + }, + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "old_trans", + "tot": "msg" + }, + { + "t": "delete", + "p": "old_trans", + "pt": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "path_field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3830, + "y": 6180, + "wires": [ + [ + "17650efb4c8eac6d" + ] + ] + }, + { + "id": "cbe25ff8706d300b", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3320, + "y": 6180, + "wires": [ + [ + "159202a1e2a32023" + ] + ] + }, + { + "id": "159202a1e2a32023", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload.label", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3510, + "y": 6180, + "wires": [ + [ + "a803317ea68e18fc" + ] + ] + }, + { + "id": "e4063f822861a8e3", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 6120, + "wires": [ + [ + "bd985c8dc9609479" + ] + ] + }, + { + "id": "bc769b10e03830e1", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "65f5bcaeef2cb043", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 6000, + "wires": [ + [ + "6974a448a0c0c431" + ] + ] + }, + { + "id": "42acd7f9ad626301", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "brightness", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4720, + "y": 6720, + "wires": [ + [ + "c17daf8aa7e26a0c" + ] + ] + }, + { + "id": "c3e90ec1d4493bb4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.brightness", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6600, + "wires": [ + [ + "7eacb809027a3f29", + "992d3a4f1f2cef04", + "7f81ef3f4f7d218f", + "6aeea1de4587093e", + "2155a7e805ce62e5", + "db3dc40ea4b498e3", + "65dca07a06ffa9c6", + "d272a453214030a9", + "f89a84a4111a2df9", + "ccd498fdd2090daf" + ] + ] + }, + { + "id": "6ab8f6f585ebee36", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "boot brihgtness", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 6480, + "wires": [ + [ + "af81a38fa86c6cc8", + "1cfe4db12a78f24a" + ] + ] + }, + { + "id": "c17daf8aa7e26a0c", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "room - ui - brihgtness - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 4855, + "y": 6720, + "wires": [] + }, + { + "id": "7379c487515b9889", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "room - ui - brihgtness - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 6540, + "wires": [ + [ + "1b38e8d77f15ac4a" + ] + ] + }, + { + "id": "3a6f2959b098c17e", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + }, + { + "t": "eq", + "v": "4", + "vt": "num" + }, + { + "t": "eq", + "v": "5", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 3930, + "y": 6720, + "wires": [ + [ + "db3dc40ea4b498e3", + "ae5513076154ad8a" + ], + [ + "65dca07a06ffa9c6", + "9a9eba7461771815" + ], + [ + "d272a453214030a9", + "7f33cfc11587b83c" + ], + [ + "f89a84a4111a2df9", + "04f0f1dcc6935c42" + ], + [ + "ccd498fdd2090daf", + "51dd51d87769dfc4" + ] + ] + }, + { + "id": "69f1300be1c6d8ab", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.brightness", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.brightness[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 6780, + "wires": [ + [ + "3a6f2959b098c17e" + ] + ] + }, + { + "id": "32f30c6a0241b184", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.brightness[msg.field]", + "tot": "flow" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 6720, + "wires": [ + [ + "3a6f2959b098c17e" + ] + ] + }, + { + "id": "1313dd5a267993d9", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "exists", + "property": "index.brightness", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3610, + "y": 6720, + "wires": [ + [ + "32f30c6a0241b184" + ], + [ + "69f1300be1c6d8ab" + ] + ] + }, + { + "id": "1b38e8d77f15ac4a", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 6540, + "wires": [ + [ + "d9d65b36d28ee1b5", + "6318eeea1f540ad8" + ] + ] + }, + { + "id": "d9d65b36d28ee1b5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Luminosités\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6540, + "wires": [ + [ + "dbe559c73da68763", + "d88e0ed1a96a90b5" + ] + ] + }, + { + "id": "af81a38fa86c6cc8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Luminosités\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6480, + "wires": [ + [ + "d88e0ed1a96a90b5", + "dbe559c73da68763" + ] + ] + }, + { + "id": "dbe559c73da68763", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4260, + "y": 6540, + "wires": [ + [] + ] + }, + { + "id": "d88e0ed1a96a90b5", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune gestion de couleurs", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4260, + "y": 6480, + "wires": [ + [ + "42c1dae9372de9c6" + ] + ] + }, + { + "id": "42c1dae9372de9c6", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 6480, + "wires": [] + }, + { + "id": "149cc130f5efb763", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 6720, + "wires": [ + [ + "6e9d7cb4048d2eef" + ] + ] + }, + { + "id": "7eacb809027a3f29", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 2, + "width": "2", + "height": "1", + "name": "brihgtness 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4290, + "y": 6720, + "wires": [] + }, + { + "id": "992d3a4f1f2cef04", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 4, + "width": "2", + "height": "1", + "name": "brihgtness 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4290, + "y": 6780, + "wires": [] + }, + { + "id": "7f81ef3f4f7d218f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 6, + "width": "2", + "height": "1", + "name": "brihgtness 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4290, + "y": 6840, + "wires": [] + }, + { + "id": "6aeea1de4587093e", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 8, + "width": "2", + "height": "1", + "name": "brihgtness 04 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4290, + "y": 6900, + "wires": [] + }, + { + "id": "2155a7e805ce62e5", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "order": 10, + "width": "2", + "height": "1", + "name": "brihgtness 05 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4290, + "y": 6960, + "wires": [] + }, + { + "id": "db3dc40ea4b498e3", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "name": "brihgtness 01", + "label": "", + "tooltip": "", + "order": 3, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "255", + "step": 1, + "className": "", + "x": 4520, + "y": 6720, + "wires": [ + [ + "42acd7f9ad626301" + ] + ] + }, + { + "id": "65dca07a06ffa9c6", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "name": "brihgtness 02", + "label": "", + "tooltip": "", + "order": 5, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "255", + "step": 1, + "className": "", + "x": 4520, + "y": 6780, + "wires": [ + [ + "42acd7f9ad626301" + ] + ] + }, + { + "id": "d272a453214030a9", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "name": "brihgtness 03", + "label": "", + "tooltip": "", + "order": 7, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "255", + "step": 1, + "className": "", + "x": 4520, + "y": 6840, + "wires": [ + [ + "42acd7f9ad626301" + ] + ] + }, + { + "id": "f89a84a4111a2df9", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "name": "brihgtness 04", + "label": "", + "tooltip": "", + "order": 9, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "255", + "step": 1, + "className": "", + "x": 4520, + "y": 6900, + "wires": [ + [ + "42acd7f9ad626301" + ] + ] + }, + { + "id": "ccd498fdd2090daf", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "group": "07c72906c906336b", + "name": "brihgtness 05", + "label": "", + "tooltip": "", + "order": 11, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "255", + "step": 1, + "className": "", + "x": 4520, + "y": 6960, + "wires": [ + [ + "42acd7f9ad626301" + ] + ] + }, + { + "id": "6318eeea1f540ad8", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 6720, + "wires": [ + [ + "149cc130f5efb763" + ] + ] + }, + { + "id": "6e9d7cb4048d2eef", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "'Luminosité '&msg.trans&' à '&msg.payload", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 6720, + "wires": [ + [ + "1313dd5a267993d9" + ] + ] + }, + { + "id": "ae5513076154ad8a", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6720, + "wires": [ + [ + "7eacb809027a3f29" + ] + ] + }, + { + "id": "9a9eba7461771815", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6780, + "wires": [ + [ + "992d3a4f1f2cef04" + ] + ] + }, + { + "id": "7f33cfc11587b83c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6840, + "wires": [ + [ + "7f81ef3f4f7d218f" + ] + ] + }, + { + "id": "04f0f1dcc6935c42", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6900, + "wires": [ + [ + "6aeea1de4587093e" + ] + ] + }, + { + "id": "51dd51d87769dfc4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 6960, + "wires": [ + [ + "2155a7e805ce62e5" + ] + ] + }, + { + "id": "1cfe4db12a78f24a", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "14365542ae0790c8", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 6600, + "wires": [ + [ + "c3e90ec1d4493bb4" + ] + ] + }, + { + "id": "9737afb19d9c9fbb", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "room - ui - thermostat - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 5395, + "y": 1320, + "wires": [ + [ + "fbb1bdcb44abce21", + "4b8267934ced5596" + ] + ] + }, + { + "id": "dd49b4996fb683ff", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "room - ui - thermostat - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 5395, + "y": 1380, + "wires": [ + [ + "7e364afe6e09d405" + ] + ] + }, + { + "id": "fbb1bdcb44abce21", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Thermostat\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6485, + "y": 1320, + "wires": [ + [ + "b8374382f89b46c6", + "fafbe160c912822f" + ] + ] + }, + { + "id": "6c6cf33417f59f97", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Thermostat\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6485, + "y": 1380, + "wires": [ + [ + "fafbe160c912822f", + "b8374382f89b46c6" + ] + ] + }, + { + "id": "fc673a36d8691d63", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6485, + "y": 1440, + "wires": [ + [ + "f85914dec075a3d8", + "f968a8fc298f04c3", + "37794c3da2ceda38", + "f23d5105ca948593", + "348134507ffe8815", + "93e874f6e4a1f87a", + "3d40410e159beaab", + "4565730f04bd7072", + "79764253e9e92fda", + "4ad97596d0efa64b", + "63561fec4fba2afd", + "07108de5adf3ae2a", + "bcf6468037b4c2a6", + "4c5adf85df17025b", + "3f9eefa51c1e5e9e", + "dfd8650d923f73e4", + "53f7b3195f6dfeed", + "6cc81c8342d6ef1c", + "99e789a941d2af52", + "f7ed99ce22cd37cb", + "cb3f8f9fa322b59f", + "51dc21bc28ea3f06", + "272807d6b707d92f", + "4540d4f432f8742d", + "6d0cb16590b1da18", + "bfb0a473b6a09c81", + "61d316384ef1521b", + "8c3c9bc4a66b1e32", + "ff2211c1efd24971", + "33fde1af7428bf26", + "f814aebd5bd599b5", + "25b3542fda8fae4d", + "e223793b9998818b" + ] + ] + }, + { + "id": "37aa96c6d80d8ade", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "thermostat", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 7165, + "y": 1680, + "wires": [ + [ + "1ef76a4c1fab9b78" + ] + ] + }, + { + "id": "1ef76a4c1fab9b78", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "room - ui - thermostat - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 7255, + "y": 1680, + "wires": [] + }, + { + "id": "adc6196b15cf8c39", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "actif", + "vt": "str" + }, + { + "t": "eq", + "v": "status", + "vt": "str" + }, + { + "t": "eq", + "v": "heat request", + "vt": "str" + }, + { + "t": "eq", + "v": "pilot", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture opened", + "vt": "str" + }, + { + "t": "eq", + "v": "delayed aperture", + "vt": "str" + }, + { + "t": "eq", + "v": "temperature setpoint", + "vt": "str" + }, + { + "t": "eq", + "v": "indoor temperature", + "vt": "str" + }, + { + "t": "eq", + "v": "outdoor temperature", + "vt": "str" + }, + { + "t": "eq", + "v": "operating mode", + "vt": "str" + }, + { + "t": "eq", + "v": "eco setpoint", + "vt": "str" + }, + { + "t": "eq", + "v": "confort setpoint", + "vt": "str" + }, + { + "t": "eq", + "v": "indoor coefficient", + "vt": "str" + }, + { + "t": "eq", + "v": "outdoor coefficient", + "vt": "str" + }, + { + "t": "eq", + "v": "preheat time", + "vt": "str" + }, + { + "t": "eq", + "v": "cycle time", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture delay", + "vt": "str" + }, + { + "t": "eq", + "v": "offloading delay", + "vt": "str" + }, + { + "t": "eq", + "v": "offloading power", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture 1", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture 2", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture 3", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture 4", + "vt": "str" + }, + { + "t": "eq", + "v": "aperture 5", + "vt": "str" + }, + { + "t": "eq", + "v": "last pilot", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 25, + "x": 5945, + "y": 1680, + "wires": [ + [ + "f85914dec075a3d8", + "1d92bf6b8fc98959" + ], + [ + "fb9711affc7d14af" + ], + [ + "61d316384ef1521b" + ], + [ + "37794c3da2ceda38" + ], + [ + "bd8ab43b4a91a2ae" + ], + [ + "19b6504e1bbece40" + ], + [ + "a7420198a3e0f879" + ], + [ + "26537f8818c29c61" + ], + [ + "27d7b08fb3646a52" + ], + [ + "151d5194b8538480" + ], + [ + "07108de5adf3ae2a", + "f670239d8cf08808" + ], + [ + "bcf6468037b4c2a6", + "a4b56ada8159bff6" + ], + [ + "6cc81c8342d6ef1c", + "990b4d58c23a68a2" + ], + [ + "f7ed99ce22cd37cb", + "ee3e358d88bbf249" + ], + [ + "51dc21bc28ea3f06", + "6f096e24c9634c56" + ], + [ + "4540d4f432f8742d", + "83b16f9aed4fa051" + ], + [ + "ff2211c1efd24971", + "db3ebf0b6421aeae" + ], + [ + "f814aebd5bd599b5", + "10c3697bddec1a05" + ], + [ + "bfb0a473b6a09c81", + "4f0ea1cdd4d0b719" + ], + [ + "bcfed6ac5d278d3c" + ], + [ + "f5cf184989e2cc69" + ], + [ + "95eb528329f90cf2" + ], + [ + "3e6cd35a857771f8" + ], + [ + "f19ecf4219ed5190" + ], + [ + "c4f79cb042dc36a1" + ] + ] + }, + { + "id": "26bdcbaa93cfcc27", + "type": "humanizer", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "input": "msg.payload", + "x": 6305, + "y": 3120, + "wires": [ + [ + "2efa063af4b505d2" + ] + ] + }, + { + "id": "c4f79cb042dc36a1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "calcul", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$round(($millis() - msg.payload)/1000)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 3120, + "wires": [ + [ + "26bdcbaa93cfcc27" + ] + ] + }, + { + "id": "f391ba85b3d53073", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "cible", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 7165, + "y": 1860, + "wires": [ + [ + "1ef76a4c1fab9b78" + ] + ] + }, + { + "id": "7e364afe6e09d405", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "thermostat", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5625, + "y": 1380, + "wires": [ + [ + "6c6cf33417f59f97", + "39615dab9370d868", + "fcbda9c625fdecac" + ] + ] + }, + { + "id": "b8374382f89b46c6", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune thermostat", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6665, + "y": 1320, + "wires": [ + [ + "5b4d546fd3646af7" + ] + ] + }, + { + "id": "5b4d546fd3646af7", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6825, + "y": 1320, + "wires": [] + }, + { + "id": "fafbe160c912822f", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 6665, + "y": 1380, + "wires": [ + [] + ] + }, + { + "id": "f85914dec075a3d8", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "actif", + "label": "", + "group": "28836135eb153545", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "actif", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "cog", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "cog-off-outline", + "offcolor": "grey", + "x": 6905, + "y": 1680, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "bd8ab43b4a91a2ae", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "aperture opened", + "label": "", + "group": "28836135eb153545", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "door-open", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "door-closed", + "offcolor": "grey", + "x": 6965, + "y": 1920, + "wires": [ + [] + ] + }, + { + "id": "19b6504e1bbece40", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "delayed aperture", + "label": "", + "group": "28836135eb153545", + "order": 8, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "timer-remove", + "oncolor": "grey", + "offvalue": "false", + "offvalueType": "bool", + "officon": "timer-check", + "offcolor": "teal", + "x": 6985, + "y": 1980, + "wires": [ + [] + ] + }, + { + "id": "f968a8fc298f04c3", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "operating mode", + "label": "Mode", + "tooltip": "", + "order": 12, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Arrêt", + "value": "off", + "type": "str" + } + ], + "payload": "", + "topic": "operating mode", + "topicType": "str", + "className": "", + "x": 6965, + "y": 2220, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "07108de5adf3ae2a", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "eco setpoint", + "label": "", + "tooltip": "", + "order": 14, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "eco setpoint", + "topicType": "str", + "thumbLabel": true, + "min": "15", + "max": "35", + "step": "0.5", + "className": "", + "x": 6945, + "y": 2280, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "bcf6468037b4c2a6", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "confort setpoint", + "label": "", + "tooltip": "", + "order": 16, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "confort setpoint", + "topicType": "str", + "thumbLabel": true, + "min": "15", + "max": "35", + "step": "0.5", + "className": "", + "x": 6965, + "y": 2340, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "37794c3da2ceda38", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "pilot", + "label": "", + "group": "28836135eb153545", + "order": 6, + "width": "1", + "height": "1", + "passthru": false, + "topic": "pilot", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "power-plug", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "power-plug-off", + "offcolor": "grey", + "x": 6905, + "y": 1860, + "wires": [ + [ + "f391ba85b3d53073" + ] + ] + }, + { + "id": "dfd8650d923f73e4", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 10, + "width": "2", + "height": "1", + "name": "indoor temperature", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6725, + "y": 2160, + "wires": [] + }, + { + "id": "4c5adf85df17025b", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 9, + "width": "2", + "height": "1", + "name": "temperature setpoint", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2040, + "wires": [] + }, + { + "id": "26537f8818c29c61", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Interieur à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2160, + "wires": [ + [ + "dfd8650d923f73e4" + ] + ] + }, + { + "id": "a7420198a3e0f879", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Consigne à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2040, + "wires": [ + [ + "4c5adf85df17025b" + ] + ] + }, + { + "id": "f23d5105ca948593", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 36, + "width": "6", + "height": "1", + "name": "seens", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-spread", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6645, + "y": 3120, + "wires": [] + }, + { + "id": "2efa063af4b505d2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Dernier ordre il y a '&msg.payload.humanized", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6465, + "y": 3120, + "wires": [ + [ + "f23d5105ca948593" + ] + ] + }, + { + "id": "6cc81c8342d6ef1c", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "indoor coefficient", + "label": "", + "tooltip": "", + "order": 18, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "indoor coefficient", + "topicType": "str", + "thumbLabel": true, + "min": 0, + "max": "200", + "step": 1, + "className": "", + "x": 6985, + "y": 2400, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "f7ed99ce22cd37cb", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "outdoor coefficient", + "label": "", + "tooltip": "", + "order": 20, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "outdoor coefficient", + "topicType": "str", + "thumbLabel": true, + "min": 0, + "max": "200", + "step": 1, + "className": "", + "x": 6985, + "y": 2460, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "348134507ffe8815", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 4, + "width": "2", + "height": "1", + "name": "status", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6645, + "y": 1740, + "wires": [] + }, + { + "id": "63561fec4fba2afd", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 13, + "width": "2", + "height": "1", + "name": "eco setpoint (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6725, + "y": 2280, + "wires": [] + }, + { + "id": "53f7b3195f6dfeed", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 17, + "width": "2", + "height": "1", + "name": "indoor coefficient (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2400, + "wires": [] + }, + { + "id": "99e789a941d2af52", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 19, + "width": "2", + "height": "1", + "name": "outdoor coefficient (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2460, + "wires": [] + }, + { + "id": "39615dab9370d868", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5805, + "y": 1680, + "wires": [ + [ + "adc6196b15cf8c39" + ] + ] + }, + { + "id": "e223793b9998818b", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 15, + "width": "2", + "height": "1", + "name": "confort setpoint (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2340, + "wires": [] + }, + { + "id": "136162f12991809c", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 6325, + "y": 1740, + "wires": [ + [ + "a9e89b46159c4ec8" + ] + ] + }, + { + "id": "fb9711affc7d14af", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "move", + "rules": [ + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 1740, + "wires": [ + [ + "136162f12991809c" + ] + ] + }, + { + "id": "a9e89b46159c4ec8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6485, + "y": 1740, + "wires": [ + [ + "348134507ffe8815" + ] + ] + }, + { + "id": "cb3f8f9fa322b59f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 21, + "width": "2", + "height": "1", + "name": "preheat time(txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6705, + "y": 2520, + "wires": [] + }, + { + "id": "51dc21bc28ea3f06", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "preheat time", + "label": "", + "tooltip": "", + "order": 22, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "preheat time", + "topicType": "str", + "thumbLabel": true, + "min": "5", + "max": "60", + "step": "5", + "className": "", + "x": 6945, + "y": 2520, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "272807d6b707d92f", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 23, + "width": "2", + "height": "1", + "name": "cycle time(txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6705, + "y": 2580, + "wires": [] + }, + { + "id": "4540d4f432f8742d", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "cycle time", + "label": "", + "tooltip": "", + "order": 24, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "cycle time", + "topicType": "str", + "thumbLabel": true, + "min": "5", + "max": "120", + "step": "5", + "className": "", + "x": 6925, + "y": 2580, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "6d0cb16590b1da18", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 29, + "width": "2", + "height": "1", + "name": "offloading power (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2760, + "wires": [] + }, + { + "id": "bfb0a473b6a09c81", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "offloading power", + "label": "", + "tooltip": "", + "order": 30, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "offloading power", + "topicType": "str", + "thumbLabel": true, + "min": "100", + "max": "1500", + "step": "100", + "className": "", + "x": 6965, + "y": 2760, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "61d316384ef1521b", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "heat request", + "label": "", + "group": "28836135eb153545", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "cog-play", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "cog-stop-outline", + "offcolor": "grey", + "x": 6945, + "y": 1800, + "wires": [ + [] + ] + }, + { + "id": "27d7b08fb3646a52", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Exterieur à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2100, + "wires": [ + [ + "3f9eefa51c1e5e9e" + ] + ] + }, + { + "id": "3f9eefa51c1e5e9e", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 11, + "width": "2", + "height": "1", + "name": "outdoor temperature", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-left", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6745, + "y": 2100, + "wires": [] + }, + { + "id": "ff2211c1efd24971", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture delay", + "label": "", + "tooltip": "", + "order": 26, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "aperture delay", + "topicType": "str", + "thumbLabel": true, + "min": "1", + "max": "30", + "step": 1, + "className": "", + "x": 6965, + "y": 2640, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "f814aebd5bd599b5", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "offloading delay", + "label": "", + "tooltip": "", + "order": 28, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "offloading delay", + "topicType": "str", + "thumbLabel": true, + "min": "1", + "max": "60", + "step": 1, + "className": "", + "x": 6965, + "y": 2700, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "8c3c9bc4a66b1e32", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 25, + "width": "2", + "height": "1", + "name": "aperture delay(txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6725, + "y": 2640, + "wires": [] + }, + { + "id": "0711217590341f99", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "old_payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics", + "tot": "global" + }, + { + "t": "set", + "p": "thermostat.options", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "thermostat.options[0]", + "pt": "flow", + "to": "{\t 'label': 'non assigné',\t 'value': ''\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 5985, + "y": 3180, + "wires": [ + [ + "3930f84bd36fd5aa" + ] + ] + }, + { + "id": "3930f84bd36fd5aa", + "type": "split", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "bucket", + "x": 6145, + "y": 3180, + "wires": [ + [ + "b6f3145afc37707c" + ] + ] + }, + { + "id": "b6f3145afc37707c", + "type": "split", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "measurement", + "x": 6305, + "y": 3180, + "wires": [ + [ + "7a9f4d42d5c7497c" + ] + ] + }, + { + "id": "7a9f4d42d5c7497c", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "aperture", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 6525, + "y": 3180, + "wires": [ + [ + "dd517b4d06983aac" + ] + ] + }, + { + "id": "dd517b4d06983aac", + "type": "split", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "field", + "x": 6685, + "y": 3180, + "wires": [ + [ + "e7dcdd83cf9e08e1" + ] + ] + }, + { + "id": "e7dcdd83cf9e08e1", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "neq", + "v": "shutter", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 6845, + "y": 3180, + "wires": [ + [ + "ad09f7f6ad1acedd" + ] + ] + }, + { + "id": "73dc6a2b0e041f8e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "add", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "count", + "pt": "msg", + "to": "$count(msg.options)-1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "count", + "pt": "msg", + "to": "msg.count+1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options[msg.count]", + "pt": "msg", + "to": "{\t 'label': msg.trans.path,\t 'value': msg.metric\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "thermostat.options", + "pt": "flow", + "to": "options", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 7405, + "y": 3180, + "wires": [ + [] + ] + }, + { + "id": "bcfed6ac5d278d3c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 2820, + "wires": [ + [ + "93e874f6e4a1f87a" + ] + ] + }, + { + "id": "93e874f6e4a1f87a", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture 1", + "label": "Ouverture 1 :", + "tooltip": "", + "order": 31, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "aperture 1", + "topicType": "str", + "className": "", + "x": 6945, + "y": 2820, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "fcbda9c625fdecac", + "type": "rbe", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "func": "rbe", + "gap": "", + "start": "", + "inout": "out", + "septopics": false, + "property": "bucket", + "topi": "topic", + "x": 5785, + "y": 3180, + "wires": [ + [ + "0711217590341f99" + ] + ] + }, + { + "id": "f5cf184989e2cc69", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 2880, + "wires": [ + [ + "3d40410e159beaab" + ] + ] + }, + { + "id": "3d40410e159beaab", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture 2", + "label": "Ouverture 2 :", + "tooltip": "", + "order": 32, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "aperture 2", + "topicType": "str", + "className": "", + "x": 6945, + "y": 2880, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "4565730f04bd7072", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture 3", + "label": "Ouverture 3 :", + "tooltip": "", + "order": 33, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "aperture 3", + "topicType": "str", + "className": "", + "x": 6945, + "y": 2940, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "95eb528329f90cf2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 2940, + "wires": [ + [ + "4565730f04bd7072" + ] + ] + }, + { + "id": "79764253e9e92fda", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture 4", + "label": "Ouverture 4 :", + "tooltip": "", + "order": 34, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "aperture 4", + "topicType": "str", + "className": "", + "x": 6945, + "y": 3000, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "3e6cd35a857771f8", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 3000, + "wires": [ + [ + "79764253e9e92fda" + ] + ] + }, + { + "id": "4ad97596d0efa64b", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "name": "aperture 5", + "label": "Ouverture 5 :", + "tooltip": "", + "order": 35, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "aperture 5", + "topicType": "str", + "className": "", + "x": 6945, + "y": 3060, + "wires": [ + [ + "37aa96c6d80d8ade" + ] + ] + }, + { + "id": "f19ecf4219ed5190", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "thermostat.options", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 3060, + "wires": [ + [ + "4ad97596d0efa64b" + ] + ] + }, + { + "id": "33fde1af7428bf26", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 27, + "width": "2", + "height": "1", + "name": "offloading delay(txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6725, + "y": 2700, + "wires": [] + }, + { + "id": "1d92bf6b8fc98959", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?\"Gestion de thermostat active\":\"Gestion de thermostat inactive\"", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 1680, + "wires": [ + [ + "25b3542fda8fae4d" + ] + ] + }, + { + "id": "25b3542fda8fae4d", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "group": "28836135eb153545", + "order": 2, + "width": "5", + "height": "1", + "name": "actif (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6665, + "y": 1680, + "wires": [] + }, + { + "id": "4b8267934ced5596", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5565, + "y": 1440, + "wires": [ + [ + "fc673a36d8691d63" + ] + ] + }, + { + "id": "151d5194b8538480", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Eco','value':'eco'},\t {'label':'Confort','value':'confort'},\t {'label':'Hors-Gel','value':'anti-freeze'},\t {'label':'Arrêt','value':'off'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6125, + "y": 2220, + "wires": [ + [ + "f968a8fc298f04c3" + ] + ] + }, + { + "id": "f670239d8cf08808", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Mode eco à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2280, + "wires": [ + [ + "63561fec4fba2afd" + ] + ] + }, + { + "id": "a4b56ada8159bff6", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Mode confort à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2340, + "wires": [ + [ + "e223793b9998818b" + ] + ] + }, + { + "id": "990b4d58c23a68a2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Coef. int. de '&msg.payload", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2400, + "wires": [ + [ + "53f7b3195f6dfeed" + ] + ] + }, + { + "id": "ee3e358d88bbf249", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Coef. ext. de '&msg.payload", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2460, + "wires": [ + [ + "99e789a941d2af52" + ] + ] + }, + { + "id": "6f096e24c9634c56", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Préchauffe de '&msg.payload&'m'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2520, + "wires": [ + [ + "cb3f8f9fa322b59f" + ] + ] + }, + { + "id": "83b16f9aed4fa051", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Cycle de '&msg.payload&'m'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2580, + "wires": [ + [ + "272807d6b707d92f" + ] + ] + }, + { + "id": "db3ebf0b6421aeae", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Délai ouvrant '&msg.payload&'m'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2640, + "wires": [ + [ + "8c3c9bc4a66b1e32" + ] + ] + }, + { + "id": "10c3697bddec1a05", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Délai délestage '&msg.payload&'m'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2700, + "wires": [ + [ + "33fde1af7428bf26" + ] + ] + }, + { + "id": "4f0ea1cdd4d0b719", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Puissance de '&msg.payload&'w'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6105, + "y": 2760, + "wires": [ + [ + "6d0cb16590b1da18" + ] + ] + }, + { + "id": "ad09f7f6ad1acedd", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "metric", + "rules": [ + { + "t": "set", + "p": "metric", + "pt": "msg", + "to": "msg.bucket&'/'&msg.measurement&'/'&msg.field", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 7005, + "y": 3180, + "wires": [ + [ + "7bb3239b80bb5650" + ] + ] + }, + { + "id": "7bb3239b80bb5650", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "bb2ebd173a2ba06c", + "name": "", + "links": [ + "025e219749a67439" + ], + "linkType": "static", + "timeout": "30", + "x": 7245, + "y": 3180, + "wires": [ + [ + "73dc6a2b0e041f8e" + ] + ] + }, + { + "id": "97aa2e016643bfbd", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "room - ui - air conditioner - load", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 5395, + "y": 3300, + "wires": [ + [ + "5a5c10ecd5d798be", + "2a4f2715f401f8f2" + ] + ] + }, + { + "id": "383c38e98cd05755", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "room - ui - air conditioner - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 5395, + "y": 3360, + "wires": [ + [ + "12fca45ce9ab2abb" + ] + ] + }, + { + "id": "5a5c10ecd5d798be", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Climatisation\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3300, + "wires": [ + [ + "c6383ca66673fd96", + "f520ba0c172598b7" + ] + ] + }, + { + "id": "932e7fad1c98966f", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\": {\t \"show\": [\"Pièces:Climatisation\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3360, + "wires": [ + [ + "f520ba0c172598b7", + "c6383ca66673fd96" + ] + ] + }, + { + "id": "baadaeea2e2d4f95", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "reset", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3420, + "wires": [ + [ + "327f0ed7b5fa48d2", + "f68f5c75e58e22cb", + "dcfb0cd127aa904e", + "22c8ba7a5b818ab1", + "4e080e4032b4c4c8", + "0bb31a889d427f54", + "e6cf92eef6f506ec", + "4205795bed6b3290", + "a8dd4b383d7eb632" + ] + ] + }, + { + "id": "c5d646bd69c37865", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "air conditioner", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6800, + "y": 3540, + "wires": [ + [ + "9d8b8d237e2704ea" + ] + ] + }, + { + "id": "9d8b8d237e2704ea", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "room - ui - air conditioner - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 6935, + "y": 3540, + "wires": [] + }, + { + "id": "4da4c768067c032b", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "actif", + "vt": "str" + }, + { + "t": "eq", + "v": "mode", + "vt": "str" + }, + { + "t": "eq", + "v": "fan rate", + "vt": "str" + }, + { + "t": "eq", + "v": "fan direction", + "vt": "str" + }, + { + "t": "eq", + "v": "temperature setpoint", + "vt": "str" + }, + { + "t": "eq", + "v": "advanced", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 6, + "x": 5930, + "y": 3540, + "wires": [ + [ + "327f0ed7b5fa48d2", + "988c34fbce846dcc" + ], + [ + "738201cd36aef02d" + ], + [ + "9d154c219f206faf" + ], + [ + "6b1aeadab15d8e8c" + ], + [ + "0ecce96328bfdde4", + "a8dd4b383d7eb632" + ], + [ + "88a37cbdf2f5f465", + "ad3172b46080261c" + ] + ] + }, + { + "id": "12fca45ce9ab2abb", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "air conditioner", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 5560, + "y": 3360, + "wires": [ + [ + "932e7fad1c98966f", + "2a45ad61a4b3d598" + ] + ] + }, + { + "id": "c6383ca66673fd96", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucun climatiseur", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6260, + "y": 3300, + "wires": [ + [ + "cd9ba8ff11c8036d" + ] + ] + }, + { + "id": "cd9ba8ff11c8036d", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6430, + "y": 3300, + "wires": [] + }, + { + "id": "f520ba0c172598b7", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 6260, + "y": 3360, + "wires": [ + [] + ] + }, + { + "id": "327f0ed7b5fa48d2", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "power", + "label": "", + "group": "3b3e6fe6f656ea0e", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "actif", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "fan", + "oncolor": "blue", + "offvalue": "false", + "offvalueType": "bool", + "officon": "fan-off", + "offcolor": "grey", + "x": 6530, + "y": 3540, + "wires": [ + [ + "c5d646bd69c37865" + ] + ] + }, + { + "id": "f68f5c75e58e22cb", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "name": "mode", + "label": "Mode", + "tooltip": "", + "order": 6, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Auto", + "value": "0", + "type": "str" + } + ], + "payload": "", + "topic": "mode", + "topicType": "str", + "className": "", + "x": 6530, + "y": 3600, + "wires": [ + [ + "c5d646bd69c37865" + ] + ] + }, + { + "id": "a8dd4b383d7eb632", + "type": "ui-slider", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "name": "temperature setpoint", + "label": "", + "tooltip": "", + "order": 10, + "width": "4", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "temperature setpoint", + "topicType": "str", + "thumbLabel": true, + "min": "18", + "max": "31", + "step": "1", + "className": "", + "x": 6580, + "y": 3780, + "wires": [ + [ + "c5d646bd69c37865" + ] + ] + }, + { + "id": "4205795bed6b3290", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "order": 9, + "width": "2", + "height": "1", + "name": "temperature setpoint (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6310, + "y": 3780, + "wires": [] + }, + { + "id": "2a45ad61a4b3d598", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5760, + "y": 3540, + "wires": [ + [ + "4da4c768067c032b" + ] + ] + }, + { + "id": "dcfb0cd127aa904e", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "name": "fan rate", + "label": "Ventilation", + "tooltip": "", + "order": 7, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Auto", + "value": "A", + "type": "str" + } + ], + "payload": "", + "topic": "fan rate", + "topicType": "str", + "className": "", + "x": 6540, + "y": 3660, + "wires": [ + [ + "c5d646bd69c37865" + ] + ] + }, + { + "id": "22c8ba7a5b818ab1", + "type": "ui-dropdown", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "name": "fan direction", + "label": "Direction", + "tooltip": "", + "order": 8, + "width": "2", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Normal", + "value": "0", + "type": "str" + } + ], + "payload": "", + "topic": "fan direction", + "topicType": "str", + "className": "", + "x": 6550, + "y": 3720, + "wires": [ + [ + "c5d646bd69c37865" + ] + ] + }, + { + "id": "4e080e4032b4c4c8", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "order": 2, + "width": "5", + "height": "1", + "name": "power (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6270, + "y": 3540, + "wires": [] + }, + { + "id": "988c34fbce846dcc", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'Climatiseur en fonction':\"Climatiseur à l'arrêt\"", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3540, + "wires": [ + [ + "4e080e4032b4c4c8" + ] + ] + }, + { + "id": "88a37cbdf2f5f465", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Configuration '&(msg.payload=\"2\"?'puissant':(msg.payload=\"12\"?'économique':'normal'))", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3840, + "wires": [ + [ + "e6cf92eef6f506ec" + ] + ] + }, + { + "id": "e6cf92eef6f506ec", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "group": "3b3e6fe6f656ea0e", + "order": 4, + "width": "5", + "height": "1", + "name": "advanced (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 6280, + "y": 3840, + "wires": [] + }, + { + "id": "0bb31a889d427f54", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "advanced", + "label": "", + "group": "3b3e6fe6f656ea0e", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "fan-alert", + "oncolor": "teal", + "offvalue": "false", + "offvalueType": "bool", + "officon": "fan", + "offcolor": "grey", + "x": 6700, + "y": 3840, + "wires": [ + [] + ] + }, + { + "id": "ad3172b46080261c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload=\"2\"?true:(msg.payload=\"12\"?true:false)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6530, + "y": 3840, + "wires": [ + [ + "0bb31a889d427f54" + ] + ] + }, + { + "id": "0ecce96328bfdde4", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "format", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Consigne à '&msg.payload&'°'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6090, + "y": 3780, + "wires": [ + [ + "4205795bed6b3290" + ] + ] + }, + { + "id": "2a4f2715f401f8f2", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "50 ms", + "pauseType": "delay", + "timeout": "50", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 5530, + "y": 3420, + "wires": [ + [ + "baadaeea2e2d4f95" + ] + ] + }, + { + "id": "738201cd36aef02d", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation','value':'6'},\t {'label':'Auto (0)','value':'0'},\t {'label':'Auto (1)','value':'1'},\t {'label':'Auto (7)','value':'7'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6100, + "y": 3600, + "wires": [ + [ + "f68f5c75e58e22cb" + ] + ] + }, + { + "id": "9d154c219f206faf", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Silence','value':'B'},\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation (0)','value':'6'},\t {'label':'Auto','value':'A'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6100, + "y": 3660, + "wires": [ + [ + "dcfb0cd127aa904e" + ] + ] + }, + { + "id": "6b1aeadab15d8e8c", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "a0938dfc54b55acc", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Normal','value':'0'},\t {'label':'Vertical','value':'1'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 6100, + "y": 3720, + "wires": [ + [ + "22c8ba7a5b818ab1" + ] + ] + }, + { + "id": "d3ecaf8ee5a9a5f3", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "set metric", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "overload", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4680, + "y": 7320, + "wires": [ + [ + "31254c9a4c46f49c" + ] + ] + }, + { + "id": "892aa8fda585f5b2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "index.overload", + "pt": "flow", + "to": "{}", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7200, + "wires": [ + [ + "c7dde6eba09fbd5a", + "b3fb451be3c81d2b", + "94ecac051c7ae0c0", + "36f2cc31fc4e1e37", + "8d582cfd231d8e30", + "c3fd837c967f3c0d" + ] + ] + }, + { + "id": "e0cb1aec4e0fda1c", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "boot overload", + "links": [ + "9e4bfee0db3051d4" + ], + "x": 2695, + "y": 7080, + "wires": [ + [ + "44bb7746b927fef2", + "7acbbb904086727c" + ] + ] + }, + { + "id": "31254c9a4c46f49c", + "type": "link out", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "room - ui - light - metric", + "mode": "link", + "links": [ + "2690f4e06626ebda" + ], + "x": 4815, + "y": 7320, + "wires": [] + }, + { + "id": "943c9a5e7bb69227", + "type": "link in", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "room - ui - overload - metric", + "links": [ + "b6323e1460f6f50c" + ], + "x": 2695, + "y": 7140, + "wires": [ + [ + "4bd89dce27b61c84" + ] + ] + }, + { + "id": "94b3fd103974e612", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"show\":[\"Pièces:Surcharge\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7140, + "wires": [ + [ + "2c68008e717394eb", + "e4e4dde43d4eef06" + ] + ] + }, + { + "id": "44bb7746b927fef2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Surcharge\"]\t }\t}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "reset", + "pt": "msg", + "to": "true", + "tot": "bool" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7080, + "wires": [ + [ + "e4e4dde43d4eef06", + "2c68008e717394eb" + ] + ] + }, + { + "id": "a8f14d2493aa1ccc", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "index", + "property": "index", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "1", + "vt": "num" + }, + { + "t": "eq", + "v": "2", + "vt": "num" + }, + { + "t": "eq", + "v": "3", + "vt": "num" + } + ], + "checkall": "false", + "repair": false, + "outputs": 3, + "x": 3930, + "y": 7320, + "wires": [ + [ + "96c183ca09036f9e", + "c7dde6eba09fbd5a" + ], + [ + "207c8c517b76a96d", + "36f2cc31fc4e1e37" + ], + [ + "41be9069ac8254e1", + "c3fd837c967f3c0d" + ] + ] + }, + { + "id": "11f218242b107b91", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.overload[msg.field]", + "tot": "flow" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 7320, + "wires": [ + [ + "a8f14d2493aa1ccc" + ] + ] + }, + { + "id": "9d11ec1e81b17e3d", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "exists", + "property": "index.overload", + "propertyType": "flow", + "rules": [ + { + "t": "hask", + "v": "field", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 3610, + "y": 7320, + "wires": [ + [ + "11f218242b107b91" + ], + [ + "143b6433267f0fa1" + ] + ] + }, + { + "id": "143b6433267f0fa1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "index", + "rules": [ + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "index.overload", + "tot": "flow" + }, + { + "t": "set", + "p": "index", + "pt": "msg", + "to": "$count($keys(msg.index)) +1", + "tot": "jsonata" + }, + { + "t": "set", + "p": "index.overload[msg.field]", + "pt": "flow", + "to": "index", + "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3770, + "y": 7380, + "wires": [ + [ + "a8f14d2493aa1ccc" + ] + ] + }, + { + "id": "4bd89dce27b61c84", + "type": "switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 2860, + "y": 7140, + "wires": [ + [ + "94b3fd103974e612", + "f8787219bfa0b999" + ] + ] + }, + { + "id": "2c68008e717394eb", + "type": "ui-control", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "", + "ui": "2d75e4809d2a6fbf", + "events": "all", + "x": 4260, + "y": 7140, + "wires": [ + [] + ] + }, + { + "id": "e4e4dde43d4eef06", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Aucune lumière", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4260, + "y": 7080, + "wires": [ + [ + "a2bcd5bf77abacdd" + ] + ] + }, + { + "id": "a2bcd5bf77abacdd", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "group": "b044f13129d03761", + "order": 1, + "width": "6", + "height": "1", + "name": "none", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4430, + "y": 7080, + "wires": [] + }, + { + "id": "c7dde6eba09fbd5a", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "overload 01", + "label": "", + "group": "b044f13129d03761", + "order": 3, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "flash-triangle", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "flash-triangle-outline", + "offcolor": "grey", + "x": 4490, + "y": 7320, + "wires": [ + [ + "d3ecaf8ee5a9a5f3" + ] + ] + }, + { + "id": "b3fb451be3c81d2b", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "group": "b044f13129d03761", + "order": 2, + "width": "5", + "height": "1", + "name": "overload 01 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 7320, + "wires": [] + }, + { + "id": "96c183ca09036f9e", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7320, + "wires": [ + [ + "b3fb451be3c81d2b" + ] + ] + }, + { + "id": "207c8c517b76a96d", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7380, + "wires": [ + [ + "94ecac051c7ae0c0" + ] + ] + }, + { + "id": "41be9069ac8254e1", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "move", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "trans", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4090, + "y": 7440, + "wires": [ + [ + "8d582cfd231d8e30" + ] + ] + }, + { + "id": "f7df745c748863ac", + "type": "link call", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3260, + "y": 7320, + "wires": [ + [ + "fae60b32c35a15e2" + ] + ] + }, + { + "id": "fae60b32c35a15e2", + "type": "change", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "text", + "rules": [ + { + "t": "set", + "p": "trans", + "pt": "msg", + "to": "msg.trans&(msg.payload?' ':' pas')&' en surcharge'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 7320, + "wires": [ + [ + "9d11ec1e81b17e3d" + ] + ] + }, + { + "id": "f8787219bfa0b999", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "100 ms", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 3060, + "y": 7320, + "wires": [ + [ + "f7df745c748863ac" + ] + ] + }, + { + "id": "7acbbb904086727c", + "type": "delay", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "50 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 2830, + "y": 7200, + "wires": [ + [ + "892aa8fda585f5b2" + ] + ] + }, + { + "id": "36f2cc31fc4e1e37", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "overload 02", + "label": "", + "group": "b044f13129d03761", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "flash-triangle", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "flash-triangle-outline", + "offcolor": "grey", + "x": 4490, + "y": 7380, + "wires": [ + [ + "d3ecaf8ee5a9a5f3" + ] + ] + }, + { + "id": "94ecac051c7ae0c0", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "group": "b044f13129d03761", + "order": 4, + "width": "5", + "height": "1", + "name": "overload 02 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 7380, + "wires": [] + }, + { + "id": "c3fd837c967f3c0d", + "type": "ui-switch", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "name": "overload 03", + "label": "", + "group": "b044f13129d03761", + "order": 7, + "width": "1", + "height": "1", + "passthru": false, + "topic": "field", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "flash-triangle", + "oncolor": "red", + "offvalue": "false", + "offvalueType": "bool", + "officon": "flash-triangle-outline", + "offcolor": "grey", + "x": 4490, + "y": 7440, + "wires": [ + [ + "d3ecaf8ee5a9a5f3" + ] + ] + }, + { + "id": "8d582cfd231d8e30", + "type": "ui-text", + "z": "aab0c030de7df5cc", + "g": "450d06a664f3f2f1", + "group": "b044f13129d03761", + "order": 6, + "width": "5", + "height": "1", + "name": "overload 03 (txt)", + "label": "", + "format": "{{msg.payload}}", + "layout": "row-right", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 4280, + "y": 7440, + "wires": [] } ] \ No newline at end of file diff --git a/flows/U.Scenes.json b/flows/U.Scenes.json new file mode 100644 index 0000000..fe1d586 --- /dev/null +++ b/flows/U.Scenes.json @@ -0,0 +1,13508 @@ +[ + { + "id": "2365e16185f43e03", + "type": "tab", + "label": "U.Scenes", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "29799cbbbafa3ded", + "type": "group", + "z": "2365e16185f43e03", + "name": "catch error", + "style": { + "fill": "#ff0000", + "fill-opacity": "0.05", + "label": true, + "stroke": "#ff0000" + }, + "nodes": [ + "57833b8882f2f3f0", + "a07c3bb746445ea8", + "65f60f513ebfb4ec" + ], + "x": 534, + "y": 19, + "w": 422, + "h": 82 + }, + { + "id": "391ec7c03beaed05", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - bucket", + "style": { + "fill": "#ffC000", + "fill-opacity": "0.05", + "label": true, + "stroke": "#ffC000" + }, + "nodes": [ + "a1054d58b95dbc48", + "85ebc176bf8b3f38", + "d92386370d84c100" + ], + "x": 94, + "y": 19, + "w": 342, + "h": 82 + }, + { + "id": "3a3b15706a4f52c8", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - add scene", + "style": { + "label": true, + "fill": "#6f2fa0", + "fill-opacity": "0.05" + }, + "nodes": [ + "72ffa082cbdc1b9d", + "5a9f6ed4d2782bc6", + "8baf78fc5b3a6764", + "c92344781b6fad03", + "db579c1fe924a2c1", + "dd61619c1c937b10", + "ab93c45aeece527e", + "d353d0189ecf7f81", + "251f1801fba21ab0", + "c3b6b0792764609a", + "380eefbfb46f3a27", + "ca5d39b702b03571", + "d24a93e61eae3c55", + "e9aff2124a3f14e7", + "7716fc16ed250b25", + "5ede26c96e5cab06", + "934dc60f940169b5", + "0d183185e153399c", + "f50307318be3d784", + "9f397c7d7826bf47", + "27e11297c93404a6", + "71e09030c5018a86", + "7dc2df581430d4d1", + "ecc0370d843384ba", + "bf20df3841df8f08", + "e082053ef394efe4", + "a8e111e3fe3d2a80", + "61fa65faa84a6ec6", + "305f8572101f2828", + "dc9f51f48adc1d8a", + "86f50642027670e1", + "98d0f4551cf7be28", + "611c8a5cd84bb73d", + "aa5b3856a38f9e8d" + ], + "x": 74, + "y": 199, + "w": 1898, + "h": 3428 + }, + { + "id": "ba3f7159e9c41676", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - add trigger", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "c715b34bd8c7144e", + "acf663c8932fb635", + "852b5a25f14c20c6", + "2cc720203fa29afe", + "c0d3cb23c9507a3b", + "d29ab01e7feb7c8a", + "74a4ed4dc627a311", + "70e8540a9e38ea1b", + "6a28b7fcc76e5423", + "52995e16ab89a506", + "18abfea89e3b41b7", + "bab19150c0c5380a", + "a808a0b1094b6686", + "92b4cb9321db429e", + "284a076d451ace1d", + "a8104e49d5de21fc", + "0f613980bbb88aec", + "7e331b1381065059", + "e44628f535d5b1cb", + "aeb2a0a395a07f56", + "2ad50ca6f102ad06", + "be4e8eb0027dcf54", + "8012222b2d1c8511", + "75cebf8401b56f16", + "ef40f0f28d4b23a0", + "92d3382419ded8c9", + "609602a97afb8342", + "dfe33f11952c084b", + "460ba30d5c96b8cc", + "b4448524cdeff7e5", + "80a0e335e884b052", + "9790caaee9c5957b", + "12b058f0dc39a192", + "264193b117c3f150", + "adab55e820cad54d", + "534f26b628d7ca3c", + "d72e4ee0d2b4084d", + "502addd457658917", + "210ef3304012897f", + "6f93c6bcc4a65c4d", + "357a49acee942fd1", + "61282a89cda06158", + "964d600b050df4fc", + "5d3298bda1ca0932", + "f8749556560c8526", + "3bbe844fffdf20ed", + "7044da8f08b09895", + "242995af11794e53", + "1870deac817325e5", + "13da4488e5901405", + "6a1a8f3a27e993b3", + "2accc11944283ad8", + "c98c47082b028dd0", + "eae0eb6cb3648279", + "77b5fcb42cefbcf7", + "52a7726c278388da", + "16438bfdddf3750d", + "8dc9910ee0b4af8a", + "f3b0e08392296b29", + "33daf357f466a619", + "fc63cc48fc705844", + "07f809162cd1c7ff", + "dc8e1ea48d3d1380", + "9c9c71c664eee075", + "af55e037ae50391e", + "f2369a7f542517f2", + "3f26dd11ba94f7c0", + "3b9bcd70499a72a7", + "2b5138253f338bd9", + "ee9f0a9d9f5bfded", + "9555f3b85c4c0239", + "33023e6e1a555bef", + "4f54be59fa4e6633", + "0a0de1ee87778882", + "d32dc8a93d1ac3ad", + "7d84766600c7d5a9", + "94f92b94173718ae", + "0b77f4879755cf4a", + "c640900fa4f67a47" + ], + "x": 74, + "y": 4919, + "w": 3112, + "h": 1302 + }, + { + "id": "77a176666a9075c0", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - list scenes", + "style": { + "label": true, + "fill": "#6f2fa0", + "fill-opacity": "0.05" + }, + "nodes": [ + "9509fcecd56acf35", + "98256ab7befa37da", + "3067689be2297942", + "91316e3eefbcc0cf", + "8354904bf42824c1", + "15fa91642ca84b97", + "c05eff78970180b9", + "f0e0dfead2456763", + "1a28a0f57cacac56", + "c7bd298ffb4de55f", + "922afa0f092ea7ac", + "63a06048dc8ec077", + "5647d49696914090", + "3c1e652d59e2bc73", + "d2ca5cbd23e2cf88", + "c08574254bd03c3d", + "3822cfa6e7343451", + "df9cad37a3d97a08", + "4ffb1946a7f3e562", + "4b6a5d60e2d13046", + "51fd890f206eb658", + "9e20d3f498cdecdb", + "82b97ac85ee0461e" + ], + "x": 74, + "y": 4319, + "w": 1992, + "h": 322 + }, + { + "id": "19ce5669b4839310", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - list triggers", + "style": { + "label": true, + "fill": "#6f2fa0", + "fill-opacity": "0.05" + }, + "nodes": [ + "273bd58e8316eb5b", + "6ffe6ce67f84f151", + "7a1c0e3a684f732e", + "af0dcb4755815ad4", + "ebebd4050c80114d", + "a428f5c3eb5f8470", + "95a06b05b8a280dd", + "e3306978b68a0c62", + "b766961b6627377c", + "ee71cf476db60370", + "5ccb44d34776aeb2", + "3ecde7539b026698", + "a8c6849c3d6984a4", + "fbb6b0967cfaf84c", + "b9ccd0540ef6392a", + "3664ee38f2da0806", + "32f125658d78f3aa", + "d89153f5c2db6207", + "ec120ed7d3da5269", + "7f077aece50a67f1", + "aea93e1a9e4fe7c3", + "90755f813c5b2497", + "f0e3c9e062d72dcf", + "81dc69f880d9c871", + "864cbc5606ca463a", + "da61b3bf319b4fbf", + "464dc2d69be4c4d2" + ], + "x": 74, + "y": 6679, + "w": 1992, + "h": 322 + }, + { + "id": "fa9acbe70d9d6582", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - boot wait", + "style": { + "fill": "#ff0000", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "8bb1bba6cd29a251", + "ee01b93bd48330c2", + "8d98777b03b2341f" + ], + "x": 1034, + "y": 19, + "w": 342, + "h": 82 + }, + { + "id": "768610170c894620", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - delete trigger", + "style": { + "label": true, + "fill": "#6f2fa0", + "fill-opacity": "0.05" + }, + "nodes": [ + "0d7f6889440560fb", + "7e1540e06576c37e", + "8b992a342f07cc51", + "58195b7dcdf542c3", + "11d2871802dc1814", + "470f6755223e9f3e", + "feafb2a13eb7aba6", + "59453ef087594e15", + "9008dc6f58df69ce", + "1e77b920b8ef44ae", + "595d539c1bb100e0", + "160e62d5b3260c7c", + "4b8667d43dd55dcb", + "78ada15151491066", + "2a2ca29c5017745d", + "161d87de410f8612", + "075be5218f4a7fd6", + "476328732ceaa3e8", + "87bd2247fe3acc62", + "8f5a63bf49aa9299", + "739230f415142b7d", + "b242db668b449c24", + "13aa9d0fd7bfb031", + "c277eb1591ca3505", + "e7b794a92adb0fc0", + "9a8393b8175a1953", + "e63dd52ce5b17aeb", + "d1d25dc67949b213", + "a21488eb16a467fa", + "aaa2bf978d45930d", + "8f08891f13eb42cf", + "841c8fa552e5c988", + "6bc8b0dde43bc773", + "a70b23ea1fb58b14", + "81de773ed143c87b", + "772f392435a3dd17" + ], + "x": 74, + "y": 6259, + "w": 1992, + "h": 382 + }, + { + "id": "55a7f287721494a0", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - delete scene", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "9c3c4a7cb6430948", + "30c14a02c0f6f44c", + "0a7482cc6cdd853f", + "40b4d19bc941757b", + "7f2170d4bb4d440a", + "2ff8057143b92a16", + "8350a6fe02a6fcc9", + "3e66e02f29a82d4a", + "5d78a0715292c3c2", + "b6cbee8201e44c52", + "d64496badea11c6f", + "0ac636db144a9397", + "f9d3e83b4c3b52ab", + "877b1f7344ccaf70", + "e4a004f86ff46aff", + "a136f953ea376b1d", + "fb6eb587f18161c1", + "602a5ab8762865d1", + "67c7aaf0ff7fab34", + "9ead5bc677f88efe", + "272f978cb81b3211", + "93217e0ac33a366c", + "c8b9c27367760c26", + "4ac9c6a1b0a30d5a", + "7acc5347e55f2e72", + "239125f620dff4e7", + "83d00933c4468207", + "0913162f8b198348", + "149e032cefd16ade", + "5e78b5bb6e312f78", + "26785f8d855e5ba6", + "6c449a3408acee90", + "d7f64b57a1fb0517" + ], + "x": 74, + "y": 3899, + "w": 1992, + "h": 382 + }, + { + "id": "e6436a8697d9ab89", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - import export scene", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "53a481fea28e6249", + "3b9388e0f23ff779", + "958736f2da5c8819", + "6d4a931be23710cc", + "520e9f66eace001e", + "bef5ab6442d83bbf", + "97f9e55756ff6676", + "3214c7c1cc0f2f6f", + "f41474a7c0413436", + "55b514867cc57453", + "a1dc3da3138ba471", + "03d6c2dca518cd6c", + "0bf124ea6478968e", + "eaa3f051c198b9de", + "52b0cc774f439302", + "f76cec2087f5d1e2", + "458d90e34479960c", + "9635cf6ffe5f5df1" + ], + "x": 74, + "y": 4679, + "w": 2172, + "h": 202 + }, + { + "id": "62f311d43397df29", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - import export triggers", + "style": { + "fill": "#6f2fa0", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "a3febe192ff0e350", + "7115d9982b314618", + "ae1b070d9513420f", + "79ad5f668b24679c", + "860477dbbd58b587", + "fcc5ebf1cf66f1ba", + "f06ff4146bf015e0", + "ab92b4e884625b66", + "d9e7fdd4b2064d1f", + "9bee7aa2fd078097", + "d351a3cbef1355a1", + "1645bbe018d66145", + "67040f324dd5eda2", + "2bbb2ae05167c591", + "e6aaca278df20666", + "06c3aeb3acba71e8", + "4d787b54987fe0b5", + "954786b6d749db39", + "5279e5dbd0cd1b08", + "7a051a6f4f35abc8", + "1e5bc4b34e21f8e5", + "3263d6b1a159b0ff", + "30b864529ddd7036", + "c77a886f99e247b6" + ], + "x": 74, + "y": 7039, + "w": 3052, + "h": 202 + }, + { + "id": "7015463582304bfb", + "type": "group", + "z": "2365e16185f43e03", + "name": "scenes - metrics path", + "style": { + "stroke": "#92d04f", + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "8251db7646a04b2f", + "c633fa7af533e323", + "5f01b08428c9fcf8", + "0a5f22f2163e13e8", + "c0f36549d2db9101", + "93b51078eda8436a", + "4f02ff1eca2682e7", + "b267f5eaee065241", + "14826dace9f64caa", + "4677d65857fdd766", + "2939004b027e19c6", + "71081512cddb5646", + "7a783c20a805ad05", + "3253e25dfac0d9e4", + "12a0232b035189a9", + "5201f0235b76c6fd", + "2f50e7532f5ba3bb", + "3e8ef8b3ae6caa63", + "6f7cf94ff85a540e", + "0cad5e616228dbe6", + "6f850f006fee6ac4", + "d9d897c67d8052e6", + "5d841c98941a9b5a", + "bb054a0ac21c4e2a" + ], + "x": 74, + "y": 7599, + "w": 4292, + "h": 382 + }, + { + "id": "c3b6b0792764609a", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "lighting", + "style": { + "fill": "#ffffff", + "label": true, + "fill-opacity": "0.25" + }, + "nodes": [ + "d63fa2d9ced27469", + "748c32f25da38ab8", + "1d722faea8f3efce", + "106e37a95380121b", + "019d4edaff49edac", + "72c3e43d1bd7d71e", + "0a3d4794e7dbc8fc", + "d0562d12417ddbcd", + "a61a9ab22c564e7c", + "7a1b01a19814bffe", + "a3749ef3434a4a01", + "abd5ad5bc01e3c20", + "f978ae555f7467c1", + "301581685dbc451a", + "f5ad10239eb3cfc3", + "68428fa55c773d0e", + "06e646e07d966f1f", + "3b1b60fd4fe7a75d", + "3b26932b59001243", + "2e2979bb6dcc6553", + "b0d65e1138250625", + "96bab19558d83451" + ], + "x": 454, + "y": 2019, + "w": 1032, + "h": 562 + }, + { + "id": "5ede26c96e5cab06", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "on / off", + "style": { + "fill": "#ffffff", + "fill-opacity": "0.25", + "label": true + }, + "nodes": [ + "5531a15abd8c4ad6", + "d33123fad66d11c4", + "955c0f58ef5493c0", + "31afb8af4711d764", + "9ad653eca9183816", + "2c8d914c36108517", + "99cc12fec7e55af6", + "c02d9cf308c8c689", + "6c7268e12e4ddb66", + "c9f65b1df2bc4d0d", + "18e76789cedf987f", + "ac0bce161d183ebb", + "26bd80d9092552c2", + "444340c4439ad7df", + "59d564a9bad5b8d7", + "f999a6940f409b25", + "a609d98d8b043604", + "75cc148180be472d", + "dcd32241c9d8f9b4", + "e01a71eb14501808", + "4c457d101747e608", + "c41fa2b682849fca", + "345de8645bc89741" + ], + "x": 454, + "y": 1359, + "w": 1032, + "h": 622 + }, + { + "id": "0d183185e153399c", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "common", + "style": { + "fill": "#ffffff", + "fill-opacity": "0.25", + "label": true + }, + "nodes": [ + "48cf2bbb95097f63", + "ee26946f7325dc17", + "8419fa139418385a", + "d0b1eeb6835b62fc", + "43166899a8759ba8", + "2caa3526ed6f318d", + "7cea5f900cc829a2", + "07746cda447f9699" + ], + "x": 454, + "y": 1179, + "w": 1492, + "h": 142 + }, + { + "id": "ecc0370d843384ba", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "shading", + "style": { + "label": true, + "fill": "#ffffff", + "fill-opacity": "0.25" + }, + "nodes": [ + "f6c8c74c3a9498c9", + "ab9e2cc1419356f3", + "40bf6c3509b0b82a", + "01761be97488508b", + "dec2bb5c514b76a9", + "628815a97e6a49d4", + "65d34bdd2f650120", + "3d22e5ebcc67c6a4", + "ba9ac89e95fd17d8", + "ce6e7ee22c2f80e1", + "c9c47f942aa9e47c" + ], + "x": 454, + "y": 2619, + "w": 1032, + "h": 262 + }, + { + "id": "a8e111e3fe3d2a80", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "custom level", + "style": { + "fill": "#ffffff", + "fill-opacity": "0.26", + "label": true + }, + "nodes": [ + "f7b90fe6011a828b", + "5436202610d4bda0", + "9afda004f8a34bfe", + "5c4464e9a6f4156d", + "9c9fe6dcf666a4f5", + "fdc361fd00366501", + "2a05b7fd7c41803e", + "080732e991ac90fa", + "5ddb0d681bee936e" + ], + "x": 454, + "y": 2919, + "w": 1032, + "h": 202 + }, + { + "id": "61fa65faa84a6ec6", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "airflow", + "style": { + "fill": "#ffffff", + "fill-opacity": "0.25", + "label": true + }, + "nodes": [ + "297f97a073fc8b2b", + "3b307fadcb62da76", + "3bd767f2b6f40d10", + "361dbaae56cc5dcf", + "41b449c7d8e26289" + ], + "x": 454, + "y": 3159, + "w": 1032, + "h": 82 + }, + { + "id": "305f8572101f2828", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "cumulus", + "style": { + "label": true, + "fill": "#ffffff", + "fill-opacity": "0.25" + }, + "nodes": [ + "cdde925551f9a2f0", + "fc9bbcdfe0657653", + "bdc3bb4cfb40ad78", + "b7e0ba1ac6f9000a", + "0351d85db24c2a3e", + "5593308d95ecb45d", + "311d865b504f9e2b", + "1c251fd76d55194c", + "313c321884c92f08" + ], + "x": 454, + "y": 3279, + "w": 1032, + "h": 202 + }, + { + "id": "aa5b3856a38f9e8d", + "type": "group", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "offloading", + "style": { + "fill": "#ffffff", + "fill-opacity": "0.25", + "label": true + }, + "nodes": [ + "eaddd489b98a436f", + "3d81cbda3748f441", + "56e2b31789bb941e", + "dc0df57eb59c0a2c", + "a575dd7d3df63cc2" + ], + "x": 454, + "y": 3519, + "w": 1032, + "h": 82 + }, + { + "id": "57833b8882f2f3f0", + "type": "catch", + "z": "2365e16185f43e03", + "g": "29799cbbbafa3ded", + "name": "catch error", + "scope": null, + "uncaught": false, + "x": 620, + "y": 60, + "wires": [ + [ + "a07c3bb746445ea8" + ] + ] + }, + { + "id": "a07c3bb746445ea8", + "type": "change", + "z": "2365e16185f43e03", + "g": "29799cbbbafa3ded", + "name": "topic", + "rules": [ + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "scenes", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 790, + "y": 60, + "wires": [ + [ + "65f60f513ebfb4ec" + ] + ] + }, + { + "id": "65f60f513ebfb4ec", + "type": "link out", + "z": "2365e16185f43e03", + "g": "29799cbbbafa3ded", + "name": "catch error", + "mode": "link", + "links": [ + "a52f0e788cd4dca3" + ], + "x": 915, + "y": 60, + "wires": [] + }, + { + "id": "a1054d58b95dbc48", + "type": "change", + "z": "2365e16185f43e03", + "g": "391ec7c03beaed05", + "name": "bucket", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "scenes", + "tot": "str" + }, + { + "t": "set", + "p": "bucket", + "pt": "flow", + "to": "bucket", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 270, + "y": 60, + "wires": [ + [ + "d92386370d84c100" + ] + ] + }, + { + "id": "85ebc176bf8b3f38", + "type": "link in", + "z": "2365e16185f43e03", + "g": "391ec7c03beaed05", + "name": "scenes - bucket", + "links": [ + "25445f5a9b787a0a" + ], + "x": 135, + "y": 60, + "wires": [ + [ + "a1054d58b95dbc48" + ] + ] + }, + { + "id": "d92386370d84c100", + "type": "link out", + "z": "2365e16185f43e03", + "g": "391ec7c03beaed05", + "name": "scenes - bucket", + "mode": "link", + "links": [ + "ee01b93bd48330c2", + "3214c7c1cc0f2f6f", + "3263d6b1a159b0ff" + ], + "x": 395, + "y": 60, + "wires": [] + }, + { + "id": "72ffa082cbdc1b9d", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.scene.type", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 750, + "y": 420, + "wires": [ + [ + "27e11297c93404a6" + ] + ] + }, + { + "id": "5a9f6ed4d2782bc6", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "add.scene", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.metrics", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "scene", + "pt": "msg", + "to": "{}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + }, + { + "t": "delete", + "p": "type", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 240, + "wires": [ + [ + "8baf78fc5b3a6764", + "c92344781b6fad03", + "ab93c45aeece527e", + "d353d0189ecf7f81", + "1d722faea8f3efce", + "019d4edaff49edac", + "0a3d4794e7dbc8fc", + "301581685dbc451a", + "68428fa55c773d0e", + "48cf2bbb95097f63", + "18e76789cedf987f", + "26bd80d9092552c2", + "444340c4439ad7df", + "a609d98d8b043604", + "dcd32241c9d8f9b4", + "4c457d101747e608", + "99cc12fec7e55af6", + "6c7268e12e4ddb66", + "628815a97e6a49d4", + "3d22e5ebcc67c6a4", + "ce6e7ee22c2f80e1", + "5436202610d4bda0", + "fdc361fd00366501", + "080732e991ac90fa", + "3b307fadcb62da76", + "bdc3bb4cfb40ad78", + "dc0df57eb59c0a2c" + ] + ] + }, + { + "id": "8baf78fc5b3a6764", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "group": "86da7af07264458b", + "name": "scene path (entity)", + "label": "Chemin de la scène :", + "tooltip": "", + "order": 2, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1210, + "y": 420, + "wires": [ + [ + "d24a93e61eae3c55" + ] + ] + }, + { + "id": "c92344781b6fad03", + "type": "delay", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1190, + "y": 300, + "wires": [ + [ + "db579c1fe924a2c1" + ] + ] + }, + { + "id": "db579c1fe924a2c1", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 830, + "y": 360, + "wires": [ + [ + "dd61619c1c937b10" + ] + ] + }, + { + "id": "dd61619c1c937b10", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Eclairage','value':'lighting'},\t {'label':'Ombrage','value':'shading'},\t {'label':'Ventilation','value':'airflow'},\t {'label':'Cumulus','value':'cumulus'},\t {'label':'Clone','value':'clone'},\t {'label':'Inverseur','value':'toggle'},\t {'label':'Spécial couleur','value':'custom color'},\t {'label':'Spécial niveau','value':'custom level'},\t {'label':\"Capture d'image\",'value':'snapshot'},\t {'label':'Thermostat','value':'thermostat'},\t {'label':'Spécial volume','value':'custom volume'},\t {'label':'Surcharge','value':'overload'}\t]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 360, + "wires": [ + [ + "ab93c45aeece527e" + ] + ] + }, + { + "id": "ab93c45aeece527e", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "group": "86da7af07264458b", + "name": "scene type", + "label": "Type de scène :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1190, + "y": 360, + "wires": [ + [ + "380eefbfb46f3a27" + ] + ] + }, + { + "id": "d63fa2d9ced27469", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]motion", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2060, + "wires": [ + [ + "748c32f25da38ab8" + ] + ] + }, + { + "id": "96bab19558d83451", + "type": "switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "lighting", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 2120, + "wires": [ + [ + "06e646e07d966f1f" + ] + ] + }, + { + "id": "748c32f25da38ab8", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "motion", + "label": "Mouvement", + "group": "86da7af07264458b", + "order": 18, + "width": "6", + "height": "1", + "passthru": true, + "topic": "motion", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1170, + "y": 2060, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "d353d0189ecf7f81", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "false", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 300, + "wires": [ + [ + "748c32f25da38ab8", + "7a1b01a19814bffe", + "abd5ad5bc01e3c20", + "955c0f58ef5493c0", + "9ad653eca9183816", + "7cea5f900cc829a2", + "2e2979bb6dcc6553", + "40bf6c3509b0b82a", + "5593308d95ecb45d", + "1c251fd76d55194c" + ] + ] + }, + { + "id": "1d722faea8f3efce", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "group": "86da7af07264458b", + "name": "timer", + "label": "Minuterie", + "tooltip": "", + "order": 13, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "timer", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "120", + "step": "5", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 2300, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "106e37a95380121b", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]timer", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2300, + "wires": [ + [ + "1d722faea8f3efce" + ] + ] + }, + { + "id": "019d4edaff49edac", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "group": "86da7af07264458b", + "name": "high", + "label": "Eclairage fort", + "tooltip": "", + "order": 14, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "high", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "99", + "step": "1", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 2360, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "72c3e43d1bd7d71e", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]high", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2360, + "wires": [ + [ + "019d4edaff49edac" + ] + ] + }, + { + "id": "0a3d4794e7dbc8fc", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "group": "86da7af07264458b", + "name": "low", + "label": "Eclairage faible", + "tooltip": "", + "order": 15, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "low", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "99", + "step": "1", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 2420, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "d0562d12417ddbcd", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]low", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2420, + "wires": [ + [ + "0a3d4794e7dbc8fc" + ] + ] + }, + { + "id": "a61a9ab22c564e7c", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]nocturnal", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2120, + "wires": [ + [ + "7a1b01a19814bffe" + ] + ] + }, + { + "id": "7a1b01a19814bffe", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "nocturnal", + "label": "Nocturne", + "group": "86da7af07264458b", + "order": 19, + "width": "6", + "height": "1", + "passthru": true, + "topic": "nocturnal", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1180, + "y": 2120, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "a3749ef3434a4a01", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]nightlight", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2180, + "wires": [ + [ + "abd5ad5bc01e3c20" + ] + ] + }, + { + "id": "abd5ad5bc01e3c20", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "nightlight", + "label": "Veilleuse", + "group": "86da7af07264458b", + "order": 20, + "width": "6", + "height": "1", + "passthru": true, + "topic": "nightlight", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1180, + "y": 2180, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "f978ae555f7467c1", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]luminosity", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2480, + "wires": [ + [ + "301581685dbc451a" + ] + ] + }, + { + "id": "301581685dbc451a", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "group": "86da7af07264458b", + "name": "luminosity", + "label": "Luminosité", + "tooltip": "", + "order": 16, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "luminosity", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "2500", + "step": "100", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1180, + "y": 2480, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "f5ad10239eb3cfc3", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]darkness", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2540, + "wires": [ + [ + "68428fa55c773d0e" + ] + ] + }, + { + "id": "68428fa55c773d0e", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "group": "86da7af07264458b", + "name": "darkness", + "label": "Obscurité", + "tooltip": "", + "order": 17, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "darkness", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "500", + "step": "10", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1180, + "y": 2540, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "48cf2bbb95097f63", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "group": "86da7af07264458b", + "name": "add", + "label": "", + "order": 35, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1170, + "y": 1220, + "wires": [ + [ + "ee26946f7325dc17" + ] + ] + }, + { + "id": "ee26946f7325dc17", + "type": "change", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "scene", + "pt": "msg", + "to": "add.scene", + "tot": "flow" + }, + { + "t": "set", + "p": "scenes[msg.scene.type][msg.scene.path]", + "pt": "global", + "to": "scene", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1340, + "y": 1220, + "wires": [ + [ + "8419fa139418385a" + ] + ] + }, + { + "id": "8419fa139418385a", + "type": "change", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Scène ajouté", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1560, + "y": 1220, + "wires": [ + [ + "43166899a8759ba8", + "d0b1eeb6835b62fc" + ] + ] + }, + { + "id": "d0b1eeb6835b62fc", + "type": "debug", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "scenes - add scene", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "scene", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 1810, + "y": 1220, + "wires": [] + }, + { + "id": "43166899a8759ba8", + "type": "link out", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "scenes - add scene", + "mode": "link", + "links": [ + "206c1fb4a48067df", + "251f1801fba21ab0", + "d2ca5cbd23e2cf88", + "9c3c4a7cb6430948", + "3214c7c1cc0f2f6f" + ], + "x": 1735, + "y": 1280, + "wires": [] + }, + { + "id": "251f1801fba21ab0", + "type": "link in", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "scenes - add scene", + "links": [ + "43166899a8759ba8", + "8d98777b03b2341f", + "d7f64b57a1fb0517", + "9635cf6ffe5f5df1" + ], + "x": 875, + "y": 240, + "wires": [ + [ + "5a9f6ed4d2782bc6" + ] + ] + }, + { + "id": "06e646e07d966f1f", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.motion", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.nocturnal", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.nightlight", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.retention", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.timer", + "pt": "flow", + "to": "0", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.high", + "pt": "flow", + "to": "40", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.low", + "pt": "flow", + "to": "0", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.luminosity", + "pt": "flow", + "to": "0", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.darkness", + "pt": "flow", + "to": "0", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 690, + "y": 2120, + "wires": [ + [ + "d63fa2d9ced27469", + "a61a9ab22c564e7c", + "a3749ef3434a4a01", + "106e37a95380121b", + "f978ae555f7467c1", + "f5ad10239eb3cfc3", + "3b1b60fd4fe7a75d", + "3b26932b59001243" + ] + ] + }, + { + "id": "c715b34bd8c7144e", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "add.trigger", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.buckets", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.measurements", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.fields", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.types", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "add.paths", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1730, + "y": 5020, + "wires": [ + [ + "852b5a25f14c20c6", + "acf663c8932fb635", + "6a28b7fcc76e5423", + "284a076d451ace1d", + "75cebf8401b56f16", + "9790caaee9c5957b", + "357a49acee942fd1", + "13da4488e5901405", + "c98c47082b028dd0", + "eae0eb6cb3648279", + "16438bfdddf3750d", + "33daf357f466a619", + "fc63cc48fc705844", + "33023e6e1a555bef" + ] + ] + }, + { + "id": "acf663c8932fb635", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "false", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1730, + "y": 4960, + "wires": [ + [ + "2accc11944283ad8", + "f3b0e08392296b29" + ] + ] + }, + { + "id": "852b5a25f14c20c6", + "type": "delay", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1910, + "y": 5020, + "wires": [ + [ + "c0d3cb23c9507a3b" + ] + ] + }, + { + "id": "2cc720203fa29afe", + "type": "link in", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "scene - add trigger", + "links": [ + "d32dc8a93d1ac3ad", + "8d98777b03b2341f", + "a21488eb16a467fa", + "30b864529ddd7036" + ], + "x": 1595, + "y": 5020, + "wires": [ + [ + "c715b34bd8c7144e" + ] + ] + }, + { + "id": "c0d3cb23c9507a3b", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5100, + "wires": [ + [ + "d29ab01e7feb7c8a" + ] + ] + }, + { + "id": "d29ab01e7feb7c8a", + "type": "split", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "bucket", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "bucket", + "x": 310, + "y": 5160, + "wires": [ + [ + "52995e16ab89a506" + ] + ] + }, + { + "id": "74a4ed4dc627a311", + "type": "join", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1550, + "y": 5140, + "wires": [ + [ + "70e8540a9e38ea1b" + ] + ] + }, + { + "id": "70e8540a9e38ea1b", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.buckets", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5140, + "wires": [ + [ + "6a28b7fcc76e5423" + ] + ] + }, + { + "id": "6a28b7fcc76e5423", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "bucket", + "label": "Pièce du déclencheur :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1890, + "y": 5140, + "wires": [ + [ + "94f92b94173718ae" + ] + ] + }, + { + "id": "52995e16ab89a506", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "limit bucket", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "room$", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 490, + "y": 5160, + "wires": [ + [ + "74a4ed4dc627a311" + ], + [ + "18abfea89e3b41b7" + ] + ] + }, + { + "id": "18abfea89e3b41b7", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "add", + "rules": [ + { + "t": "set", + "p": "current", + "pt": "msg", + "to": "{\t \"label\":msg.bucket,\t \"value\":msg.bucket\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "currents", + "pt": "msg", + "to": "add.buckets", + "tot": "flow" + }, + { + "t": "set", + "p": "add.buckets", + "pt": "flow", + "to": "$append(msg.currents,msg.current)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 670, + "y": 5100, + "wires": [ + [ + "74a4ed4dc627a311" + ] + ] + }, + { + "id": "bab19150c0c5380a", + "type": "split", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "measurement", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "measurement", + "x": 340, + "y": 5280, + "wires": [ + [ + "a8104e49d5de21fc" + ] + ] + }, + { + "id": "a808a0b1094b6686", + "type": "join", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1550, + "y": 5260, + "wires": [ + [ + "92b4cb9321db429e" + ] + ] + }, + { + "id": "92b4cb9321db429e", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.measurements", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5260, + "wires": [ + [ + "284a076d451ace1d" + ] + ] + }, + { + "id": "284a076d451ace1d", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "measurement", + "label": "Mesure du déclencheur :", + "tooltip": "", + "order": 2, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1920, + "y": 5260, + "wires": [ + [ + "609602a97afb8342" + ] + ] + }, + { + "id": "a8104e49d5de21fc", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "limit measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "config$", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 570, + "y": 5280, + "wires": [ + [ + "a808a0b1094b6686" + ], + [ + "e44628f535d5b1cb" + ] + ] + }, + { + "id": "0f613980bbb88aec", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "add", + "rules": [ + { + "t": "set", + "p": "current", + "pt": "msg", + "to": "{\t \"label\":msg.trans,\t \"value\":msg.measurement\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "currents", + "pt": "msg", + "to": "add.measurements", + "tot": "flow" + }, + { + "t": "set", + "p": "add.measurements", + "pt": "flow", + "to": "$append(msg.currents,msg.current)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1150, + "y": 5220, + "wires": [ + [ + "a808a0b1094b6686" + ] + ] + }, + { + "id": "7e331b1381065059", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.bucket", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics[msg.payload]", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5220, + "wires": [ + [ + "bab19150c0c5380a" + ] + ] + }, + { + "id": "e44628f535d5b1cb", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "move", + "rules": [ + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "measurement", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 770, + "y": 5220, + "wires": [ + [ + "aeb2a0a395a07f56" + ] + ] + }, + { + "id": "aeb2a0a395a07f56", + "type": "link call", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 960, + "y": 5220, + "wires": [ + [ + "0f613980bbb88aec" + ] + ] + }, + { + "id": "2ad50ca6f102ad06", + "type": "split", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "field", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "field", + "x": 310, + "y": 5400, + "wires": [ + [ + "ef40f0f28d4b23a0" + ] + ] + }, + { + "id": "be4e8eb0027dcf54", + "type": "join", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1550, + "y": 5380, + "wires": [ + [ + "8012222b2d1c8511" + ] + ] + }, + { + "id": "8012222b2d1c8511", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.fields", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5380, + "wires": [ + [ + "75cebf8401b56f16" + ] + ] + }, + { + "id": "75cebf8401b56f16", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "field", + "label": "Champs du déclencheur :", + "tooltip": "", + "order": 3, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1890, + "y": 5380, + "wires": [ + [ + "264193b117c3f150" + ] + ] + }, + { + "id": "ef40f0f28d4b23a0", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "limit field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "response$", + "vt": "str", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 480, + "y": 5400, + "wires": [ + [ + "be4e8eb0027dcf54" + ], + [ + "dfe33f11952c084b" + ] + ] + }, + { + "id": "92d3382419ded8c9", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "add", + "rules": [ + { + "t": "set", + "p": "current", + "pt": "msg", + "to": "{\t \"label\":msg.trans,\t \"value\":msg.field\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "currents", + "pt": "msg", + "to": "add.fields", + "tot": "flow" + }, + { + "t": "set", + "p": "add.fields", + "pt": "flow", + "to": "$append(msg.currents,msg.current)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 870, + "y": 5340, + "wires": [ + [ + "be4e8eb0027dcf54" + ] + ] + }, + { + "id": "609602a97afb8342", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.measurement", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "add.bucket", + "tot": "flow" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics[msg.bucket][msg.payload]", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5340, + "wires": [ + [ + "2ad50ca6f102ad06" + ] + ] + }, + { + "id": "dfe33f11952c084b", + "type": "link call", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 680, + "y": 5340, + "wires": [ + [ + "92d3382419ded8c9" + ] + ] + }, + { + "id": "460ba30d5c96b8cc", + "type": "split", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "type", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 310, + "y": 5460, + "wires": [ + [ + "534f26b628d7ca3c" + ] + ] + }, + { + "id": "b4448524cdeff7e5", + "type": "join", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1550, + "y": 5460, + "wires": [ + [ + "80a0e335e884b052" + ] + ] + }, + { + "id": "80a0e335e884b052", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.types", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5460, + "wires": [ + [ + "9790caaee9c5957b" + ] + ] + }, + { + "id": "9790caaee9c5957b", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "type", + "label": "Type de la scène :", + "tooltip": "", + "order": 4, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1890, + "y": 5460, + "wires": [ + [ + "d72e4ee0d2b4084d" + ] + ] + }, + { + "id": "12b058f0dc39a192", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "add", + "rules": [ + { + "t": "set", + "p": "current", + "pt": "msg", + "to": "{\t \"label\":msg.trans,\t \"value\":msg.type\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "currents", + "pt": "msg", + "to": "add.types", + "tot": "flow" + }, + { + "t": "set", + "p": "add.types", + "pt": "flow", + "to": "$append(msg.currents,msg.current)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 5460, + "wires": [ + [ + "b4448524cdeff7e5" + ] + ] + }, + { + "id": "264193b117c3f150", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.field", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5460, + "wires": [ + [ + "460ba30d5c96b8cc" + ] + ] + }, + { + "id": "adab55e820cad54d", + "type": "link call", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 660, + "y": 5460, + "wires": [ + [ + "12b058f0dc39a192" + ] + ] + }, + { + "id": "534f26b628d7ca3c", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "move", + "rules": [ + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "type", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 470, + "y": 5460, + "wires": [ + [ + "adab55e820cad54d" + ] + ] + }, + { + "id": "d72e4ee0d2b4084d", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.trigger.type", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "type", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.payload]", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5520, + "wires": [ + [ + "502addd457658917" + ] + ] + }, + { + "id": "502addd457658917", + "type": "split", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "path", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "path", + "x": 310, + "y": 5520, + "wires": [ + [ + "7044da8f08b09895" + ] + ] + }, + { + "id": "210ef3304012897f", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "add", + "rules": [ + { + "t": "set", + "p": "metric", + "pt": "msg", + "to": "{\t \"label\":msg.bucket&' / '&msg.trans_measurement&' / '&msg.trans,\t \"value\":msg.path\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "metrics", + "pt": "msg", + "to": "add.paths", + "tot": "flow" + }, + { + "t": "set", + "p": "add.paths", + "pt": "flow", + "to": "$append(msg.metrics,msg.metric)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1390, + "y": 5520, + "wires": [ + [ + "61282a89cda06158" + ] + ] + }, + { + "id": "6f93c6bcc4a65c4d", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.paths", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5520, + "wires": [ + [ + "357a49acee942fd1" + ] + ] + }, + { + "id": "357a49acee942fd1", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "path", + "label": "Entité de la scène :", + "tooltip": "", + "order": 5, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1890, + "y": 5520, + "wires": [ + [ + "242995af11794e53" + ] + ] + }, + { + "id": "61282a89cda06158", + "type": "join", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1550, + "y": 5520, + "wires": [ + [ + "6f93c6bcc4a65c4d" + ] + ] + }, + { + "id": "964d600b050df4fc", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "move", + "rules": [ + { + "t": "set", + "p": "old_field", + "pt": "msg", + "to": "field", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "measurement", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 630, + "y": 5520, + "wires": [ + [ + "5d3298bda1ca0932" + ] + ] + }, + { + "id": "5d3298bda1ca0932", + "type": "link call", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 820, + "y": 5520, + "wires": [ + [ + "f8749556560c8526" + ] + ] + }, + { + "id": "f8749556560c8526", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "move", + "rules": [ + { + "t": "set", + "p": "trans_measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "old_field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 5520, + "wires": [ + [ + "3bbe844fffdf20ed" + ] + ] + }, + { + "id": "3bbe844fffdf20ed", + "type": "link call", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1200, + "y": 5520, + "wires": [ + [ + "210ef3304012897f" + ] + ] + }, + { + "id": "7044da8f08b09895", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "split", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 470, + "y": 5520, + "wires": [ + [ + "964d600b050df4fc" + ] + ] + }, + { + "id": "242995af11794e53", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.trigger.path", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 150, + "y": 5580, + "wires": [ + [ + "9c9c71c664eee075" + ] + ] + }, + { + "id": "1870deac817325e5", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "cleanup", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "add.bucket", + "tot": "flow" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "add.measurement", + "tot": "flow" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "add.field", + "tot": "flow" + }, + { + "t": "set", + "p": "add.trigger.trigger", + "pt": "flow", + "to": "msg.bucket&'/'&msg.measurement&'/'&msg.field", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "add.trigger", + "tot": "flow" + }, + { + "t": "set", + "p": "md5", + "pt": "msg", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2060, + "y": 6180, + "wires": [ + [ + "c640900fa4f67a47" + ] + ] + }, + { + "id": "13da4488e5901405", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "on type", + "label": "Type de niveau haut :", + "tooltip": "", + "order": 6, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Aucun", + "value": "", + "type": "str" + }, + { + "label": "Booléen", + "value": "boolean", + "type": "str" + }, + { + "label": "Nombre", + "value": "number", + "type": "str" + }, + { + "label": "Texte", + "value": "text", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1900, + "y": 5580, + "wires": [ + [ + "6a1a8f3a27e993b3" + ] + ] + }, + { + "id": "6a1a8f3a27e993b3", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "on type", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "eq", + "v": "boolean", + "vt": "str" + }, + { + "t": "eq", + "v": "number", + "vt": "str" + }, + { + "t": "eq", + "v": "text", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 4, + "x": 1560, + "y": 5640, + "wires": [ + [ + "52a7726c278388da" + ], + [ + "f2369a7f542517f2" + ], + [ + "3f26dd11ba94f7c0" + ], + [ + "3b9bcd70499a72a7" + ] + ] + }, + { + "id": "2accc11944283ad8", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "on boolean", + "label": "Niveau haut", + "group": "eeb78a0cec96cfe6", + "order": 7, + "width": "6", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1910, + "y": 5700, + "wires": [ + [ + "77b5fcb42cefbcf7" + ] + ] + }, + { + "id": "c98c47082b028dd0", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "on number", + "label": "Niveau haut", + "tooltip": "", + "order": 8, + "width": "6", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "99", + "step": 1, + "className": "", + "x": 1910, + "y": 5760, + "wires": [ + [ + "77b5fcb42cefbcf7" + ] + ] + }, + { + "id": "eae0eb6cb3648279", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "on text", + "label": "Niveau haut", + "order": 9, + "width": "6", + "height": "1", + "topic": "topic", + "topicType": "msg", + "mode": "text", + "delay": 300, + "passthru": false, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 1890, + "y": 5820, + "wires": [ + [ + "77b5fcb42cefbcf7" + ] + ] + }, + { + "id": "77b5fcb42cefbcf7", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.trigger.on", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2090, + "y": 5700, + "wires": [ + [ + "52a7726c278388da" + ] + ] + }, + { + "id": "52a7726c278388da", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "...", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2250, + "y": 5640, + "wires": [ + [ + "af55e037ae50391e" + ] + ] + }, + { + "id": "16438bfdddf3750d", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "off type", + "label": "Type de niveau bas :", + "tooltip": "", + "order": 10, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "Aucun", + "value": "", + "type": "str" + }, + { + "label": "Booléen", + "value": "boolean", + "type": "str" + }, + { + "label": "Nombre", + "value": "number", + "type": "str" + }, + { + "label": "Texte", + "value": "text", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1900, + "y": 5880, + "wires": [ + [ + "8dc9910ee0b4af8a" + ] + ] + }, + { + "id": "8dc9910ee0b4af8a", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "off type", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "eq", + "v": "boolean", + "vt": "str" + }, + { + "t": "eq", + "v": "number", + "vt": "str" + }, + { + "t": "eq", + "v": "text", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 4, + "x": 1560, + "y": 5940, + "wires": [ + [ + "dc8e1ea48d3d1380" + ], + [ + "2b5138253f338bd9" + ], + [ + "ee9f0a9d9f5bfded" + ], + [ + "9555f3b85c4c0239" + ] + ] + }, + { + "id": "f3b0e08392296b29", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "off boolean", + "label": "Niveau bas", + "group": "eeb78a0cec96cfe6", + "order": 11, + "width": "6", + "height": "1", + "passthru": false, + "topic": "topic", + "topicType": "msg", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1910, + "y": 6000, + "wires": [ + [ + "07f809162cd1c7ff" + ] + ] + }, + { + "id": "33daf357f466a619", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "off nuùmber", + "label": "Niveau bas", + "tooltip": "", + "order": 12, + "width": "6", + "height": "1", + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "thumbLabel": true, + "min": 0, + "max": "99", + "step": 1, + "className": "", + "x": 1910, + "y": 6060, + "wires": [ + [ + "07f809162cd1c7ff" + ] + ] + }, + { + "id": "fc63cc48fc705844", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "off text", + "label": "Niveau bas", + "order": 13, + "width": "6", + "height": "1", + "topic": "topic", + "topicType": "msg", + "mode": "text", + "delay": 300, + "passthru": false, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 1890, + "y": 6120, + "wires": [ + [ + "07f809162cd1c7ff" + ] + ] + }, + { + "id": "07f809162cd1c7ff", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.trigger.off", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2090, + "y": 6000, + "wires": [ + [ + "dc8e1ea48d3d1380" + ] + ] + }, + { + "id": "dc8e1ea48d3d1380", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "...", + "rules": [], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2250, + "y": 5940, + "wires": [ + [ + "33023e6e1a555bef" + ] + ] + }, + { + "id": "9c9c71c664eee075", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Aucun','value':''},\t {'label':'Booléen','value':'boolean'},\t {'label':'Nombre','value':'number'},\t {'label':'Text','value':'text'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5580, + "wires": [ + [ + "13da4488e5901405" + ] + ] + }, + { + "id": "af55e037ae50391e", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "[\t {'label':'Aucun','value':''},\t {'label':'Booléen','value':'boolean'},\t {'label':'Nombre','value':'number'},\t {'label':'Text','value':'text'}\t]", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5880, + "wires": [ + [ + "16438bfdddf3750d" + ] + ] + }, + { + "id": "f2369a7f542517f2", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5700, + "wires": [ + [ + "2accc11944283ad8" + ] + ] + }, + { + "id": "3f26dd11ba94f7c0", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "99", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5760, + "wires": [ + [ + "c98c47082b028dd0" + ] + ] + }, + { + "id": "3b9bcd70499a72a7", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1720, + "y": 5820, + "wires": [ + [ + "eae0eb6cb3648279" + ] + ] + }, + { + "id": "2b5138253f338bd9", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1740, + "y": 6000, + "wires": [ + [ + "f3b0e08392296b29" + ] + ] + }, + { + "id": "ee9f0a9d9f5bfded", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "0", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1740, + "y": 6060, + "wires": [ + [ + "33daf357f466a619" + ] + ] + }, + { + "id": "9555f3b85c4c0239", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1740, + "y": 6120, + "wires": [ + [ + "fc63cc48fc705844" + ] + ] + }, + { + "id": "33023e6e1a555bef", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "group": "eeb78a0cec96cfe6", + "name": "add", + "label": "", + "order": 14, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1890, + "y": 6180, + "wires": [ + [ + "1870deac817325e5" + ] + ] + }, + { + "id": "4f54be59fa4e6633", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Scène ajouté", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2780, + "y": 6180, + "wires": [ + [ + "d32dc8a93d1ac3ad" + ] + ] + }, + { + "id": "0a0de1ee87778882", + "type": "debug", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "scenes - add trigger", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 3040, + "y": 6120, + "wires": [] + }, + { + "id": "d32dc8a93d1ac3ad", + "type": "link out", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "scenes - add scene", + "mode": "link", + "links": [ + "206c1fb4a48067df", + "2cc720203fa29afe", + "3263d6b1a159b0ff" + ], + "x": 2955, + "y": 6180, + "wires": [] + }, + { + "id": "7d84766600c7d5a9", + "type": "change", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "triggers[msg.payload.trigger][msg.md5]", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2560, + "y": 6120, + "wires": [ + [ + "4f54be59fa4e6633", + "0a0de1ee87778882" + ] + ] + }, + { + "id": "380eefbfb46f3a27", + "type": "switch", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "scene type", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "eq", + "v": "lighting", + "vt": "str" + }, + { + "t": "eq", + "v": "shading", + "vt": "str" + }, + { + "t": "eq", + "v": "airflow", + "vt": "str" + }, + { + "t": "eq", + "v": "cumulus", + "vt": "str" + }, + { + "t": "eq", + "v": "snapshot", + "vt": "str" + }, + { + "t": "eq", + "v": "overload", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "clone", + "vt": "str" + }, + { + "t": "eq", + "v": "thermostat", + "vt": "str" + }, + { + "t": "eq", + "v": "custom color", + "vt": "str" + }, + { + "t": "eq", + "v": "custom level", + "vt": "str" + }, + { + "t": "eq", + "v": "custom volume", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 13, + "x": 310, + "y": 420, + "wires": [ + [ + "5a9f6ed4d2782bc6" + ], + [ + "ca5d39b702b03571" + ], + [ + "7716fc16ed250b25" + ], + [ + "f50307318be3d784" + ], + [ + "9f397c7d7826bf47" + ], + [ + "dc9f51f48adc1d8a" + ], + [ + "611c8a5cd84bb73d" + ], + [ + "71e09030c5018a86" + ], + [ + "934dc60f940169b5" + ], + [ + "86f50642027670e1" + ], + [ + "bf20df3841df8f08" + ], + [ + "e082053ef394efe4" + ], + [ + "98d0f4551cf7be28" + ] + ] + }, + { + "id": "ca5d39b702b03571", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "lighting metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!agenda|system|thermostat|room).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "(light|outlet)$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 530, + "y": 420, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "d24a93e61eae3c55", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "get entity format", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "format", + "pt": "msg", + "to": "devices[msg.tmp[0]][msg.tmp[1]][msg.tmp[2]]format", + "tot": "global" + }, + { + "t": "set", + "p": "format", + "pt": "msg", + "to": "msg.format?msg.format:'boolean'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 180, + "y": 1220, + "wires": [ + [ + "e9aff2124a3f14e7" + ] + ] + }, + { + "id": "e9aff2124a3f14e7", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.scene.path", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "add.scene.format", + "pt": "flow", + "to": "format", + "tot": "msg" + }, + { + "t": "set", + "p": "type", + "pt": "msg", + "to": "add.scene.type", + "tot": "flow" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 370, + "y": 1220, + "wires": [ + [ + "96bab19558d83451", + "345de8645bc89741", + "f6c8c74c3a9498c9", + "07746cda447f9699", + "2caa3526ed6f318d", + "f7b90fe6011a828b", + "297f97a073fc8b2b", + "cdde925551f9a2f0", + "eaddd489b98a436f" + ] + ] + }, + { + "id": "5531a15abd8c4ad6", + "type": "switch", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "format", + "property": "format", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "boolean", + "vt": "str" + }, + { + "t": "eq", + "v": "dimmer", + "vt": "str" + }, + { + "t": "eq", + "v": "percent", + "vt": "str" + }, + { + "t": "eq", + "v": "number", + "vt": "str" + }, + { + "t": "eq", + "v": "text", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 830, + "y": 1460, + "wires": [ + [ + "d33123fad66d11c4", + "31afb8af4711d764" + ], + [ + "c9f65b1df2bc4d0d", + "ac0bce161d183ebb" + ], + [ + "59d564a9bad5b8d7", + "f999a6940f409b25" + ], + [ + "75cc148180be472d", + "e01a71eb14501808" + ], + [ + "2c8d914c36108517", + "c02d9cf308c8c689" + ] + ] + }, + { + "id": "d33123fad66d11c4", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]on", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1400, + "wires": [ + [ + "955c0f58ef5493c0" + ] + ] + }, + { + "id": "955c0f58ef5493c0", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "scene on boolean", + "label": "Marche", + "group": "86da7af07264458b", + "order": 3, + "width": "6", + "height": "1", + "passthru": true, + "topic": "on", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1210, + "y": 1400, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "31afb8af4711d764", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]off", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1460, + "wires": [ + [ + "9ad653eca9183816" + ] + ] + }, + { + "id": "9ad653eca9183816", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "scene off boolean", + "label": "Arrêt", + "group": "86da7af07264458b", + "order": 4, + "width": "6", + "height": "1", + "passthru": true, + "topic": "off", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1210, + "y": 1460, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "2c8d914c36108517", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]on", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1880, + "wires": [ + [ + "99cc12fec7e55af6" + ] + ] + }, + { + "id": "99cc12fec7e55af6", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene on text", + "label": "Marche", + "order": 11, + "width": "6", + "height": "1", + "topic": "on", + "topicType": "str", + "mode": "text", + "tooltip": "", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "clearable": false, + "sendOnClear": false, + "icon": "", + "iconPosition": "left", + "iconInnerPosition": "inside", + "x": 1190, + "y": 1880, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "c02d9cf308c8c689", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]off", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1940, + "wires": [ + [ + "6c7268e12e4ddb66" + ] + ] + }, + { + "id": "6c7268e12e4ddb66", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene off text", + "label": "Arrêt", + "order": 12, + "width": "6", + "height": "1", + "topic": "off", + "topicType": "str", + "mode": "text", + "tooltip": "", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "clearable": false, + "sendOnClear": false, + "icon": "", + "iconPosition": "left", + "iconInnerPosition": "inside", + "x": 1190, + "y": 1940, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "c9f65b1df2bc4d0d", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]on", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1520, + "wires": [ + [ + "18e76789cedf987f" + ] + ] + }, + { + "id": "18e76789cedf987f", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene on dimmer", + "label": "Marche", + "tooltip": "", + "order": 5, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "on", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": 0, + "max": "99", + "step": 1, + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1210, + "y": 1520, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "ac0bce161d183ebb", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]off", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1580, + "wires": [ + [ + "26bd80d9092552c2" + ] + ] + }, + { + "id": "26bd80d9092552c2", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene off dimmer", + "label": "Arrêt", + "tooltip": "", + "order": 6, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "off", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": 0, + "max": "99", + "step": 1, + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1210, + "y": 1580, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "444340c4439ad7df", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene on percent", + "label": "Marche", + "tooltip": "", + "order": 7, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "on", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": 0, + "max": "100", + "step": 1, + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1210, + "y": 1640, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "59d564a9bad5b8d7", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]on", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1640, + "wires": [ + [ + "444340c4439ad7df" + ] + ] + }, + { + "id": "f999a6940f409b25", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]off", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1700, + "wires": [ + [ + "a609d98d8b043604" + ] + ] + }, + { + "id": "a609d98d8b043604", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene off percent", + "label": "Arrêt", + "tooltip": "", + "order": 8, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "off", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": 0, + "max": "99", + "step": 1, + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1210, + "y": 1700, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "75cc148180be472d", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]on", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1760, + "wires": [ + [ + "dcd32241c9d8f9b4" + ] + ] + }, + { + "id": "dcd32241c9d8f9b4", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene on number", + "label": "Marche", + "order": 9, + "width": "6", + "height": "1", + "topic": "on", + "topicType": "str", + "mode": "text", + "tooltip": "", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "clearable": false, + "sendOnClear": false, + "icon": "", + "iconPosition": "left", + "iconInnerPosition": "inside", + "x": 1210, + "y": 1760, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "e01a71eb14501808", + "type": "change", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]off", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1000, + "y": 1820, + "wires": [ + [ + "4c457d101747e608" + ] + ] + }, + { + "id": "4c457d101747e608", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "group": "86da7af07264458b", + "name": "scene off number", + "label": "Arrêt", + "order": 10, + "width": "6", + "height": "1", + "topic": "off", + "topicType": "str", + "mode": "text", + "tooltip": "", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "clearable": false, + "sendOnClear": false, + "icon": "", + "iconPosition": "left", + "iconInnerPosition": "inside", + "x": 1210, + "y": 1820, + "wires": [ + [ + "c41fa2b682849fca" + ] + ] + }, + { + "id": "9509fcecd56acf35", + "type": "ui-table", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "group": "8b3cd32ecb695d93", + "name": "", + "label": "text", + "order": 3, + "width": "18", + "height": "1", + "maxrows": 0, + "passthru": false, + "autocols": true, + "showSearch": false, + "selectionType": "none", + "columns": [], + "x": 1790, + "y": 4540, + "wires": [ + [] + ] + }, + { + "id": "98256ab7befa37da", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes", + "tot": "global" + }, + { + "t": "set", + "p": "list.types", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 4480, + "wires": [ + [ + "3067689be2297942" + ] + ] + }, + { + "id": "3067689be2297942", + "type": "split", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "split types", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 360, + "y": 4480, + "wires": [ + [ + "c7bd298ffb4de55f" + ] + ] + }, + { + "id": "91316e3eefbcc0cf", + "type": "join", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 4540, + "wires": [ + [ + "8354904bf42824c1" + ] + ] + }, + { + "id": "8354904bf42824c1", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "table", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "list.scenes", + "tot": "flow" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 4540, + "wires": [ + [ + "9509fcecd56acf35", + "15fa91642ca84b97" + ] + ] + }, + { + "id": "15fa91642ca84b97", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "count", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$count(msg.payload)", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 4600, + "wires": [ + [ + "c05eff78970180b9" + ] + ] + }, + { + "id": "c05eff78970180b9", + "type": "ui-text", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "group": "8b3cd32ecb695d93", + "order": 2, + "width": "6", + "height": "1", + "name": "scenes count", + "label": "Nombre de scènes enregistrées : ", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1810, + "y": 4600, + "wires": [] + }, + { + "id": "f0e0dfead2456763", + "type": "split", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "split scenes", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 370, + "y": 4540, + "wires": [ + [ + "3822cfa6e7343451" + ] + ] + }, + { + "id": "1a28a0f57cacac56", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "group": "8b3cd32ecb695d93", + "name": "scenes types", + "label": "Type de scène :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1810, + "y": 4480, + "wires": [ + [ + "82b97ac85ee0461e" + ] + ] + }, + { + "id": "c7bd298ffb4de55f", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "add", + "rules": [ + { + "t": "set", + "p": "type", + "pt": "msg", + "to": "{\t \"label\":msg.type,\t \"value\":msg.type\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "types", + "pt": "msg", + "to": "list.types", + "tot": "flow" + }, + { + "t": "set", + "p": "list.types", + "pt": "flow", + "to": "$append(msg.types,msg.type)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1290, + "y": 4480, + "wires": [ + [ + "922afa0f092ea7ac" + ] + ] + }, + { + "id": "922afa0f092ea7ac", + "type": "join", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1450, + "y": 4480, + "wires": [ + [ + "63a06048dc8ec077" + ] + ] + }, + { + "id": "63a06048dc8ec077", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "list.types", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1620, + "y": 4480, + "wires": [ + [ + "1a28a0f57cacac56" + ] + ] + }, + { + "id": "5647d49696914090", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.payload]", + "tot": "global" + }, + { + "t": "set", + "p": "list.scenes", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 4540, + "wires": [ + [ + "f0e0dfead2456763" + ] + ] + }, + { + "id": "c08574254bd03c3d", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 4360, + "wires": [ + [ + "3c1e652d59e2bc73", + "1a28a0f57cacac56", + "c05eff78970180b9", + "51fd890f206eb658" + ] + ] + }, + { + "id": "3c1e652d59e2bc73", + "type": "delay", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1810, + "y": 4360, + "wires": [ + [ + "98256ab7befa37da" + ] + ] + }, + { + "id": "d2ca5cbd23e2cf88", + "type": "link in", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "scenes - list scenes", + "links": [ + "8d98777b03b2341f", + "d7f64b57a1fb0517", + "43166899a8759ba8", + "9635cf6ffe5f5df1" + ], + "x": 1495, + "y": 4360, + "wires": [ + [ + "c08574254bd03c3d" + ] + ] + }, + { + "id": "3822cfa6e7343451", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 4540, + "wires": [ + [ + "df9cad37a3d97a08" + ] + ] + }, + { + "id": "df9cad37a3d97a08", + "type": "link call", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 4540, + "wires": [ + [ + "4ffb1946a7f3e562" + ] + ] + }, + { + "id": "4ffb1946a7f3e562", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 4540, + "wires": [ + [ + "4b6a5d60e2d13046" + ] + ] + }, + { + "id": "4b6a5d60e2d13046", + "type": "link call", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 4540, + "wires": [ + [ + "9e20d3f498cdecdb" + ] + ] + }, + { + "id": "51fd890f206eb658", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t 'path':'',\t 'format':'',\t 'on':'',\t 'off':'',\t 'actif':''\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 4420, + "wires": [ + [ + "9509fcecd56acf35" + ] + ] + }, + { + "id": "273bd58e8316eb5b", + "type": "ui-table", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "group": "b2b7b4212f316b5b", + "name": "", + "label": "text", + "order": 3, + "width": "18", + "height": "1", + "maxrows": 0, + "passthru": false, + "autocols": true, + "showSearch": false, + "selectionType": "none", + "columns": [], + "x": 1810, + "y": 6900, + "wires": [ + [] + ] + }, + { + "id": "6ffe6ce67f84f151", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers", + "tot": "global" + }, + { + "t": "set", + "p": "list.triggers", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 6840, + "wires": [ + [ + "7a1c0e3a684f732e" + ] + ] + }, + { + "id": "7a1c0e3a684f732e", + "type": "split", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "split triggers", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "trigger", + "x": 370, + "y": 6840, + "wires": [ + [ + "f0e3c9e062d72dcf" + ] + ] + }, + { + "id": "af0dcb4755815ad4", + "type": "join", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 6900, + "wires": [ + [ + "a428f5c3eb5f8470" + ] + ] + }, + { + "id": "ebebd4050c80114d", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "add", + "rules": [ + { + "t": "set", + "p": "list.md5[msg.parts.index]", + "pt": "flow", + "to": "{\t 'type':msg.payload.type,\t 'path':msg.bucket&' / '&msg.measurement&' / '&msg.trans,\t 'on':msg.payload.on,\t 'off':msg.payload.off\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 6900, + "wires": [ + [ + "af0dcb4755815ad4" + ] + ] + }, + { + "id": "a428f5c3eb5f8470", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "table", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "list.md5", + "tot": "flow" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 6900, + "wires": [ + [ + "273bd58e8316eb5b", + "95a06b05b8a280dd" + ] + ] + }, + { + "id": "95a06b05b8a280dd", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "count", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$count(msg.payload)", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 6960, + "wires": [ + [ + "e3306978b68a0c62" + ] + ] + }, + { + "id": "e3306978b68a0c62", + "type": "ui-text", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "group": "b2b7b4212f316b5b", + "order": 2, + "width": "6", + "height": "1", + "name": "scenes count", + "label": "Nombre de scènes enregistrées : ", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 1830, + "y": 6960, + "wires": [] + }, + { + "id": "b766961b6627377c", + "type": "split", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "split scenes", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "", + "x": 370, + "y": 6900, + "wires": [ + [ + "d89153f5c2db6207" + ] + ] + }, + { + "id": "ee71cf476db60370", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "group": "b2b7b4212f316b5b", + "name": "triggers", + "label": "Déclencheur", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1820, + "y": 6840, + "wires": [ + [ + "464dc2d69be4c4d2" + ] + ] + }, + { + "id": "5ccb44d34776aeb2", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "add", + "rules": [ + { + "t": "set", + "p": "trigger", + "pt": "msg", + "to": "{\t \"label\":msg.bucket&' / '&msg.measurement&' / '&msg.trans,\t \"value\":msg.trigger\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "triggers", + "pt": "msg", + "to": "list.triggers", + "tot": "flow" + }, + { + "t": "set", + "p": "list.triggers", + "pt": "flow", + "to": "$append(msg.triggers,msg.trigger)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 6840, + "wires": [ + [ + "3ecde7539b026698" + ] + ] + }, + { + "id": "3ecde7539b026698", + "type": "join", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 6840, + "wires": [ + [ + "a8c6849c3d6984a4" + ] + ] + }, + { + "id": "a8c6849c3d6984a4", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "list.triggers", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 6840, + "wires": [ + [ + "ee71cf476db60370" + ] + ] + }, + { + "id": "fbb6b0967cfaf84c", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers[msg.payload]", + "tot": "global" + }, + { + "t": "set", + "p": "list.md5", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 6900, + "wires": [ + [ + "b766961b6627377c" + ] + ] + }, + { + "id": "b9ccd0540ef6392a", + "type": "delay", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1830, + "y": 6720, + "wires": [ + [ + "6ffe6ce67f84f151" + ] + ] + }, + { + "id": "3664ee38f2da0806", + "type": "link in", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "scenes - list triggers", + "links": [ + "8d98777b03b2341f", + "a21488eb16a467fa", + "30b864529ddd7036" + ], + "x": 1515, + "y": 6720, + "wires": [ + [ + "32f125658d78f3aa" + ] + ] + }, + { + "id": "32f125658d78f3aa", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1650, + "y": 6720, + "wires": [ + [ + "b9ccd0540ef6392a", + "ee71cf476db60370", + "e3306978b68a0c62", + "90755f813c5b2497" + ] + ] + }, + { + "id": "d89153f5c2db6207", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 6900, + "wires": [ + [ + "ec120ed7d3da5269" + ] + ] + }, + { + "id": "ec120ed7d3da5269", + "type": "link call", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 6900, + "wires": [ + [ + "7f077aece50a67f1" + ] + ] + }, + { + "id": "7f077aece50a67f1", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6900, + "wires": [ + [ + "aea93e1a9e4fe7c3" + ] + ] + }, + { + "id": "aea93e1a9e4fe7c3", + "type": "link call", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 6900, + "wires": [ + [ + "ebebd4050c80114d" + ] + ] + }, + { + "id": "90755f813c5b2497", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\t 'path':'',\t 'format':'',\t 'on':'',\t 'off':'',\t 'actif':''\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1650, + "y": 6780, + "wires": [ + [ + "273bd58e8316eb5b" + ] + ] + }, + { + "id": "f0e3c9e062d72dcf", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.trigger,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 6840, + "wires": [ + [ + "81dc69f880d9c871" + ] + ] + }, + { + "id": "81dc69f880d9c871", + "type": "link call", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 6840, + "wires": [ + [ + "864cbc5606ca463a" + ] + ] + }, + { + "id": "864cbc5606ca463a", + "type": "change", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6840, + "wires": [ + [ + "da61b3bf319b4fbf" + ] + ] + }, + { + "id": "da61b3bf319b4fbf", + "type": "link call", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 6840, + "wires": [ + [ + "5ccb44d34776aeb2" + ] + ] + }, + { + "id": "8bb1bba6cd29a251", + "type": "delay", + "z": "2365e16185f43e03", + "g": "fa9acbe70d9d6582", + "name": "1 min", + "pauseType": "delay", + "timeout": "1", + "timeoutUnits": "minutes", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1210, + "y": 60, + "wires": [ + [ + "8d98777b03b2341f" + ] + ] + }, + { + "id": "ee01b93bd48330c2", + "type": "link in", + "z": "2365e16185f43e03", + "g": "fa9acbe70d9d6582", + "name": "scenes - boot wait", + "links": [ + "d92386370d84c100" + ], + "x": 1075, + "y": 60, + "wires": [ + [ + "8bb1bba6cd29a251" + ] + ] + }, + { + "id": "8d98777b03b2341f", + "type": "link out", + "z": "2365e16185f43e03", + "g": "fa9acbe70d9d6582", + "name": "scenes - boot wait", + "mode": "link", + "links": [ + "251f1801fba21ab0", + "d2ca5cbd23e2cf88", + "2cc720203fa29afe", + "3664ee38f2da0806", + "0d7f6889440560fb", + "9c3c4a7cb6430948" + ], + "x": 1335, + "y": 60, + "wires": [] + }, + { + "id": "9e20d3f498cdecdb", + "type": "change", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "add", + "rules": [ + { + "t": "delete", + "p": "payload.type", + "pt": "msg" + }, + { + "t": "delete", + "p": "payload.response", + "pt": "msg" + }, + { + "t": "set", + "p": "list.scenes[msg.parts.index]", + "pt": "flow", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "list.scenes[msg.parts.index].path", + "pt": "flow", + "to": "msg.bucket&' / '&msg.measurement&' / '&msg.trans", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 4540, + "wires": [ + [ + "91316e3eefbcc0cf" + ] + ] + }, + { + "id": "0d7f6889440560fb", + "type": "link in", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "scenes - delete trigger", + "links": [ + "8d98777b03b2341f", + "a21488eb16a467fa", + "30b864529ddd7036" + ], + "x": 1495, + "y": 6300, + "wires": [ + [ + "7e1540e06576c37e" + ] + ] + }, + { + "id": "7e1540e06576c37e", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1650, + "y": 6300, + "wires": [ + [ + "8b992a342f07cc51", + "470f6755223e9f3e", + "13aa9d0fd7bfb031", + "e7b794a92adb0fc0" + ] + ] + }, + { + "id": "8b992a342f07cc51", + "type": "delay", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1830, + "y": 6300, + "wires": [ + [ + "58195b7dcdf542c3" + ] + ] + }, + { + "id": "58195b7dcdf542c3", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers", + "tot": "global" + }, + { + "t": "set", + "p": "del.triggers", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 6360, + "wires": [ + [ + "11d2871802dc1814" + ] + ] + }, + { + "id": "11d2871802dc1814", + "type": "split", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "split triggers", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "trigger", + "x": 370, + "y": 6360, + "wires": [ + [ + "1e77b920b8ef44ae" + ] + ] + }, + { + "id": "470f6755223e9f3e", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "group": "c32053913a6bb245", + "name": "triggers", + "label": "Déclencheur", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1820, + "y": 6360, + "wires": [ + [ + "772f392435a3dd17" + ] + ] + }, + { + "id": "feafb2a13eb7aba6", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "add", + "rules": [ + { + "t": "set", + "p": "trigger", + "pt": "msg", + "to": "{\t \"label\":msg.bucket&' / '&msg.measurement&' / '&msg.trans,\t \"value\":msg.trigger\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "triggers", + "pt": "msg", + "to": "del.triggers", + "tot": "flow" + }, + { + "t": "set", + "p": "del.triggers", + "pt": "flow", + "to": "$append(msg.triggers,msg.trigger)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 6360, + "wires": [ + [ + "59453ef087594e15" + ] + ] + }, + { + "id": "59453ef087594e15", + "type": "join", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 6360, + "wires": [ + [ + "9008dc6f58df69ce" + ] + ] + }, + { + "id": "9008dc6f58df69ce", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "del.triggers", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 6360, + "wires": [ + [ + "470f6755223e9f3e" + ] + ] + }, + { + "id": "1e77b920b8ef44ae", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.trigger,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 6360, + "wires": [ + [ + "595d539c1bb100e0" + ] + ] + }, + { + "id": "595d539c1bb100e0", + "type": "link call", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 6360, + "wires": [ + [ + "160e62d5b3260c7c" + ] + ] + }, + { + "id": "160e62d5b3260c7c", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6360, + "wires": [ + [ + "4b8667d43dd55dcb" + ] + ] + }, + { + "id": "4b8667d43dd55dcb", + "type": "link call", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 6360, + "wires": [ + [ + "feafb2a13eb7aba6" + ] + ] + }, + { + "id": "78ada15151491066", + "type": "join", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 6420, + "wires": [ + [ + "b242db668b449c24" + ] + ] + }, + { + "id": "2a2ca29c5017745d", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "add", + "rules": [ + { + "t": "set", + "p": "del.md5[msg.parts.index]", + "pt": "flow", + "to": "{\t 'label':msg.payload.type&' : '&msg.bucket&' / '&msg.measurement&' / '&msg.trans&' (on:'&msg.payload.on&', off:'&msg.payload.off&')',\t 'value':msg.md5\t}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 6420, + "wires": [ + [ + "78ada15151491066" + ] + ] + }, + { + "id": "161d87de410f8612", + "type": "split", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "split scenes", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "md5", + "x": 370, + "y": 6420, + "wires": [ + [ + "476328732ceaa3e8" + ] + ] + }, + { + "id": "075be5218f4a7fd6", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers[msg.payload]", + "tot": "global" + }, + { + "t": "set", + "p": "del.md5", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 6420, + "wires": [ + [ + "161d87de410f8612" + ] + ] + }, + { + "id": "476328732ceaa3e8", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 6420, + "wires": [ + [ + "87bd2247fe3acc62" + ] + ] + }, + { + "id": "87bd2247fe3acc62", + "type": "link call", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 6420, + "wires": [ + [ + "8f5a63bf49aa9299" + ] + ] + }, + { + "id": "8f5a63bf49aa9299", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6420, + "wires": [ + [ + "739230f415142b7d" + ] + ] + }, + { + "id": "739230f415142b7d", + "type": "link call", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 6420, + "wires": [ + [ + "2a2ca29c5017745d" + ] + ] + }, + { + "id": "b242db668b449c24", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "del.md5", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 6420, + "wires": [ + [ + "13aa9d0fd7bfb031" + ] + ] + }, + { + "id": "13aa9d0fd7bfb031", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "group": "c32053913a6bb245", + "name": "md5", + "label": "Scène :", + "tooltip": "", + "order": 2, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "N/A", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1810, + "y": 6420, + "wires": [ + [ + "c277eb1591ca3505" + ] + ] + }, + { + "id": "c277eb1591ca3505", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "options", + "rules": [ + { + "t": "set", + "p": "md5", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 6480, + "wires": [ + [ + "e7b794a92adb0fc0" + ] + ] + }, + { + "id": "e7b794a92adb0fc0", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "group": "c32053913a6bb245", + "name": "delete", + "label": "", + "order": 3, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "close", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1810, + "y": 6480, + "wires": [ + [ + "aaa2bf978d45930d" + ] + ] + }, + { + "id": "9a8393b8175a1953", + "type": "delay", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "wait 150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1130, + "y": 6540, + "wires": [ + [ + "e63dd52ce5b17aeb" + ] + ] + }, + { + "id": "e63dd52ce5b17aeb", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Déclencheur supprimé", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1360, + "y": 6540, + "wires": [ + [ + "d1d25dc67949b213", + "a21488eb16a467fa" + ] + ] + }, + { + "id": "d1d25dc67949b213", + "type": "debug", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "scenes - delete trigger", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "md5", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 1620, + "y": 6540, + "wires": [] + }, + { + "id": "a21488eb16a467fa", + "type": "link out", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "scenes - delete trigger", + "mode": "link", + "links": [ + "0d7f6889440560fb", + "206c1fb4a48067df", + "2cc720203fa29afe", + "3664ee38f2da0806", + "7c98833082d48029", + "3263d6b1a159b0ff" + ], + "x": 1535, + "y": 6600, + "wires": [] + }, + { + "id": "aaa2bf978d45930d", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 6540, + "wires": [ + [ + "8f08891f13eb42cf" + ] + ] + }, + { + "id": "8f08891f13eb42cf", + "type": "split", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "split triggers", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "trigger", + "x": 370, + "y": 6540, + "wires": [ + [ + "841c8fa552e5c988" + ] + ] + }, + { + "id": "841c8fa552e5c988", + "type": "switch", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "has md5", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "hask", + "v": "md5", + "vt": "msg" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 560, + "y": 6540, + "wires": [ + [ + "a70b23ea1fb58b14" + ] + ] + }, + { + "id": "6bc8b0dde43bc773", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "delete global", + "rules": [ + { + "t": "delete", + "p": "triggers[msg.trigger][msg.md5]", + "pt": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6600, + "wires": [ + [ + "9a8393b8175a1953" + ] + ] + }, + { + "id": "a70b23ea1fb58b14", + "type": "switch", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "", + "property": "$count($keys(msg.payload))", + "propertyType": "jsonata", + "rules": [ + { + "t": "lt", + "v": "2", + "vt": "num" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 740, + "y": 6540, + "wires": [ + [ + "81de773ed143c87b" + ], + [ + "6bc8b0dde43bc773" + ] + ] + }, + { + "id": "81de773ed143c87b", + "type": "change", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "delete global", + "rules": [ + { + "t": "delete", + "p": "triggers[msg.trigger]", + "pt": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 6540, + "wires": [ + [ + "9a8393b8175a1953" + ] + ] + }, + { + "id": "772f392435a3dd17", + "type": "switch", + "z": "2365e16185f43e03", + "g": "768610170c894620", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1990, + "y": 6360, + "wires": [ + [ + "7e1540e06576c37e" + ], + [ + "075be5218f4a7fd6" + ] + ] + }, + { + "id": "94f92b94173718ae", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2050, + "y": 5140, + "wires": [ + [ + "c715b34bd8c7144e" + ], + [ + "7e331b1381065059" + ] + ] + }, + { + "id": "464dc2d69be4c4d2", + "type": "switch", + "z": "2365e16185f43e03", + "g": "19ce5669b4839310", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1990, + "y": 6840, + "wires": [ + [ + "32f125658d78f3aa" + ], + [ + "fbb6b0967cfaf84c" + ] + ] + }, + { + "id": "82b97ac85ee0461e", + "type": "switch", + "z": "2365e16185f43e03", + "g": "77a176666a9075c0", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1990, + "y": 4480, + "wires": [ + [ + "c08574254bd03c3d" + ], + [ + "5647d49696914090" + ] + ] + }, + { + "id": "2caa3526ed6f318d", + "type": "change", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "options", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]actif", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?true:false", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 540, + "y": 1280, + "wires": [ + [ + "7cea5f900cc829a2" + ] + ] + }, + { + "id": "7cea5f900cc829a2", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "actif", + "label": "Actif", + "group": "86da7af07264458b", + "order": 34, + "width": "6", + "height": "1", + "passthru": true, + "topic": "actif", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1170, + "y": 1280, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "3b1b60fd4fe7a75d", + "type": "switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "format", + "property": "format", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "dimmer", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 850, + "y": 2360, + "wires": [ + [ + "72c3e43d1bd7d71e", + "d0562d12417ddbcd" + ] + ] + }, + { + "id": "0b77f4879755cf4a", + "type": "md5", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "fieldToHash": "md5", + "fieldTypeToHash": "msg", + "hashField": "md5", + "hashFieldType": "msg", + "x": 2390, + "y": 6180, + "wires": [ + [ + "7d84766600c7d5a9" + ] + ] + }, + { + "id": "c640900fa4f67a47", + "type": "json", + "z": "2365e16185f43e03", + "g": "ba3f7159e9c41676", + "name": "", + "property": "md5", + "action": "str", + "pretty": true, + "x": 2230, + "y": 6180, + "wires": [ + [ + "0b77f4879755cf4a" + ] + ] + }, + { + "id": "9c3c4a7cb6430948", + "type": "link in", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "scenes - delete scene", + "links": [ + "8d98777b03b2341f", + "d7f64b57a1fb0517", + "43166899a8759ba8", + "9635cf6ffe5f5df1" + ], + "x": 1495, + "y": 3940, + "wires": [ + [ + "30c14a02c0f6f44c" + ] + ] + }, + { + "id": "30c14a02c0f6f44c", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "reset", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "remove", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "bucket", + "pt": "msg" + }, + { + "t": "delete", + "p": "measurement", + "pt": "msg" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + }, + { + "t": "delete", + "p": "options", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1630, + "y": 3940, + "wires": [ + [ + "0a7482cc6cdd853f", + "5d78a0715292c3c2", + "9ead5bc677f88efe", + "272f978cb81b3211" + ] + ] + }, + { + "id": "0a7482cc6cdd853f", + "type": "delay", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "pauseType": "delay", + "timeout": "100", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1810, + "y": 3940, + "wires": [ + [ + "40b4d19bc941757b" + ] + ] + }, + { + "id": "40b4d19bc941757b", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes", + "tot": "global" + }, + { + "t": "set", + "p": "list.types", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 4000, + "wires": [ + [ + "7f2170d4bb4d440a" + ] + ] + }, + { + "id": "7f2170d4bb4d440a", + "type": "split", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "split types", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 360, + "y": 4000, + "wires": [ + [ + "2ff8057143b92a16" + ] + ] + }, + { + "id": "2ff8057143b92a16", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "add", + "rules": [ + { + "t": "set", + "p": "type", + "pt": "msg", + "to": "{\t \"label\":msg.type,\t \"value\":msg.type\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "types", + "pt": "msg", + "to": "list.types", + "tot": "flow" + }, + { + "t": "set", + "p": "list.types", + "pt": "flow", + "to": "$append(msg.types,msg.type)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 4000, + "wires": [ + [ + "8350a6fe02a6fcc9" + ] + ] + }, + { + "id": "8350a6fe02a6fcc9", + "type": "join", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": true, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 1470, + "y": 4000, + "wires": [ + [ + "3e66e02f29a82d4a" + ] + ] + }, + { + "id": "3e66e02f29a82d4a", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "list.types", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$append(msg.options,[{'label':'» recharger','value':''}])", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 4000, + "wires": [ + [ + "5d78a0715292c3c2" + ] + ] + }, + { + "id": "5d78a0715292c3c2", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "group": "1834253e93442bc8", + "name": "scenes types", + "label": "Type de scène :", + "tooltip": "", + "order": 1, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "» recharger", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1830, + "y": 4000, + "wires": [ + [ + "b6cbee8201e44c52" + ] + ] + }, + { + "id": "b6cbee8201e44c52", + "type": "switch", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "reload", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1990, + "y": 4000, + "wires": [ + [ + "30c14a02c0f6f44c" + ], + [ + "d64496badea11c6f" + ] + ] + }, + { + "id": "d64496badea11c6f", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "scene_type", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.payload]", + "tot": "global" + }, + { + "t": "set", + "p": "list.deletescenes", + "pt": "flow", + "to": "[]", + "tot": "json" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 4060, + "wires": [ + [ + "0ac636db144a9397" + ] + ] + }, + { + "id": "0ac636db144a9397", + "type": "split", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "split scenes", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 370, + "y": 4060, + "wires": [ + [ + "f9d3e83b4c3b52ab" + ] + ] + }, + { + "id": "f9d3e83b4c3b52ab", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "tmp[0]", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "tmp[1]", + "tot": "msg" + }, + { + "t": "set", + "p": "field2", + "pt": "msg", + "to": "tmp[2]", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 4060, + "wires": [ + [ + "877b1f7344ccaf70" + ] + ] + }, + { + "id": "877b1f7344ccaf70", + "type": "link call", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 740, + "y": 4060, + "wires": [ + [ + "e4a004f86ff46aff" + ] + ] + }, + { + "id": "e4a004f86ff46aff", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "move", + "rules": [ + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "field", + "tot": "msg" + }, + { + "t": "set", + "p": "trans_measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "field2", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 930, + "y": 4060, + "wires": [ + [ + "a136f953ea376b1d" + ] + ] + }, + { + "id": "a136f953ea376b1d", + "type": "link call", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 1120, + "y": 4060, + "wires": [ + [ + "fb6eb587f18161c1" + ] + ] + }, + { + "id": "fb6eb587f18161c1", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "add", + "rules": [ + { + "t": "delete", + "p": "payload.type", + "pt": "msg" + }, + { + "t": "delete", + "p": "payload.response", + "pt": "msg" + }, + { + "t": "set", + "p": "list.deletescenes[msg.parts.index]", + "pt": "flow", + "to": "{\t \"label\":msg.bucket&' / '&msg.trans_measurement&' / '&msg.trans,\t \"value\":msg.bucket&'/'&msg.measurement&'/'&msg.field\t }", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 4060, + "wires": [ + [ + "602a5ab8762865d1" + ] + ] + }, + { + "id": "602a5ab8762865d1", + "type": "join", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1470, + "y": 4060, + "wires": [ + [ + "67c7aaf0ff7fab34" + ] + ] + }, + { + "id": "67c7aaf0ff7fab34", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "list.deletescenes", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 4060, + "wires": [ + [ + "9ead5bc677f88efe" + ] + ] + }, + { + "id": "9ead5bc677f88efe", + "type": "ui-dropdown", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "group": "1834253e93442bc8", + "name": "scene path", + "label": "Chemin de la scène :", + "tooltip": "", + "order": 2, + "width": "6", + "height": "1", + "passthru": false, + "multiple": false, + "options": [ + { + "label": "non assigné", + "value": "", + "type": "str" + } + ], + "payload": "", + "topic": "topic", + "topicType": "msg", + "className": "", + "x": 1830, + "y": 4060, + "wires": [ + [ + "c8b9c27367760c26" + ] + ] + }, + { + "id": "272f978cb81b3211", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "group": "1834253e93442bc8", + "name": "delete", + "label": "", + "order": 3, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "close", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1810, + "y": 4120, + "wires": [ + [ + "93217e0ac33a366c" + ] + ] + }, + { + "id": "93217e0ac33a366c", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers", + "tot": "global" + }, + { + "t": "delete", + "p": "scenes[msg.scene_type][msg.scene]", + "pt": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 170, + "y": 4180, + "wires": [ + [ + "4ac9c6a1b0a30d5a" + ] + ] + }, + { + "id": "c8b9c27367760c26", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "options", + "rules": [ + { + "t": "set", + "p": "scene", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1640, + "y": 4120, + "wires": [ + [ + "272f978cb81b3211" + ] + ] + }, + { + "id": "4ac9c6a1b0a30d5a", + "type": "split", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "split triggers", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "trigger", + "x": 370, + "y": 4180, + "wires": [ + [ + "7acc5347e55f2e72" + ] + ] + }, + { + "id": "7acc5347e55f2e72", + "type": "split", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "split md5", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "md5", + "x": 560, + "y": 4180, + "wires": [ + [ + "239125f620dff4e7" + ] + ] + }, + { + "id": "239125f620dff4e7", + "type": "switch", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "path", + "property": "payload.path", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "scene", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 730, + "y": 4240, + "wires": [ + [ + "83d00933c4468207" + ], + [ + "0913162f8b198348" + ] + ] + }, + { + "id": "83d00933c4468207", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "delete trigger", + "rules": [ + { + "t": "delete", + "p": "triggers[msg.trigger][msg.md5]", + "pt": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 910, + "y": 4180, + "wires": [ + [ + "0913162f8b198348" + ] + ] + }, + { + "id": "0913162f8b198348", + "type": "join", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1090, + "y": 4240, + "wires": [ + [ + "149e032cefd16ade" + ] + ] + }, + { + "id": "149e032cefd16ade", + "type": "join", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1250, + "y": 4240, + "wires": [ + [ + "5e78b5bb6e312f78" + ] + ] + }, + { + "id": "5e78b5bb6e312f78", + "type": "delay", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "wait 150 ms", + "pauseType": "delay", + "timeout": "150", + "timeoutUnits": "milliseconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1430, + "y": 4240, + "wires": [ + [ + "26785f8d855e5ba6" + ] + ] + }, + { + "id": "26785f8d855e5ba6", + "type": "change", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "Scène supprimée", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1660, + "y": 4240, + "wires": [ + [ + "6c449a3408acee90", + "d7f64b57a1fb0517" + ] + ] + }, + { + "id": "6c449a3408acee90", + "type": "debug", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "scenes - delete scene", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 1920, + "y": 4180, + "wires": [] + }, + { + "id": "d7f64b57a1fb0517", + "type": "link out", + "z": "2365e16185f43e03", + "g": "55a7f287721494a0", + "name": "scenes - delete scene", + "mode": "link", + "links": [ + "206c1fb4a48067df", + "251f1801fba21ab0", + "9c3c4a7cb6430948", + "d2ca5cbd23e2cf88", + "3214c7c1cc0f2f6f" + ], + "x": 1835, + "y": 4240, + "wires": [] + }, + { + "id": "53a481fea28e6249", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "group": "a62fb8e0d132955e", + "name": "reload", + "label": "", + "order": 1, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "reload", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 150, + "y": 4780, + "wires": [ + [ + "958736f2da5c8819" + ] + ] + }, + { + "id": "3b9388e0f23ff779", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "group": "a62fb8e0d132955e", + "name": "import", + "label": "", + "order": 3, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 150, + "y": 4840, + "wires": [ + [ + "bef5ab6442d83bbf" + ] + ] + }, + { + "id": "958736f2da5c8819", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$string(msg.payload, true)", + "tot": "jsonata" + }, + { + "t": "set", + "p": "import.scenes", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 330, + "y": 4780, + "wires": [ + [ + "6d4a931be23710cc" + ] + ] + }, + { + "id": "6d4a931be23710cc", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "group": "a62fb8e0d132955e", + "name": "scenes content", + "label": "", + "order": 2, + "width": "6", + "height": "3", + "topic": "topic", + "topicType": "msg", + "mode": "textarea", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 540, + "y": 4780, + "wires": [ + [ + "520e9f66eace001e" + ] + ] + }, + { + "id": "520e9f66eace001e", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "to flow", + "rules": [ + { + "t": "set", + "p": "import.scenes.content", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 730, + "y": 4780, + "wires": [ + [] + ] + }, + { + "id": "bef5ab6442d83bbf", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "from flow", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.scenes.content", + "tot": "flow" + }, + { + "t": "set", + "p": "import.scenes.message", + "pt": "flow", + "to": "Scènes importé avec succès", + "tot": "str" + }, + { + "t": "delete", + "p": "scene", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 320, + "y": 4840, + "wires": [ + [ + "97f9e55756ff6676" + ] + ] + }, + { + "id": "97f9e55756ff6676", + "type": "json", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "", + "property": "payload", + "action": "obj", + "pretty": false, + "x": 490, + "y": 4840, + "wires": [ + [ + "f41474a7c0413436" + ] + ] + }, + { + "id": "3214c7c1cc0f2f6f", + "type": "link in", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "scenes - import export scene", + "links": [ + "d92386370d84c100", + "d7f64b57a1fb0517", + "43166899a8759ba8" + ], + "x": 185, + "y": 4720, + "wires": [ + [ + "958736f2da5c8819" + ] + ] + }, + { + "id": "f41474a7c0413436", + "type": "split", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "split type", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "type", + "x": 660, + "y": 4840, + "wires": [ + [ + "55b514867cc57453" + ] + ] + }, + { + "id": "55b514867cc57453", + "type": "split", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "split path", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "path", + "x": 840, + "y": 4840, + "wires": [ + [ + "a1dc3da3138ba471" + ] + ] + }, + { + "id": "a1dc3da3138ba471", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "split metric", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.path,'/')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1030, + "y": 4840, + "wires": [ + [ + "03d6c2dca518cd6c" + ] + ] + }, + { + "id": "03d6c2dca518cd6c", + "type": "switch", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "metric exists", + "property": "metrics[msg.tmp[0]][msg.tmp[1]]", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "tmp[2]", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1230, + "y": 4840, + "wires": [ + [ + "0bf124ea6478968e" + ], + [ + "eaa3f051c198b9de" + ] + ] + }, + { + "id": "0bf124ea6478968e", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "scene", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.type", + "pt": "msg", + "to": "type", + "tot": "msg" + }, + { + "t": "set", + "p": "scene.path", + "pt": "msg", + "to": "path", + "tot": "msg" + }, + { + "t": "delete", + "p": "scene.response", + "pt": "msg" + }, + { + "t": "set", + "p": "scenes[msg.scene.type][msg.scene.path]", + "pt": "global", + "to": "scene", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1420, + "y": 4780, + "wires": [ + [ + "52b0cc774f439302" + ] + ] + }, + { + "id": "eaa3f051c198b9de", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "message", + "rules": [ + { + "t": "set", + "p": "import.scenes.message", + "pt": "flow", + "to": "Une scène n'a pas pu être importé", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1420, + "y": 4840, + "wires": [ + [ + "52b0cc774f439302" + ] + ] + }, + { + "id": "52b0cc774f439302", + "type": "join", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 1590, + "y": 4840, + "wires": [ + [ + "f76cec2087f5d1e2" + ] + ] + }, + { + "id": "f76cec2087f5d1e2", + "type": "change", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.scenes.message", + "tot": "flow" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1800, + "y": 4840, + "wires": [ + [ + "458d90e34479960c", + "9635cf6ffe5f5df1" + ] + ] + }, + { + "id": "458d90e34479960c", + "type": "debug", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "scenes - import export scene", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "scene", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 2080, + "y": 4780, + "wires": [] + }, + { + "id": "9635cf6ffe5f5df1", + "type": "link out", + "z": "2365e16185f43e03", + "g": "e6436a8697d9ab89", + "name": "scenes - import export scene", + "mode": "link", + "links": [ + "206c1fb4a48067df", + "251f1801fba21ab0", + "9c3c4a7cb6430948", + "d2ca5cbd23e2cf88" + ], + "x": 1975, + "y": 4840, + "wires": [] + }, + { + "id": "a3febe192ff0e350", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "group": "6deb4e8479d0818e", + "name": "reload", + "label": "", + "order": 1, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "reload", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 150, + "y": 7140, + "wires": [ + [ + "79ad5f668b24679c" + ] + ] + }, + { + "id": "7115d9982b314618", + "type": "ui-button", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "group": "6deb4e8479d0818e", + "name": "import", + "label": "", + "order": 3, + "width": "6", + "height": "1", + "emulateClick": false, + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "plus", + "iconPosition": "left", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 150, + "y": 7200, + "wires": [ + [ + "ae1b070d9513420f" + ] + ] + }, + { + "id": "ae1b070d9513420f", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "from flow", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.triggers.content", + "tot": "flow" + }, + { + "t": "set", + "p": "import.triggers.message", + "pt": "flow", + "to": "Déclencheurs importé avec succès", + "tot": "str" + }, + { + "t": "delete", + "p": "trigger", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 320, + "y": 7200, + "wires": [ + [ + "f06ff4146bf015e0" + ] + ] + }, + { + "id": "79ad5f668b24679c", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "from global", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "triggers", + "tot": "global" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "$string(msg.payload, true)", + "tot": "jsonata" + }, + { + "t": "set", + "p": "import.triggers", + "pt": "flow", + "to": "{}", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 330, + "y": 7140, + "wires": [ + [ + "860477dbbd58b587" + ] + ] + }, + { + "id": "860477dbbd58b587", + "type": "ui-text-input", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "group": "6deb4e8479d0818e", + "name": "triggers content", + "label": "", + "order": 2, + "width": "6", + "height": "3", + "topic": "topic", + "topicType": "msg", + "mode": "textarea", + "delay": 300, + "passthru": true, + "sendOnDelay": false, + "sendOnBlur": true, + "sendOnEnter": true, + "className": "", + "x": 540, + "y": 7140, + "wires": [ + [ + "fcc5ebf1cf66f1ba" + ] + ] + }, + { + "id": "fcc5ebf1cf66f1ba", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "to flow", + "rules": [ + { + "t": "set", + "p": "import.triggers.content", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 730, + "y": 7140, + "wires": [ + [] + ] + }, + { + "id": "f06ff4146bf015e0", + "type": "json", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "", + "property": "payload", + "action": "obj", + "pretty": false, + "x": 490, + "y": 7200, + "wires": [ + [ + "ab92b4e884625b66" + ] + ] + }, + { + "id": "ab92b4e884625b66", + "type": "split", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "split trigger", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "trigger", + "x": 670, + "y": 7200, + "wires": [ + [ + "d351a3cbef1355a1" + ] + ] + }, + { + "id": "d9e7fdd4b2064d1f", + "type": "split", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "split md5", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "md5", + "x": 1260, + "y": 7140, + "wires": [ + [ + "1645bbe018d66145" + ] + ] + }, + { + "id": "9bee7aa2fd078097", + "type": "switch", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "metric exists", + "property": "metrics[msg.tmp[0]][msg.tmp[1]]", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "tmp[2]", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1070, + "y": 7200, + "wires": [ + [ + "d9e7fdd4b2064d1f" + ], + [ + "5279e5dbd0cd1b08" + ] + ] + }, + { + "id": "d351a3cbef1355a1", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "split trigger", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.trigger,'/')", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 870, + "y": 7200, + "wires": [ + [ + "9bee7aa2fd078097" + ] + ] + }, + { + "id": "1645bbe018d66145", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "split path", + "rules": [ + { + "t": "set", + "p": "tmp", + "pt": "msg", + "to": "$split(msg.payload.path,'/')", + "tot": "jsonata" + }, + { + "t": "set", + "p": "md5", + "pt": "msg", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1440, + "y": 7140, + "wires": [ + [ + "67040f324dd5eda2" + ] + ] + }, + { + "id": "67040f324dd5eda2", + "type": "switch", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "metric exists", + "property": "metrics[msg.tmp[0]][msg.tmp[1]]", + "propertyType": "global", + "rules": [ + { + "t": "hask", + "v": "tmp[2]", + "vt": "msg" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1630, + "y": 7140, + "wires": [ + [ + "c77a886f99e247b6" + ], + [ + "7a051a6f4f35abc8" + ] + ] + }, + { + "id": "2bbb2ae05167c591", + "type": "md5", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "", + "fieldToHash": "md5", + "fieldTypeToHash": "msg", + "hashField": "md5", + "hashFieldType": "msg", + "x": 1970, + "y": 7080, + "wires": [ + [ + "e6aaca278df20666" + ] + ] + }, + { + "id": "e6aaca278df20666", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "to global", + "rules": [ + { + "t": "set", + "p": "triggers[msg.trigger][msg.md5]", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2140, + "y": 7080, + "wires": [ + [ + "954786b6d749db39" + ] + ] + }, + { + "id": "06c3aeb3acba71e8", + "type": "debug", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "scenes - import export trigger", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "payload", + "targetType": "msg", + "statusVal": "", + "statusType": "auto", + "x": 2960, + "y": 7140, + "wires": [] + }, + { + "id": "4d787b54987fe0b5", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "import.triggers.message", + "tot": "flow" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2680, + "y": 7200, + "wires": [ + [ + "06c3aeb3acba71e8", + "30b864529ddd7036" + ] + ] + }, + { + "id": "954786b6d749db39", + "type": "join", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 2310, + "y": 7140, + "wires": [ + [ + "1e5bc4b34e21f8e5" + ] + ] + }, + { + "id": "5279e5dbd0cd1b08", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "message", + "rules": [ + { + "t": "set", + "p": "import.triggers.message", + "pt": "flow", + "to": "Un déclencheur n'a pas pu être importé", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1260, + "y": 7200, + "wires": [ + [ + "1e5bc4b34e21f8e5" + ] + ] + }, + { + "id": "7a051a6f4f35abc8", + "type": "change", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "message", + "rules": [ + { + "t": "set", + "p": "import.triggers.message", + "pt": "flow", + "to": "Un déclencheur n'a pas pu être importé", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1820, + "y": 7140, + "wires": [ + [ + "954786b6d749db39" + ] + ] + }, + { + "id": "1e5bc4b34e21f8e5", + "type": "join", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 2470, + "y": 7200, + "wires": [ + [ + "4d787b54987fe0b5" + ] + ] + }, + { + "id": "3263d6b1a159b0ff", + "type": "link in", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "scenes - import export triggers", + "links": [ + "d92386370d84c100", + "a21488eb16a467fa", + "d32dc8a93d1ac3ad", + "30b864529ddd7036" + ], + "x": 185, + "y": 7080, + "wires": [ + [ + "79ad5f668b24679c" + ] + ] + }, + { + "id": "30b864529ddd7036", + "type": "link out", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "scenes - import export triggers", + "mode": "link", + "links": [ + "0d7f6889440560fb", + "206c1fb4a48067df", + "2cc720203fa29afe", + "3263d6b1a159b0ff", + "3664ee38f2da0806" + ], + "x": 2855, + "y": 7200, + "wires": [] + }, + { + "id": "c77a886f99e247b6", + "type": "json", + "z": "2365e16185f43e03", + "g": "62f311d43397df29", + "name": "", + "property": "md5", + "action": "", + "pretty": false, + "x": 1810, + "y": 7080, + "wires": [ + [ + "2bbb2ae05167c591" + ] + ] + }, + { + "id": "3b26932b59001243", + "type": "change", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]retention", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2240, + "wires": [ + [ + "2e2979bb6dcc6553" + ] + ] + }, + { + "id": "2e2979bb6dcc6553", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "retention", + "label": "Rétention", + "group": "86da7af07264458b", + "order": 21, + "width": "6", + "height": "1", + "passthru": true, + "topic": "retention", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1180, + "y": 2240, + "wires": [ + [ + "b0d65e1138250625" + ] + ] + }, + { + "id": "7716fc16ed250b25", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "shading metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "aperture", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "shutter", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 540, + "y": 480, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "934dc60f940169b5", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "clone metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!system|room|thermostat|agenda|home).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "^((?!clock|shading|battery|seen|heat).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 530, + "y": 900, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "f50307318be3d784", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "airflow metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!system|room|thermostat|agenda|home).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "airflow", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 530, + "y": 540, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "9f397c7d7826bf47", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "cumulus metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!system|room|thermostat|agenda|home).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "cumulus", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 540, + "y": 600, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "8251db7646a04b2f", + "type": "change", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.metrics", + "pt": "flow", + "to": "[]", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics", + "tot": "global" + }, + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "msg.limit.bucket?msg.limit.bucket:''", + "tot": "jsonata" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "msg.limit.measurement?msg.limit.measurement:''", + "tot": "jsonata" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "msg.limit.field?msg.limit.field:''", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 250, + "y": 7940, + "wires": [ + [ + "c633fa7af533e323" + ] + ] + }, + { + "id": "c633fa7af533e323", + "type": "split", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "bucket", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "bucket", + "x": 410, + "y": 7940, + "wires": [ + [ + "0cad5e616228dbe6" + ] + ] + }, + { + "id": "5f01b08428c9fcf8", + "type": "change", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "add", + "rules": [ + { + "t": "set", + "p": "metric", + "pt": "msg", + "to": "{\t \"label\":msg.bucket&' / '&msg.trans_measurement&' / '&msg.trans,\t \"value\":msg.bucket&'/'&msg.measurement&'/'&msg.field\t }", + "tot": "jsonata" + }, + { + "t": "set", + "p": "metrics", + "pt": "msg", + "to": "add.metrics", + "tot": "flow" + }, + { + "t": "set", + "p": "add.metrics", + "pt": "flow", + "to": "$append(msg.metrics,msg.metric)", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3330, + "y": 7640, + "wires": [ + [ + "4677d65857fdd766" + ] + ] + }, + { + "id": "0a5f22f2163e13e8", + "type": "join", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 3670, + "y": 7820, + "wires": [ + [ + "14826dace9f64caa" + ] + ] + }, + { + "id": "c0f36549d2db9101", + "type": "change", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "options", + "rules": [ + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "add.metrics", + "tot": "flow" + }, + { + "t": "set", + "p": "options", + "pt": "msg", + "to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})", + "tot": "jsonata" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "delete", + "p": "field", + "pt": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 4000, + "y": 7880, + "wires": [ + [ + "bb054a0ac21c4e2a", + "d9d897c67d8052e6" + ] + ] + }, + { + "id": "93b51078eda8436a", + "type": "split", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "measurement", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "measurement", + "x": 1180, + "y": 7820, + "wires": [ + [ + "6f850f006fee6ac4" + ] + ] + }, + { + "id": "4f02ff1eca2682e7", + "type": "split", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "field", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "field", + "x": 2010, + "y": 7700, + "wires": [ + [ + "5201f0235b76c6fd" + ] + ] + }, + { + "id": "b267f5eaee065241", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "limit measurement type", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "limit.measurement", + "vt": "msg", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1790, + "y": 7760, + "wires": [ + [ + "4f02ff1eca2682e7" + ], + [ + "0a5f22f2163e13e8" + ] + ] + }, + { + "id": "14826dace9f64caa", + "type": "join", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 3830, + "y": 7880, + "wires": [ + [ + "c0f36549d2db9101" + ] + ] + }, + { + "id": "4677d65857fdd766", + "type": "join", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "", + "mode": "auto", + "build": "string", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 3490, + "y": 7760, + "wires": [ + [ + "0a5f22f2163e13e8" + ] + ] + }, + { + "id": "2939004b027e19c6", + "type": "change", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "move", + "rules": [ + { + "t": "set", + "p": "old_field", + "pt": "msg", + "to": "field", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "measurement", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2570, + "y": 7640, + "wires": [ + [ + "71081512cddb5646" + ] + ] + }, + { + "id": "71081512cddb5646", + "type": "link call", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 2760, + "y": 7640, + "wires": [ + [ + "7a783c20a805ad05" + ] + ] + }, + { + "id": "7a783c20a805ad05", + "type": "change", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "move", + "rules": [ + { + "t": "set", + "p": "trans_measurement", + "pt": "msg", + "to": "trans", + "tot": "msg" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "old_field", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2950, + "y": 7640, + "wires": [ + [ + "3253e25dfac0d9e4" + ] + ] + }, + { + "id": "3253e25dfac0d9e4", + "type": "link call", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "", + "links": [ + "df0e4ab2e1efc286" + ], + "linkType": "static", + "timeout": "30", + "x": 3140, + "y": 7640, + "wires": [ + [ + "5f01b08428c9fcf8" + ] + ] + }, + { + "id": "12a0232b035189a9", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "has limit", + "property": "limit.measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1560, + "y": 7760, + "wires": [ + [ + "4f02ff1eca2682e7" + ], + [ + "b267f5eaee065241" + ] + ] + }, + { + "id": "5201f0235b76c6fd", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "has limit", + "property": "limit.field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 2180, + "y": 7700, + "wires": [ + [ + "2939004b027e19c6" + ], + [ + "2f50e7532f5ba3bb" + ] + ] + }, + { + "id": "2f50e7532f5ba3bb", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "limit field type", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "limit.field", + "vt": "msg", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2380, + "y": 7700, + "wires": [ + [ + "2939004b027e19c6" + ], + [ + "4677d65857fdd766" + ] + ] + }, + { + "id": "3e8ef8b3ae6caa63", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "has limit", + "property": "limit.bucket", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 760, + "y": 7880, + "wires": [ + [ + "93b51078eda8436a" + ], + [ + "6f7cf94ff85a540e" + ] + ] + }, + { + "id": "6f7cf94ff85a540e", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "limit bucket type", + "property": "bucket", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "limit.bucket", + "vt": "msg", + "case": false + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 960, + "y": 7880, + "wires": [ + [ + "93b51078eda8436a" + ], + [ + "14826dace9f64caa" + ] + ] + }, + { + "id": "0cad5e616228dbe6", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "not empty", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "nempty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 580, + "y": 7940, + "wires": [ + [ + "3e8ef8b3ae6caa63" + ], + [ + "14826dace9f64caa" + ] + ] + }, + { + "id": "6f850f006fee6ac4", + "type": "switch", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "not empty", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "nempty" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 1380, + "y": 7820, + "wires": [ + [ + "12a0232b035189a9" + ], + [ + "0a5f22f2163e13e8" + ] + ] + }, + { + "id": "d9d897c67d8052e6", + "type": "debug", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "scenes - metrics path", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 4220, + "y": 7820, + "wires": [] + }, + { + "id": "5d841c98941a9b5a", + "type": "link in", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "scenes - metrics path", + "links": [], + "x": 115, + "y": 7940, + "wires": [ + [ + "8251db7646a04b2f" + ] + ] + }, + { + "id": "bb054a0ac21c4e2a", + "type": "link out", + "z": "2365e16185f43e03", + "g": "7015463582304bfb", + "name": "scenes - metrics path", + "mode": "return", + "links": [], + "x": 4135, + "y": 7880, + "wires": [] + }, + { + "id": "27e11297c93404a6", + "type": "link call", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "", + "links": [ + "5d841c98941a9b5a" + ], + "linkType": "static", + "timeout": "30", + "x": 960, + "y": 420, + "wires": [ + [ + "8baf78fc5b3a6764" + ] + ] + }, + { + "id": "71e09030c5018a86", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "toggle metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!agenda|system|thermostat|room).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "(light|outlet)$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 530, + "y": 840, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "b0d65e1138250625", + "type": "switch", + "z": "2365e16185f43e03", + "g": "c3b6b0792764609a", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "lighting", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 2120, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "7dc2df581430d4d1", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "set", + "rules": [ + { + "t": "set", + "p": "add.scene[msg.topic]", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1570, + "y": 1580, + "wires": [ + [] + ] + }, + { + "id": "c41fa2b682849fca", + "type": "switch", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "^(lighting|toggle|shading|airflow|cumulus|custom volume|overload)$", + "vt": "str", + "case": false + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 1460, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "345de8645bc89741", + "type": "switch", + "z": "2365e16185f43e03", + "g": "5ede26c96e5cab06", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "regex", + "v": "^(lighting|toggle|shading|airflow|cumulus|custom volume|overload)$", + "vt": "str", + "case": false + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 1460, + "wires": [ + [ + "5531a15abd8c4ad6" + ] + ] + }, + { + "id": "07746cda447f9699", + "type": "change", + "z": "2365e16185f43e03", + "g": "0d183185e153399c", + "name": "raz", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 530, + "y": 1220, + "wires": [ + [ + "48cf2bbb95097f63" + ] + ] + }, + { + "id": "f6c8c74c3a9498c9", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "shading", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 2720, + "wires": [ + [ + "dec2bb5c514b76a9" + ] + ] + }, + { + "id": "ab9e2cc1419356f3", + "type": "switch", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "shading", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 2720, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "40bf6c3509b0b82a", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "daily", + "label": "Journailer", + "group": "86da7af07264458b", + "order": 25, + "width": "6", + "height": "1", + "passthru": true, + "topic": "daily", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1170, + "y": 2660, + "wires": [ + [ + "ab9e2cc1419356f3" + ] + ] + }, + { + "id": "01761be97488508b", + "type": "change", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]daily", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2660, + "wires": [ + [ + "40bf6c3509b0b82a" + ] + ] + }, + { + "id": "dec2bb5c514b76a9", + "type": "change", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.daily", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.openwork", + "pt": "flow", + "to": "14", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.luminosity", + "pt": "flow", + "to": "0", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.delay", + "pt": "flow", + "to": "0", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 2720, + "wires": [ + [ + "01761be97488508b", + "65d34bdd2f650120", + "ba9ac89e95fd17d8", + "c9c47f942aa9e47c" + ] + ] + }, + { + "id": "628815a97e6a49d4", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "group": "86da7af07264458b", + "name": "openwork", + "label": "Ajourer", + "tooltip": "", + "order": 22, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "openwork", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "99", + "step": "1", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1180, + "y": 2720, + "wires": [ + [ + "ab9e2cc1419356f3" + ] + ] + }, + { + "id": "65d34bdd2f650120", + "type": "change", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]openwork", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2720, + "wires": [ + [ + "628815a97e6a49d4" + ] + ] + }, + { + "id": "3d22e5ebcc67c6a4", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "group": "86da7af07264458b", + "name": "luminosity", + "label": "Luminosité", + "tooltip": "", + "order": 23, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "luminosity", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "2500", + "step": "100", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1180, + "y": 2780, + "wires": [ + [ + "ab9e2cc1419356f3" + ] + ] + }, + { + "id": "ba9ac89e95fd17d8", + "type": "change", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]luminosity", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2780, + "wires": [ + [ + "3d22e5ebcc67c6a4" + ] + ] + }, + { + "id": "ce6e7ee22c2f80e1", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "group": "86da7af07264458b", + "name": "delay", + "label": "Retard", + "tooltip": "", + "order": 24, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "delay", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "300", + "step": "15", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 2840, + "wires": [ + [ + "ab9e2cc1419356f3" + ] + ] + }, + { + "id": "c9c47f942aa9e47c", + "type": "change", + "z": "2365e16185f43e03", + "g": "ecc0370d843384ba", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]delay", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2840, + "wires": [ + [ + "ce6e7ee22c2f80e1" + ] + ] + }, + { + "id": "bf20df3841df8f08", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "custom color metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!agenda|system|thermostat|room).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "(color)$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 960, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "e082053ef394efe4", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "custom level metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!agenda|system|thermostat|room).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "(brightness)$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 1020, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "f7b90fe6011a828b", + "type": "switch", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "custom level", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 3020, + "wires": [ + [ + "9c9fe6dcf666a4f5" + ] + ] + }, + { + "id": "5436202610d4bda0", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "group": "86da7af07264458b", + "name": "lower", + "label": "Minimum", + "tooltip": "", + "order": 27, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "lower", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "255", + "step": "5", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 2960, + "wires": [ + [ + "5c4464e9a6f4156d" + ] + ] + }, + { + "id": "9afda004f8a34bfe", + "type": "change", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]lower", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 2960, + "wires": [ + [ + "5436202610d4bda0" + ] + ] + }, + { + "id": "5c4464e9a6f4156d", + "type": "switch", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "custom level", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 3020, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "9c9fe6dcf666a4f5", + "type": "change", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.lower", + "pt": "flow", + "to": "5", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.higher", + "pt": "flow", + "to": "95", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.step", + "pt": "flow", + "to": "10", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3020, + "wires": [ + [ + "9afda004f8a34bfe", + "2a05b7fd7c41803e", + "5ddb0d681bee936e" + ] + ] + }, + { + "id": "fdc361fd00366501", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "group": "86da7af07264458b", + "name": "higher", + "label": "Maximum", + "tooltip": "", + "order": 26, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "higher", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "255", + "step": "5", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 3020, + "wires": [ + [ + "5c4464e9a6f4156d" + ] + ] + }, + { + "id": "2a05b7fd7c41803e", + "type": "change", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]higher", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3020, + "wires": [ + [ + "fdc361fd00366501" + ] + ] + }, + { + "id": "080732e991ac90fa", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "group": "86da7af07264458b", + "name": "step", + "label": "Pas", + "tooltip": "", + "order": 28, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "step", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "50", + "step": "5", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 3080, + "wires": [ + [ + "5c4464e9a6f4156d" + ] + ] + }, + { + "id": "5ddb0d681bee936e", + "type": "change", + "z": "2365e16185f43e03", + "g": "a8e111e3fe3d2a80", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]step", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3080, + "wires": [ + [ + "080732e991ac90fa" + ] + ] + }, + { + "id": "297f97a073fc8b2b", + "type": "switch", + "z": "2365e16185f43e03", + "g": "61fa65faa84a6ec6", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "airflow", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 3200, + "wires": [ + [ + "41b449c7d8e26289" + ] + ] + }, + { + "id": "3b307fadcb62da76", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "61fa65faa84a6ec6", + "group": "86da7af07264458b", + "name": "timer", + "label": "Minuterie", + "tooltip": "", + "order": 29, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "timer", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "0", + "max": "120", + "step": "5", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 3200, + "wires": [ + [ + "361dbaae56cc5dcf" + ] + ] + }, + { + "id": "3bd767f2b6f40d10", + "type": "change", + "z": "2365e16185f43e03", + "g": "61fa65faa84a6ec6", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]timer", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3200, + "wires": [ + [ + "3b307fadcb62da76" + ] + ] + }, + { + "id": "361dbaae56cc5dcf", + "type": "switch", + "z": "2365e16185f43e03", + "g": "61fa65faa84a6ec6", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "airflow", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 3200, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "41b449c7d8e26289", + "type": "change", + "z": "2365e16185f43e03", + "g": "61fa65faa84a6ec6", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.timer", + "pt": "flow", + "to": "30", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3200, + "wires": [ + [ + "3bd767f2b6f40d10" + ] + ] + }, + { + "id": "cdde925551f9a2f0", + "type": "switch", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "cumulus", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 3320, + "wires": [ + [ + "0351d85db24c2a3e" + ] + ] + }, + { + "id": "fc9bbcdfe0657653", + "type": "switch", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "cumulus", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 3320, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + }, + { + "id": "bdc3bb4cfb40ad78", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "group": "86da7af07264458b", + "name": "timer", + "label": "Minuterie", + "tooltip": "", + "order": 30, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "timer", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "15", + "max": "240", + "step": "15", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 3320, + "wires": [ + [ + "fc9bbcdfe0657653" + ] + ] + }, + { + "id": "b7e0ba1ac6f9000a", + "type": "change", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]timer", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3320, + "wires": [ + [ + "bdc3bb4cfb40ad78" + ] + ] + }, + { + "id": "0351d85db24c2a3e", + "type": "change", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.timer", + "pt": "flow", + "to": "30", + "tot": "num" + }, + { + "t": "set", + "p": "add.scene.daily", + "pt": "flow", + "to": "false", + "tot": "bool" + }, + { + "t": "set", + "p": "add.scene.nocturnal", + "pt": "flow", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3320, + "wires": [ + [ + "b7e0ba1ac6f9000a", + "311d865b504f9e2b", + "313c321884c92f08" + ] + ] + }, + { + "id": "5593308d95ecb45d", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "daily", + "label": "Journailer", + "group": "86da7af07264458b", + "order": 32, + "width": "6", + "height": "1", + "passthru": true, + "topic": "daily", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1170, + "y": 3380, + "wires": [ + [ + "fc9bbcdfe0657653" + ] + ] + }, + { + "id": "311d865b504f9e2b", + "type": "change", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]daily", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3380, + "wires": [ + [ + "5593308d95ecb45d" + ] + ] + }, + { + "id": "1c251fd76d55194c", + "type": "ui-switch", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "nocturnal", + "label": "Nocturne", + "group": "86da7af07264458b", + "order": 31, + "width": "6", + "height": "1", + "passthru": true, + "topic": "nocturnal", + "topicType": "str", + "style": "", + "className": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "x": 1180, + "y": 3440, + "wires": [ + [ + "fc9bbcdfe0657653" + ] + ] + }, + { + "id": "313c321884c92f08", + "type": "change", + "z": "2365e16185f43e03", + "g": "305f8572101f2828", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]nocturnal", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3440, + "wires": [ + [ + "1c251fd76d55194c" + ] + ] + }, + { + "id": "dc9f51f48adc1d8a", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "snapshot metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "camera", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 540, + "y": 660, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "86f50642027670e1", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "thermostat metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "thermostat", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "pilot", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 550, + "y": 720, + "wires": [ + [] + ] + }, + { + "id": "98d0f4551cf7be28", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "custom volume metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "^((?!agenda|system|thermostat|room).)*$", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "volume", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 560, + "y": 1080, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "611c8a5cd84bb73d", + "type": "change", + "z": "2365e16185f43e03", + "g": "3a3b15706a4f52c8", + "name": "overload metrics limit", + "rules": [ + { + "t": "set", + "p": "limit.bucket", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "limit.measurement", + "pt": "msg", + "to": "overload", + "tot": "str" + }, + { + "t": "set", + "p": "limit.field", + "pt": "msg", + "to": "", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 540, + "y": 780, + "wires": [ + [ + "72ffa082cbdc1b9d" + ] + ] + }, + { + "id": "eaddd489b98a436f", + "type": "switch", + "z": "2365e16185f43e03", + "g": "aa5b3856a38f9e8d", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 530, + "y": 3560, + "wires": [ + [ + "3d81cbda3748f441" + ] + ] + }, + { + "id": "3d81cbda3748f441", + "type": "change", + "z": "2365e16185f43e03", + "g": "aa5b3856a38f9e8d", + "name": "class", + "rules": [ + { + "t": "set", + "p": "class", + "pt": "msg", + "to": "", + "tot": "str" + }, + { + "t": "set", + "p": "add.scene.timer", + "pt": "flow", + "to": "30", + "tot": "num" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 850, + "y": 3560, + "wires": [ + [ + "56e2b31789bb941e" + ] + ] + }, + { + "id": "56e2b31789bb941e", + "type": "change", + "z": "2365e16185f43e03", + "g": "aa5b3856a38f9e8d", + "name": "set", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "scenes[msg.type][msg.payload]timer", + "tot": "global" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 3560, + "wires": [ + [ + "dc0df57eb59c0a2c" + ] + ] + }, + { + "id": "dc0df57eb59c0a2c", + "type": "ui-slider", + "z": "2365e16185f43e03", + "g": "aa5b3856a38f9e8d", + "group": "86da7af07264458b", + "name": "timer", + "label": "Minuterie", + "tooltip": "", + "order": 33, + "width": "6", + "height": "1", + "passthru": true, + "outs": "end", + "topic": "timer", + "topicType": "str", + "thumbLabel": "true", + "showTicks": "false", + "min": "1", + "max": "120", + "step": "1", + "className": "", + "iconPrepend": "", + "iconAppend": "", + "color": "", + "colorTrack": "", + "colorThumb": "", + "x": 1170, + "y": 3560, + "wires": [ + [ + "a575dd7d3df63cc2" + ] + ] + }, + { + "id": "a575dd7d3df63cc2", + "type": "switch", + "z": "2365e16185f43e03", + "g": "aa5b3856a38f9e8d", + "name": "type", + "property": "type", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1410, + "y": 3560, + "wires": [ + [ + "7dc2df581430d4d1" + ] + ] + } +] \ No newline at end of file diff --git a/flows/U.System.json b/flows/U.System.json index fad4f4a..9b32ee1 100644 --- a/flows/U.System.json +++ b/flows/U.System.json @@ -66,26 +66,6 @@ "w": 1994, "h": 794 }, - { - "id": "ac8656880e79c64f", - "type": "group", - "z": "677f66663a198839", - "name": "system - monitor", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "3ac47f7c0d888114", - "869c12168d4f1eff", - "846c648ed9c9e2f4" - ], - "x": 68, - "y": 2273, - "w": 2094, - "h": 194 - }, { "id": "a36cc06f8dcbf00f", "type": "group", @@ -101,14 +81,15 @@ "669888077b4dd178" ], "x": 68, - "y": 2513, + "y": 1913, "w": 2364, - "h": 794 + "h": 854 }, { "id": "57bf8eefe70206c0", "type": "group", "z": "677f66663a198839", + "g": "c2b4fa36fd86cf59", "name": "system - ui - timers", "style": { "fill": "#6f2fa0", @@ -134,7 +115,7 @@ "da26fce301e2b672" ], "x": 94, - "y": 3919, + "y": 3199, "w": 2072, "h": 262 }, @@ -281,36 +262,6 @@ "w": 1872, "h": 142 }, - { - "id": "c761b34cfb83bf7b", - "type": "group", - "z": "677f66663a198839", - "name": "system - scene - cpu usage", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "254e14629bc80024", - "d494bd28da0b3b4f", - "35870d5de45b5eca", - "cc0d79a6d7d33ed8", - "a33484931cee65b0", - "4e15731a3c1a1e30", - "89feb0a79db2f26b", - "231b620ca0da576d", - "5e4d2999a1291797", - "75d8c07c0bbd922c", - "cc7d25ff439bf79d", - "2c7b8f31c26a0e08", - "4770c01b4d63433a" - ], - "x": 94, - "y": 5479, - "w": 2082, - "h": 202 - }, { "id": "8661cca3effea007", "type": "group", @@ -332,62 +283,11 @@ "w": 422, "h": 82 }, - { - "id": "4de8933c464ab95f", - "type": "group", - "z": "677f66663a198839", - "name": "system - update - mode offloading", - "style": { - "fill": "#92d04f", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "09baf70e95e7762d", - "0de88cb98f4ac083", - "3327fe2406c6e2c1", - "8f85c7c6560c355f", - "1207082eb2d5f932", - "bd3f4e71aaf79212", - "f762d7e599c668a1", - "1d348c07b64bfe99", - "96e411d1924431d6", - "25a38080c58dafa9", - "53c846ba990d0f66", - "8862ebb60d770b07", - "d2c6adba46be3cde", - "e288dac3c4b41d1e", - "e10e034eaf7affdc" - ], - "x": 94, - "y": 5299, - "w": 2392, - "h": 142 - }, - { - "id": "2709d966425c269f", - "type": "group", - "z": "677f66663a198839", - "name": "linky - config", - "style": { - "fill": "#777777", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "6e3518534e87b660", - "b20e7bc8fbe86b50" - ], - "x": 68, - "y": 1913, - "w": 3154, - "h": 314 - }, { "id": "880406b4567be814", "type": "group", "z": "677f66663a198839", - "name": "", + "name": "system - notification", "style": { "fill": "#777777", "fill-opacity": "0.05", @@ -395,21 +295,22 @@ }, "nodes": [ "1da397975de7d1ec", - "0d87fcadccf95c03", - "f8be0b4c8fdf7515" + "f8be0b4c8fdf7515", + "c76679b82b664526" ], "x": 68, - "y": 3353, - "w": 3744, - "h": 494 + "y": 2813, + "w": 4484, + "h": 314 }, { "id": "c76679b82b664526", "type": "group", "z": "677f66663a198839", - "name": "scene - ui - notification", + "g": "880406b4567be814", + "name": "system - notification - ui", "style": { - "fill": "#92d04f", + "fill": "#6f2fa0", "fill-opacity": "0.05", "label": true, "stroke": "#a4a4a4" @@ -420,11 +321,78 @@ "07a07e509b818c1f", "c32288ec6571a37f" ], - "x": 94, - "y": 4219, - "w": 672, + "x": 3894, + "y": 2839, + "w": 632, "h": 82 }, + { + "id": "dcc6c15deafac254", + "type": "group", + "z": "677f66663a198839", + "name": "scene - update - mode offloading", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "6337b865cf950f75", + "9b3b8bcdc0855c1e", + "b828dd28be2d989e", + "5bebd5edcaa27d4a", + "081ee35748300e41", + "219a16797f4e660b", + "941c328aa789cd20", + "50f976acb93639ae", + "86e872ce81dbe1db", + "d97a1426ddf5daa7", + "d26c676d569b6493", + "83ab06e68c831d58", + "41bbda7f511c5b0e", + "356c903039ddfce7", + "0b19e3eea697dc84", + "99ce56d98201828a", + "a1d41139aa3a5c13", + "228d06b3bd715a6b", + "711c5bc0a5934b37", + "7c4e8673f8d8b792", + "af2a612b4b2c9920", + "c6a9b69aea5a9499" + ], + "x": 94, + "y": 5299, + "w": 3792, + "h": 202 + }, + { + "id": "15c8b4ba4882bbdd", + "type": "group", + "z": "677f66663a198839", + "name": "system - update - mode automate", + "style": { + "fill": "#92d04f", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "0bb26accb9a85c1d", + "f3389085895c7a52", + "92eb163189c941c8", + "a5545316cd07a12d", + "4c8301f4f4f9d22c", + "9955845661cb93e3", + "28fd1db5907e99c4", + "0aba07706a309cb3", + "067b3ebf52d05fb3", + "d22de47308056f7f", + "d2636d6f38eb5682" + ], + "x": 94, + "y": 5539, + "w": 1712, + "h": 142 + }, { "id": "f8998acf5aadbdb9", "type": "group", @@ -573,77 +541,6 @@ "w": 1262, "h": 742 }, - { - "id": "3ac47f7c0d888114", - "type": "group", - "z": "677f66663a198839", - "g": "ac8656880e79c64f", - "name": "system - monitor - device", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "c2f4ed65313c79e3", - "e6ea054f0c263d05", - "ea0a6bf7471569b8", - "7f27c671b36b7f0d" - ], - "x": 94, - "y": 2299, - "w": 502, - "h": 142 - }, - { - "id": "869c12168d4f1eff", - "type": "group", - "z": "677f66663a198839", - "g": "ac8656880e79c64f", - "name": "system - monitor - source", - "style": { - "fill": "#0070c0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "105c061631062fa1", - "28451c24664fea72", - "a3dd1fa555510840", - "4746f7254a82e9bc" - ], - "x": 694, - "y": 2299, - "w": 562, - "h": 82 - }, - { - "id": "846c648ed9c9e2f4", - "type": "group", - "z": "677f66663a198839", - "g": "ac8656880e79c64f", - "name": "system - monitor - ui", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "836e500a2c7822c7", - "dfaedc0968b10c81", - "593c443b02b44445", - "a5ba2de38ffe6ea3", - "62056c26d5ec8e87", - "705b7aecc5fbd42d", - "bbbe0888e1da93c3", - "f2e7804129259d9e", - "5ba738211e0c4eac" - ], - "x": 1354, - "y": 2299, - "w": 782, - "h": 142 - }, { "id": "f29264eda4a17c64", "type": "group", @@ -681,7 +578,7 @@ "3aa89a8bd365e23f" ], "x": 94, - "y": 2539, + "y": 1939, "w": 1062, "h": 562 }, @@ -728,104 +625,17 @@ "5b377209d189ce5f", "44098478ecf1656f", "57d699f1b6a32708", - "f6d83a5f32df320b" + "f6d83a5f32df320b", + "5f0e5572410a109e", + "b689b18c57b97204", + "4c0b8b1cef01a74c", + "547a266fcc858486", + "a240016548c6caa5" ], "x": 1254, - "y": 2539, + "y": 1939, "w": 1152, - "h": 742 - }, - { - "id": "6e3518534e87b660", - "type": "group", - "z": "677f66663a198839", - "g": "2709d966425c269f", - "name": "system - mode - ui - metric", - "style": { - "fill": "#6f2fa0", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "bdd43096dd5eab70", - "8784a0f9a054e833", - "c98f340f5d9ac0b8", - "ad55dad3f3184232", - "b8b2c1e43d867cbc", - "3ba2643a6e6c5587", - "6bee304b74fb96f3", - "71f5cd653ffb691b", - "76bdf3e75bb52977", - "db59293ab30afab9", - "f6b8460ac62f1dbf", - "872028e754776b74", - "f361ceb11d5419b4", - "3166ca865c58ab56", - "ea42809413c3275a", - "7d99acd55cdc636a", - "cdf924cd7fecf0ed", - "49a0dd7d8cce0e8c", - "5ed6fb51c21792c4" - ], - "x": 734, - "y": 1939, - "w": 2462, - "h": 262 - }, - { - "id": "b20e7bc8fbe86b50", - "type": "group", - "z": "677f66663a198839", - "g": "2709d966425c269f", - "name": "system - offloading - device", - "style": { - "fill": "#ffC000", - "fill-opacity": "0.05", - "label": true - }, - "nodes": [ - "8f8a3cf8eff18bc0", - "f620a10cb84b0914", - "327d1d80ce752cf8", - "966e823f9845138b", - "a49760dc27919f2e" - ], - "x": 94, - "y": 1939, - "w": 542, - "h": 202 - }, - { - "id": "0d87fcadccf95c03", - "type": "group", - "z": "677f66663a198839", - "g": "880406b4567be814", - "name": "system - notification - source - photo", - "style": { - "label": true, - "fill": "#0070c0", - "fill-opacity": "0.05" - }, - "nodes": [ - "a4d8eac11d9627da", - "9d3cfa6585f174bb", - "347aea6f7d971370", - "e2860eebc60710f1", - "a87057b9b37d5acc", - "0fa2c2c36e7857ae", - "6cf742d1462fe51f", - "4fbdefca2a81f3db", - "8a2e25c353236ea7", - "02e83902db6f2095", - "54f566beee2bf915", - "80ec78b7eebc9aa5", - "93004228b3f80782", - "6c3d877602cdb8f4" - ], - "x": 694, - "y": 3379, - "w": 2452, - "h": 142 + "h": 802 }, { "id": "f8be0b4c8fdf7515", @@ -846,7 +656,7 @@ "f5258c11e0ecb735" ], "x": 94, - "y": 3379, + "y": 2839, "w": 502, "h": 202 }, @@ -889,10 +699,28 @@ "f6df529b06c4fa42" ], "x": 694, - "y": 3559, + "y": 2839, "w": 3092, "h": 262 }, + { + "id": "c2b4fa36fd86cf59", + "type": "group", + "z": "677f66663a198839", + "name": "system - timers", + "style": { + "fill": "#777777", + "fill-opacity": "0.05", + "label": true + }, + "nodes": [ + "57bf8eefe70206c0" + ], + "x": 68, + "y": 3173, + "w": 2124, + "h": 314 + }, { "id": "da2f54e055f1d1ac", "type": "change", @@ -971,7 +799,8 @@ "e281bad48bd293b1", "ea0a6bf7471569b8", "f620a10cb84b0914", - "e959a705e61b2af2" + "e959a705e61b2af2", + "835097c9fec12584" ], "x": 395, "y": 60, @@ -2131,6 +1960,8 @@ "height": "1", "passthru": false, "multiple": false, + "chips": false, + "clearable": false, "options": [ { "label": "Automatique", @@ -2174,6 +2005,8 @@ "height": "1", "passthru": false, "multiple": false, + "chips": false, + "clearable": false, "options": [ { "label": "Automatique", @@ -3711,454 +3544,6 @@ ] ] }, - { - "id": "c2f4ed65313c79e3", - "type": "change", - "z": "677f66663a198839", - "g": "3ac47f7c0d888114", - "name": "monitor / cpu usage / text / 0", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "monitor", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "cpu usage", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "0", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 340, - "y": 2340, - "wires": [ - [ - "e6ea054f0c263d05" - ] - ] - }, - { - "id": "e6ea054f0c263d05", - "type": "link out", - "z": "677f66663a198839", - "g": "3ac47f7c0d888114", - "name": "system - monitor - device", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 555, - "y": 2340, - "wires": [] - }, - { - "id": "ea0a6bf7471569b8", - "type": "link in", - "z": "677f66663a198839", - "g": "3ac47f7c0d888114", - "name": "system - monitor - device", - "links": [ - "ca7b372f821ad44a" - ], - "x": 135, - "y": 2340, - "wires": [ - [ - "c2f4ed65313c79e3", - "7f27c671b36b7f0d" - ] - ] - }, - { - "id": "7f27c671b36b7f0d", - "type": "change", - "z": "677f66663a198839", - "g": "3ac47f7c0d888114", - "name": "monitor / cpu limit / number / 95", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "monitor", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "cpu limit", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "95", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 350, - "y": 2400, - "wires": [ - [ - "e6ea054f0c263d05" - ] - ] - }, - { - "id": "105c061631062fa1", - "type": "link in", - "z": "677f66663a198839", - "g": "869c12168d4f1eff", - "name": "system - monitor - source", - "links": [ - "004bb30c27c94fb4" - ], - "x": 735, - "y": 2340, - "wires": [ - [ - "28451c24664fea72" - ] - ] - }, - { - "id": "a3dd1fa555510840", - "type": "change", - "z": "677f66663a198839", - "g": "869c12168d4f1eff", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "monitor", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "cpu usage", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1080, - "y": 2340, - "wires": [ - [ - "4746f7254a82e9bc" - ] - ] - }, - { - "id": "4746f7254a82e9bc", - "type": "link out", - "z": "677f66663a198839", - "g": "869c12168d4f1eff", - "name": "system - monitor - source", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 1215, - "y": 2340, - "wires": [] - }, - { - "id": "836e500a2c7822c7", - "type": "link in", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "system - monitor - ui - metric", - "links": [ - "031a6afd8300356a" - ], - "x": 1395, - "y": 2340, - "wires": [ - [ - "dfaedc0968b10c81" - ] - ] - }, - { - "id": "dfaedc0968b10c81", - "type": "switch", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "check path", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "system/monitor/cpu usage", - "vt": "str" - }, - { - "t": "eq", - "v": "system/monitor/cpu limit", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1550, - "y": 2340, - "wires": [ - [ - "a5ba2de38ffe6ea3" - ], - [ - "bbbe0888e1da93c3" - ] - ] - }, - { - "id": "593c443b02b44445", - "type": "ui-text", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "group": "b0bbfaa0e2f5be4a", - "order": 0, - "width": 0, - "height": 0, - "name": "", - "label": "Utilisation CPU", - "format": "{{msg.payload}}", - "layout": "row-spread", - "style": false, - "font": "", - "fontSize": 16, - "color": "#717171", - "className": "", - "x": 1980, - "y": 2340, - "wires": [] - }, - { - "id": "a5ba2de38ffe6ea3", - "type": "change", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "format payload", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload&'%'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1760, - "y": 2340, - "wires": [ - [ - "593c443b02b44445" - ] - ] - }, - { - "id": "62056c26d5ec8e87", - "type": "link in", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "system - monitor - ui - load", - "links": [ - "94c79b8f52f0b6ba" - ], - "x": 1395, - "y": 2400, - "wires": [ - [ - "705b7aecc5fbd42d" - ] - ] - }, - { - "id": "705b7aecc5fbd42d", - "type": "change", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics[msg.bucket]monitor['cpu limit']", - "tot": "global" - }, - { - "t": "set", - "p": "class", - "pt": "msg", - "to": "", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1550, - "y": 2400, - "wires": [ - [ - "bbbe0888e1da93c3" - ] - ] - }, - { - "id": "bbbe0888e1da93c3", - "type": "ui-slider", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "group": "b0bbfaa0e2f5be4a", - "name": "cpu usage limit", - "label": "Limite d'utilisation CPU", - "tooltip": "", - "order": 0, - "width": "6", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "cpu limit", - "topicType": "str", - "thumbLabel": true, - "min": "1", - "max": "99", - "step": 1, - "className": "", - "x": 1760, - "y": 2400, - "wires": [ - [ - "f2e7804129259d9e" - ] - ] - }, - { - "id": "f2e7804129259d9e", - "type": "change", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "monitor", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "topic", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1960, - "y": 2400, - "wires": [ - [ - "5ba738211e0c4eac" - ] - ] - }, - { - "id": "5ba738211e0c4eac", - "type": "link out", - "z": "677f66663a198839", - "g": "846c648ed9c9e2f4", - "name": "system - monitor - ui - metric", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 2095, - "y": 2400, - "wires": [] - }, { "id": "b4dcaf3216134966", "type": "link in", @@ -4170,7 +3555,7 @@ "b20175d86ac76169" ], "x": 135, - "y": 2700, + "y": 2100, "wires": [ [ "043c5221abd8d856" @@ -4187,7 +3572,7 @@ "0f1e413815ecc824" ], "x": 135, - "y": 2640, + "y": 2040, "wires": [ [ "3839ed033b24f53f" @@ -4222,7 +3607,7 @@ "to": "", "reg": false, "x": 930, - "y": 2580, + "y": 1980, "wires": [ [ "f4bd51a249bc40ab" @@ -4248,7 +3633,7 @@ "allowrate": false, "outputs": 1, "x": 690, - "y": 2580, + "y": 1980, "wires": [ [ "38177fb0e91fdd3e" @@ -4265,7 +3650,7 @@ "031a6afd8300356a" ], "x": 135, - "y": 2580, + "y": 1980, "wires": [ [ "b5f125bb007480a0" @@ -4283,7 +3668,7 @@ "724cba04d6600bc8" ], "x": 1115, - "y": 2580, + "y": 1980, "wires": [] }, { @@ -4296,7 +3681,7 @@ "8fdb5986494986cc" ], "x": 135, - "y": 3000, + "y": 2400, "wires": [ [ "30972c85a28530dc" @@ -4322,7 +3707,7 @@ "repair": false, "outputs": 1, "x": 300, - "y": 3000, + "y": 2400, "wires": [ [ "38b4444508aa953e" @@ -4339,7 +3724,7 @@ "82908fcfdf7f599a" ], "x": 135, - "y": 2760, + "y": 2160, "wires": [ [ "77c59c4ebafe42bf" @@ -4356,7 +3741,7 @@ "a411175648a9f14e" ], "x": 135, - "y": 2940, + "y": 2340, "wires": [ [ "673139e4d39c82c4" @@ -4373,7 +3758,7 @@ "3398dde44269eb08" ], "x": 135, - "y": 2820, + "y": 2220, "wires": [ [ "77736ba628ab516c" @@ -4390,7 +3775,7 @@ "f0991abcca9403bc" ], "x": 135, - "y": 2880, + "y": 2280, "wires": [ [ "dfeb8a18db2eaef3" @@ -4405,7 +3790,7 @@ "name": "system - statistics - offloading", "links": [], "x": 135, - "y": 3060, + "y": 2460, "wires": [ [ "66b91b737f90ea46" @@ -4429,7 +3814,7 @@ "repair": false, "outputs": 1, "x": 300, - "y": 3060, + "y": 2460, "wires": [ [ "3aa89a8bd365e23f" @@ -4457,7 +3842,7 @@ "to": "", "reg": false, "x": 500, - "y": 2580, + "y": 1980, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4485,7 +3870,7 @@ "to": "", "reg": false, "x": 500, - "y": 2640, + "y": 2040, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4513,7 +3898,7 @@ "to": "", "reg": false, "x": 500, - "y": 2700, + "y": 2100, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4541,7 +3926,7 @@ "to": "", "reg": false, "x": 500, - "y": 2760, + "y": 2160, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4569,7 +3954,7 @@ "to": "", "reg": false, "x": 500, - "y": 2820, + "y": 2220, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4597,7 +3982,7 @@ "to": "", "reg": false, "x": 500, - "y": 2880, + "y": 2280, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4625,7 +4010,7 @@ "to": "", "reg": false, "x": 500, - "y": 2940, + "y": 2340, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4653,7 +4038,7 @@ "to": "", "reg": false, "x": 500, - "y": 3000, + "y": 2400, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4681,7 +4066,7 @@ "to": "", "reg": false, "x": 500, - "y": 3060, + "y": 2460, "wires": [ [ "d4a3fdcacd1fd1b5" @@ -4709,7 +4094,7 @@ "to": "", "reg": false, "x": 1860, - "y": 2580, + "y": 1980, "wires": [ [ "16111c5661efcc71", @@ -4744,7 +4129,7 @@ "allowrate": false, "outputs": 1, "x": 1460, - "y": 2580, + "y": 1980, "wires": [ [ "44098478ecf1656f" @@ -4761,7 +4146,7 @@ "f4bd51a249bc40ab" ], "x": 1295, - "y": 2580, + "y": 1980, "wires": [ [ "deb62bbcd93f939a" @@ -4786,8 +4171,8 @@ "drop": false, "allowrate": false, "outputs": 1, - "x": 1460, - "y": 3240, + "x": 1700, + "y": 2640, "wires": [ [ "5a3104504f4a3395" @@ -4804,7 +4189,7 @@ "592483f2183c6711" ], "x": 1295, - "y": 3240, + "y": 2640, "wires": [ [ "85184cd9cd45e820" @@ -4830,7 +4215,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 2580, + "y": 1980, "wires": [] }, { @@ -4839,7 +4224,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 6, + "order": 8, "width": "6", "height": "1", "name": "to MQTT", @@ -4852,7 +4237,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 2640, + "y": 2040, "wires": [] }, { @@ -4861,7 +4246,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 7, + "order": 9, "width": "6", "height": "1", "name": "to influxdb", @@ -4874,7 +4259,7 @@ "color": "#717171", "className": "", "x": 2310, - "y": 2700, + "y": 2100, "wires": [] }, { @@ -4883,7 +4268,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 5, + "order": 7, "width": "6", "height": "1", "name": "to loop", @@ -4896,7 +4281,7 @@ "color": "#717171", "className": "", "x": 2290, - "y": 3000, + "y": 2400, "wires": [] }, { @@ -4918,7 +4303,7 @@ "color": "#717171", "className": "", "x": 2290, - "y": 3240, + "y": 2640, "wires": [] }, { @@ -4942,7 +4327,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2640, + "y": 2040, "wires": [ [ "30ef8005a9e47bc3" @@ -4970,7 +4355,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2700, + "y": 2100, "wires": [ [ "24ac821b70937ab9" @@ -4998,7 +4383,7 @@ "to": "", "reg": false, "x": 2040, - "y": 3000, + "y": 2400, "wires": [ [ "0b20ddd97c1ede52" @@ -5015,7 +4400,7 @@ "c15d0c66ed5af79f" ], "x": 1295, - "y": 3180, + "y": 2580, "wires": [ [ "df6025b5aae9e534" @@ -5041,7 +4426,7 @@ "allowrate": false, "outputs": 1, "x": 1700, - "y": 3180, + "y": 2580, "wires": [ [ "2c98293fd7165f55" @@ -5054,7 +4439,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 3, + "order": 4, "width": "6", "height": "1", "name": "rate", @@ -5067,7 +4452,7 @@ "color": "#717171", "className": "", "x": 2290, - "y": 3180, + "y": 2580, "wires": [] }, { @@ -5091,7 +4476,7 @@ "to": "", "reg": false, "x": 2040, - "y": 3180, + "y": 2580, "wires": [ [ "7f49756b83bfd4c2" @@ -5119,7 +4504,7 @@ "to": "", "reg": false, "x": 2040, - "y": 3060, + "y": 2460, "wires": [ [ "444cfa997924f2d1" @@ -5132,7 +4517,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 4, + "order": 5, "width": "6", "height": "1", "name": "gate", @@ -5145,7 +4530,7 @@ "color": "#717171", "className": "", "x": 2290, - "y": 3060, + "y": 2460, "wires": [] }, { @@ -5167,7 +4552,7 @@ "repair": false, "outputs": 1, "x": 1470, - "y": 3180, + "y": 2580, "wires": [ [ "c44f928da06c7300" @@ -5180,7 +4565,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 9, + "order": 11, "width": "6", "height": "1", "name": "to Zigbee", @@ -5193,7 +4578,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 2820, + "y": 2220, "wires": [] }, { @@ -5217,7 +4602,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2820, + "y": 2220, "wires": [ [ "6d0a3f786ee1e6dc" @@ -5230,7 +4615,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 8, + "order": 10, "width": "6", "height": "1", "name": "to Zwave", @@ -5243,7 +4628,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 2760, + "y": 2160, "wires": [] }, { @@ -5267,7 +4652,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2760, + "y": 2160, "wires": [ [ "882afb599b11dfc2" @@ -5280,7 +4665,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 10, + "order": 12, "width": "6", "height": "1", "name": "to Rfxcom", @@ -5293,7 +4678,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 2880, + "y": 2280, "wires": [] }, { @@ -5317,7 +4702,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2880, + "y": 2280, "wires": [ [ "7c26fd276e02a4e0" @@ -5330,7 +4715,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 11, + "order": 13, "width": "6", "height": "1", "name": "to Bluetooth", @@ -5343,7 +4728,7 @@ "color": "#717171", "className": "", "x": 2310, - "y": 2940, + "y": 2340, "wires": [] }, { @@ -5367,7 +4752,7 @@ "to": "", "reg": false, "x": 2040, - "y": 2940, + "y": 2340, "wires": [ [ "aa2c1cbac43ce23d" @@ -5393,7 +4778,7 @@ "allowrate": false, "outputs": 1, "x": 1670, - "y": 2580, + "y": 1980, "wires": [ [ "b17e3350f9ba81ad" @@ -5406,7 +4791,7 @@ "z": "677f66663a198839", "g": "669888077b4dd178", "group": "dc35508e5890fb69", - "order": 4, + "order": 6, "width": "6", "height": "1", "name": "offloading", @@ -5419,7 +4804,7 @@ "color": "#717171", "className": "", "x": 2300, - "y": 3120, + "y": 2520, "wires": [] }, { @@ -5443,7 +4828,7 @@ "to": "", "reg": false, "x": 2040, - "y": 3120, + "y": 2520, "wires": [ [ "57d699f1b6a32708" @@ -5461,7 +4846,7 @@ "94c79b8f52f0b6ba" ], "x": 135, - "y": 4020, + "y": 3300, "wires": [ [ "fad6ea5928c43d20" @@ -5510,7 +4895,7 @@ "to": "", "reg": false, "x": 830, - "y": 4020, + "y": 3300, "wires": [ [ "da6f3da669e024d3" @@ -5530,7 +4915,7 @@ "stream": false, "addname": "", "x": 1210, - "y": 3960, + "y": 3240, "wires": [ [ "b1aec9ed9eb8059e" @@ -5565,7 +4950,7 @@ "to": "", "reg": false, "x": 1570, - "y": 3960, + "y": 3240, "wires": [ [ "3373b870924b043e" @@ -5594,7 +4979,7 @@ "reduceInitType": "", "reduceFixup": "", "x": 1730, - "y": 3960, + "y": 3240, "wires": [ [ "e26532940aaa52c6" @@ -5629,7 +5014,7 @@ "to": "", "reg": false, "x": 1910, - "y": 3960, + "y": 3240, "wires": [ [ "b4802ba3090bfb72" @@ -5651,7 +5036,7 @@ "autocols": true, "columns": [], "x": 2090, - "y": 4020, + "y": 3300, "wires": [ [] ] @@ -5676,7 +5061,7 @@ "repair": false, "outputs": 2, "x": 1030, - "y": 4020, + "y": 3300, "wires": [ [ "c44490a40f109a5c", @@ -5707,7 +5092,7 @@ "color": "#717171", "className": "", "x": 1570, - "y": 4080, + "y": 3360, "wires": [] }, { @@ -5731,7 +5116,7 @@ "to": "", "reg": false, "x": 1390, - "y": 4080, + "y": 3360, "wires": [ [ "4f2f73098fe566cb" @@ -5766,7 +5151,7 @@ "to": "", "reg": false, "x": 1210, - "y": 4080, + "y": 3360, "wires": [ [ "a7721a73d1926ce0" @@ -5801,7 +5186,7 @@ "to": "", "reg": false, "x": 1210, - "y": 4140, + "y": 3420, "wires": [ [ "a7721a73d1926ce0" @@ -5830,7 +5215,7 @@ "topic": "topic", "topicType": "msg", "x": 190, - "y": 4080, + "y": 3360, "wires": [ [ "c0a84f51998336e3" @@ -5858,7 +5243,7 @@ "to": "", "reg": false, "x": 410, - "y": 4080, + "y": 3360, "wires": [ [ "da26fce301e2b672" @@ -5884,31 +5269,13 @@ "allowrate": false, "outputs": 1, "x": 630, - "y": 4080, + "y": 3360, "wires": [ [ "fad6ea5928c43d20" ] ] }, - { - "id": "28451c24664fea72", - "type": "cpu", - "z": "677f66663a198839", - "g": "869c12168d4f1eff", - "name": "", - "msgCore": false, - "msgOverall": true, - "msgArray": false, - "msgTemp": false, - "x": 890, - "y": 2340, - "wires": [ - [ - "a3dd1fa555510840" - ] - ] - }, { "id": "16111c5661efcc71", "type": "moment", @@ -5928,7 +5295,7 @@ "outputType": "msg", "outTz": "Europe/Paris", "x": 2080, - "y": 2580, + "y": 1980, "wires": [ [ "bd3ccecd7ffb358a" @@ -5954,7 +5321,7 @@ "outputType": "msg", "outTz": "Europe/Paris", "x": 1390, - "y": 3960, + "y": 3240, "wires": [ [ "14f915e43eee9cb9" @@ -6861,6 +6228,13 @@ "pt": "msg", "to": "msg.payload?'automatic':'text'", "tot": "jsonata" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" } ], "action": "", @@ -8098,386 +7472,6 @@ "y": 5160, "wires": [] }, - { - "id": "254e14629bc80024", - "type": "debug", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "system - scene - cpu usage", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 1420, - "y": 5520, - "wires": [] - }, - { - "id": "d494bd28da0b3b4f", - "type": "switch", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "check limit", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "gte", - "v": "metrics.system.monitor['cpu limit']", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1170, - "y": 5580, - "wires": [ - [ - "35870d5de45b5eca", - "cc7d25ff439bf79d", - "254e14629bc80024" - ] - ] - }, - { - "id": "35870d5de45b5eca", - "type": "change", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "set notification metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "notification", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "message", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "Alerte de surcharge CPU, passage automate en mdoe manuel", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1400, - "y": 5640, - "wires": [ - [ - "a33484931cee65b0" - ] - ] - }, - { - "id": "cc0d79a6d7d33ed8", - "type": "change", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "set metric mode automate", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "mode", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "automate", - "tot": "str" - }, - { - "t": "set", - "p": "repeat", - "pt": "msg", - "to": "true", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1950, - "y": 5580, - "wires": [ - [ - "a33484931cee65b0" - ] - ] - }, - { - "id": "a33484931cee65b0", - "type": "link out", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "system - scene - cpu usage", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 2135, - "y": 5640, - "wires": [] - }, - { - "id": "4e15731a3c1a1e30", - "type": "delay", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "delay 5 s", - "pauseType": "delay", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 1720, - "y": 5580, - "wires": [ - [ - "cc0d79a6d7d33ed8" - ] - ] - }, - { - "id": "89feb0a79db2f26b", - "type": "link in", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "system - scene - cpu usage", - "links": [ - "031a6afd8300356a" - ], - "x": 135, - "y": 5580, - "wires": [ - [ - "231b620ca0da576d" - ] - ] - }, - { - "id": "231b620ca0da576d", - "type": "switch", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "system/monitor/cpu usage", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 270, - "y": 5580, - "wires": [ - [ - "2c7b8f31c26a0e08" - ] - ] - }, - { - "id": "5e4d2999a1291797", - "type": "gate", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "", - "controlTopic": "gate", - "defaultState": "closed", - "openCmd": "open", - "closeCmd": "close", - "toggleCmd": "toggle", - "defaultCmd": "default", - "statusCmd": "status", - "persist": false, - "storeName": "default", - "x": 990, - "y": 5580, - "wires": [ - [ - "d494bd28da0b3b4f" - ] - ] - }, - { - "id": "75d8c07c0bbd922c", - "type": "change", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "set gate", - "rules": [ - { - "t": "set", - "p": "limit", - "pt": "msg", - "to": "metrics.system.monitor['cpu limit']", - "tot": "global" - }, - { - "t": "set", - "p": "limit", - "pt": "msg", - "to": "$number(msg.limit)", - "tot": "jsonata" - }, - { - "t": "set", - "p": "topic", - "pt": "msg", - "to": "gate", - "tot": "str" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "msg.payload>=msg.limit?'open':'close'", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 820, - "y": 5640, - "wires": [ - [ - "5e4d2999a1291797" - ] - ] - }, - { - "id": "cc7d25ff439bf79d", - "type": "trigger", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "set off then wait 90 s then automatic", - "op1": "off", - "op2": "automatic", - "op1type": "str", - "op2type": "str", - "duration": "90", - "extend": true, - "overrideDelay": false, - "units": "s", - "reset": "", - "bytopic": "all", - "topic": "topic", - "outputs": 1, - "x": 1450, - "y": 5580, - "wires": [ - [ - "4e15731a3c1a1e30" - ] - ] - }, - { - "id": "2c7b8f31c26a0e08", - "type": "change", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "to number", - "rules": [ - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "$number(msg.payload)", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 440, - "y": 5580, - "wires": [ - [ - "4770c01b4d63433a", - "5e4d2999a1291797" - ] - ] - }, - { - "id": "4770c01b4d63433a", - "type": "delay", - "z": "677f66663a198839", - "g": "c761b34cfb83bf7b", - "name": "delay 50 ms", - "pauseType": "delay", - "timeout": "50", - "timeoutUnits": "milliseconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 630, - "y": 5640, - "wires": [ - [ - "75d8c07c0bbd922c" - ] - ] - }, { "id": "5a6eb0e1ac869f15", "type": "bigtimer", @@ -8682,1451 +7676,6 @@ "y": 60, "wires": [] }, - { - "id": "09baf70e95e7762d", - "type": "link in", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "system - update - mode offloading", - "links": [ - "031a6afd8300356a" - ], - "x": 135, - "y": 5340, - "wires": [ - [ - "bd3f4e71aaf79212" - ] - ] - }, - { - "id": "0de88cb98f4ac083", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "current limit", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "gte", - "v": "metrics.system.offloading['current limit']", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1310, - "y": 5340, - "wires": [ - [ - "96e411d1924431d6" - ] - ] - }, - { - "id": "3327fe2406c6e2c1", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "mode offloading", - "property": "metrics.system.mode.offloading", - "propertyType": "global", - "rules": [ - { - "t": "neq", - "v": "off", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1100, - "y": 5340, - "wires": [ - [ - "0de88cb98f4ac083" - ] - ] - }, - { - "id": "8f85c7c6560c355f", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "mode offloading", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "neq", - "v": "offloaded", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1100, - "y": 5400, - "wires": [ - [ - "e288dac3c4b41d1e" - ] - ] - }, - { - "id": "bdd43096dd5eab70", - "type": "link in", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "linky - config - ui - metric", - "links": [ - "031a6afd8300356a" - ], - "x": 775, - "y": 1980, - "wires": [ - [ - "6bee304b74fb96f3" - ] - ] - }, - { - "id": "8784a0f9a054e833", - "type": "link out", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "linky - config - ui - metric", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 3155, - "y": 1980, - "wires": [] - }, - { - "id": "c98f340f5d9ac0b8", - "type": "change", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "offloading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "topic", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 3020, - "y": 1980, - "wires": [ - [ - "8784a0f9a054e833" - ] - ] - }, - { - "id": "ad55dad3f3184232", - "type": "link in", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "linky - config - ui -load", - "links": [ - "94c79b8f52f0b6ba" - ], - "x": 775, - "y": 2040, - "wires": [ - [ - "76bdf3e75bb52977" - ] - ] - }, - { - "id": "b8b2c1e43d867cbc", - "type": "ui-slider", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "group": "b3fa33201c5f1de7", - "name": "current limit", - "label": "Intensité de délestage", - "tooltip": "", - "order": 2, - "width": "6", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "current limit", - "topicType": "str", - "thumbLabel": true, - "min": "5", - "max": "45", - "step": "1", - "className": "", - "x": 2830, - "y": 2040, - "wires": [ - [ - "c98f340f5d9ac0b8" - ] - ] - }, - { - "id": "3ba2643a6e6c5587", - "type": "ui-slider", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "group": "b3fa33201c5f1de7", - "name": "reset delay", - "label": "Délai de réinitialisation", - "tooltip": "", - "order": 3, - "width": "6", - "height": "1", - "passthru": false, - "outs": "end", - "topic": "reset delay", - "topicType": "str", - "thumbLabel": true, - "min": "1", - "max": "60", - "step": "1", - "className": "", - "x": 2830, - "y": 1980, - "wires": [ - [ - "c98f340f5d9ac0b8" - ] - ] - }, - { - "id": "8f8a3cf8eff18bc0", - "type": "link out", - "z": "677f66663a198839", - "g": "b20e7bc8fbe86b50", - "name": "system - offloading - device", - "mode": "link", - "links": [ - "bfa594bf1f876c92" - ], - "x": 595, - "y": 1980, - "wires": [] - }, - { - "id": "f620a10cb84b0914", - "type": "link in", - "z": "677f66663a198839", - "g": "b20e7bc8fbe86b50", - "name": "system - offloading - device", - "links": [ - "ca7b372f821ad44a" - ], - "x": 135, - "y": 1980, - "wires": [ - [ - "327d1d80ce752cf8", - "966e823f9845138b", - "a49760dc27919f2e" - ] - ] - }, - { - "id": "327d1d80ce752cf8", - "type": "change", - "z": "677f66663a198839", - "g": "b20e7bc8fbe86b50", - "name": "offloading / current limit / dimmer / 40", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "offloading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "current limit", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "dimmer", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "40", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 370, - "y": 2040, - "wires": [ - [ - "8f8a3cf8eff18bc0" - ] - ] - }, - { - "id": "966e823f9845138b", - "type": "change", - "z": "677f66663a198839", - "g": "b20e7bc8fbe86b50", - "name": "offloading / reset delay / number / 5", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "offloading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "reset delay", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "number", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "5", - "tot": "num" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 360, - "y": 2100, - "wires": [ - [ - "8f8a3cf8eff18bc0" - ] - ] - }, - { - "id": "6bee304b74fb96f3", - "type": "switch", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "check bucket", - "property": "bucket", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "bucket", - "vt": "flow" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 930, - "y": 1980, - "wires": [ - [ - "71f5cd653ffb691b" - ] - ] - }, - { - "id": "71f5cd653ffb691b", - "type": "switch", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "check measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "offloading", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1160, - "y": 1980, - "wires": [ - [ - "f6b8460ac62f1dbf" - ] - ] - }, - { - "id": "76bdf3e75bb52977", - "type": "change", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "bucket", - "tot": "flow" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics[msg.bucket]offloading", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 930, - "y": 2040, - "wires": [ - [ - "db59293ab30afab9" - ] - ] - }, - { - "id": "db59293ab30afab9", - "type": "split", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "split measurement", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "field", - "x": 1150, - "y": 2040, - "wires": [ - [ - "f6b8460ac62f1dbf" - ] - ] - }, - { - "id": "f6b8460ac62f1dbf", - "type": "switch", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "select field", - "property": "field", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "reset delay", - "vt": "str" - }, - { - "t": "eq", - "v": "current limit", - "vt": "str" - }, - { - "t": "eq", - "v": "electric meter", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 3, - "x": 1390, - "y": 2040, - "wires": [ - [ - "3ba2643a6e6c5587" - ], - [ - "b8b2c1e43d867cbc" - ], - [ - "f361ceb11d5419b4" - ] - ] - }, - { - "id": "1207082eb2d5f932", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "measurement", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "current", - "vt": "str" - }, - { - "t": "eq", - "v": "mode", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 880, - "y": 5340, - "wires": [ - [ - "3327fe2406c6e2c1" - ], - [ - "8f85c7c6560c355f" - ] - ] - }, - { - "id": "bd3f4e71aaf79212", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "trigger", - "property": "path", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "metrics.system.offloading['electric meter']", - "vt": "global" - }, - { - "t": "eq", - "v": "system/mode/offloading", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 270, - "y": 5340, - "wires": [ - [ - "f762d7e599c668a1" - ], - [ - "f762d7e599c668a1" - ] - ] - }, - { - "id": "f762d7e599c668a1", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "mode master", - "property": "metrics.system.mode.master", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "about.automate", - "vt": "global" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 450, - "y": 5340, - "wires": [ - [ - "1d348c07b64bfe99" - ] - ] - }, - { - "id": "1d348c07b64bfe99", - "type": "switch", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "mode automate", - "property": "metrics.system.mode.automate", - "propertyType": "global", - "rules": [ - { - "t": "eq", - "v": "automatic", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 660, - "y": 5340, - "wires": [ - [ - "1207082eb2d5f932" - ] - ] - }, - { - "id": "96e411d1924431d6", - "type": "change", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "delay", - "rules": [ - { - "t": "set", - "p": "delay", - "pt": "msg", - "to": "metrics.system.offloading['reset delay']", - "tot": "global" - }, - { - "t": "set", - "p": "delay", - "pt": "msg", - "to": "msg.delay*60000", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1490, - "y": 5340, - "wires": [ - [ - "25a38080c58dafa9" - ] - ] - }, - { - "id": "25a38080c58dafa9", - "type": "trigger", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "set offloaded then automatic", - "op1": "offloaded", - "op2": "automatic", - "op1type": "str", - "op2type": "str", - "duration": "5", - "extend": true, - "overrideDelay": true, - "units": "min", - "reset": "", - "bytopic": "all", - "topic": "topic", - "outputs": 1, - "x": 1720, - "y": 5400, - "wires": [ - [ - "53c846ba990d0f66" - ] - ] - }, - { - "id": "d2c6adba46be3cde", - "type": "debug", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "system - update - mode offloading", - "active": true, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 2300, - "y": 5340, - "wires": [] - }, - { - "id": "8862ebb60d770b07", - "type": "link out", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "system - update - mode offloading", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 2175, - "y": 5400, - "wires": [] - }, - { - "id": "53c846ba990d0f66", - "type": "change", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "set metric offloading", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "mode", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "offloading", - "tot": "str" - }, - { - "t": "set", - "p": "repeat", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2000, - "y": 5400, - "wires": [ - [ - "d2c6adba46be3cde", - "8862ebb60d770b07" - ] - ] - }, - { - "id": "e288dac3c4b41d1e", - "type": "change", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "reset", - "rules": [ - { - "t": "set", - "p": "reset", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1490, - "y": 5400, - "wires": [ - [ - "25a38080c58dafa9" - ] - ] - }, - { - "id": "e10e034eaf7affdc", - "type": "comment", - "z": "677f66663a198839", - "g": "4de8933c464ab95f", - "name": "read home/current/electric meter", - "info": "", - "x": 250, - "y": 5400, - "wires": [] - }, - { - "id": "a49760dc27919f2e", - "type": "change", - "z": "677f66663a198839", - "g": "b20e7bc8fbe86b50", - "name": "offloading / electric meter / text / ", - "rules": [ - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "offloading", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "electric meter", - "tot": "str" - }, - { - "t": "set", - "p": "format", - "pt": "msg", - "to": "text", - "tot": "str" - }, - { - "t": "set", - "p": "default", - "pt": "msg", - "to": "home/current/electric meter", - "tot": "str" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 350, - "y": 1980, - "wires": [ - [ - "8f8a3cf8eff18bc0" - ] - ] - }, - { - "id": "872028e754776b74", - "type": "ui-dropdown", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "group": "b3fa33201c5f1de7", - "name": "electic meter", - "label": "Compteur electrique :", - "tooltip": "", - "order": 1, - "width": 0, - "height": 0, - "passthru": false, - "multiple": false, - "options": [], - "payload": "", - "topic": "electric meter", - "topicType": "str", - "className": "", - "x": 2830, - "y": 2100, - "wires": [ - [ - "c98f340f5d9ac0b8" - ] - ] - }, - { - "id": "f361ceb11d5419b4", - "type": "change", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "from global", - "rules": [ - { - "t": "set", - "p": "old_payload", - "pt": "msg", - "to": "payload", - "tot": "msg" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "metrics", - "tot": "global" - }, - { - "t": "set", - "p": "offloading.options", - "pt": "flow", - "to": "[]", - "tot": "jsonata" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1590, - "y": 2160, - "wires": [ - [ - "3166ca865c58ab56" - ] - ] - }, - { - "id": "3166ca865c58ab56", - "type": "split", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "", - "splt": "\\n", - "spltType": "str", - "arraySplt": 1, - "arraySpltType": "len", - "stream": false, - "addname": "bucket", - "x": 1770, - "y": 2160, - "wires": [ - [ - "ea42809413c3275a" - ] - ] - }, - { - "id": "ea42809413c3275a", - "type": "switch", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "measurement", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "current", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 1960, - "y": 2160, - "wires": [ - [ - "7d99acd55cdc636a" - ], - [ - "49a0dd7d8cce0e8c" - ] - ] - }, - { - "id": "7d99acd55cdc636a", - "type": "switch", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "field", - "property": "payload.current", - "propertyType": "msg", - "rules": [ - { - "t": "hask", - "v": "electric meter", - "vt": "str" - }, - { - "t": "else" - } - ], - "checkall": "false", - "repair": false, - "outputs": 2, - "x": 2150, - "y": 2100, - "wires": [ - [ - "cdf924cd7fecf0ed" - ], - [ - "49a0dd7d8cce0e8c" - ] - ] - }, - { - "id": "cdf924cd7fecf0ed", - "type": "change", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "add", - "rules": [ - { - "t": "set", - "p": "offloading_options", - "pt": "msg", - "to": "offloading.options", - "tot": "flow" - }, - { - "t": "set", - "p": "offloading_count", - "pt": "msg", - "to": "$count(msg.offloading_options)-1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "offloading_count", - "pt": "msg", - "to": "msg.offloading_count+1", - "tot": "jsonata" - }, - { - "t": "set", - "p": "offloading_options[msg.offloading_count]", - "pt": "msg", - "to": "{\t 'label': msg.bucket&'/current/electric meter',\t 'value': msg.bucket&'/current/electric meter'\t}", - "tot": "jsonata" - }, - { - "t": "set", - "p": "offloading.options", - "pt": "flow", - "to": "offloading_options", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2310, - "y": 2100, - "wires": [ - [ - "49a0dd7d8cce0e8c" - ] - ] - }, - { - "id": "49a0dd7d8cce0e8c", - "type": "join", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "", - "mode": "auto", - "build": "object", - "property": "payload", - "propertyType": "msg", - "key": "topic", - "joiner": "\\n", - "joinerType": "str", - "accumulate": "false", - "timeout": "", - "count": "", - "reduceRight": false, - "x": 2470, - "y": 2160, - "wires": [ - [ - "5ed6fb51c21792c4" - ] - ] - }, - { - "id": "5ed6fb51c21792c4", - "type": "change", - "z": "677f66663a198839", - "g": "6e3518534e87b660", - "name": "options", - "rules": [ - { - "t": "set", - "p": "options", - "pt": "msg", - "to": "offloading.options", - "tot": "flow" - }, - { - "t": "set", - "p": "payload", - "pt": "msg", - "to": "old_payload", - "tot": "msg" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2640, - "y": 2160, - "wires": [ - [ - "872028e754776b74" - ] - ] - }, - { - "id": "a4d8eac11d9627da", - "type": "link in", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "system - notification - source - photo", - "links": [ - "031a6afd8300356a", - "8fdb5986494986cc" - ], - "x": 735, - "y": 3480, - "wires": [ - [ - "80ec78b7eebc9aa5" - ] - ] - }, - { - "id": "9d3cfa6585f174bb", - "type": "switch", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "is motion", - "property": "measurement", - "propertyType": "msg", - "rules": [ - { - "t": "eq", - "v": "motion", - "vt": "str" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1040, - "y": 3480, - "wires": [ - [ - "347aea6f7d971370" - ] - ] - }, - { - "id": "347aea6f7d971370", - "type": "switch", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "payload is true", - "property": "payload", - "propertyType": "msg", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1240, - "y": 3480, - "wires": [ - [ - "e2860eebc60710f1" - ] - ] - }, - { - "id": "e2860eebc60710f1", - "type": "switch", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "camera allows snapshot", - "property": "metrics[msg.bucket]camera.snapshot", - "propertyType": "global", - "rules": [ - { - "t": "true" - } - ], - "checkall": "false", - "repair": false, - "outputs": 1, - "x": 1490, - "y": 3480, - "wires": [ - [ - "a87057b9b37d5acc" - ] - ] - }, - { - "id": "a87057b9b37d5acc", - "type": "change", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "get camre url", - "rules": [ - { - "t": "set", - "p": "url", - "pt": "msg", - "to": "metrics[msg.bucket]camera.url", - "tot": "global" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 1730, - "y": 3480, - "wires": [ - [ - "0fa2c2c36e7857ae" - ] - ] - }, - { - "id": "0fa2c2c36e7857ae", - "type": "delay", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "1 ms / miin", - "pauseType": "rate", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "minute", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": true, - "allowrate": false, - "outputs": 1, - "x": 1930, - "y": 3480, - "wires": [ - [ - "6cf742d1462fe51f" - ] - ] - }, - { - "id": "6cf742d1462fe51f", - "type": "trigger", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "repeat 5 s", - "op1": "", - "op2": "", - "op1type": "pay", - "op2type": "payl", - "duration": "5", - "extend": false, - "overrideDelay": false, - "units": "s", - "reset": "", - "bytopic": "all", - "topic": "topic", - "outputs": 1, - "x": 2120, - "y": 3480, - "wires": [ - [ - "4fbdefca2a81f3db" - ] - ] - }, - { - "id": "4fbdefca2a81f3db", - "type": "http request", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "get snapshot", - "method": "GET", - "ret": "bin", - "paytoqs": "ignore", - "url": "", - "tls": "", - "persist": false, - "proxy": "", - "insecureHTTPParser": false, - "authType": "", - "senderr": false, - "headers": [], - "x": 2310, - "y": 3480, - "wires": [ - [ - "93004228b3f80782" - ] - ] - }, - { - "id": "8a2e25c353236ea7", - "type": "change", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "set metric", - "rules": [ - { - "t": "set", - "p": "bucket", - "pt": "msg", - "to": "system", - "tot": "str" - }, - { - "t": "set", - "p": "measurement", - "pt": "msg", - "to": "notification", - "tot": "str" - }, - { - "t": "set", - "p": "field", - "pt": "msg", - "to": "photo", - "tot": "str" - }, - { - "t": "set", - "p": "repeat", - "pt": "msg", - "to": "true", - "tot": "bool" - } - ], - "action": "", - "property": "", - "from": "", - "to": "", - "reg": false, - "x": 2680, - "y": 3480, - "wires": [ - [ - "02e83902db6f2095", - "54f566beee2bf915" - ] - ] - }, - { - "id": "02e83902db6f2095", - "type": "link out", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "system - notification - source - photo", - "mode": "link", - "links": [ - "206c1fb4a48067df" - ], - "x": 2815, - "y": 3480, - "wires": [] - }, - { - "id": "54f566beee2bf915", - "type": "debug", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "system - notification - source - photo", - "active": false, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "true", - "targetType": "full", - "statusVal": "", - "statusType": "auto", - "x": 2950, - "y": 3420, - "wires": [] - }, - { - "id": "80ec78b7eebc9aa5", - "type": "gate", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "", - "controlTopic": "gate", - "defaultState": "closed", - "openCmd": "open", - "closeCmd": "close", - "toggleCmd": "toggle", - "defaultCmd": "default", - "statusCmd": "status", - "persist": false, - "storeName": "default", - "x": 870, - "y": 3480, - "wires": [ - [ - "9d3cfa6585f174bb" - ] - ] - }, { "id": "c2a86c4367422bab", "type": "change", @@ -10169,7 +7718,7 @@ "to": "", "reg": false, "x": 340, - "y": 3420, + "y": 2880, "wires": [ [ "f9007d094495cf1e" @@ -10187,7 +7736,7 @@ "bfa594bf1f876c92" ], "x": 555, - "y": 3420, + "y": 2880, "wires": [] }, { @@ -10200,7 +7749,7 @@ "ca7b372f821ad44a" ], "x": 135, - "y": 3420, + "y": 2880, "wires": [ [ "c2a86c4367422bab", @@ -10251,7 +7800,7 @@ "to": "", "reg": false, "x": 330, - "y": 3480, + "y": 2940, "wires": [ [ "f9007d094495cf1e" @@ -10279,7 +7828,7 @@ "to": "", "reg": false, "x": 1080, - "y": 3600, + "y": 2880, "wires": [ [ "10809fbcb58e7b57", @@ -10301,7 +7850,7 @@ "stream": false, "addname": "bucket", "x": 1320, - "y": 3600, + "y": 2880, "wires": [ [ "88cbf187e19ac35c" @@ -10332,7 +7881,7 @@ "repair": false, "outputs": 2, "x": 1540, - "y": 3600, + "y": 2880, "wires": [ [ "2a6fa1ae5525a75e" @@ -10355,7 +7904,7 @@ "stream": false, "addname": "field", "x": 1930, - "y": 3600, + "y": 2880, "wires": [ [ "7b7d209612be6c16" @@ -10383,7 +7932,7 @@ "to": "", "reg": false, "x": 1750, - "y": 3600, + "y": 2880, "wires": [ [ "b8e78b8410b6e649" @@ -10409,7 +7958,7 @@ "repair": false, "outputs": 1, "x": 2320, - "y": 3600, + "y": 2880, "wires": [ [ "68af043bd05046dd" @@ -10437,7 +7986,7 @@ "to": "", "reg": false, "x": 2750, - "y": 3600, + "y": 2880, "wires": [ [ "14f62bd272d8de3a" @@ -10455,7 +8004,7 @@ "206c1fb4a48067df" ], "x": 3455, - "y": 3720, + "y": 3000, "wires": [] }, { @@ -10481,7 +8030,7 @@ "repair": false, "outputs": 2, "x": 2110, - "y": 3600, + "y": 2880, "wires": [ [], [ @@ -10502,7 +8051,7 @@ "stream": false, "addname": "field", "x": 1930, - "y": 3660, + "y": 2940, "wires": [ [ "b5bc4310321b1731" @@ -10530,7 +8079,7 @@ "to": "", "reg": false, "x": 1750, - "y": 3660, + "y": 2940, "wires": [ [ "c9092af874161855" @@ -10556,7 +8105,7 @@ "repair": false, "outputs": 1, "x": 2120, - "y": 3660, + "y": 2940, "wires": [ [ "29343b8ebe517525" @@ -10584,7 +8133,7 @@ "to": "", "reg": false, "x": 2750, - "y": 3660, + "y": 2940, "wires": [ [ "14f62bd272d8de3a" @@ -10603,7 +8152,7 @@ "8fdb5986494986cc" ], "x": 735, - "y": 3600, + "y": 2880, "wires": [ [ "f6df529b06c4fa42" @@ -10631,7 +8180,7 @@ "to": "", "reg": false, "x": 1310, - "y": 3780, + "y": 3060, "wires": [ [ "99be15052a15c189" @@ -10657,7 +8206,7 @@ "topic": "topic", "outputs": 1, "x": 3100, - "y": 3780, + "y": 3060, "wires": [ [ "8930fcc47c05b10e" @@ -10685,7 +8234,7 @@ "to": "", "reg": false, "x": 2930, - "y": 3720, + "y": 3000, "wires": [ [ "99be15052a15c189", @@ -10702,7 +8251,7 @@ "mode": "link", "links": [], "x": 1255, - "y": 3720, + "y": 3000, "wires": [] }, { @@ -10713,7 +8262,7 @@ "name": "system - notification - source - report - addon", "links": [], "x": 1455, - "y": 3720, + "y": 3000, "wires": [ [ "14f62bd272d8de3a" @@ -10728,7 +8277,7 @@ "name": "report addon", "info": "", "x": 1350, - "y": 3680, + "y": 2960, "wires": [] }, { @@ -10743,7 +8292,7 @@ "linkType": "static", "timeout": "30", "x": 2540, - "y": 3600, + "y": 2880, "wires": [ [ "26cae0d4e5242b12" @@ -10792,7 +8341,7 @@ "to": "", "reg": false, "x": 3280, - "y": 3720, + "y": 3000, "wires": [ [ "eae52aeb7020086f", @@ -10815,7 +8364,7 @@ "statusVal": "", "statusType": "auto", "x": 3590, - "y": 3660, + "y": 2940, "wires": [] }, { @@ -10826,7 +8375,7 @@ "name": "one message per sentence", "info": "", "x": 3330, - "y": 3780, + "y": 3060, "wires": [] }, { @@ -10845,7 +8394,7 @@ "persist": false, "storeName": "default", "x": 870, - "y": 3600, + "y": 2880, "wires": [ [ "91b1a3ba200b7224" @@ -10894,40 +8443,13 @@ "to": "", "reg": false, "x": 330, - "y": 3540, + "y": 3000, "wires": [ [ "f9007d094495cf1e" ] ] }, - { - "id": "93004228b3f80782", - "type": "base64", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "", - "action": "", - "property": "payload", - "x": 2500, - "y": 3480, - "wires": [ - [ - "8a2e25c353236ea7" - ] - ] - }, - { - "id": "6c3d877602cdb8f4", - "type": "comment", - "z": "677f66663a198839", - "g": "0d87fcadccf95c03", - "name": "base64 encoded buffered image", - "info": "", - "x": 2570, - "y": 3420, - "wires": [] - }, { "id": "d1f40d903ba49ae7", "type": "ui-notification", @@ -10937,16 +8459,16 @@ "position": "center center", "colorDefault": true, "color": "#000000", - "displayTime": "2", + "displayTime": "5", "showCountdown": true, "outputs": 0, "allowDismiss": true, "dismissText": "Close", "raw": false, "className": "", - "name": "", - "x": 650, - "y": 4260, + "name": "ui notification", + "x": 4430, + "y": 2880, "wires": [] }, { @@ -10958,8 +8480,8 @@ "links": [ "031a6afd8300356a" ], - "x": 135, - "y": 4260, + "x": 3935, + "y": 2880, "wires": [ [ "07a07e509b818c1f" @@ -10984,8 +8506,8 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 270, - "y": 4260, + "x": 4070, + "y": 2880, "wires": [ [ "c32288ec6571a37f" @@ -11008,12 +8530,1027 @@ "checkall": "false", "repair": false, "outputs": 1, - "x": 440, - "y": 4260, + "x": 4240, + "y": 2880, "wires": [ [ "d1f40d903ba49ae7" ] ] + }, + { + "id": "6337b865cf950f75", + "type": "link in", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "system - update - mode offloading", + "links": [ + "031a6afd8300356a" + ], + "x": 135, + "y": 5460, + "wires": [ + [ + "9b3b8bcdc0855c1e" + ] + ] + }, + { + "id": "9b3b8bcdc0855c1e", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 5460, + "wires": [ + [ + "af2a612b4b2c9920" + ] + ] + }, + { + "id": "b828dd28be2d989e", + "type": "delay", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "wait 3 s", + "pauseType": "delay", + "timeout": "3", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1300, + "y": 5460, + "wires": [ + [ + "5bebd5edcaa27d4a" + ] + ] + }, + { + "id": "5bebd5edcaa27d4a", + "type": "change", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "metrics", + "rules": [ + { + "t": "set", + "p": "old_payload", + "pt": "msg", + "to": "payload", + "tot": "msg" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "metrics", + "tot": "global" + }, + { + "t": "set", + "p": "overload", + "pt": "flow", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1480, + "y": 5460, + "wires": [ + [ + "081ee35748300e41" + ] + ] + }, + { + "id": "081ee35748300e41", + "type": "split", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "buckets", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "bucket", + "property": "payload", + "x": 1660, + "y": 5460, + "wires": [ + [ + "219a16797f4e660b" + ] + ] + }, + { + "id": "219a16797f4e660b", + "type": "split", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "measurements", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "measurement", + "property": "payload", + "x": 1860, + "y": 5460, + "wires": [ + [ + "941c328aa789cd20" + ] + ] + }, + { + "id": "941c328aa789cd20", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2080, + "y": 5460, + "wires": [ + [ + "86e872ce81dbe1db" + ], + [ + "83ab06e68c831d58" + ] + ] + }, + { + "id": "50f976acb93639ae", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "overloaded", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2610, + "y": 5340, + "wires": [ + [ + "d97a1426ddf5daa7" + ], + [ + "d26c676d569b6493" + ] + ] + }, + { + "id": "86e872ce81dbe1db", + "type": "split", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "fields", + "splt": "\\n", + "spltType": "str", + "arraySplt": 1, + "arraySpltType": "len", + "stream": false, + "addname": "field", + "property": "payload", + "x": 2270, + "y": 5400, + "wires": [ + [ + "c6a9b69aea5a9499" + ] + ] + }, + { + "id": "d97a1426ddf5daa7", + "type": "change", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "set flow", + "rules": [ + { + "t": "set", + "p": "overload", + "pt": "flow", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2800, + "y": 5340, + "wires": [ + [ + "d26c676d569b6493" + ] + ] + }, + { + "id": "d26c676d569b6493", + "type": "join", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "useparts": false, + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 2970, + "y": 5400, + "wires": [ + [ + "83ab06e68c831d58" + ] + ] + }, + { + "id": "83ab06e68c831d58", + "type": "join", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "useparts": false, + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 3130, + "y": 5460, + "wires": [ + [ + "41bbda7f511c5b0e" + ] + ] + }, + { + "id": "41bbda7f511c5b0e", + "type": "join", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "", + "mode": "auto", + "build": "object", + "property": "payload", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "useparts": false, + "accumulate": "false", + "timeout": "", + "count": "", + "reduceRight": false, + "x": 3290, + "y": 5460, + "wires": [ + [ + "356c903039ddfce7" + ] + ] + }, + { + "id": "356c903039ddfce7", + "type": "change", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "mode", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "offloading", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "overload", + "tot": "flow" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'offloaded':'automatic'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 3450, + "y": 5460, + "wires": [ + [ + "0b19e3eea697dc84", + "99ce56d98201828a" + ] + ] + }, + { + "id": "0b19e3eea697dc84", + "type": "debug", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "system - update - mode offloading", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 3700, + "y": 5400, + "wires": [] + }, + { + "id": "99ce56d98201828a", + "type": "link out", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "system - update - mode offloading", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 3575, + "y": 5460, + "wires": [] + }, + { + "id": "a1d41139aa3a5c13", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "mode master", + "property": "metrics.system.mode.master", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "about.automate", + "vt": "global" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 5460, + "wires": [ + [ + "228d06b3bd715a6b" + ] + ] + }, + { + "id": "228d06b3bd715a6b", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "mode automate", + "property": "metrics.system.mode.automate", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "automatic", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 880, + "y": 5460, + "wires": [ + [ + "711c5bc0a5934b37" + ] + ] + }, + { + "id": "711c5bc0a5934b37", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "mode offloading", + "property": "metrics.system.mode.offloading", + "propertyType": "global", + "rules": [ + { + "t": "neq", + "v": "off", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1100, + "y": 5460, + "wires": [ + [ + "b828dd28be2d989e" + ] + ] + }, + { + "id": "7c4e8673f8d8b792", + "type": "comment", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "xxx / overload / electric meter", + "info": "", + "x": 240, + "y": 5400, + "wires": [] + }, + { + "id": "af2a612b4b2c9920", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "electric meter", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 490, + "y": 5460, + "wires": [ + [ + "a1d41139aa3a5c13" + ] + ] + }, + { + "id": "c6a9b69aea5a9499", + "type": "switch", + "z": "677f66663a198839", + "g": "dcc6c15deafac254", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "electric meter", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "false", + "repair": false, + "outputs": 2, + "x": 2430, + "y": 5400, + "wires": [ + [ + "50f976acb93639ae" + ], + [ + "d26c676d569b6493" + ] + ] + }, + { + "id": "0bb26accb9a85c1d", + "type": "link in", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "system - update - mode automate", + "links": [ + "031a6afd8300356a" + ], + "x": 135, + "y": 5640, + "wires": [ + [ + "f3389085895c7a52" + ] + ] + }, + { + "id": "f3389085895c7a52", + "type": "switch", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "overload", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 300, + "y": 5640, + "wires": [ + [ + "92eb163189c941c8" + ] + ] + }, + { + "id": "92eb163189c941c8", + "type": "switch", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "field", + "property": "field", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "server", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 490, + "y": 5640, + "wires": [ + [ + "28fd1db5907e99c4" + ] + ] + }, + { + "id": "a5545316cd07a12d", + "type": "comment", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "xxx / overload / server", + "info": "", + "x": 220, + "y": 5580, + "wires": [] + }, + { + "id": "4c8301f4f4f9d22c", + "type": "delay", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "wait 5 s", + "pauseType": "delay", + "timeout": "5", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1080, + "y": 5640, + "wires": [ + [ + "9955845661cb93e3", + "d22de47308056f7f" + ] + ] + }, + { + "id": "9955845661cb93e3", + "type": "change", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "set metric mode automate", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "mode", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "automate", + "tot": "str" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'off':'automatic'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1310, + "y": 5580, + "wires": [ + [ + "067b3ebf52d05fb3", + "d2636d6f38eb5682" + ] + ] + }, + { + "id": "28fd1db5907e99c4", + "type": "switch", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "mode master", + "property": "metrics.system.mode.master", + "propertyType": "global", + "rules": [ + { + "t": "eq", + "v": "about.automate", + "vt": "global" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 670, + "y": 5640, + "wires": [ + [ + "0aba07706a309cb3" + ] + ] + }, + { + "id": "0aba07706a309cb3", + "type": "switch", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "mode automate", + "property": "metrics.system.mode.automate", + "propertyType": "global", + "rules": [ + { + "t": "neq", + "v": "manuel", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 880, + "y": 5640, + "wires": [ + [ + "4c8301f4f4f9d22c" + ] + ] + }, + { + "id": "067b3ebf52d05fb3", + "type": "link out", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "system - update - mode automate", + "mode": "link", + "links": [ + "206c1fb4a48067df" + ], + "x": 1495, + "y": 5640, + "wires": [] + }, + { + "id": "d22de47308056f7f", + "type": "change", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "set notification metric", + "rules": [ + { + "t": "set", + "p": "bucket", + "pt": "msg", + "to": "system", + "tot": "str" + }, + { + "t": "set", + "p": "measurement", + "pt": "msg", + "to": "notification", + "tot": "str" + }, + { + "t": "set", + "p": "field", + "pt": "msg", + "to": "message", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload?'arrêt':'automatique'", + "tot": "jsonata" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "'Alerte de surcharge CPU, passage automate en mode '&msg.payload", + "tot": "jsonata" + }, + { + "t": "set", + "p": "repeat", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1300, + "y": 5640, + "wires": [ + [ + "067b3ebf52d05fb3" + ] + ] + }, + { + "id": "d2636d6f38eb5682", + "type": "debug", + "z": "677f66663a198839", + "g": "15c8b4ba4882bbdd", + "name": "system - update - mode automate", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "true", + "targetType": "full", + "statusVal": "", + "statusType": "auto", + "x": 1620, + "y": 5580, + "wires": [] + }, + { + "id": "5f0e5572410a109e", + "type": "link in", + "z": "677f66663a198839", + "g": "669888077b4dd178", + "name": "system - statistics - ui - cpu usage", + "links": [ + "031a6afd8300356a" + ], + "x": 1295, + "y": 2700, + "wires": [ + [ + "4c0b8b1cef01a74c" + ] + ] + }, + { + "id": "b689b18c57b97204", + "type": "delay", + "z": "677f66663a198839", + "g": "669888077b4dd178", + "name": "limit 1 msg / s", + "pauseType": "rate", + "timeout": "5", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": true, + "allowrate": false, + "outputs": 1, + "x": 1700, + "y": 2700, + "wires": [ + [ + "547a266fcc858486" + ] + ] + }, + { + "id": "4c0b8b1cef01a74c", + "type": "switch", + "z": "677f66663a198839", + "g": "669888077b4dd178", + "name": "measurement", + "property": "measurement", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "cpu usage", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 1, + "x": 1460, + "y": 2700, + "wires": [ + [ + "b689b18c57b97204" + ] + ] + }, + { + "id": "547a266fcc858486", + "type": "change", + "z": "677f66663a198839", + "g": "669888077b4dd178", + "name": "payload", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "msg.payload&'%'", + "tot": "jsonata" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2040, + "y": 2700, + "wires": [ + [ + "a240016548c6caa5" + ] + ] + }, + { + "id": "a240016548c6caa5", + "type": "ui-text", + "z": "677f66663a198839", + "g": "669888077b4dd178", + "group": "dc35508e5890fb69", + "order": 3, + "width": "6", + "height": "1", + "name": "cpu usage", + "label": "Charge", + "format": "{{msg.payload}}", + "layout": "row-spread", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "className": "", + "x": 2310, + "y": 2700, + "wires": [] } ] \ No newline at end of file diff --git a/package.json b/package.json index 8d700a1..78b7cb8 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "iotredloop", "description": "Simple nodered home automation manager", - "version": "0.0.1", + "version": "0.1.0", "dependencies": { "node-red-contrib-flow-manager": "0.7.4", "node-red-contrib-msg-speed": "2.1.0", "node-red-contrib-queue-gate": "1.5.5", "node-red-contrib-simple-gate": "0.5.2", "node-red-contrib-stackhero-influxdb-v2": "1.0.4", - "@flowfuse/node-red-dashboard": "1.10.0", + "@flowfuse/node-red-dashboard": "1.12.2", "node-red-contrib-cpu": "0.0.4", "node-red-contrib-moment": "5.0.0", "node-red-contrib-bigtimer": "2.8.6", @@ -18,10 +18,10 @@ "node-red-node-base64": "0.3.0", "node-red-contrib-alexa-remote2-applestrudel": "5.0.50", "node-red-contrib-unifi": "0.3.15", - "node-red-contrib-telegrambot": "15.1.10", + "node-red-contrib-telegrambot": "16.0.1", "@kuehnelbs/node-red-contrib-nextcloud": "0.1.3", "node-red-contrib-proxmox": "0.0.2", - "node-red-contrib-virtual-smart-home": "4.4.0", + "node-red-contrib-virtual-smart-home": "4.4.1", "node-red-contrib-md5": "1.0.4" }, "node-red": {