From d5a255edb7f8c15625779a1c06cf2190a8feeeaf Mon Sep 17 00:00:00 2001 From: tdehaeze Date: Sun, 19 Jun 2022 21:00:00 +0200 Subject: [PATCH] Create project --- .gitignore | 1 + README.md | 7 + flows.json | 10980 ++++++++++++++++++++++++++++++++++++++++++++++ flows_cred.json | 12 + package.json | 12 + 5 files changed, 11012 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 flows.json create mode 100644 flows_cred.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c9c01a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.backup \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..cfdf7a8 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +home-automation +=============== + +### About + +This is your project's README.md file. It helps users understand what your +project does, how to use it and anything else they may need to know. \ No newline at end of file diff --git a/flows.json b/flows.json new file mode 100644 index 0000000..17fc22c --- /dev/null +++ b/flows.json @@ -0,0 +1,10980 @@ +[ + { + "id": "1644b243da1f7eb0", + "type": "tab", + "label": "Couloir", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "45b33970b72aa42e", + "type": "tab", + "label": "Bureau Thomas", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "7001e57df3bbd7b1", + "type": "tab", + "label": "Bureau Juliette", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "30d7cdb229d81b48", + "type": "tab", + "label": "Chambre", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "0a42d22727f010dd", + "type": "tab", + "label": "Salon", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "db9bc572e2ee5615", + "type": "tab", + "label": "Cuisine", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "b25ee2aa37a6f6c7", + "type": "tab", + "label": "General", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "c74a8f8d03f84b85", + "type": "tab", + "label": "Salle de bain", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "3b2abaad11346b04", + "type": "tab", + "label": "Porte Entrée", + "disabled": true, + "info": "", + "env": [] + }, + { + "id": "1de88698be976d61", + "type": "tab", + "label": "Tests", + "disabled": true, + "info": "", + "env": [] + }, + { + "id": "336246bd26fa3586", + "type": "tab", + "label": "Valetudo", + "disabled": true, + "info": "", + "env": [] + }, + { + "id": "778d8bae50b1d5a0", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Button Ikea 5", + "style": { + "label": true + }, + "nodes": [ + "960353a9db1a0430", + "e01e40a6c9618921", + "adf8f6e15cb6a227", + "469c4b6ddb974ccf", + "1158ac2d3c670f85", + "05d7c8a1beb17d15", + "be3d795345a2c6f6", + "f80721f09de671b9" + ], + "x": 54, + "y": 359 + }, + { + "id": "ff540ae0bf87337e", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Boutton Ikea 2", + "style": { + "label": true + }, + "nodes": [ + "4dc8b263af03f42c", + "a3f7a75fc1eafeed", + "08855d84c8b706c5", + "16b061e2542b1647" + ], + "x": 54, + "y": 119 + }, + { + "id": "a883a78c8c088925", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Turn On Lights", + "style": { + "label": true + }, + "nodes": [ + "af71e90f12624142", + "39e622ec3aded196", + "a1368d4e5409345f", + "23df4bcdf44d8fb5", + "a57a01a27e4acb4e", + "32ec877a5ec52aa8", + "9a226df207c8ef04", + "dd050b6af1d6b8a5" + ], + "x": 1134, + "y": 119 + }, + { + "id": "116da04b7b730477", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Movie Lights", + "style": { + "label": true + }, + "nodes": [ + "f6a8cb70f0dfc114", + "eb8189617aa61c0f", + "556c83ba5a7994e8", + "42372febac24f347", + "69293875f7a396fb", + "c5610126d92c9705", + "33ab3fa8a7411b55", + "6cb34241bac51302", + "f57b5398ecb17a90", + "86a26014a64f29d3", + "f35e10fa10009f82" + ], + "x": 1894, + "y": 439 + }, + { + "id": "952d03b59f3e4e63", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Toggle Lights", + "style": { + "label": true + }, + "nodes": [ + "3ce7f85a94c2336e", + "bc11b5fcd4517804", + "ad00b5dd24bf1b4b", + "33c985fd972d22d5" + ], + "x": 774, + "y": 119 + }, + { + "id": "c57ddb54f4189653", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Turn Off Lights", + "style": { + "label": true + }, + "nodes": [ + "bd1cb0399c6c251f", + "1a537ea592f17cb3", + "54669b4c64aada1f", + "082722eb438e5397", + "90491e0e7345b73c", + "7ad8befd838bf2dd", + "bf05fa02ae12c822", + "f45779081ef2b5e1" + ], + "x": 1134, + "y": 479 + }, + { + "id": "6c31c8f516e2208c", + "type": "group", + "z": "1de88698be976d61", + "name": "Notification on Gotify", + "style": { + "label": true + }, + "nodes": [ + "7ff25394fcab7b5e", + "78fbe171dfede154", + "5d19471ef0347607" + ], + "x": 234, + "y": 219 + }, + { + "id": "2b260d736f9f6b07", + "type": "group", + "z": "1de88698be976d61", + "name": "Action (button) From Home Assistant Button", + "style": { + "label": true + }, + "nodes": [ + "ebe6d5003c4ec784", + "69d6e3c40bf602e7", + "d66e9706250382ab" + ], + "x": 294, + "y": 439 + }, + { + "id": "d93e939ae7aba0c3", + "type": "group", + "z": "1de88698be976d61", + "name": "Repport Status to Home Assistant", + "style": { + "label": true + }, + "nodes": [ + "52bd0b878380d680", + "9c14699cac4c381c", + "8d7a5845cb70cfe9" + ], + "x": 314, + "y": 679 + }, + { + "id": "69f3edd965fbe714", + "type": "group", + "z": "1de88698be976d61", + "name": "A way to keep in sync a switch status between NR and HA", + "style": { + "label": true + }, + "nodes": [ + "6b3d3fde68b483e5", + "680ba3f833dde689" + ], + "x": 768, + "y": 453 + }, + { + "id": "267f9de7d8e6983d", + "type": "group", + "z": "30d7cdb229d81b48", + "name": "Bouton Ikea 5", + "style": { + "label": true + }, + "nodes": [ + "3246af3f820f95bb", + "dc9028e79275df7f", + "23ba409561b39d92", + "500318e9498326be", + "8b6364a9db018de9", + "7eacbda11a89d6f4", + "296383db3456fe10", + "cadd644d9490b4d4", + "1229a2db05df839f" + ], + "x": 394, + "y": 159, + "w": 642, + "h": 242 + }, + { + "id": "3bffd66ec8192c15", + "type": "group", + "z": "7001e57df3bbd7b1", + "name": "Shutter", + "style": { + "label": true + }, + "nodes": [ + "2b4e816fe9598fdd", + "9ea76eb2b813f6a8", + "bbd34412dd956270", + "f79dc2a4d9e64eaa", + "d2a858c6565ae622", + "517466ce89c7bfaa", + "9865b86bbefbf86b" + ], + "x": 1174, + "y": 479 + }, + { + "id": "13c5391b91890075", + "type": "group", + "z": "7001e57df3bbd7b1", + "name": "Ikea 5 Buttons", + "style": { + "label": true + }, + "nodes": [ + "5dd29ef257413cce", + "f01b0f15d96b9c0d", + "d2983702420c442e", + "5ad244bc0c4e7305", + "59aa36894a922c12", + "fb31d406d956536b", + "b02d37ccc23adbd6" + ], + "x": 334, + "y": 459 + }, + { + "id": "4efc28e785986cfb", + "type": "group", + "z": "30d7cdb229d81b48", + "name": "Shutter", + "style": { + "label": true + }, + "nodes": [ + "555c9d3b8de8e758", + "60dc6d0dd4da343e", + "066e44f59eb437be", + "55c0b26e54184769", + "9c9de6944a7dc18c", + "c4cd293621048257", + "663a65927085d4d6" + ], + "x": 1074, + "y": 119, + "w": 712, + "h": 222 + }, + { + "id": "d1f4b22dea1edebb", + "type": "group", + "z": "45b33970b72aa42e", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "db20adc496a701bf", + "76fbebda448df6e0", + "f76daeed477b64f7", + "5816d6d6ab68b98c", + "cdc386d81fe9b047", + "473b1a1f7611829d" + ], + "x": 134, + "y": 531 + }, + { + "id": "b8a27e479d715be7", + "type": "group", + "z": "45b33970b72aa42e", + "name": "Toggle Lights", + "style": { + "label": true + }, + "nodes": [ + "adf37b5d7aef5e80", + "61d49ef18c9b50c7", + "b5222395dd16308f", + "151482850170c5a7" + ], + "x": 1094, + "y": 539 + }, + { + "id": "fbb2d22769a8fb26", + "type": "group", + "z": "45b33970b72aa42e", + "name": "Test about roller shutter", + "style": { + "label": true + }, + "nodes": [ + "f176c457649a3538", + "b61375291dd12ba1", + "d6c62735e5b0025a", + "51366bc9cf90333d", + "92ab51789e9dfd42", + "c3c401c1e4e6bb0d", + "3155960b461e5031", + "2f08c7e23b77fc7f", + "b71c5a34ef323f42", + "b2c2941636a23c99", + "4f4ce7ec5b7a08fa" + ], + "x": 154, + "y": 79 + }, + { + "id": "e5329dc285115e63", + "type": "group", + "z": "45b33970b72aa42e", + "name": "Turn Lights Off", + "style": { + "label": true + }, + "nodes": [ + "963369a243df7e12", + "36bb807457940ba7", + "e215f902cdfc8954", + "02baa4ad9e767cea", + "dde651381f745bab", + "7c71d9584cb0bc59" + ], + "x": 1094, + "y": 919 + }, + { + "id": "d610ddadb1728283", + "type": "group", + "z": "45b33970b72aa42e", + "name": "Turn Lights On", + "style": { + "label": true + }, + "nodes": [ + "16df2cd53907724d", + "c5b211366c233eb5", + "3ae4c6f1a1e070b7", + "f95ae1d73fb3f78c", + "3cf80c053934e35f", + "506ee1e07159e186" + ], + "x": 1094, + "y": 699 + }, + { + "id": "b9958363a175fef0", + "type": "group", + "z": "b25ee2aa37a6f6c7", + "name": "Close Shutters", + "style": { + "label": true + }, + "nodes": [ + "d9caf1275c429f82", + "334c9414c51f61fe" + ], + "x": 454, + "y": 319, + "w": 182, + "h": 82 + }, + { + "id": "43f32c9819cea47f", + "type": "group", + "z": "b25ee2aa37a6f6c7", + "name": "Open Shutters", + "style": { + "label": true + }, + "nodes": [ + "8adaf966199082df", + "ce4d2f25ace1a5b4" + ], + "x": 464, + "y": 39, + "w": 182, + "h": 82 + }, + { + "id": "c17c821f87d11078", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Toggle Lights", + "style": { + "label": true + }, + "nodes": [ + "8a54b81f93fed5cd", + "1a487c1c2372310d", + "d7324ccc7d078704", + "6982c655e7769a4b" + ], + "x": 814, + "y": 359, + "w": 292, + "h": 162 + }, + { + "id": "3f3ae66f85c0d4df", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Turn Lights Off", + "style": { + "label": true + }, + "nodes": [ + "f0c1cacdf8b19ad9", + "7d13bf1c5c90ded2", + "cf05d9e358ebd4a9", + "fb78d3b13a69fa93", + "f9a39d541ce8bb68" + ], + "x": 814, + "y": 759, + "w": 652, + "h": 202 + }, + { + "id": "422f44753b06d20f", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Turn Lights On", + "style": { + "label": true + }, + "nodes": [ + "beb36d6a82e273af", + "d80f6171f000492a", + "abc4fac3378280a7", + "89a92afb9ee8104a", + "63f9fdb3fa98b345" + ], + "x": 814, + "y": 539, + "w": 652, + "h": 202 + }, + { + "id": "143cdf7c12f4e167", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Boutton Ikea 2", + "style": { + "label": true + }, + "nodes": [ + "a54fb7af3f8af7d9", + "245cc264df523704", + "fe739e16e51ef9ba", + "3690e392fc81502a" + ], + "x": 54, + "y": 559, + "w": 722, + "h": 202 + }, + { + "id": "05e2aaebf627fe7d", + "type": "group", + "z": "db9bc572e2ee5615", + "name": "Toggle Lights", + "style": { + "label": true + }, + "nodes": [ + "c03c747742a7a454", + "7c50f5d534648bb2", + "bd688016403812f6", + "957259b9140c90d5" + ], + "x": 894, + "y": 299 + }, + { + "id": "a6a0eca419534fc4", + "type": "group", + "z": "db9bc572e2ee5615", + "name": "Turn Lights Off", + "style": { + "label": true + }, + "nodes": [ + "0b1f09099b771c4a", + "bfc426a37209a33e", + "4b521caab8d02cd3", + "e33594efcaebc4ca", + "d56efbd2dfef98ee" + ], + "x": 894, + "y": 699 + }, + { + "id": "5e4bac318de6f4ce", + "type": "group", + "z": "db9bc572e2ee5615", + "name": "Turn Lights On", + "style": { + "label": true + }, + "nodes": [ + "a2fd676a88c0e35e", + "f8fdb3a1964a54db", + "ca46b7e6f3dd35e3", + "1ac262e0efc9cdcd", + "d45f3aecb844ca5c" + ], + "x": 894, + "y": 479 + }, + { + "id": "5b9386d232141d47", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Porte", + "style": { + "label": true + }, + "nodes": [ + "c31057e316e8e9cb", + "7cc3c17b3c9792bc", + "883d0d8be5cd5a71", + "c0abb2ea54525abc" + ], + "x": 54, + "y": 779, + "w": 642, + "h": 142 + }, + { + "id": "4668bba96f4a83cf", + "type": "group", + "z": "3b2abaad11346b04", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "731d134a882eda86", + "6e899e399690043a", + "58396153ce97fcb4", + "40b384ae568bf55b" + ], + "x": 394, + "y": 699 + }, + { + "id": "e57fd02d3c5cb6c7", + "type": "group", + "z": "3b2abaad11346b04", + "name": "Turn Everything Off", + "style": { + "label": true + }, + "nodes": [ + "e1549b201870d3dc", + "f236aa911733c790", + "7b400b67e01cef67" + ], + "x": 1014, + "y": 719 + }, + { + "id": "3e9d41ae18527847", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Status of entrance light", + "style": { + "label": true + }, + "nodes": [ + "534a1c76a8d31f74", + "1a50a7e263b98840", + "c0ef746c3ca1c776", + "e9d3f064054a08e1" + ], + "x": 54, + "y": 939, + "w": 612, + "h": 162 + }, + { + "id": "3adff50f04a1a90b", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Switch On Entrance Door for 30 seconds", + "style": { + "label": true + }, + "nodes": [ + "ef19993796c6846c", + "2f3380ecf37db22a", + "2253a469f0b7838f", + "7e0d351be15fee6e", + "47ab27034f73bed3", + "90f949ae1a5c88c1" + ], + "x": 814, + "y": 979, + "w": 852, + "h": 122 + }, + { + "id": "1e5c3ece2fee07e1", + "type": "group", + "z": "7001e57df3bbd7b1", + "name": "Toggle all lights", + "style": { + "label": true + }, + "nodes": [ + "5941c06584fb3f22", + "fb0478a09df8cb33", + "52a0d0a903097a0d", + "e81c4394d239ba6b", + "a93c54a2656ce7db", + "524e100ae9fe63be", + "2ec44c301dc69d84", + "b9598b50a5040c37", + "39fc35c393355dd4", + "7bce4cc29c9a67ce", + "eac6916f1704305a", + "8204f2ddb8b40a9f", + "bfa4daacc6aff3bb", + "9e11e09705ca8942", + "66e4888ed96c0078", + "48d83d69fb388361" + ], + "x": 1074, + "y": 699 + }, + { + "id": "bc6038ae77f45486", + "type": "group", + "z": "7001e57df3bbd7b1", + "name": "Toggle big light", + "style": { + "label": true + }, + "nodes": [ + "958fd21b94fb6cb4", + "b3ee2c6102dd06f7", + "39347aecaab853e7", + "73fc3fb30f0f6cb4", + "ee7e5832f5970116", + "094215226dc33ea2", + "8ed379530b6cb233", + "a1b1cfdbeeaa1978", + "1e27b0ed414356bd", + "9b6a5389f566a688", + "f24e475561991c29", + "947d29409d04421d" + ], + "x": 1754, + "y": 699 + }, + { + "id": "f429da70f9bac68f", + "type": "group", + "z": "7001e57df3bbd7b1", + "name": "Toggle little lights", + "style": { + "label": true + }, + "nodes": [ + "3d62e3e6a9223ac8", + "ac6f61740f77e327", + "cca3a0c04a89f682", + "fcd36c25eea61b24", + "e90bf205d359dcae", + "f2c5af70cd38f611", + "433296d67712df23", + "a985b6cefba919a2", + "67b9f08c5de774b7", + "1f579630fc1d76a4", + "87f1e7c736425568", + "040a385483c5a19c", + "eeeaa240fde6a93b", + "6d2207f8102227a4" + ], + "x": 1754, + "y": 1079 + }, + { + "id": "7ea8a232d7d798c7", + "type": "group", + "z": "1644b243da1f7eb0", + "name": "Button Ikea 5", + "style": { + "label": true + }, + "nodes": [ + "93d97db62c385fe3", + "bcd4220ac3e8d0cc", + "d92da07778e3a845", + "a3c2ef0605577390", + "7bb4a4e92666efdc", + "2e74612045798e85", + "85c1490ffbd2234e" + ], + "x": 54, + "y": 331, + "w": 562, + "h": 210 + }, + { + "id": "7be6f13f637c87cc", + "type": "group", + "z": "30d7cdb229d81b48", + "name": "All Lighs", + "style": { + "label": true + }, + "nodes": [ + "32029a6736c5923b", + "81e8047c93df321a", + "17755986aa4d88a7", + "3593878a92b5dd58", + "b4acf030bc227db8", + "93d7ccf479b86182", + "d57bb748f17e1825", + "789a80a08bd46c7a", + "972fe8ee6db67994", + "f53f681f53f66f65", + "fcc4e62f84801d26", + "5f33bfe714c0ce12", + "8deaa77386887245", + "10d2eb015bef789e", + "9babf445dfb6cfc7", + "954b50f001021537", + "fd4fb3b8f6a5b421", + "89a43da219561c0e" + ], + "x": 1054, + "y": 379, + "w": 612, + "h": 682 + }, + { + "id": "bfb877fcd5cdc9a5", + "type": "group", + "z": "30d7cdb229d81b48", + "name": "Little Lights", + "style": { + "label": true + }, + "nodes": [ + "fbcc2d54ee8b7d9d", + "48e36e9f13a6d21e", + "d4b859ed3eef848e", + "f6884239945deddf", + "d51f5fc441eb7ecd", + "b50b97a233c6ec3e", + "078013e75b9d46cf", + "9378af0512c14261", + "5a5aa60dae1e6ca7", + "d210b26f28741769", + "aeb6dd30dfbf0c32", + "d2253d2f0e1e184f", + "35f851162aa4c411", + "97e38c9fc56864b5" + ], + "x": 1694, + "y": 379, + "w": 572, + "h": 482 + }, + { + "id": "fa0e957244976fca", + "type": "group", + "z": "30d7cdb229d81b48", + "name": "Big Lights", + "style": { + "label": true + }, + "nodes": [ + "e0fa6011e063c77c", + "bd85ec84dccc80e6", + "00c9b39b5b7dc3d3", + "2906e41a4577f15f", + "10f6a4cb5fa52628", + "859ac0617e7f2e70", + "440ac0a2465e4334", + "3e420cc5abbe9632", + "1fb8d6a77b7393f3", + "94b965b296b0308e", + "78b75286607ab598", + "5de81af79e805f92" + ], + "x": 1694, + "y": 879, + "w": 572, + "h": 342 + }, + { + "id": "6705e3fef8975b14", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Shutter", + "style": { + "label": true + }, + "nodes": [ + "bdb7ebea1bead2c5", + "b5ebf4ebf7b1a7fd", + "14dfa993785189f3", + "6a111df09e13ddd9", + "afb674489d2bcf73", + "419ec1b9ac559c54", + "c3428b61cedbfe1f", + "e064e5552f44cc87", + "0e6c529ebff9511b", + "69bc12d77ce4138c", + "2d3e223f461c81cc", + "8a4d8bee4f352f16", + "86ef7c10ebbe59dd", + "bcca54c38212f65f", + "e76a99a5f9096772" + ], + "x": 1144, + "y": 899 + }, + { + "id": "9438bd70de4ab213", + "type": "group", + "z": "45b33970b72aa42e", + "name": "Shutter", + "style": { + "label": true + }, + "nodes": [ + "2eb2a5388e3a7fba", + "1cbbdefe2265fae0", + "841f58e34eebb00b", + "ce49e655294af263", + "e241837dea7d42c0", + "e62810365e633317", + "31e26be5ccc0ea5d" + ], + "x": 1094, + "y": 1139 + }, + { + "id": "dfbd9e80bfc8e327", + "type": "group", + "z": "0a42d22727f010dd", + "name": "Small Lights", + "style": { + "label": true + }, + "nodes": [ + "26f5deda996ee959", + "85957fd9280d863c", + "f097cc77bbde422e", + "a3fde7b3220bf5ca", + "431119f72955041f", + "7667b7772d757eec", + "56ab2d3f7b840527", + "b3e32b7107ab3631", + "4bbd2e3fc3245ae1", + "5745ac8a2f40c4ca" + ], + "x": 1894, + "y": 979 + }, + { + "id": "ecb7cfecef795508", + "type": "group", + "z": "b25ee2aa37a6f6c7", + "name": "Turn off lights", + "style": { + "label": true + }, + "nodes": [ + "2c8ec2b6ada61aef", + "3761af907118e675" + ], + "x": 464, + "y": 739, + "w": 182, + "h": 82 + }, + { + "id": "94a37cdb29526bd6", + "type": "group", + "z": "30d7cdb229d81b48", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "a96f5a34106746c9", + "a33c91a5bd041772", + "8d1f0db4b4bef06f", + "e50dafc986ec8a49", + "6b16639333ce3bdc", + "ee0fcdb1429213cb", + "213c2cab935fd6b1", + "ab1dc989b97e0a34", + "780275ea07a29154", + "e2333bdc7b660278", + "f8bb8bcad1404593", + "7992bfe364c58685", + "2eda6cd89f0dd68e" + ], + "x": 154, + "y": 719, + "w": 672, + "h": 402 + }, + { + "id": "2e197e8c5815aaeb", + "type": "group", + "z": "45b33970b72aa42e", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "fddd85c0e03ba5df", + "19d32f79ad2e68b1", + "831243f43206beaa", + "e67b1998fe2794e8", + "c116608c0e81a3e5", + "1eaf393eefcd4b2a", + "210a4c92b6aede03", + "0a5760d8674bfb41", + "af81faab660b5616", + "ad27ca1a50ed9ac4", + "4e73b5f2d2040386", + "4ee59db594d36124", + "e1da5763fab8041f" + ], + "x": 134, + "y": 919 + }, + { + "id": "88ba0ce8cd5e1346", + "type": "group", + "z": "45b33970b72aa42e", + "name": "", + "style": { + "label": true + }, + "nodes": [ + "fdbfabe21c3db9f8", + "8266308415875b22", + "6d0395d3606a5549", + "7954fdcdd2590961", + "b5cd24893e5b58f0" + ], + "x": 244, + "y": 359 + }, + { + "id": "24faac6bd09abf51", + "type": "group", + "z": "30d7cdb229d81b48", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "f8978415519138b0", + "7a2f9842a125ba84", + "129c4550c2010628", + "648d17febe882a8f", + "03865bfa130815d0" + ], + "x": 294, + "y": 519, + "w": 462, + "h": 122 + }, + { + "id": "424e0bff450d42c5", + "type": "group", + "z": "7001e57df3bbd7b1", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "289f4412d216c246", + "b6939730bdfdda0c", + "3f7c7865ac0b6084", + "adc0ed9809f6e09c", + "52e0da35418e8c81", + "405da2584839c2f2", + "a9ef79ff3c590df0", + "2c0a43b4d0aeaff4", + "d32ce89725438a35", + "265b741d4ca4a28d", + "7b3b382465cfc771" + ], + "x": 134, + "y": 739 + }, + { + "id": "eb32544602494977", + "type": "group", + "z": "c74a8f8d03f84b85", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "911da543d02b9165", + "92039483ba5e08e9" + ], + "x": 334, + "y": 339 + }, + { + "id": "1ab12d367f46ddcd", + "type": "group", + "z": "1644b243da1f7eb0", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "99eedbc8b62cf2f4", + "f801a3b5831a4d16", + "849311ac82c5f501", + "dae8340735237e47" + ], + "x": 54, + "y": 1139, + "w": 292, + "h": 122 + }, + { + "id": "c2981dbe8955ac48", + "type": "group", + "z": "0a42d22727f010dd", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "75dfb5522d4d9598", + "1602a29b0f5b028e", + "2421411765b70e2b", + "3633a391a36ffc76", + "5c0d25f31b752b62", + "e0498aa62ba6328c", + "bb69e94b711c6774", + "ded58b8858339a50", + "3d0b6aa2ad58d604", + "354b1825063de786", + "e4d35ed83e5aa00d", + "ed0f45653e015115" + ], + "x": 74, + "y": 679 + }, + { + "id": "8e8e2b06531cf7ea", + "type": "group", + "z": "db9bc572e2ee5615", + "style": { + "stroke": "#999999", + "stroke-opacity": "1", + "fill": "none", + "fill-opacity": "1", + "label": true, + "label-position": "nw", + "color": "#a4a4a4" + }, + "nodes": [ + "0431eb69c7eada5e", + "1c413f25c905b78d", + "f2029a816a3643ef", + "03465663e705a624" + ], + "x": 894, + "y": 1019 + }, + { + "id": "6b3d3fde68b483e5", + "type": "group", + "z": "1de88698be976d61", + "g": "69f3edd965fbe714", + "name": "Set Switch Status to HA", + "style": { + "label": true + }, + "nodes": [ + "50175b6e89b462a4", + "48608b9a838553cc", + "29d7d88984437883", + "dfd57ad7b68d99fb", + "591a591128e08938", + "81e945e705070d2a" + ], + "x": 794, + "y": 479 + }, + { + "id": "680ba3f833dde689", + "type": "group", + "z": "1de88698be976d61", + "g": "69f3edd965fbe714", + "name": "Get Switch Status from HA", + "style": { + "label": true + }, + "nodes": [ + "57ded9c648aa2c3d", + "6ea477f2868fe845" + ], + "x": 794, + "y": 719 + }, + { + "id": "96ec8023455fb9e5", + "type": "mqtt-broker", + "name": "Mosquitto", + "broker": "192.168.1.21", + "port": "1883", + "clientid": "", + "autoConnect": true, + "usetls": false, + "protocolVersion": "5", + "keepalive": "60", + "cleansession": true, + "birthTopic": "", + "birthQos": "0", + "birthPayload": "", + "birthMsg": {}, + "closeTopic": "", + "closeQos": "0", + "closePayload": "", + "closeMsg": {}, + "willTopic": "", + "willQos": "0", + "willPayload": "", + "willMsg": {}, + "sessionExpiry": "" + }, + { + "id": "e8029c895b4db2b7", + "type": "server", + "name": "Home Assistant", + "version": 2, + "addon": false, + "rejectUnauthorizedCerts": true, + "ha_boolean": "y|yes|true|on|home|open", + "connectionDelay": true, + "cacheJson": true, + "heartbeat": false, + "heartbeatInterval": "30" + }, + { + "id": "7fc25bba20aee2c9", + "type": "ui_tab", + "name": "Chambre", + "icon": "dashboard", + "disabled": false, + "hidden": false + }, + { + "id": "f2b27c6a6f88598d", + "type": "ui_base", + "theme": { + "name": "theme-light", + "lightTheme": { + "default": "#0094CE", + "baseColor": "#0094CE", + "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif", + "edited": true, + "reset": false + }, + "darkTheme": { + "default": "#097479", + "baseColor": "#097479", + "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif", + "edited": false + }, + "customTheme": { + "name": "Untitled Theme 1", + "default": "#4B7930", + "baseColor": "#4B7930", + "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif" + }, + "themeState": { + "base-color": { + "default": "#0094CE", + "value": "#0094CE", + "edited": false + }, + "page-titlebar-backgroundColor": { + "value": "#0094CE", + "edited": false + }, + "page-backgroundColor": { + "value": "#fafafa", + "edited": false + }, + "page-sidebar-backgroundColor": { + "value": "#ffffff", + "edited": false + }, + "group-textColor": { + "value": "#1bbfff", + "edited": false + }, + "group-borderColor": { + "value": "#ffffff", + "edited": false + }, + "group-backgroundColor": { + "value": "#ffffff", + "edited": false + }, + "widget-textColor": { + "value": "#111111", + "edited": false + }, + "widget-backgroundColor": { + "value": "#0094ce", + "edited": false + }, + "widget-borderColor": { + "value": "#ffffff", + "edited": false + }, + "base-font": { + "value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif" + } + }, + "angularTheme": { + "primary": "indigo", + "accents": "blue", + "warn": "red", + "background": "grey", + "palette": "light" + } + }, + "site": { + "name": "Node-RED Dashboard", + "hideToolbar": "false", + "allowSwipe": "false", + "lockMenu": "false", + "allowTempTheme": "true", + "dateFormat": "DD/MM/YYYY", + "sizes": { + "sx": 48, + "sy": 48, + "gx": 6, + "gy": 6, + "cx": 6, + "cy": 6, + "px": 0, + "py": 0 + } + } + }, + { + "id": "bba1ea624db851d3", + "type": "ui_group", + "name": "Chambre", + "tab": "42fec237.9be69c", + "order": 5, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "42fec237.9be69c", + "type": "ui_tab", + "name": "Home", + "icon": "dashboard", + "disabled": false, + "hidden": false + }, + { + "id": "18d21ad5e028b85b", + "type": "ui_group", + "name": "Bureau Thomas", + "tab": "42fec237.9be69c", + "order": 3, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "e39e5172bffe384b", + "type": "ui_group", + "name": "Bureau Juliette", + "tab": "42fec237.9be69c", + "order": 4, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "af9970788ade198a", + "type": "ui_group", + "name": "Salon", + "tab": "42fec237.9be69c", + "order": 6, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "fcd10a2f3ce06a56", + "type": "ui_group", + "name": "Salle de bain", + "tab": "42fec237.9be69c", + "order": 8, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "f105c7f5043953b7", + "type": "ui_group", + "name": "Couloir", + "tab": "42fec237.9be69c", + "order": 2, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "35ec469a61377da8", + "type": "ui_group", + "name": "General", + "tab": "42fec237.9be69c", + "order": 1, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "3db501c5604ac024", + "type": "ui_group", + "name": "Cuisine", + "tab": "42fec237.9be69c", + "order": 7, + "disp": true, + "width": "3", + "collapse": false, + "className": "" + }, + { + "id": "aa5b400bf9512793", + "type": "position-config", + "name": "Home", + "isValide": "true", + "longitude": "0", + "latitude": "0", + "angleType": "deg", + "timeZoneOffset": 99, + "timeZoneDST": 0, + "stateTimeFormat": "3", + "stateDateFormat": "12", + "contextStore": "" + }, + { + "id": "8a54b81f93fed5cd", + "type": "link in", + "z": "1644b243da1f7eb0", + "g": "c17c821f87d11078", + "name": "lights_toggle", + "links": [ + "98b33e4f344755a9", + "58396153ce97fcb4", + "a3c2ef0605577390" + ], + "x": 855, + "y": 440, + "wires": [ + [ + "1a487c1c2372310d" + ] + ] + }, + { + "id": "1a487c1c2372310d", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "c17c821f87d11078", + "name": "", + "property": "entrance_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 960, + "y": 440, + "wires": [ + [ + "d7324ccc7d078704" + ], + [ + "6982c655e7769a4b" + ] + ] + }, + { + "id": "d7324ccc7d078704", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "c17c821f87d11078", + "name": "", + "mode": "link", + "links": [ + "f0c1cacdf8b19ad9" + ], + "x": 1065, + "y": 400, + "wires": [] + }, + { + "id": "6982c655e7769a4b", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "c17c821f87d11078", + "name": "", + "mode": "link", + "links": [ + "abc4fac3378280a7" + ], + "x": 1065, + "y": 480, + "wires": [] + }, + { + "id": "f0c1cacdf8b19ad9", + "type": "link in", + "z": "1644b243da1f7eb0", + "g": "3f3ae66f85c0d4df", + "name": "lights_off", + "links": [ + "d7324ccc7d078704", + "fe739e16e51ef9ba", + "163a95c9f09782df", + "7b400b67e01cef67", + "6cb34241bac51302", + "3761af907118e675", + "dae8340735237e47" + ], + "x": 855, + "y": 860, + "wires": [ + [ + "cf05d9e358ebd4a9", + "7d13bf1c5c90ded2" + ] + ] + }, + { + "id": "7d13bf1c5c90ded2", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3f3ae66f85c0d4df", + "name": "entrance_light=off", + "rules": [ + { + "t": "set", + "p": "entrance_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 800, + "wires": [ + [] + ] + }, + { + "id": "cf05d9e358ebd4a9", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3f3ae66f85c0d4df", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 970, + "y": 860, + "wires": [ + [ + "fb78d3b13a69fa93", + "f9a39d541ce8bb68" + ] + ] + }, + { + "id": "fb78d3b13a69fa93", + "type": "mqtt out", + "z": "1644b243da1f7eb0", + "g": "3f3ae66f85c0d4df", + "name": "", + "topic": "shellies/shelly25-e/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1290, + "y": 860, + "wires": [] + }, + { + "id": "beb36d6a82e273af", + "type": "mqtt out", + "z": "1644b243da1f7eb0", + "g": "422f44753b06d20f", + "name": "", + "topic": "shellies/shelly25-e/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1290, + "y": 640, + "wires": [] + }, + { + "id": "d80f6171f000492a", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "422f44753b06d20f", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 970, + "y": 640, + "wires": [ + [ + "beb36d6a82e273af", + "63f9fdb3fa98b345" + ] + ] + }, + { + "id": "abc4fac3378280a7", + "type": "link in", + "z": "1644b243da1f7eb0", + "g": "422f44753b06d20f", + "name": "lights_on", + "links": [ + "6982c655e7769a4b", + "245cc264df523704", + "849311ac82c5f501" + ], + "x": 855, + "y": 640, + "wires": [ + [ + "d80f6171f000492a", + "89a92afb9ee8104a" + ] + ] + }, + { + "id": "89a92afb9ee8104a", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "422f44753b06d20f", + "name": "entrance_light=on", + "rules": [ + { + "t": "set", + "p": "entrance_light", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1010, + "y": 580, + "wires": [ + [] + ] + }, + { + "id": "63f9fdb3fa98b345", + "type": "mqtt out", + "z": "1644b243da1f7eb0", + "g": "422f44753b06d20f", + "name": "", + "topic": "shellies/shelly25-e/relay/1/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1290, + "y": 700, + "wires": [] + }, + { + "id": "f9a39d541ce8bb68", + "type": "mqtt out", + "z": "1644b243da1f7eb0", + "g": "3f3ae66f85c0d4df", + "name": "", + "topic": "shellies/shelly25-e/relay/1/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1290, + "y": 920, + "wires": [] + }, + { + "id": "a54fb7af3f8af7d9", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "143cdf7c12f4e167", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "eq", + "v": "off", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 510, + "y": 660, + "wires": [ + [ + "245cc264df523704" + ], + [ + "fe739e16e51ef9ba" + ] + ] + }, + { + "id": "245cc264df523704", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "143cdf7c12f4e167", + "name": "", + "mode": "link", + "links": [ + "abc4fac3378280a7" + ], + "x": 735, + "y": 600, + "wires": [] + }, + { + "id": "fe739e16e51ef9ba", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "143cdf7c12f4e167", + "name": "", + "mode": "link", + "links": [ + "f0c1cacdf8b19ad9" + ], + "x": 735, + "y": 720, + "wires": [] + }, + { + "id": "c31057e316e8e9cb", + "type": "mqtt in", + "z": "1644b243da1f7eb0", + "g": "5b9386d232141d47", + "name": "", + "topic": "zigbee2mqtt/Door - E", + "qos": "2", + "datatype": "json", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 180, + "y": 820, + "wires": [ + [ + "7cc3c17b3c9792bc" + ] + ] + }, + { + "id": "7cc3c17b3c9792bc", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "5b9386d232141d47", + "name": "", + "property": "payload.contact", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "false" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 390, + "y": 820, + "wires": [ + [], + [ + "c0abb2ea54525abc" + ] + ] + }, + { + "id": "534a1c76a8d31f74", + "type": "mqtt in", + "z": "1644b243da1f7eb0", + "g": "3e9d41ae18527847", + "name": "", + "topic": "shellies/shelly25-e/relay/1", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 190, + "y": 1020, + "wires": [ + [ + "e9d3f064054a08e1" + ] + ] + }, + { + "id": "1a50a7e263b98840", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3e9d41ae18527847", + "name": "e_light=off", + "rules": [ + { + "t": "set", + "p": "e_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 570, + "y": 980, + "wires": [ + [] + ] + }, + { + "id": "c0ef746c3ca1c776", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3e9d41ae18527847", + "name": "e_light=on", + "rules": [ + { + "t": "set", + "p": "e_light", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 570, + "y": 1060, + "wires": [ + [] + ] + }, + { + "id": "e9d3f064054a08e1", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "3e9d41ae18527847", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "off", + "vt": "str" + }, + { + "t": "eq", + "v": "on", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 390, + "y": 1020, + "wires": [ + [ + "1a50a7e263b98840" + ], + [ + "c0ef746c3ca1c776" + ] + ] + }, + { + "id": "ef19993796c6846c", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 1020, + "wires": [ + [ + "2f3380ecf37db22a" + ] + ] + }, + { + "id": "2f3380ecf37db22a", + "type": "mqtt out", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "", + "topic": "shellies/shelly25-e/relay/1/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1490, + "y": 1040, + "wires": [] + }, + { + "id": "2253a469f0b7838f", + "type": "delay", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "", + "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": 1100, + "y": 1060, + "wires": [ + [ + "7e0d351be15fee6e" + ] + ] + }, + { + "id": "7e0d351be15fee6e", + "type": "change", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 1060, + "wires": [ + [ + "2f3380ecf37db22a" + ] + ] + }, + { + "id": "47ab27034f73bed3", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "", + "property": "e_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "off", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 1, + "x": 950, + "y": 1020, + "wires": [ + [ + "ef19993796c6846c", + "2253a469f0b7838f" + ] + ] + }, + { + "id": "90f949ae1a5c88c1", + "type": "link in", + "z": "1644b243da1f7eb0", + "g": "3adff50f04a1a90b", + "name": "switch_e_light", + "links": [ + "883d0d8be5cd5a71" + ], + "x": 855, + "y": 1020, + "wires": [ + [ + "47ab27034f73bed3" + ] + ] + }, + { + "id": "883d0d8be5cd5a71", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "5b9386d232141d47", + "name": "", + "mode": "link", + "links": [ + "90f949ae1a5c88c1" + ], + "x": 655, + "y": 880, + "wires": [] + }, + { + "id": "3690e392fc81502a", + "type": "mqtt in", + "z": "1644b243da1f7eb0", + "g": "143cdf7c12f4e167", + "name": "", + "topic": "zigbee2mqtt/Button I2 - 2/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 660, + "wires": [ + [ + "a54fb7af3f8af7d9" + ] + ] + }, + { + "id": "c0abb2ea54525abc", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "5b9386d232141d47", + "name": "", + "property": "entrance_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 530, + "y": 840, + "wires": [ + [], + [ + "883d0d8be5cd5a71" + ] + ] + }, + { + "id": "93d97db62c385fe3", + "type": "switch", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "Up \\n Down \\n Middle \\n Left \\n Right", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness_up_click", + "vt": "str" + }, + { + "t": "eq", + "v": "brightness_down_click", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_left_click", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_right_click", + "vt": "str" + } + ], + "checkall": "false", + "repair": false, + "outputs": 5, + "x": 430, + "y": 420, + "wires": [ + [], + [ + "85c1490ffbd2234e" + ], + [ + "a3c2ef0605577390" + ], + [ + "bcd4220ac3e8d0cc" + ], + [ + "d92da07778e3a845" + ] + ] + }, + { + "id": "bcd4220ac3e8d0cc", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "mode": "link", + "links": [ + "8adaf966199082df" + ], + "x": 575, + "y": 460, + "wires": [] + }, + { + "id": "d92da07778e3a845", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "mode": "link", + "links": [ + "d9caf1275c429f82" + ], + "x": 575, + "y": 500, + "wires": [] + }, + { + "id": "a3c2ef0605577390", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "mode": "link", + "links": [ + "8a54b81f93fed5cd" + ], + "x": 575, + "y": 420, + "wires": [] + }, + { + "id": "7bb4a4e92666efdc", + "type": "mqtt in", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "topic": "zigbee2mqtt/Button I5 - B/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 380, + "wires": [ + [ + "93d97db62c385fe3" + ] + ] + }, + { + "id": "2e74612045798e85", + "type": "mqtt in", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "topic": "zigbee2mqtt/Button I5 - E/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 460, + "wires": [ + [ + "93d97db62c385fe3" + ] + ] + }, + { + "id": "85c1490ffbd2234e", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "7ea8a232d7d798c7", + "name": "", + "mode": "link", + "links": [ + "2c8ec2b6ada61aef" + ], + "x": 575, + "y": 380, + "wires": [] + }, + { + "id": "99eedbc8b62cf2f4", + "type": "ui_button", + "z": "1644b243da1f7eb0", + "g": "1ab12d367f46ddcd", + "name": "turn_on_lights", + "group": "f105c7f5043953b7", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "Allumer Lumière", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 160, + "y": 1220, + "wires": [ + [ + "849311ac82c5f501" + ] + ] + }, + { + "id": "f801a3b5831a4d16", + "type": "ui_button", + "z": "1644b243da1f7eb0", + "g": "1ab12d367f46ddcd", + "name": "turn_off_lights", + "group": "f105c7f5043953b7", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "Eteindre Lumière", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 160, + "y": 1180, + "wires": [ + [ + "dae8340735237e47" + ] + ] + }, + { + "id": "849311ac82c5f501", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "1ab12d367f46ddcd", + "name": "", + "mode": "link", + "links": [ + "abc4fac3378280a7" + ], + "x": 305, + "y": 1220, + "wires": [] + }, + { + "id": "dae8340735237e47", + "type": "link out", + "z": "1644b243da1f7eb0", + "g": "1ab12d367f46ddcd", + "name": "", + "mode": "link", + "links": [ + "f0c1cacdf8b19ad9" + ], + "x": 305, + "y": 1180, + "wires": [] + }, + { + "id": "db20adc496a701bf", + "type": "mqtt in", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "", + "topic": "zigbee2mqtt/Button I5 - 1/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 290, + "y": 580, + "wires": [ + [ + "76fbebda448df6e0" + ] + ] + }, + { + "id": "76fbebda448df6e0", + "type": "switch", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "Up \\n Down \\n Middle \\n Left \\n Right", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness_up_click", + "vt": "str" + }, + { + "t": "eq", + "v": "brightness_down_click", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_left_click", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_right_click", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 5, + "x": 570, + "y": 620, + "wires": [ + [], + [], + [ + "cdc386d81fe9b047" + ], + [ + "f76daeed477b64f7" + ], + [ + "5816d6d6ab68b98c" + ] + ] + }, + { + "id": "16df2cd53907724d", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "", + "topic": "shellies/shelly1-1/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1560, + "y": 800, + "wires": [] + }, + { + "id": "c5b211366c233eb5", + "type": "change", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 800, + "wires": [ + [ + "16df2cd53907724d", + "3cf80c053934e35f" + ] + ] + }, + { + "id": "f176c457649a3538", + "type": "change", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "close", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 460, + "y": 240, + "wires": [ + [ + "d6c62735e5b0025a" + ] + ] + }, + { + "id": "b61375291dd12ba1", + "type": "change", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "open", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 460, + "y": 120, + "wires": [ + [ + "d6c62735e5b0025a" + ] + ] + }, + { + "id": "d6c62735e5b0025a", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "topic": "shellies/shelly25-1/roller/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 870, + "y": 180, + "wires": [] + }, + { + "id": "51366bc9cf90333d", + "type": "mqtt in", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "topic": "shellies/shelly25-1/roller/0/power", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 390, + "y": 280, + "wires": [ + [ + "92ab51789e9dfd42" + ] + ] + }, + { + "id": "92ab51789e9dfd42", + "type": "switch", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "gt", + "v": "10", + "vt": "str" + }, + { + "t": "lte", + "v": "10", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 590, + "y": 280, + "wires": [ + [ + "b71c5a34ef323f42" + ], + [ + "b2c2941636a23c99" + ] + ] + }, + { + "id": "c3c401c1e4e6bb0d", + "type": "change", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "stop", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 460, + "y": 180, + "wires": [ + [ + "d6c62735e5b0025a", + "b2c2941636a23c99" + ] + ] + }, + { + "id": "3155960b461e5031", + "type": "switch", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "property": "shelly25-1-state", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "\"off\"", + "vt": "str" + }, + { + "t": "eq", + "v": "\"on\"", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 230, + "y": 120, + "wires": [ + [ + "b61375291dd12ba1" + ], + [ + "c3c401c1e4e6bb0d" + ] + ] + }, + { + "id": "2f08c7e23b77fc7f", + "type": "switch", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "property": "shelly25-1-state", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "\"off\"", + "vt": "str" + }, + { + "t": "eq", + "v": "\"on\"", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 230, + "y": 240, + "wires": [ + [ + "f176c457649a3538" + ], + [ + "c3c401c1e4e6bb0d" + ] + ] + }, + { + "id": "b71c5a34ef323f42", + "type": "change", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "rules": [ + { + "t": "set", + "p": "shelly25-1-state", + "pt": "flow", + "to": "\"on\"", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 810, + "y": 240, + "wires": [ + [ + "4f4ce7ec5b7a08fa" + ] + ] + }, + { + "id": "b2c2941636a23c99", + "type": "change", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "rules": [ + { + "t": "set", + "p": "shelly25-1-state", + "pt": "flow", + "to": "\"off\"", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 810, + "y": 300, + "wires": [ + [ + "4f4ce7ec5b7a08fa" + ] + ] + }, + { + "id": "4f4ce7ec5b7a08fa", + "type": "debug", + "z": "45b33970b72aa42e", + "d": true, + "g": "fbb2d22769a8fb26", + "name": "", + "active": false, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "false", + "statusVal": "", + "statusType": "auto", + "x": 1070, + "y": 260, + "wires": [] + }, + { + "id": "f76daeed477b64f7", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "", + "mode": "link", + "links": [ + "ce49e655294af263" + ], + "x": 715, + "y": 660, + "wires": [] + }, + { + "id": "5816d6d6ab68b98c", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "", + "mode": "link", + "links": [ + "e241837dea7d42c0" + ], + "x": 715, + "y": 700, + "wires": [] + }, + { + "id": "cdc386d81fe9b047", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "", + "mode": "link", + "links": [ + "adf37b5d7aef5e80" + ], + "x": 715, + "y": 620, + "wires": [] + }, + { + "id": "adf37b5d7aef5e80", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "b8a27e479d715be7", + "name": "lights_toggle", + "links": [ + "cdc386d81fe9b047" + ], + "x": 1135, + "y": 600, + "wires": [ + [ + "61d49ef18c9b50c7" + ] + ] + }, + { + "id": "61d49ef18c9b50c7", + "type": "switch", + "z": "45b33970b72aa42e", + "g": "b8a27e479d715be7", + "name": "", + "property": "room_1_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1240, + "y": 600, + "wires": [ + [ + "b5222395dd16308f" + ], + [ + "151482850170c5a7" + ] + ] + }, + { + "id": "b5222395dd16308f", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "b8a27e479d715be7", + "name": "", + "mode": "link", + "links": [ + "963369a243df7e12" + ], + "x": 1345, + "y": 580, + "wires": [] + }, + { + "id": "151482850170c5a7", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "b8a27e479d715be7", + "name": "", + "mode": "link", + "links": [ + "3ae4c6f1a1e070b7" + ], + "x": 1345, + "y": 620, + "wires": [] + }, + { + "id": "3ae4c6f1a1e070b7", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "lights_on", + "links": [ + "151482850170c5a7", + "4814231fe65bfeda", + "ddfbe2ca8d2c47be", + "4ee59db594d36124", + "8c511226aa8277e4", + "7954fdcdd2590961", + "5cdd8fa6af8bdc2d" + ], + "x": 1135, + "y": 800, + "wires": [ + [ + "c5b211366c233eb5", + "f95ae1d73fb3f78c" + ] + ] + }, + { + "id": "963369a243df7e12", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "lights_off", + "links": [ + "3d24b8c92a133ad4", + "b5222395dd16308f", + "163a95c9f09782df", + "7b400b67e01cef67", + "3761af907118e675", + "81ba19e3a0199b87", + "4990be3fef973e29", + "4e73b5f2d2040386", + "79e4b6cc3d252b4b", + "6d0395d3606a5549", + "ce68e1fd46ad7ad7" + ], + "x": 1135, + "y": 1020, + "wires": [ + [ + "e215f902cdfc8954", + "36bb807457940ba7" + ] + ] + }, + { + "id": "36bb807457940ba7", + "type": "change", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "room_1_light=off", + "rules": [ + { + "t": "set", + "p": "room_1_light", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1290, + "y": 960, + "wires": [ + [ + "7c71d9584cb0bc59" + ] + ] + }, + { + "id": "e215f902cdfc8954", + "type": "change", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 1020, + "wires": [ + [ + "02baa4ad9e767cea", + "dde651381f745bab" + ] + ] + }, + { + "id": "02baa4ad9e767cea", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "", + "topic": "shellies/shelly1-1/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1560, + "y": 1020, + "wires": [] + }, + { + "id": "f95ae1d73fb3f78c", + "type": "change", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "room_1_light=on", + "rules": [ + { + "t": "set", + "p": "room_1_light", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1290, + "y": 740, + "wires": [ + [ + "506ee1e07159e186" + ] + ] + }, + { + "id": "473b1a1f7611829d", + "type": "mqtt in", + "z": "45b33970b72aa42e", + "g": "d1f4b22dea1edebb", + "name": "", + "topic": "zigbee2mqtt/Button I5 - C/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 290, + "y": 660, + "wires": [ + [ + "76fbebda448df6e0" + ] + ] + }, + { + "id": "3cf80c053934e35f", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "", + "topic": "zigbee2mqtt/Switch I - 5/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 860, + "wires": [] + }, + { + "id": "dde651381f745bab", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "", + "topic": "zigbee2mqtt/Switch I - 5/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 1080, + "wires": [] + }, + { + "id": "2eb2a5388e3a7fba", + "type": "change", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "close", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "close", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 1240, + "wires": [ + [ + "841f58e34eebb00b" + ] + ] + }, + { + "id": "1cbbdefe2265fae0", + "type": "change", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "open", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "open", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 1180, + "wires": [ + [ + "841f58e34eebb00b" + ] + ] + }, + { + "id": "841f58e34eebb00b", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "", + "topic": "shellies/shelly25-1/roller/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1570, + "y": 1200, + "wires": [] + }, + { + "id": "ce49e655294af263", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "shutter_open", + "links": [ + "f76daeed477b64f7", + "ce4d2f25ace1a5b4", + "af81faab660b5616", + "566b150571e92858" + ], + "x": 1135, + "y": 1180, + "wires": [ + [ + "1cbbdefe2265fae0" + ] + ] + }, + { + "id": "e241837dea7d42c0", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "shutter_close", + "links": [ + "5816d6d6ab68b98c", + "334c9414c51f61fe", + "ad27ca1a50ed9ac4", + "51f151a992800fd3" + ], + "x": 1135, + "y": 1240, + "wires": [ + [ + "2eb2a5388e3a7fba" + ] + ] + }, + { + "id": "fddd85c0e03ba5df", + "type": "ui_slider", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "set_shutter_pos", + "label": "", + "tooltip": "", + "group": "18d21ad5e028b85b", + "order": 7, + "width": 0, + "height": 0, + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "min": 0, + "max": "100", + "step": 1, + "className": "", + "x": 520, + "y": 1160, + "wires": [ + [ + "e1da5763fab8041f" + ] + ] + }, + { + "id": "19d32f79ad2e68b1", + "type": "mqtt in", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "topic": "shellies/shelly25-1/roller/0/pos", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 280, + "y": 1160, + "wires": [ + [ + "fddd85c0e03ba5df" + ] + ] + }, + { + "id": "831243f43206beaa", + "type": "ui_gauge", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "display_temp", + "group": "18d21ad5e028b85b", + "order": 6, + "width": 0, + "height": 0, + "gtype": "gage", + "title": "Temperature", + "label": "degrees", + "format": "{{value}}", + "min": "15", + "max": "25", + "colors": [ + "#00b500", + "#e6e600", + "#ca3838" + ], + "seg1": "", + "seg2": "", + "className": "", + "x": 710, + "y": 1280, + "wires": [] + }, + { + "id": "e67b1998fe2794e8", + "type": "ui_button", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "open_shutters", + "group": "18d21ad5e028b85b", + "order": 3, + "width": "3", + "height": "1", + "passthru": false, + "label": "Ouvrir", + "tooltip": "Ouvrir Volets", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-sunny", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 1100, + "wires": [ + [ + "af81faab660b5616" + ] + ] + }, + { + "id": "c116608c0e81a3e5", + "type": "ui_button", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "close_shutters", + "group": "18d21ad5e028b85b", + "order": 4, + "width": "3", + "height": "1", + "passthru": false, + "label": "Fermer", + "tooltip": "Fermer Volets", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-dark_mode", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 1060, + "wires": [ + [ + "ad27ca1a50ed9ac4" + ] + ] + }, + { + "id": "1eaf393eefcd4b2a", + "type": "ui_button", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "turn_on_lights", + "group": "18d21ad5e028b85b", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "Allumer Lumière", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 1000, + "wires": [ + [ + "4ee59db594d36124" + ] + ] + }, + { + "id": "210a4c92b6aede03", + "type": "ui_button", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "turn_off_lights", + "group": "18d21ad5e028b85b", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "Eteindre Lumière", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 960, + "wires": [ + [ + "4e73b5f2d2040386" + ] + ] + }, + { + "id": "0a5760d8674bfb41", + "type": "poll-state", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "server": "e8029c895b4db2b7", + "version": 2, + "exposeToHomeAssistant": false, + "haConfig": [ + { + "property": "name", + "value": "" + }, + { + "property": "icon", + "value": "" + } + ], + "updateinterval": "10", + "updateIntervalType": "num", + "updateIntervalUnits": "seconds", + "outputinitially": false, + "outputonchanged": false, + "entity_id": "sensor.0x00158d0002c9d33a_temperature", + "state_type": "str", + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "outputs": 1, + "x": 380, + "y": 1280, + "wires": [ + [ + "831243f43206beaa" + ] + ] + }, + { + "id": "af81faab660b5616", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "mode": "link", + "links": [ + "ce49e655294af263" + ], + "x": 645, + "y": 1100, + "wires": [] + }, + { + "id": "ad27ca1a50ed9ac4", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "mode": "link", + "links": [ + "e241837dea7d42c0" + ], + "x": 645, + "y": 1060, + "wires": [] + }, + { + "id": "4ee59db594d36124", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "mode": "link", + "links": [ + "3ae4c6f1a1e070b7" + ], + "x": 645, + "y": 1000, + "wires": [] + }, + { + "id": "4e73b5f2d2040386", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "mode": "link", + "links": [ + "963369a243df7e12" + ], + "x": 645, + "y": 960, + "wires": [] + }, + { + "id": "506ee1e07159e186", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "d610ddadb1728283", + "name": "", + "mode": "link", + "links": [ + "64ea1f0649439edd", + "b5cd24893e5b58f0" + ], + "x": 1435, + "y": 740, + "wires": [] + }, + { + "id": "7c71d9584cb0bc59", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "e5329dc285115e63", + "name": "", + "mode": "link", + "links": [ + "64ea1f0649439edd", + "b5cd24893e5b58f0" + ], + "x": 1435, + "y": 960, + "wires": [] + }, + { + "id": "fdbfabe21c3db9f8", + "type": "ui_switch", + "z": "45b33970b72aa42e", + "d": true, + "g": "88ba0ce8cd5e1346", + "name": "toggle_lights", + "label": "", + "tooltip": "", + "group": "18d21ad5e028b85b", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "decouple": "true", + "topic": "topic", + "topicType": "msg", + "style": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "mi-lightbulb", + "oncolor": "black", + "offvalue": "false", + "offvalueType": "bool", + "officon": "mi-lightbulb_outline", + "offcolor": "black", + "animate": false, + "className": "", + "x": 430, + "y": 420, + "wires": [ + [ + "8266308415875b22" + ] + ] + }, + { + "id": "8266308415875b22", + "type": "switch", + "z": "45b33970b72aa42e", + "d": true, + "g": "88ba0ce8cd5e1346", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "false" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 590, + "y": 420, + "wires": [ + [ + "7954fdcdd2590961" + ], + [ + "6d0395d3606a5549" + ] + ] + }, + { + "id": "6d0395d3606a5549", + "type": "link out", + "z": "45b33970b72aa42e", + "d": true, + "g": "88ba0ce8cd5e1346", + "name": "", + "mode": "link", + "links": [ + "963369a243df7e12" + ], + "x": 695, + "y": 440, + "wires": [] + }, + { + "id": "7954fdcdd2590961", + "type": "link out", + "z": "45b33970b72aa42e", + "d": true, + "g": "88ba0ce8cd5e1346", + "name": "", + "mode": "link", + "links": [ + "3ae4c6f1a1e070b7" + ], + "x": 695, + "y": 400, + "wires": [] + }, + { + "id": "b5cd24893e5b58f0", + "type": "link in", + "z": "45b33970b72aa42e", + "d": true, + "g": "88ba0ce8cd5e1346", + "name": "update_light_status", + "links": [ + "7c71d9584cb0bc59", + "506ee1e07159e186" + ], + "x": 285, + "y": 420, + "wires": [ + [ + "fdbfabe21c3db9f8" + ] + ] + }, + { + "id": "e62810365e633317", + "type": "link in", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "shutter_pos", + "links": [ + "eb8378d2f4284ba0", + "e1da5763fab8041f" + ], + "x": 1285, + "y": 1300, + "wires": [ + [ + "31e26be5ccc0ea5d" + ] + ] + }, + { + "id": "31e26be5ccc0ea5d", + "type": "mqtt out", + "z": "45b33970b72aa42e", + "g": "9438bd70de4ab213", + "name": "", + "topic": "shellies/shelly25-1/roller/0/command/pos", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1580, + "y": 1300, + "wires": [] + }, + { + "id": "e1da5763fab8041f", + "type": "link out", + "z": "45b33970b72aa42e", + "g": "2e197e8c5815aaeb", + "name": "", + "mode": "link", + "links": [ + "e62810365e633317" + ], + "x": 645, + "y": 1160, + "wires": [] + }, + { + "id": "5dd29ef257413cce", + "type": "mqtt in", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "topic": "zigbee2mqtt/Button I5 - 2/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 490, + "y": 580, + "wires": [ + [ + "f01b0f15d96b9c0d" + ] + ] + }, + { + "id": "f01b0f15d96b9c0d", + "type": "switch", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "Up \\n Down \\n Middle \\n Left \\n Right", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness_up_click", + "vt": "str" + }, + { + "t": "eq", + "v": "brightness_down_click", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_left_click", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_right_click", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 5, + "x": 770, + "y": 580, + "wires": [ + [ + "5ad244bc0c4e7305" + ], + [ + "b02d37ccc23adbd6" + ], + [ + "fb31d406d956536b" + ], + [ + "d2983702420c442e" + ], + [ + "59aa36894a922c12" + ] + ] + }, + { + "id": "2b4e816fe9598fdd", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "close", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "close", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1330, + "y": 580, + "wires": [ + [ + "bbd34412dd956270" + ] + ] + }, + { + "id": "9ea76eb2b813f6a8", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "open", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "open", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1330, + "y": 520, + "wires": [ + [ + "bbd34412dd956270" + ] + ] + }, + { + "id": "bbd34412dd956270", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "", + "topic": "shellies/shelly25-2/roller/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1650, + "y": 540, + "wires": [] + }, + { + "id": "a93c54a2656ce7db", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 960, + "wires": [ + [ + "524e100ae9fe63be", + "b9598b50a5040c37", + "39fc35c393355dd4" + ] + ] + }, + { + "id": "524e100ae9fe63be", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "zigbee2mqtt/Switch I - 2/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 960, + "wires": [] + }, + { + "id": "d2983702420c442e", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "mode": "link", + "links": [ + "f79dc2a4d9e64eaa", + "e647bf86559f6921", + "605a1a021cfac909" + ], + "x": 895, + "y": 620, + "wires": [] + }, + { + "id": "5ad244bc0c4e7305", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "mode": "link", + "links": [ + "e81c4394d239ba6b" + ], + "x": 895, + "y": 500, + "wires": [] + }, + { + "id": "59aa36894a922c12", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "mode": "link", + "links": [ + "d2a858c6565ae622", + "78ca07f280337fe7", + "037effa7edc88e5a" + ], + "x": 895, + "y": 660, + "wires": [] + }, + { + "id": "2ec44c301dc69d84", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "lights_on", + "links": [ + "fb0478a09df8cb33", + "b3703f9c25d89e91" + ], + "x": 1115, + "y": 960, + "wires": [ + [ + "a93c54a2656ce7db", + "66e4888ed96c0078" + ] + ] + }, + { + "id": "f79dc2a4d9e64eaa", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "shutter_open", + "links": [ + "d2983702420c442e", + "ce4d2f25ace1a5b4", + "d32ce89725438a35", + "b69e74e2aaced905" + ], + "x": 1215, + "y": 520, + "wires": [ + [ + "9ea76eb2b813f6a8" + ] + ] + }, + { + "id": "d2a858c6565ae622", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "shutter_close", + "links": [ + "59aa36894a922c12", + "334c9414c51f61fe", + "265b741d4ca4a28d", + "6bed3ff152b67673" + ], + "x": 1215, + "y": 580, + "wires": [ + [ + "2b4e816fe9598fdd" + ] + ] + }, + { + "id": "b9598b50a5040c37", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "zigbee2mqtt/Switch I - 4/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 1020, + "wires": [] + }, + { + "id": "7bce4cc29c9a67ce", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 1240, + "wires": [ + [ + "eac6916f1704305a", + "bfa4daacc6aff3bb", + "9e11e09705ca8942" + ] + ] + }, + { + "id": "eac6916f1704305a", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "zigbee2mqtt/Switch I - 2/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 1240, + "wires": [] + }, + { + "id": "8204f2ddb8b40a9f", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "lights_off", + "links": [ + "3d24b8c92a133ad4", + "52a0d0a903097a0d", + "163a95c9f09782df", + "7b400b67e01cef67", + "3761af907118e675", + "efd5fa6cc868d730" + ], + "x": 1115, + "y": 1240, + "wires": [ + [ + "7bce4cc29c9a67ce", + "48d83d69fb388361" + ] + ] + }, + { + "id": "bfa4daacc6aff3bb", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "zigbee2mqtt/Switch I - 4/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1540, + "y": 1300, + "wires": [] + }, + { + "id": "39fc35c393355dd4", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "shellies/shelly1-2/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1560, + "y": 1080, + "wires": [] + }, + { + "id": "9e11e09705ca8942", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "topic": "shellies/shelly1-2/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1560, + "y": 1360, + "wires": [] + }, + { + "id": "5941c06584fb3f22", + "type": "switch", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "property": "all_lights", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1250, + "y": 760, + "wires": [ + [ + "52a0d0a903097a0d" + ], + [ + "fb0478a09df8cb33" + ] + ] + }, + { + "id": "fb0478a09df8cb33", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "mode": "link", + "links": [ + "b84dab2bf370beea", + "2ec44c301dc69d84", + "fe71662217e34c23" + ], + "x": 1375, + "y": 780, + "wires": [] + }, + { + "id": "52a0d0a903097a0d", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "", + "mode": "link", + "links": [ + "8204f2ddb8b40a9f" + ], + "x": 1375, + "y": 740, + "wires": [] + }, + { + "id": "e81c4394d239ba6b", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "lights_toggle", + "links": [ + "5ad244bc0c4e7305" + ], + "x": 1115, + "y": 760, + "wires": [ + [ + "5941c06584fb3f22" + ] + ] + }, + { + "id": "958fd21b94fb6cb4", + "type": "switch", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "", + "property": "big_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1930, + "y": 760, + "wires": [ + [ + "39347aecaab853e7" + ], + [ + "b3ee2c6102dd06f7" + ] + ] + }, + { + "id": "b3ee2c6102dd06f7", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "", + "mode": "link", + "links": [ + "b84dab2bf370beea", + "8ed379530b6cb233", + "fe71662217e34c23" + ], + "x": 2055, + "y": 780, + "wires": [] + }, + { + "id": "39347aecaab853e7", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "", + "mode": "link", + "links": [ + "f24e475561991c29" + ], + "x": 2055, + "y": 740, + "wires": [] + }, + { + "id": "73fc3fb30f0f6cb4", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "big_light_toggle", + "links": [ + "fb31d406d956536b" + ], + "x": 1795, + "y": 760, + "wires": [ + [ + "958fd21b94fb6cb4" + ] + ] + }, + { + "id": "ee7e5832f5970116", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1910, + "y": 880, + "wires": [ + [ + "a1b1cfdbeeaa1978" + ] + ] + }, + { + "id": "094215226dc33ea2", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "big_light=on", + "rules": [ + { + "t": "set", + "p": "big_light", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1930, + "y": 820, + "wires": [ + [] + ] + }, + { + "id": "8ed379530b6cb233", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "lights_on", + "links": [ + "b3ee2c6102dd06f7" + ], + "x": 1795, + "y": 880, + "wires": [ + [ + "ee7e5832f5970116", + "094215226dc33ea2" + ] + ] + }, + { + "id": "a1b1cfdbeeaa1978", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "", + "topic": "shellies/shelly1-2/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2160, + "y": 880, + "wires": [] + }, + { + "id": "1e27b0ed414356bd", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1910, + "y": 1000, + "wires": [ + [ + "947d29409d04421d" + ] + ] + }, + { + "id": "9b6a5389f566a688", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "big_light=off", + "rules": [ + { + "t": "set", + "p": "big_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1930, + "y": 940, + "wires": [ + [] + ] + }, + { + "id": "f24e475561991c29", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "lights_off", + "links": [ + "3d24b8c92a133ad4", + "39347aecaab853e7", + "163a95c9f09782df", + "7b400b67e01cef67" + ], + "x": 1795, + "y": 1000, + "wires": [ + [ + "1e27b0ed414356bd", + "9b6a5389f566a688" + ] + ] + }, + { + "id": "947d29409d04421d", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "bc6038ae77f45486", + "name": "", + "topic": "shellies/shelly1-2/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2140, + "y": 1000, + "wires": [] + }, + { + "id": "fb31d406d956536b", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "mode": "link", + "links": [ + "73fc3fb30f0f6cb4" + ], + "x": 895, + "y": 580, + "wires": [] + }, + { + "id": "66e4888ed96c0078", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "variables_on", + "rules": [ + { + "t": "set", + "p": "big_light", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "all_lights", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 900, + "wires": [ + [] + ] + }, + { + "id": "48d83d69fb388361", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "1e5c3ece2fee07e1", + "name": "variables_off", + "rules": [ + { + "t": "set", + "p": "big_light", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "all_lights", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 1160, + "wires": [ + [] + ] + }, + { + "id": "3d62e3e6a9223ac8", + "type": "switch", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "property": "little_lights", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1930, + "y": 1140, + "wires": [ + [ + "cca3a0c04a89f682" + ], + [ + "ac6f61740f77e327" + ] + ] + }, + { + "id": "ac6f61740f77e327", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "mode": "link", + "links": [ + "b84dab2bf370beea", + "433296d67712df23", + "fe71662217e34c23" + ], + "x": 2055, + "y": 1160, + "wires": [] + }, + { + "id": "cca3a0c04a89f682", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "mode": "link", + "links": [ + "1f579630fc1d76a4" + ], + "x": 2055, + "y": 1120, + "wires": [] + }, + { + "id": "fcd36c25eea61b24", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "little_lights_toggle", + "links": [ + "b02d37ccc23adbd6" + ], + "x": 1795, + "y": 1140, + "wires": [ + [ + "3d62e3e6a9223ac8" + ] + ] + }, + { + "id": "e90bf205d359dcae", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1910, + "y": 1260, + "wires": [ + [ + "87f1e7c736425568", + "040a385483c5a19c" + ] + ] + }, + { + "id": "f2c5af70cd38f611", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "little_lights=on", + "rules": [ + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1940, + "y": 1200, + "wires": [ + [] + ] + }, + { + "id": "433296d67712df23", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "lights_on", + "links": [ + "ac6f61740f77e327" + ], + "x": 1795, + "y": 1260, + "wires": [ + [ + "e90bf205d359dcae", + "f2c5af70cd38f611" + ] + ] + }, + { + "id": "a985b6cefba919a2", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1910, + "y": 1380, + "wires": [ + [ + "eeeaa240fde6a93b", + "6d2207f8102227a4" + ] + ] + }, + { + "id": "67b9f08c5de774b7", + "type": "change", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "little_lights=off", + "rules": [ + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1940, + "y": 1320, + "wires": [ + [] + ] + }, + { + "id": "1f579630fc1d76a4", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "lights_off", + "links": [ + "3d24b8c92a133ad4", + "cca3a0c04a89f682", + "163a95c9f09782df", + "7b400b67e01cef67" + ], + "x": 1795, + "y": 1380, + "wires": [ + [ + "a985b6cefba919a2", + "67b9f08c5de774b7" + ] + ] + }, + { + "id": "87f1e7c736425568", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "topic": "zigbee2mqtt/Switch I - 2/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2160, + "y": 1240, + "wires": [] + }, + { + "id": "040a385483c5a19c", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "topic": "zigbee2mqtt/Switch I - 4/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2160, + "y": 1280, + "wires": [] + }, + { + "id": "eeeaa240fde6a93b", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "topic": "zigbee2mqtt/Switch I - 2/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2160, + "y": 1360, + "wires": [] + }, + { + "id": "6d2207f8102227a4", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "f429da70f9bac68f", + "name": "", + "topic": "zigbee2mqtt/Switch I - 4/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2160, + "y": 1400, + "wires": [] + }, + { + "id": "b02d37ccc23adbd6", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "13c5391b91890075", + "name": "", + "mode": "link", + "links": [ + "fcd36c25eea61b24" + ], + "x": 895, + "y": 540, + "wires": [] + }, + { + "id": "289f4412d216c246", + "type": "ui_slider", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "set_shutter_pos", + "label": "", + "tooltip": "", + "group": "e39e5172bffe384b", + "order": 6, + "width": 0, + "height": 0, + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "min": 0, + "max": "100", + "step": 1, + "className": "", + "x": 520, + "y": 980, + "wires": [ + [ + "7b3b382465cfc771" + ] + ] + }, + { + "id": "b6939730bdfdda0c", + "type": "mqtt in", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "", + "topic": "shellies/shelly25-2/roller/0/pos", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 280, + "y": 980, + "wires": [ + [ + "289f4412d216c246" + ] + ] + }, + { + "id": "3f7c7865ac0b6084", + "type": "ui_gauge", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "display_temp", + "group": "e39e5172bffe384b", + "order": 5, + "width": 0, + "height": 0, + "gtype": "gage", + "title": "Temperature", + "label": "degrees", + "format": "{{value}}", + "min": "15", + "max": "25", + "colors": [ + "#00b500", + "#e6e600", + "#ca3838" + ], + "seg1": "", + "seg2": "", + "className": "", + "x": 710, + "y": 1100, + "wires": [] + }, + { + "id": "adc0ed9809f6e09c", + "type": "ui_button", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "open_shutters", + "group": "e39e5172bffe384b", + "order": 3, + "width": "3", + "height": "1", + "passthru": false, + "label": "Ouvrir", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-sunny", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 920, + "wires": [ + [ + "d32ce89725438a35" + ] + ] + }, + { + "id": "52e0da35418e8c81", + "type": "ui_button", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "close_shutters", + "group": "e39e5172bffe384b", + "order": 4, + "width": "3", + "height": "1", + "passthru": false, + "label": "Fermer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-dark_mode", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 880, + "wires": [ + [ + "265b741d4ca4a28d" + ] + ] + }, + { + "id": "405da2584839c2f2", + "type": "ui_button", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "turn_on_lights", + "group": "e39e5172bffe384b", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 820, + "wires": [ + [ + "b3703f9c25d89e91" + ] + ] + }, + { + "id": "a9ef79ff3c590df0", + "type": "ui_button", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "turn_off_lights", + "group": "e39e5172bffe384b", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 520, + "y": 780, + "wires": [ + [ + "efd5fa6cc868d730" + ] + ] + }, + { + "id": "2c0a43b4d0aeaff4", + "type": "poll-state", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "", + "server": "e8029c895b4db2b7", + "version": 2, + "exposeToHomeAssistant": false, + "haConfig": [ + { + "property": "name", + "value": "" + }, + { + "property": "icon", + "value": "" + } + ], + "updateinterval": "10", + "updateIntervalType": "num", + "updateIntervalUnits": "seconds", + "outputinitially": false, + "outputonchanged": false, + "entity_id": "sensor.0x00158d0007d3a679_temperature", + "state_type": "str", + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "outputs": 1, + "x": 380, + "y": 1100, + "wires": [ + [ + "3f7c7865ac0b6084" + ] + ] + }, + { + "id": "b3703f9c25d89e91", + "type": "link out", + "z": "7001e57df3bbd7b1", + "name": "", + "mode": "link", + "links": [ + "b84dab2bf370beea", + "2ec44c301dc69d84", + "fe71662217e34c23" + ], + "x": 655, + "y": 820, + "wires": [] + }, + { + "id": "efd5fa6cc868d730", + "type": "link out", + "z": "7001e57df3bbd7b1", + "name": "", + "mode": "link", + "links": [ + "8204f2ddb8b40a9f" + ], + "x": 655, + "y": 780, + "wires": [] + }, + { + "id": "d32ce89725438a35", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "", + "mode": "link", + "links": [ + "f79dc2a4d9e64eaa", + "e647bf86559f6921", + "605a1a021cfac909" + ], + "x": 645, + "y": 920, + "wires": [] + }, + { + "id": "265b741d4ca4a28d", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "", + "mode": "link", + "links": [ + "d2a858c6565ae622", + "78ca07f280337fe7", + "037effa7edc88e5a" + ], + "x": 645, + "y": 880, + "wires": [] + }, + { + "id": "517466ce89c7bfaa", + "type": "link in", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "shutter_pos", + "links": [ + "eb8378d2f4284ba0", + "7b3b382465cfc771" + ], + "x": 1365, + "y": 640, + "wires": [ + [ + "9865b86bbefbf86b" + ] + ] + }, + { + "id": "9865b86bbefbf86b", + "type": "mqtt out", + "z": "7001e57df3bbd7b1", + "g": "3bffd66ec8192c15", + "name": "", + "topic": "shellies/shelly25-2/roller/0/command/pos", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1660, + "y": 640, + "wires": [] + }, + { + "id": "7b3b382465cfc771", + "type": "link out", + "z": "7001e57df3bbd7b1", + "g": "424e0bff450d42c5", + "name": "", + "mode": "link", + "links": [ + "517466ce89c7bfaa" + ], + "x": 645, + "y": 980, + "wires": [] + }, + { + "id": "3246af3f820f95bb", + "type": "mqtt in", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "topic": "zigbee2mqtt/Button I5 - 3/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 550, + "y": 280, + "wires": [ + [ + "dc9028e79275df7f" + ] + ] + }, + { + "id": "dc9028e79275df7f", + "type": "switch", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "Up \\n Down \\n Middle \\n Left \\n Right", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness_up_click", + "vt": "str" + }, + { + "t": "eq", + "v": "brightness_down_click", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_left_click", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_right_click", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 5, + "x": 830, + "y": 280, + "wires": [ + [ + "7eacbda11a89d6f4" + ], + [ + "8b6364a9db018de9" + ], + [ + "500318e9498326be" + ], + [ + "23ba409561b39d92" + ], + [ + "1229a2db05df839f" + ] + ] + }, + { + "id": "32029a6736c5923b", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "shellies/shelly1-3/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1500, + "y": 900, + "wires": [] + }, + { + "id": "81e8047c93df321a", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 900, + "wires": [ + [ + "32029a6736c5923b", + "10d2eb015bef789e", + "9babf445dfb6cfc7" + ] + ] + }, + { + "id": "555c9d3b8de8e758", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "close", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "close", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 240, + "wires": [ + [ + "066e44f59eb437be" + ] + ] + }, + { + "id": "60dc6d0dd4da343e", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "open", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "open", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1250, + "y": 160, + "wires": [ + [ + "066e44f59eb437be" + ] + ] + }, + { + "id": "066e44f59eb437be", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "", + "topic": "shellies/shelly25-3/roller/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1590, + "y": 200, + "wires": [] + }, + { + "id": "23ba409561b39d92", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "mode": "link", + "links": [ + "55c0b26e54184769" + ], + "x": 995, + "y": 320, + "wires": [] + }, + { + "id": "500318e9498326be", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "mode": "link", + "links": [ + "17755986aa4d88a7" + ], + "x": 995, + "y": 280, + "wires": [] + }, + { + "id": "17755986aa4d88a7", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "lights_toggle", + "links": [ + "500318e9498326be", + "3145c0df0d404c6c" + ], + "x": 1095, + "y": 440, + "wires": [ + [ + "5f33bfe714c0ce12" + ] + ] + }, + { + "id": "3593878a92b5dd58", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "lights_on", + "links": [ + "fcc4e62f84801d26", + "7880778134399720", + "f8bb8bcad1404593", + "a698acff0daf37c6", + "754c7b2b3243b2a7", + "648d17febe882a8f", + "2d531bb07aae9566" + ], + "x": 1095, + "y": 900, + "wires": [ + [ + "81e8047c93df321a", + "789a80a08bd46c7a" + ] + ] + }, + { + "id": "b4acf030bc227db8", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "lights_off", + "links": [ + "7b400b67e01cef67", + "f53f681f53f66f65", + "3761af907118e675", + "6b64df5fdaa75fb0", + "e2333bdc7b660278", + "c004574db5eefbc9", + "3025aae4a9320ddc", + "129c4550c2010628", + "ba13940373bda52d" + ], + "x": 1095, + "y": 620, + "wires": [ + [ + "93d7ccf479b86182", + "972fe8ee6db67994" + ] + ] + }, + { + "id": "93d7ccf479b86182", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1230, + "y": 620, + "wires": [ + [ + "d57bb748f17e1825", + "8deaa77386887245", + "954b50f001021537" + ] + ] + }, + { + "id": "d57bb748f17e1825", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "shellies/shelly1-3/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1500, + "y": 620, + "wires": [] + }, + { + "id": "789a80a08bd46c7a", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "lights=on", + "rules": [ + { + "t": "set", + "p": "lights", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "big_lights", + "pt": "flow", + "to": "on", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "true", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1240, + "y": 840, + "wires": [ + [ + "89a43da219561c0e" + ] + ] + }, + { + "id": "972fe8ee6db67994", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "lights=off", + "rules": [ + { + "t": "set", + "p": "lights", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "big_lights", + "pt": "flow", + "to": "off", + "tot": "str" + }, + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "false", + "tot": "bool" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1240, + "y": 560, + "wires": [ + [ + "fd4fb3b8f6a5b421" + ] + ] + }, + { + "id": "55c0b26e54184769", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "shutter_open", + "links": [ + "23ba409561b39d92", + "ce4d2f25ace1a5b4", + "ee0fcdb1429213cb", + "7cc1ac4ee2dc29a2", + "7009d06e1759eb6d", + "15684a555eeb2a6c" + ], + "x": 1115, + "y": 160, + "wires": [ + [ + "60dc6d0dd4da343e" + ] + ] + }, + { + "id": "9c9de6944a7dc18c", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "shutter_close", + "links": [ + "1229a2db05df839f", + "334c9414c51f61fe", + "213c2cab935fd6b1", + "ea253ce10cc7feea", + "0cf0e7fba31e2cb7", + "3f89d7da1704d337", + "0fc30c16122280fe", + "0667542103f8d004" + ], + "x": 1115, + "y": 240, + "wires": [ + [ + "555c9d3b8de8e758" + ] + ] + }, + { + "id": "f53f681f53f66f65", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "mode": "link", + "links": [ + "b4acf030bc227db8", + "9da7aacb8fc9bdfc" + ], + "x": 1295, + "y": 420, + "wires": [] + }, + { + "id": "fcc4e62f84801d26", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "mode": "link", + "links": [ + "3593878a92b5dd58" + ], + "x": 1295, + "y": 460, + "wires": [] + }, + { + "id": "5f33bfe714c0ce12", + "type": "switch", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "property": "lights", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1190, + "y": 440, + "wires": [ + [ + "f53f681f53f66f65" + ], + [ + "fcc4e62f84801d26" + ] + ] + }, + { + "id": "8deaa77386887245", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "zigbee2mqtt/Switch I - 7/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1480, + "y": 680, + "wires": [] + }, + { + "id": "10d2eb015bef789e", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "zigbee2mqtt/Switch I - 7/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1480, + "y": 960, + "wires": [] + }, + { + "id": "9babf445dfb6cfc7", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "zigbee2mqtt/Switch I - 1/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1480, + "y": 1020, + "wires": [] + }, + { + "id": "954b50f001021537", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "topic": "zigbee2mqtt/Switch I - 1/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1480, + "y": 740, + "wires": [] + }, + { + "id": "fbcc2d54ee8b7d9d", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1870, + "y": 740, + "wires": [ + [ + "d2253d2f0e1e184f", + "35f851162aa4c411" + ] + ] + }, + { + "id": "48e36e9f13a6d21e", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "little_lights_toggle", + "links": [ + "8b6364a9db018de9" + ], + "x": 1735, + "y": 440, + "wires": [ + [ + "d210b26f28741769" + ] + ] + }, + { + "id": "d4b859ed3eef848e", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "little_lights_off", + "links": [ + "5a5aa60dae1e6ca7" + ], + "x": 1735, + "y": 740, + "wires": [ + [ + "fbcc2d54ee8b7d9d", + "b50b97a233c6ec3e" + ] + ] + }, + { + "id": "f6884239945deddf", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "little_lights_off", + "links": [ + "9378af0512c14261" + ], + "x": 1735, + "y": 560, + "wires": [ + [ + "d51f5fc441eb7ecd", + "078013e75b9d46cf" + ] + ] + }, + { + "id": "d51f5fc441eb7ecd", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1870, + "y": 560, + "wires": [ + [ + "aeb6dd30dfbf0c32", + "97e38c9fc56864b5" + ] + ] + }, + { + "id": "b50b97a233c6ec3e", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "little_lights=on", + "rules": [ + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1900, + "y": 680, + "wires": [ + [] + ] + }, + { + "id": "078013e75b9d46cf", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "little_lights=off", + "rules": [ + { + "t": "set", + "p": "little_lights", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1900, + "y": 500, + "wires": [ + [] + ] + }, + { + "id": "9378af0512c14261", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "mode": "link", + "links": [ + "f6884239945deddf", + "9da7aacb8fc9bdfc" + ], + "x": 1935, + "y": 420, + "wires": [] + }, + { + "id": "5a5aa60dae1e6ca7", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "mode": "link", + "links": [ + "d4b859ed3eef848e" + ], + "x": 1935, + "y": 460, + "wires": [] + }, + { + "id": "d210b26f28741769", + "type": "switch", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "property": "little_lights", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1830, + "y": 440, + "wires": [ + [ + "9378af0512c14261" + ], + [ + "5a5aa60dae1e6ca7" + ] + ] + }, + { + "id": "aeb6dd30dfbf0c32", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "topic": "zigbee2mqtt/Switch I - 7/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2100, + "y": 560, + "wires": [] + }, + { + "id": "d2253d2f0e1e184f", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "topic": "zigbee2mqtt/Switch I - 7/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2120, + "y": 740, + "wires": [] + }, + { + "id": "35f851162aa4c411", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "topic": "zigbee2mqtt/Switch I - 1/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2120, + "y": 820, + "wires": [] + }, + { + "id": "97e38c9fc56864b5", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "bfb877fcd5cdc9a5", + "name": "", + "topic": "zigbee2mqtt/Switch I - 1/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2100, + "y": 620, + "wires": [] + }, + { + "id": "8b6364a9db018de9", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "mode": "link", + "links": [ + "48e36e9f13a6d21e" + ], + "x": 995, + "y": 240, + "wires": [] + }, + { + "id": "e0fa6011e063c77c", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1870, + "y": 1180, + "wires": [ + [ + "5de81af79e805f92" + ] + ] + }, + { + "id": "bd85ec84dccc80e6", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "big_lights_toggle", + "links": [ + "7eacbda11a89d6f4" + ], + "x": 1735, + "y": 940, + "wires": [ + [ + "94b965b296b0308e" + ] + ] + }, + { + "id": "00c9b39b5b7dc3d3", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "big_lights_off", + "links": [ + "1fb8d6a77b7393f3" + ], + "x": 1735, + "y": 1180, + "wires": [ + [ + "e0fa6011e063c77c", + "859ac0617e7f2e70" + ] + ] + }, + { + "id": "2906e41a4577f15f", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "big_lights_off", + "links": [ + "3e420cc5abbe9632" + ], + "x": 1735, + "y": 1060, + "wires": [ + [ + "10f6a4cb5fa52628", + "440ac0a2465e4334" + ] + ] + }, + { + "id": "10f6a4cb5fa52628", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1870, + "y": 1060, + "wires": [ + [ + "78b75286607ab598" + ] + ] + }, + { + "id": "859ac0617e7f2e70", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "big_lights=on", + "rules": [ + { + "t": "set", + "p": "big_lights", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1890, + "y": 1120, + "wires": [ + [] + ] + }, + { + "id": "440ac0a2465e4334", + "type": "change", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "big_lights=off", + "rules": [ + { + "t": "set", + "p": "big_lights", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1890, + "y": 1000, + "wires": [ + [] + ] + }, + { + "id": "3e420cc5abbe9632", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "", + "mode": "link", + "links": [ + "2906e41a4577f15f", + "9da7aacb8fc9bdfc" + ], + "x": 1935, + "y": 920, + "wires": [] + }, + { + "id": "1fb8d6a77b7393f3", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "", + "mode": "link", + "links": [ + "00c9b39b5b7dc3d3" + ], + "x": 1935, + "y": 960, + "wires": [] + }, + { + "id": "94b965b296b0308e", + "type": "switch", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "", + "property": "big_lights", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1830, + "y": 940, + "wires": [ + [ + "3e420cc5abbe9632" + ], + [ + "1fb8d6a77b7393f3" + ] + ] + }, + { + "id": "78b75286607ab598", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "", + "topic": "shellies/shelly1-3/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2100, + "y": 1060, + "wires": [] + }, + { + "id": "5de81af79e805f92", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "fa0e957244976fca", + "name": "", + "topic": "shellies/shelly1-3/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2100, + "y": 1180, + "wires": [] + }, + { + "id": "7eacbda11a89d6f4", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "mode": "link", + "links": [ + "bd85ec84dccc80e6" + ], + "x": 995, + "y": 200, + "wires": [] + }, + { + "id": "296383db3456fe10", + "type": "mqtt in", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "topic": "zigbee2mqtt/Button I5 - 3T/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 550, + "y": 340, + "wires": [ + [ + "dc9028e79275df7f" + ] + ] + }, + { + "id": "cadd644d9490b4d4", + "type": "mqtt in", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "topic": "zigbee2mqtt/Button I5 - 3J/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 550, + "y": 220, + "wires": [ + [ + "dc9028e79275df7f" + ] + ] + }, + { + "id": "fd4fb3b8f6a5b421", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "mode": "link", + "links": [ + "fd3bcf705751cb80", + "16e7541050cf9b2d", + "03865bfa130815d0" + ], + "x": 1345, + "y": 560, + "wires": [] + }, + { + "id": "89a43da219561c0e", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "7be6f13f637c87cc", + "name": "", + "mode": "link", + "links": [ + "fd3bcf705751cb80", + "16e7541050cf9b2d", + "03865bfa130815d0" + ], + "x": 1345, + "y": 840, + "wires": [] + }, + { + "id": "a96f5a34106746c9", + "type": "ui_slider", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "set_shutter_pos", + "label": "", + "tooltip": "", + "group": "bba1ea624db851d3", + "order": 7, + "width": 0, + "height": 0, + "passthru": false, + "outs": "end", + "topic": "topic", + "topicType": "msg", + "min": 0, + "max": "100", + "step": 1, + "className": "", + "x": 540, + "y": 960, + "wires": [ + [ + "2eda6cd89f0dd68e" + ] + ] + }, + { + "id": "a33c91a5bd041772", + "type": "mqtt in", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "topic": "shellies/shelly25-3/roller/0/pos", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 300, + "y": 960, + "wires": [ + [ + "a96f5a34106746c9" + ] + ] + }, + { + "id": "8d1f0db4b4bef06f", + "type": "ui_gauge", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "display_temp", + "group": "bba1ea624db851d3", + "order": 6, + "width": 0, + "height": 0, + "gtype": "gage", + "title": "Temperature", + "label": "degrees", + "format": "{{value}}", + "min": "15", + "max": "25", + "colors": [ + "#00b500", + "#e6e600", + "#ca3838" + ], + "seg1": "", + "seg2": "", + "className": "", + "x": 730, + "y": 1080, + "wires": [] + }, + { + "id": "e50dafc986ec8a49", + "type": "ui_button", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "open_shutters", + "group": "bba1ea624db851d3", + "order": 3, + "width": "3", + "height": "1", + "passthru": false, + "label": "Ouvrir", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-sunny", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 540, + "y": 900, + "wires": [ + [ + "ee0fcdb1429213cb" + ] + ] + }, + { + "id": "6b16639333ce3bdc", + "type": "ui_button", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "close_shutters", + "group": "bba1ea624db851d3", + "order": 4, + "width": "3", + "height": "1", + "passthru": false, + "label": "Fermer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-dark_mode", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 540, + "y": 860, + "wires": [ + [ + "213c2cab935fd6b1" + ] + ] + }, + { + "id": "ee0fcdb1429213cb", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "mode": "link", + "links": [ + "55c0b26e54184769" + ], + "x": 675, + "y": 900, + "wires": [] + }, + { + "id": "213c2cab935fd6b1", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "mode": "link", + "links": [ + "9c9de6944a7dc18c" + ], + "x": 675, + "y": 860, + "wires": [] + }, + { + "id": "ab1dc989b97e0a34", + "type": "ui_button", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "turn_on_lights", + "group": "bba1ea624db851d3", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 540, + "y": 800, + "wires": [ + [ + "f8bb8bcad1404593" + ] + ] + }, + { + "id": "780275ea07a29154", + "type": "ui_button", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "turn_off_lights", + "group": "bba1ea624db851d3", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 540, + "y": 760, + "wires": [ + [ + "e2333bdc7b660278" + ] + ] + }, + { + "id": "e2333bdc7b660278", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "mode": "link", + "links": [ + "b4acf030bc227db8", + "9da7aacb8fc9bdfc" + ], + "x": 675, + "y": 760, + "wires": [] + }, + { + "id": "f8bb8bcad1404593", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "mode": "link", + "links": [ + "3593878a92b5dd58" + ], + "x": 675, + "y": 800, + "wires": [] + }, + { + "id": "7992bfe364c58685", + "type": "poll-state", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "server": "e8029c895b4db2b7", + "version": 2, + "exposeToHomeAssistant": false, + "haConfig": [ + { + "property": "name", + "value": "" + }, + { + "property": "icon", + "value": "" + } + ], + "updateinterval": "10", + "updateIntervalType": "num", + "updateIntervalUnits": "seconds", + "outputinitially": false, + "outputonchanged": false, + "entity_id": "sensor.0x00158d0007d3d290_temperature", + "state_type": "str", + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "outputs": 1, + "x": 400, + "y": 1080, + "wires": [ + [ + "8d1f0db4b4bef06f" + ] + ] + }, + { + "id": "f8978415519138b0", + "type": "ui_switch", + "z": "30d7cdb229d81b48", + "d": true, + "g": "24faac6bd09abf51", + "name": "toggle_lights", + "label": "", + "tooltip": "", + "group": "bba1ea624db851d3", + "order": 5, + "width": "1", + "height": "1", + "passthru": false, + "decouple": "true", + "topic": "topic", + "topicType": "msg", + "style": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "mi-lightbulb", + "oncolor": "black", + "offvalue": "false", + "offvalueType": "bool", + "officon": "mi-lightbulb_outline", + "offcolor": "black", + "animate": false, + "className": "", + "x": 450, + "y": 580, + "wires": [ + [ + "7a2f9842a125ba84" + ] + ] + }, + { + "id": "7a2f9842a125ba84", + "type": "switch", + "z": "30d7cdb229d81b48", + "d": true, + "g": "24faac6bd09abf51", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "false" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 610, + "y": 580, + "wires": [ + [ + "648d17febe882a8f" + ], + [ + "129c4550c2010628" + ] + ] + }, + { + "id": "129c4550c2010628", + "type": "link out", + "z": "30d7cdb229d81b48", + "d": true, + "g": "24faac6bd09abf51", + "name": "", + "mode": "link", + "links": [ + "b4acf030bc227db8", + "9da7aacb8fc9bdfc" + ], + "x": 715, + "y": 600, + "wires": [] + }, + { + "id": "648d17febe882a8f", + "type": "link out", + "z": "30d7cdb229d81b48", + "d": true, + "g": "24faac6bd09abf51", + "name": "", + "mode": "link", + "links": [ + "3593878a92b5dd58" + ], + "x": 715, + "y": 560, + "wires": [] + }, + { + "id": "03865bfa130815d0", + "type": "link in", + "z": "30d7cdb229d81b48", + "d": true, + "g": "24faac6bd09abf51", + "name": "update_light_status", + "links": [ + "fd4fb3b8f6a5b421", + "89a43da219561c0e" + ], + "x": 335, + "y": 580, + "wires": [ + [ + "f8978415519138b0" + ] + ] + }, + { + "id": "c4cd293621048257", + "type": "link in", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "shutter_pos", + "links": [ + "eb8378d2f4284ba0", + "2eda6cd89f0dd68e" + ], + "x": 1285, + "y": 300, + "wires": [ + [ + "663a65927085d4d6" + ] + ] + }, + { + "id": "663a65927085d4d6", + "type": "mqtt out", + "z": "30d7cdb229d81b48", + "g": "4efc28e785986cfb", + "name": "", + "topic": "shellies/shelly25-3/roller/0/command/pos", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1600, + "y": 300, + "wires": [] + }, + { + "id": "2eda6cd89f0dd68e", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "94a37cdb29526bd6", + "name": "", + "mode": "link", + "links": [ + "c4cd293621048257" + ], + "x": 675, + "y": 960, + "wires": [] + }, + { + "id": "1229a2db05df839f", + "type": "link out", + "z": "30d7cdb229d81b48", + "g": "267f9de7d8e6983d", + "name": "", + "mode": "link", + "links": [ + "9c9de6944a7dc18c" + ], + "x": 995, + "y": 360, + "wires": [] + }, + { + "id": "960353a9db1a0430", + "type": "mqtt in", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "topic": "zigbee2mqtt/Button I5 - F/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 460, + "wires": [ + [ + "e01e40a6c9618921" + ] + ] + }, + { + "id": "e01e40a6c9618921", + "type": "switch", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "Up \\n Down \\n Middle \\n Left \\n Right", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "brightness_up_click", + "vt": "str" + }, + { + "t": "eq", + "v": "brightness_down_click", + "vt": "str" + }, + { + "t": "eq", + "v": "toggle", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_left_click", + "vt": "str" + }, + { + "t": "eq", + "v": "arrow_right_click", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 5, + "x": 490, + "y": 500, + "wires": [ + [ + "f80721f09de671b9" + ], + [ + "be3d795345a2c6f6" + ], + [ + "adf8f6e15cb6a227" + ], + [ + "1158ac2d3c670f85" + ], + [ + "05d7c8a1beb17d15" + ] + ] + }, + { + "id": "af71e90f12624142", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "", + "topic": "shellies/shelly1-S/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1720, + "y": 360, + "wires": [] + }, + { + "id": "39e622ec3aded196", + "type": "change", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1350, + "y": 300, + "wires": [ + [ + "a1368d4e5409345f", + "af71e90f12624142", + "32ec877a5ec52aa8", + "9a226df207c8ef04", + "dd050b6af1d6b8a5" + ] + ] + }, + { + "id": "a1368d4e5409345f", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "", + "topic": "zigbee2mqtt/Switch I - 3/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1700, + "y": 180, + "wires": [] + }, + { + "id": "f6a8cb70f0dfc114", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "topic": "shellies/shelly1-S/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2480, + "y": 780, + "wires": [] + }, + { + "id": "eb8189617aa61c0f", + "type": "change", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2110, + "y": 600, + "wires": [ + [ + "556c83ba5a7994e8", + "86a26014a64f29d3", + "f57b5398ecb17a90" + ] + ] + }, + { + "id": "556c83ba5a7994e8", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "topic": "zigbee2mqtt/Switch I - 3/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2460, + "y": 540, + "wires": [] + }, + { + "id": "42372febac24f347", + "type": "change", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2110, + "y": 840, + "wires": [ + [ + "f6a8cb70f0dfc114", + "33ab3fa8a7411b55", + "6cb34241bac51302" + ] + ] + }, + { + "id": "69293875f7a396fb", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "lights_movie", + "links": [ + "5fd45e9a3a1cce89", + "7103455fd16f3f59", + "be3d795345a2c6f6", + "ed0f45653e015115", + "23dbda7ac08b2418" + ], + "x": 1935, + "y": 680, + "wires": [ + [ + "eb8189617aa61c0f", + "42372febac24f347", + "c5610126d92c9705", + "f35e10fa10009f82" + ] + ] + }, + { + "id": "3ce7f85a94c2336e", + "type": "switch", + "z": "0a42d22727f010dd", + "g": "952d03b59f3e4e63", + "name": "", + "property": "salon_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 950, + "y": 200, + "wires": [ + [ + "ad00b5dd24bf1b4b" + ], + [ + "bc11b5fcd4517804" + ] + ] + }, + { + "id": "bc11b5fcd4517804", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "952d03b59f3e4e63", + "name": "", + "mode": "link", + "links": [ + "23df4bcdf44d8fb5" + ], + "x": 1075, + "y": 240, + "wires": [] + }, + { + "id": "23df4bcdf44d8fb5", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "lights_on", + "links": [ + "08855d84c8b706c5", + "bc11b5fcd4517804", + "ded58b8858339a50", + "c42e126477f95efd", + "afb45d9b7c58d5f4" + ], + "x": 1175, + "y": 260, + "wires": [ + [ + "39e622ec3aded196", + "a57a01a27e4acb4e" + ] + ] + }, + { + "id": "ad00b5dd24bf1b4b", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "952d03b59f3e4e63", + "name": "", + "mode": "link", + "links": [ + "1a537ea592f17cb3" + ], + "x": 1075, + "y": 160, + "wires": [] + }, + { + "id": "4dc8b263af03f42c", + "type": "mqtt in", + "z": "0a42d22727f010dd", + "g": "ff540ae0bf87337e", + "name": "", + "topic": "zigbee2mqtt/Button I2 - 1/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 220, + "wires": [ + [ + "a3f7a75fc1eafeed" + ] + ] + }, + { + "id": "a3f7a75fc1eafeed", + "type": "switch", + "z": "0a42d22727f010dd", + "g": "ff540ae0bf87337e", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "eq", + "v": "off", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 490, + "y": 220, + "wires": [ + [ + "08855d84c8b706c5" + ], + [ + "16b061e2542b1647" + ] + ] + }, + { + "id": "a57a01a27e4acb4e", + "type": "change", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "salon_light=on", + "rules": [ + { + "t": "set", + "p": "salon_light", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1380, + "y": 160, + "wires": [ + [] + ] + }, + { + "id": "adf8f6e15cb6a227", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "mode": "link", + "links": [ + "33c985fd972d22d5", + "548e2973cde94c5a" + ], + "x": 715, + "y": 480, + "wires": [] + }, + { + "id": "33c985fd972d22d5", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "952d03b59f3e4e63", + "name": "lights_toggle", + "links": [ + "adf8f6e15cb6a227" + ], + "x": 815, + "y": 200, + "wires": [ + [ + "3ce7f85a94c2336e" + ] + ] + }, + { + "id": "08855d84c8b706c5", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "ff540ae0bf87337e", + "name": "", + "mode": "link", + "links": [ + "23df4bcdf44d8fb5" + ], + "x": 715, + "y": 160, + "wires": [] + }, + { + "id": "16b061e2542b1647", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "ff540ae0bf87337e", + "name": "", + "mode": "link", + "links": [ + "1a537ea592f17cb3" + ], + "x": 715, + "y": 280, + "wires": [] + }, + { + "id": "bd1cb0399c6c251f", + "type": "change", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1330, + "y": 660, + "wires": [ + [ + "90491e0e7345b73c", + "082722eb438e5397", + "7ad8befd838bf2dd", + "bf05fa02ae12c822", + "f45779081ef2b5e1" + ] + ] + }, + { + "id": "1a537ea592f17cb3", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "lights_off", + "links": [ + "16b061e2542b1647", + "3d24b8c92a133ad4", + "ad00b5dd24bf1b4b", + "163a95c9f09782df", + "7b400b67e01cef67", + "3761af907118e675", + "bb69e94b711c6774", + "e0196a0e809aff3b", + "8fbc63adf1de16de" + ], + "x": 1175, + "y": 600, + "wires": [ + [ + "bd1cb0399c6c251f", + "54669b4c64aada1f" + ] + ] + }, + { + "id": "54669b4c64aada1f", + "type": "change", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "salon_light=off", + "rules": [ + { + "t": "set", + "p": "salon_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1360, + "y": 520, + "wires": [ + [] + ] + }, + { + "id": "082722eb438e5397", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "", + "topic": "zigbee2mqtt/Switch I - 3/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1680, + "y": 600, + "wires": [] + }, + { + "id": "90491e0e7345b73c", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "", + "topic": "shellies/shelly1-S/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1700, + "y": 780, + "wires": [] + }, + { + "id": "c5610126d92c9705", + "type": "change", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "salon_light=off", + "rules": [ + { + "t": "set", + "p": "salon_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2140, + "y": 520, + "wires": [ + [] + ] + }, + { + "id": "33ab3fa8a7411b55", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "topic": "zigbee2mqtt/Switch I - 6/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2460, + "y": 720, + "wires": [] + }, + { + "id": "7ad8befd838bf2dd", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "", + "topic": "zigbee2mqtt/Switch I - 6/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1680, + "y": 660, + "wires": [] + }, + { + "id": "32ec877a5ec52aa8", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "", + "topic": "zigbee2mqtt/Switch I - 6/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1700, + "y": 240, + "wires": [] + }, + { + "id": "6cb34241bac51302", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "mode": "link", + "links": [ + "0b1f09099b771c4a", + "f0c1cacdf8b19ad9" + ], + "x": 2355, + "y": 920, + "wires": [] + }, + { + "id": "bf05fa02ae12c822", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "", + "topic": "zigbee2mqtt/Switch I - 8/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1680, + "y": 720, + "wires": [] + }, + { + "id": "9a226df207c8ef04", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "", + "topic": "zigbee2mqtt/Switch I - 8/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1700, + "y": 300, + "wires": [] + }, + { + "id": "86a26014a64f29d3", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "topic": "zigbee2mqtt/Switch I - 8/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2460, + "y": 660, + "wires": [] + }, + { + "id": "469c4b6ddb974ccf", + "type": "mqtt in", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "topic": "zigbee2mqtt/Button I5 - D/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 210, + "y": 540, + "wires": [ + [ + "e01e40a6c9618921" + ] + ] + }, + { + "id": "dd050b6af1d6b8a5", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "a883a78c8c088925", + "name": "", + "topic": "zigbee2mqtt/Light - Salon/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1700, + "y": 420, + "wires": [] + }, + { + "id": "f45779081ef2b5e1", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "c57ddb54f4189653", + "name": "", + "topic": "zigbee2mqtt/Light - Salon/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1680, + "y": 840, + "wires": [] + }, + { + "id": "f57b5398ecb17a90", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "", + "topic": "zigbee2mqtt/Light - Salon/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2460, + "y": 600, + "wires": [] + }, + { + "id": "b5ebf4ebf7b1a7fd", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "topic": "shutter/salon/open", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1360, + "y": 940, + "wires": [] + }, + { + "id": "afb674489d2bcf73", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "topic": "shutter/salon/close", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1360, + "y": 1080, + "wires": [] + }, + { + "id": "14dfa993785189f3", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "topic": "shutter/cuisine/open", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1550, + "y": 1020, + "wires": [] + }, + { + "id": "419ec1b9ac559c54", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "topic": "shutter/cuisine/close", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1550, + "y": 1160, + "wires": [] + }, + { + "id": "bdb7ebea1bead2c5", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "shutter_open", + "links": [ + "1158ac2d3c670f85", + "ce4d2f25ace1a5b4", + "3d0b6aa2ad58d604", + "d6c3903c7935d796", + "57d497c08ec3f436", + "0e6c529ebff9511b", + "949ad27b40da29a0", + "f3f00ac06b566957" + ], + "x": 1185, + "y": 980, + "wires": [ + [ + "b5ebf4ebf7b1a7fd", + "e064e5552f44cc87" + ] + ] + }, + { + "id": "6a111df09e13ddd9", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "shutter_close", + "links": [ + "5c0bf4c342625687", + "05d7c8a1beb17d15", + "334c9414c51f61fe", + "354b1825063de786", + "913a1ce427d1efa4", + "3a5f5a600f5384c5", + "69bc12d77ce4138c", + "bcca54c38212f65f", + "36e68c18846857db", + "51346d1fab93d4b0" + ], + "x": 1185, + "y": 1120, + "wires": [ + [ + "afb674489d2bcf73", + "c3428b61cedbfe1f" + ] + ] + }, + { + "id": "1158ac2d3c670f85", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "mode": "link", + "links": [ + "bdb7ebea1bead2c5" + ], + "x": 715, + "y": 520, + "wires": [] + }, + { + "id": "c3428b61cedbfe1f", + "type": "delay", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "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": 1330, + "y": 1160, + "wires": [ + [ + "419ec1b9ac559c54" + ] + ] + }, + { + "id": "e064e5552f44cc87", + "type": "delay", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "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": 1350, + "y": 1020, + "wires": [ + [ + "14dfa993785189f3" + ] + ] + }, + { + "id": "05d7c8a1beb17d15", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "mode": "link", + "links": [ + "6a111df09e13ddd9", + "b9d694a037035c60" + ], + "x": 715, + "y": 560, + "wires": [] + }, + { + "id": "be3d795345a2c6f6", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "mode": "link", + "links": [ + "69293875f7a396fb", + "33e48b8035d6b152" + ], + "x": 715, + "y": 440, + "wires": [] + }, + { + "id": "26f5deda996ee959", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "small_lights_toggle", + "links": [ + "f80721f09de671b9" + ], + "x": 1935, + "y": 1140, + "wires": [ + [ + "85957fd9280d863c" + ] + ] + }, + { + "id": "85957fd9280d863c", + "type": "switch", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "", + "property": "salon_small_light", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 2040, + "y": 1140, + "wires": [ + [ + "a3fde7b3220bf5ca", + "5745ac8a2f40c4ca" + ], + [ + "431119f72955041f", + "f097cc77bbde422e" + ] + ] + }, + { + "id": "f097cc77bbde422e", + "type": "change", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "salon_small_light=on", + "rules": [ + { + "t": "set", + "p": "salon_small_light", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2280, + "y": 1240, + "wires": [ + [] + ] + }, + { + "id": "a3fde7b3220bf5ca", + "type": "change", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "salon_small_light=off", + "rules": [ + { + "t": "set", + "p": "salon_small_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2280, + "y": 1020, + "wires": [ + [] + ] + }, + { + "id": "431119f72955041f", + "type": "change", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2230, + "y": 1160, + "wires": [ + [ + "7667b7772d757eec", + "56ab2d3f7b840527", + "b3e32b7107ab3631", + "4bbd2e3fc3245ae1" + ] + ] + }, + { + "id": "7667b7772d757eec", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "", + "topic": "zigbee2mqtt/Switch I - 3/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2580, + "y": 1040, + "wires": [] + }, + { + "id": "56ab2d3f7b840527", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "", + "topic": "zigbee2mqtt/Switch I - 6/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2580, + "y": 1100, + "wires": [] + }, + { + "id": "b3e32b7107ab3631", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "", + "topic": "zigbee2mqtt/Switch I - 8/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2580, + "y": 1160, + "wires": [] + }, + { + "id": "4bbd2e3fc3245ae1", + "type": "mqtt out", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "", + "topic": "zigbee2mqtt/Light - Salon/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 2580, + "y": 1220, + "wires": [] + }, + { + "id": "5745ac8a2f40c4ca", + "type": "change", + "z": "0a42d22727f010dd", + "g": "dfbd9e80bfc8e327", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2230, + "y": 1100, + "wires": [ + [ + "7667b7772d757eec", + "56ab2d3f7b840527", + "b3e32b7107ab3631", + "4bbd2e3fc3245ae1" + ] + ] + }, + { + "id": "f80721f09de671b9", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "778d8bae50b1d5a0", + "name": "", + "mode": "link", + "links": [ + "26f5deda996ee959" + ], + "x": 715, + "y": 400, + "wires": [] + }, + { + "id": "f35e10fa10009f82", + "type": "change", + "z": "0a42d22727f010dd", + "g": "116da04b7b730477", + "name": "salon_small_light=off", + "rules": [ + { + "t": "set", + "p": "salon_small_light", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 2160, + "y": 480, + "wires": [ + [] + ] + }, + { + "id": "75dfb5522d4d9598", + "type": "ui_gauge", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "display_temp", + "group": "af9970788ade198a", + "order": 6, + "width": 0, + "height": 0, + "gtype": "gage", + "title": "Temperature", + "label": "degrees", + "format": "{{value}}", + "min": "15", + "max": "25", + "colors": [ + "#00b500", + "#e6e600", + "#ca3838" + ], + "seg1": "", + "seg2": "", + "className": "", + "x": 630, + "y": 980, + "wires": [] + }, + { + "id": "1602a29b0f5b028e", + "type": "ui_button", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "open_shutters", + "group": "af9970788ade198a", + "order": 3, + "width": "3", + "height": "1", + "passthru": false, + "label": "Ouvrir", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-sunny", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 440, + "y": 920, + "wires": [ + [ + "3d0b6aa2ad58d604" + ] + ] + }, + { + "id": "2421411765b70e2b", + "type": "ui_button", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "close_shutters", + "group": "af9970788ade198a", + "order": 4, + "width": "3", + "height": "1", + "passthru": false, + "label": "Fermer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-dark_mode", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 440, + "y": 880, + "wires": [ + [ + "354b1825063de786" + ] + ] + }, + { + "id": "3633a391a36ffc76", + "type": "ui_button", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "turn_on_lights", + "group": "af9970788ade198a", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 440, + "y": 820, + "wires": [ + [ + "ded58b8858339a50" + ] + ] + }, + { + "id": "5c0d25f31b752b62", + "type": "ui_button", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "turn_off_lights", + "group": "af9970788ade198a", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 440, + "y": 780, + "wires": [ + [ + "bb69e94b711c6774" + ] + ] + }, + { + "id": "e0498aa62ba6328c", + "type": "poll-state", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "server": "e8029c895b4db2b7", + "version": 2, + "exposeToHomeAssistant": false, + "haConfig": [ + { + "property": "name", + "value": "" + }, + { + "property": "icon", + "value": "" + } + ], + "updateinterval": "10", + "updateIntervalType": "num", + "updateIntervalUnits": "seconds", + "outputinitially": false, + "outputonchanged": false, + "entity_id": "sensor.0x00158d0007e0b644_temperature", + "state_type": "str", + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "outputs": 1, + "x": 300, + "y": 980, + "wires": [ + [ + "75dfb5522d4d9598" + ] + ] + }, + { + "id": "bb69e94b711c6774", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "mode": "link", + "links": [ + "1a537ea592f17cb3" + ], + "x": 565, + "y": 780, + "wires": [] + }, + { + "id": "ded58b8858339a50", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "mode": "link", + "links": [ + "23df4bcdf44d8fb5" + ], + "x": 565, + "y": 820, + "wires": [] + }, + { + "id": "3d0b6aa2ad58d604", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "mode": "link", + "links": [ + "bdb7ebea1bead2c5" + ], + "x": 565, + "y": 920, + "wires": [] + }, + { + "id": "354b1825063de786", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "mode": "link", + "links": [ + "6a111df09e13ddd9", + "b9d694a037035c60" + ], + "x": 565, + "y": 880, + "wires": [] + }, + { + "id": "e4d35ed83e5aa00d", + "type": "ui_button", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "movie_mode", + "group": "af9970788ade198a", + "order": 5, + "width": "3", + "height": "1", + "passthru": false, + "label": "Film", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-movie", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 430, + "y": 720, + "wires": [ + [ + "ed0f45653e015115" + ] + ] + }, + { + "id": "ed0f45653e015115", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "c2981dbe8955ac48", + "name": "", + "mode": "link", + "links": [ + "69293875f7a396fb", + "33e48b8035d6b152" + ], + "x": 565, + "y": 720, + "wires": [] + }, + { + "id": "8a4d8bee4f352f16", + "type": "delay", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "pauseType": "delay", + "timeout": "31", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1300, + "y": 1260, + "wires": [ + [ + "0e6c529ebff9511b", + "86ef7c10ebbe59dd" + ] + ] + }, + { + "id": "69bc12d77ce4138c", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "mode": "link", + "links": [ + "6a111df09e13ddd9", + "b9d694a037035c60" + ], + "x": 1255, + "y": 1220, + "wires": [] + }, + { + "id": "0e6c529ebff9511b", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "mode": "link", + "links": [ + "bdb7ebea1bead2c5" + ], + "x": 1425, + "y": 1220, + "wires": [] + }, + { + "id": "bcca54c38212f65f", + "type": "link out", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "mode": "link", + "links": [ + "6a111df09e13ddd9" + ], + "x": 1695, + "y": 1260, + "wires": [] + }, + { + "id": "86ef7c10ebbe59dd", + "type": "function", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "func": "msg.delay = Math.round(1000*parseFloat(msg.payload)*33/100);\n\nreturn msg;", + "outputs": 1, + "noerr": 0, + "initialize": "", + "finalize": "", + "libs": [], + "x": 1460, + "y": 1260, + "wires": [ + [ + "e76a99a5f9096772" + ] + ] + }, + { + "id": "2d3e223f461c81cc", + "type": "link in", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "shutter_pos", + "links": [ + "eb8378d2f4284ba0" + ], + "x": 1185, + "y": 1260, + "wires": [ + [ + "8a4d8bee4f352f16", + "69bc12d77ce4138c" + ] + ] + }, + { + "id": "e76a99a5f9096772", + "type": "delay", + "z": "0a42d22727f010dd", + "g": "6705e3fef8975b14", + "name": "", + "pauseType": "delayv", + "timeout": "10", + "timeoutUnits": "seconds", + "rate": "1", + "nbRateUnits": "1", + "rateUnits": "second", + "randomFirst": "1", + "randomLast": "5", + "randomUnits": "seconds", + "drop": false, + "allowrate": false, + "outputs": 1, + "x": 1600, + "y": 1260, + "wires": [ + [ + "bcca54c38212f65f" + ] + ] + }, + { + "id": "c03c747742a7a454", + "type": "link in", + "z": "db9bc572e2ee5615", + "g": "05e2aaebf627fe7d", + "name": "lights_toggle", + "links": [], + "x": 935, + "y": 380, + "wires": [ + [ + "7c50f5d534648bb2" + ] + ] + }, + { + "id": "7c50f5d534648bb2", + "type": "switch", + "z": "db9bc572e2ee5615", + "g": "05e2aaebf627fe7d", + "name": "", + "property": "light_status", + "propertyType": "flow", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "else" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 1040, + "y": 380, + "wires": [ + [ + "bd688016403812f6" + ], + [ + "957259b9140c90d5" + ] + ] + }, + { + "id": "bd688016403812f6", + "type": "link out", + "z": "db9bc572e2ee5615", + "g": "05e2aaebf627fe7d", + "name": "", + "mode": "link", + "links": [ + "0b1f09099b771c4a" + ], + "x": 1145, + "y": 340, + "wires": [] + }, + { + "id": "957259b9140c90d5", + "type": "link out", + "z": "db9bc572e2ee5615", + "g": "05e2aaebf627fe7d", + "name": "", + "mode": "link", + "links": [ + "ca46b7e6f3dd35e3" + ], + "x": 1145, + "y": 420, + "wires": [] + }, + { + "id": "0b1f09099b771c4a", + "type": "link in", + "z": "db9bc572e2ee5615", + "g": "a6a0eca419534fc4", + "name": "lights_off", + "links": [ + "bd688016403812f6", + "163a95c9f09782df", + "6cb34241bac51302", + "7b400b67e01cef67", + "66d53a4ea6d171b1", + "3761af907118e675", + "f2029a816a3643ef" + ], + "x": 935, + "y": 800, + "wires": [ + [ + "4b521caab8d02cd3", + "bfc426a37209a33e" + ] + ] + }, + { + "id": "bfc426a37209a33e", + "type": "change", + "z": "db9bc572e2ee5615", + "g": "a6a0eca419534fc4", + "name": "light_status=off", + "rules": [ + { + "t": "set", + "p": "light_status", + "pt": "flow", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1080, + "y": 740, + "wires": [ + [] + ] + }, + { + "id": "4b521caab8d02cd3", + "type": "change", + "z": "db9bc572e2ee5615", + "g": "a6a0eca419534fc4", + "name": "off", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "off", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1050, + "y": 800, + "wires": [ + [ + "e33594efcaebc4ca", + "d56efbd2dfef98ee" + ] + ] + }, + { + "id": "e33594efcaebc4ca", + "type": "mqtt out", + "z": "db9bc572e2ee5615", + "g": "a6a0eca419534fc4", + "name": "", + "topic": "shellies/shelly25-c/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1370, + "y": 800, + "wires": [] + }, + { + "id": "d56efbd2dfef98ee", + "type": "mqtt out", + "z": "db9bc572e2ee5615", + "g": "a6a0eca419534fc4", + "name": "", + "topic": "shellies/shelly25-c/relay/1/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1370, + "y": 860, + "wires": [] + }, + { + "id": "a2fd676a88c0e35e", + "type": "mqtt out", + "z": "db9bc572e2ee5615", + "g": "5e4bac318de6f4ce", + "name": "", + "topic": "shellies/shelly25-c/relay/0/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1370, + "y": 580, + "wires": [] + }, + { + "id": "f8fdb3a1964a54db", + "type": "change", + "z": "db9bc572e2ee5615", + "g": "5e4bac318de6f4ce", + "name": "on", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1050, + "y": 580, + "wires": [ + [ + "a2fd676a88c0e35e", + "d45f3aecb844ca5c" + ] + ] + }, + { + "id": "ca46b7e6f3dd35e3", + "type": "link in", + "z": "db9bc572e2ee5615", + "g": "5e4bac318de6f4ce", + "name": "lights_on", + "links": [ + "957259b9140c90d5", + "03465663e705a624" + ], + "x": 935, + "y": 580, + "wires": [ + [ + "f8fdb3a1964a54db", + "1ac262e0efc9cdcd" + ] + ] + }, + { + "id": "1ac262e0efc9cdcd", + "type": "change", + "z": "db9bc572e2ee5615", + "g": "5e4bac318de6f4ce", + "name": "light_status=on", + "rules": [ + { + "t": "set", + "p": "light_status", + "pt": "flow", + "to": "on", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1080, + "y": 520, + "wires": [ + [] + ] + }, + { + "id": "d45f3aecb844ca5c", + "type": "mqtt out", + "z": "db9bc572e2ee5615", + "g": "5e4bac318de6f4ce", + "name": "", + "topic": "shellies/shelly25-c/relay/1/command", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1370, + "y": 640, + "wires": [] + }, + { + "id": "0431eb69c7eada5e", + "type": "ui_button", + "z": "db9bc572e2ee5615", + "g": "8e8e2b06531cf7ea", + "name": "turn_on_lights", + "group": "3db501c5604ac024", + "order": 1, + "width": "3", + "height": "1", + "passthru": false, + "label": "Allumer", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1000, + "y": 1100, + "wires": [ + [ + "03465663e705a624" + ] + ] + }, + { + "id": "1c413f25c905b78d", + "type": "ui_button", + "z": "db9bc572e2ee5615", + "g": "8e8e2b06531cf7ea", + "name": "turn_off_lights", + "group": "3db501c5604ac024", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Eteindre", + "tooltip": "", + "color": "", + "bgcolor": "", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 1000, + "y": 1060, + "wires": [ + [ + "f2029a816a3643ef" + ] + ] + }, + { + "id": "03465663e705a624", + "type": "link out", + "z": "db9bc572e2ee5615", + "g": "8e8e2b06531cf7ea", + "name": "", + "mode": "link", + "links": [ + "ca46b7e6f3dd35e3" + ], + "x": 1135, + "y": 1100, + "wires": [] + }, + { + "id": "f2029a816a3643ef", + "type": "link out", + "z": "db9bc572e2ee5615", + "g": "8e8e2b06531cf7ea", + "name": "", + "mode": "link", + "links": [ + "0b1f09099b771c4a" + ], + "x": 1135, + "y": 1060, + "wires": [] + }, + { + "id": "d9caf1275c429f82", + "type": "link in", + "z": "b25ee2aa37a6f6c7", + "g": "b9958363a175fef0", + "name": "shutters_close", + "links": [ + "7891e3d842f4b302", + "738c7cd7ca7ddc4c", + "1fbab7c7bbddfe43", + "f83c9ca3e198ffc8", + "aa81740fe6c673c8", + "f236aa911733c790", + "d92da07778e3a845" + ], + "x": 495, + "y": 360, + "wires": [ + [ + "334c9414c51f61fe" + ] + ] + }, + { + "id": "8adaf966199082df", + "type": "link in", + "z": "b25ee2aa37a6f6c7", + "g": "43f32c9819cea47f", + "name": "shutters_open", + "links": [ + "88cfc557b57d43a3", + "85f68471d298c417", + "5cbeb21818eda2fa", + "bcd4220ac3e8d0cc" + ], + "x": 505, + "y": 80, + "wires": [ + [ + "ce4d2f25ace1a5b4" + ] + ] + }, + { + "id": "ce4d2f25ace1a5b4", + "type": "link out", + "z": "b25ee2aa37a6f6c7", + "g": "43f32c9819cea47f", + "name": "", + "mode": "link", + "links": [ + "55c0b26e54184769", + "bdb7ebea1bead2c5", + "ce49e655294af263", + "f79dc2a4d9e64eaa" + ], + "x": 605, + "y": 80, + "wires": [] + }, + { + "id": "334c9414c51f61fe", + "type": "link out", + "z": "b25ee2aa37a6f6c7", + "g": "b9958363a175fef0", + "name": "", + "mode": "link", + "links": [ + "6a111df09e13ddd9", + "9c9de6944a7dc18c", + "d2a858c6565ae622", + "e241837dea7d42c0", + "b9d694a037035c60" + ], + "x": 595, + "y": 360, + "wires": [] + }, + { + "id": "2c8ec2b6ada61aef", + "type": "link in", + "z": "b25ee2aa37a6f6c7", + "g": "ecb7cfecef795508", + "name": "all_lights_off", + "links": [ + "85c1490ffbd2234e" + ], + "x": 505, + "y": 780, + "wires": [ + [ + "3761af907118e675" + ] + ] + }, + { + "id": "3761af907118e675", + "type": "link out", + "z": "b25ee2aa37a6f6c7", + "g": "ecb7cfecef795508", + "name": "", + "mode": "link", + "links": [ + "0b1f09099b771c4a", + "1a537ea592f17cb3", + "8204f2ddb8b40a9f", + "963369a243df7e12", + "b4acf030bc227db8", + "f0c1cacdf8b19ad9" + ], + "x": 605, + "y": 780, + "wires": [] + }, + { + "id": "f43facce81d50978", + "type": "ui_button", + "z": "b25ee2aa37a6f6c7", + "name": "open_shutters", + "group": "35ec469a61377da8", + "order": 3, + "width": "3", + "height": "1", + "passthru": false, + "label": "Tout Ouvrir", + "tooltip": "Ouvrir Volets", + "color": "", + "bgcolor": "#dc143c", + "className": "", + "icon": "mi-sunny", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 360, + "y": 140, + "wires": [ + [ + "ce4d2f25ace1a5b4" + ] + ] + }, + { + "id": "be4955465cb383e9", + "type": "ui_button", + "z": "b25ee2aa37a6f6c7", + "name": "close_shutters", + "group": "35ec469a61377da8", + "order": 4, + "width": "3", + "height": "1", + "passthru": false, + "label": "Tout Fermer", + "tooltip": "Fermer Volets", + "color": "", + "bgcolor": "#dc143c", + "className": "", + "icon": "mi-dark_mode", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 340, + "y": 420, + "wires": [ + [ + "334c9414c51f61fe" + ] + ] + }, + { + "id": "9a4af249d3e1d4e4", + "type": "ui_button", + "z": "b25ee2aa37a6f6c7", + "name": "turn_off_lights", + "group": "35ec469a61377da8", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Tout Eteindre", + "tooltip": "Eteindre Lumière", + "color": "", + "bgcolor": "#dc143c", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 350, + "y": 840, + "wires": [ + [ + "3761af907118e675" + ] + ] + }, + { + "id": "1258e0c1a1438399", + "type": "ui_button", + "z": "b25ee2aa37a6f6c7", + "name": "soleil", + "group": "35ec469a61377da8", + "order": 2, + "width": "3", + "height": "1", + "passthru": false, + "label": "Soleil", + "tooltip": "Fermer volets pour protection", + "color": "", + "bgcolor": "#dc143c", + "className": "", + "icon": "mi-lightbulb_outline", + "payload": "", + "payloadType": "str", + "topic": "topic", + "topicType": "msg", + "x": 320, + "y": 920, + "wires": [ + [ + "7810d6a8ebce5b6b" + ] + ] + }, + { + "id": "7810d6a8ebce5b6b", + "type": "change", + "z": "b25ee2aa37a6f6c7", + "name": "set shutters to 20", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "20", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 580, + "y": 920, + "wires": [ + [ + "eb8378d2f4284ba0" + ] + ] + }, + { + "id": "eb8378d2f4284ba0", + "type": "link out", + "z": "b25ee2aa37a6f6c7", + "name": "", + "mode": "link", + "links": [ + "2d3e223f461c81cc", + "517466ce89c7bfaa", + "c4cd293621048257", + "e62810365e633317" + ], + "x": 745, + "y": 920, + "wires": [] + }, + { + "id": "100f40ca5d5dcfad", + "type": "time-inject", + "z": "b25ee2aa37a6f6c7", + "name": "", + "nameInt": "⏲ sunrise end = timestamp", + "positionConfig": "aa5b400bf9512793", + "props": [ + { + "p": "", + "pt": "msgPayload", + "v": "", + "vt": "date", + "o": "", + "oT": "none", + "oM": "60000", + "f": 0, + "fS": 0, + "fT": "UNIX timestamp (ms)", + "fI": "0", + "next": true, + "days": "*", + "months": "*", + "onlyOddDays": false, + "onlyEvenDays": false, + "onlyOddWeeks": false, + "onlyEvenWeeks": false + }, + { + "p": "", + "pt": "msgTopic", + "v": "", + "vt": "str", + "o": "", + "oT": "none", + "oM": "60000", + "f": 0, + "fS": 0, + "fT": "UNIX timestamp (ms)", + "fI": "0", + "next": false, + "days": "*", + "months": "*", + "onlyOddDays": false, + "onlyEvenDays": false, + "onlyOddWeeks": false, + "onlyEvenWeeks": false + } + ], + "injectTypeSelect": "time", + "intervalCount": 1, + "intervalCountType": "num", + "intervalCountMultiplier": 60000, + "time": "sunriseEnd", + "timeType": "pdsTime", + "offset": 0, + "offsetType": "none", + "offsetMultiplier": 60000, + "timeEnd": "", + "timeEndType": "entered", + "timeEndOffset": 0, + "timeEndOffsetType": "none", + "timeEndOffsetMultiplier": 60000, + "timeDays": "*", + "timeOnlyOddDays": false, + "timeOnlyEvenDays": false, + "timeOnlyOddWeeks": false, + "timeOnlyEvenWeeks": false, + "timeMonths": "*", + "timedatestart": "", + "timedateend": "", + "property": "", + "propertyType": "none", + "propertyCompare": "true", + "propertyThreshold": "", + "propertyThresholdType": "num", + "timeAlt": "", + "timeAltType": "entered", + "timeAltDays": "*", + "timeAltOnlyOddDays": false, + "timeAltOnlyEvenDays": false, + "timeAltOnlyOddWeeks": false, + "timeAltOnlyEvenWeeks": false, + "timeAltMonths": "*", + "timeAltOffset": 0, + "timeAltOffsetType": "none", + "timeAltOffsetMultiplier": 60000, + "once": false, + "onceDelay": 0.1, + "recalcTime": 2, + "x": 180, + "y": 500, + "wires": [ + [ + "d7b3a518aadaeb6b" + ] + ] + }, + { + "id": "877f0a4994eec3d8", + "type": "ui_switch", + "z": "b25ee2aa37a6f6c7", + "name": "", + "label": "Auto Fermer", + "tooltip": "", + "group": "35ec469a61377da8", + "order": 4, + "width": 0, + "height": 0, + "passthru": true, + "decouple": "false", + "topic": "topic", + "topicType": "msg", + "style": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "animate": false, + "className": "", + "x": 350, + "y": 580, + "wires": [ + [ + "b2128f82e2cef55c" + ] + ] + }, + { + "id": "b2128f82e2cef55c", + "type": "change", + "z": "b25ee2aa37a6f6c7", + "name": "auto_close_shutters", + "rules": [ + { + "t": "set", + "p": "auto_close_shutters", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 560, + "y": 580, + "wires": [ + [] + ] + }, + { + "id": "d7b3a518aadaeb6b", + "type": "switch", + "z": "b25ee2aa37a6f6c7", + "name": "if auto", + "property": "auto_close_shutters", + "propertyType": "flow", + "rules": [ + { + "t": "true" + } + ], + "checkall": "true", + "repair": false, + "outputs": 1, + "x": 430, + "y": 500, + "wires": [ + [ + "334c9414c51f61fe" + ] + ] + }, + { + "id": "d27abb535ee54ce5", + "type": "time-inject", + "z": "b25ee2aa37a6f6c7", + "name": "", + "nameInt": "⏲ sunset start = timestamp", + "positionConfig": "aa5b400bf9512793", + "props": [ + { + "p": "", + "pt": "msgPayload", + "v": "", + "vt": "date", + "o": "", + "oT": "none", + "oM": "60000", + "f": 0, + "fS": 0, + "fT": "UNIX timestamp (ms)", + "fI": "0", + "next": true, + "days": "*", + "months": "*", + "onlyOddDays": false, + "onlyEvenDays": false, + "onlyOddWeeks": false, + "onlyEvenWeeks": false + }, + { + "p": "", + "pt": "msgTopic", + "v": "", + "vt": "str", + "o": "", + "oT": "none", + "oM": "60000", + "f": 0, + "fS": 0, + "fT": "UNIX timestamp (ms)", + "fI": "0", + "next": false, + "days": "*", + "months": "*", + "onlyOddDays": false, + "onlyEvenDays": false, + "onlyOddWeeks": false, + "onlyEvenWeeks": false + } + ], + "injectTypeSelect": "time", + "intervalCount": 1, + "intervalCountType": "num", + "intervalCountMultiplier": 60000, + "time": "sunsetStart", + "timeType": "pdsTime", + "offset": 0, + "offsetType": "none", + "offsetMultiplier": 60000, + "timeEnd": "", + "timeEndType": "entered", + "timeEndOffset": 0, + "timeEndOffsetType": "none", + "timeEndOffsetMultiplier": 60000, + "timeDays": "*", + "timeOnlyOddDays": false, + "timeOnlyEvenDays": false, + "timeOnlyOddWeeks": false, + "timeOnlyEvenWeeks": false, + "timeMonths": "*", + "timedatestart": "", + "timedateend": "", + "property": "", + "propertyType": "none", + "propertyCompare": "true", + "propertyThreshold": "", + "propertyThresholdType": "num", + "timeAlt": "", + "timeAltType": "entered", + "timeAltDays": "*", + "timeAltOnlyOddDays": false, + "timeAltOnlyEvenDays": false, + "timeAltOnlyOddWeeks": false, + "timeAltOnlyEvenWeeks": false, + "timeAltMonths": "*", + "timeAltOffset": 0, + "timeAltOffsetType": "none", + "timeAltOffsetMultiplier": 60000, + "once": false, + "onceDelay": 0.1, + "recalcTime": 2, + "x": 180, + "y": 200, + "wires": [ + [ + "f5c0e3106672fe35" + ] + ] + }, + { + "id": "2c466193e9ae4223", + "type": "ui_switch", + "z": "b25ee2aa37a6f6c7", + "name": "", + "label": "Auto Ouvrir", + "tooltip": "", + "group": "35ec469a61377da8", + "order": 4, + "width": 0, + "height": 0, + "passthru": true, + "decouple": "false", + "topic": "topic", + "topicType": "msg", + "style": "", + "onvalue": "true", + "onvalueType": "bool", + "onicon": "", + "oncolor": "", + "offvalue": "false", + "offvalueType": "bool", + "officon": "", + "offcolor": "", + "animate": false, + "className": "", + "x": 350, + "y": 280, + "wires": [ + [ + "9ce6289b6b11f487" + ] + ] + }, + { + "id": "9ce6289b6b11f487", + "type": "change", + "z": "b25ee2aa37a6f6c7", + "name": "auto_open_shutters", + "rules": [ + { + "t": "set", + "p": "auto_open_shutters", + "pt": "flow", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 560, + "y": 280, + "wires": [ + [] + ] + }, + { + "id": "f5c0e3106672fe35", + "type": "switch", + "z": "b25ee2aa37a6f6c7", + "name": "if auto", + "property": "auto_open_shutters", + "propertyType": "flow", + "rules": [ + { + "t": "true" + } + ], + "checkall": "true", + "repair": false, + "outputs": 1, + "x": 430, + "y": 200, + "wires": [ + [ + "ce4d2f25ace1a5b4" + ] + ] + }, + { + "id": "911da543d02b9165", + "type": "ui_gauge", + "z": "c74a8f8d03f84b85", + "g": "eb32544602494977", + "name": "display_temp", + "group": "fcd10a2f3ce06a56", + "order": 7, + "width": 0, + "height": 0, + "gtype": "gage", + "title": "Temperature", + "label": "degrees", + "format": "{{value}}", + "min": "15", + "max": "25", + "colors": [ + "#00b500", + "#e6e600", + "#ca3838" + ], + "seg1": "", + "seg2": "", + "className": "", + "x": 790, + "y": 380, + "wires": [] + }, + { + "id": "92039483ba5e08e9", + "type": "poll-state", + "z": "c74a8f8d03f84b85", + "g": "eb32544602494977", + "name": "", + "server": "e8029c895b4db2b7", + "version": 2, + "exposeToHomeAssistant": false, + "haConfig": [ + { + "property": "name", + "value": "" + }, + { + "property": "icon", + "value": "" + } + ], + "updateinterval": "10", + "updateIntervalType": "num", + "updateIntervalUnits": "seconds", + "outputinitially": false, + "outputonchanged": false, + "entity_id": "sensor.temperature_bain", + "state_type": "str", + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "outputs": 1, + "x": 500, + "y": 380, + "wires": [ + [ + "911da543d02b9165" + ] + ] + }, + { + "id": "40189f8ee1d321b5", + "type": "mqtt in", + "z": "3b2abaad11346b04", + "name": "", + "topic": "zigbee2mqtt/Door - E", + "qos": "2", + "datatype": "json", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 500, + "y": 480, + "wires": [ + [ + "d487ce1a5c9f473e" + ] + ] + }, + { + "id": "d487ce1a5c9f473e", + "type": "switch", + "z": "3b2abaad11346b04", + "name": "", + "property": "payload.contact", + "propertyType": "msg", + "rules": [ + { + "t": "true" + }, + { + "t": "false" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 790, + "y": 480, + "wires": [ + [ + "2fa5a13d4a0738f9" + ], + [ + "f31b63e53d6b76a0" + ] + ] + }, + { + "id": "c103dd0189f2fc3b", + "type": "http request", + "z": "3b2abaad11346b04", + "name": "", + "method": "POST", + "ret": "obj", + "paytoqs": "ignore", + "url": "https://gotify.tdehaeze.xyz/message?token=Arpnr_rF0IghcPh", + "tls": "", + "persist": false, + "proxy": "", + "authType": "", + "senderr": false, + "x": 1310, + "y": 480, + "wires": [ + [] + ] + }, + { + "id": "2fa5a13d4a0738f9", + "type": "change", + "z": "3b2abaad11346b04", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\"title\": \"Porte\", \"message\": \"Fermée\"}", + "tot": "json" + }, + { + "t": "set", + "p": "headers", + "pt": "msg", + "to": "{\"Content-Type\": \"application/json\"}", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1040, + "y": 440, + "wires": [ + [ + "c103dd0189f2fc3b" + ] + ] + }, + { + "id": "f31b63e53d6b76a0", + "type": "change", + "z": "3b2abaad11346b04", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\"title\": \"Porte\", \"message\": \"Ouverte\"}", + "tot": "json" + }, + { + "t": "set", + "p": "headers", + "pt": "msg", + "to": "{\"Content-Type\": \"application/json\"}", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 1040, + "y": 520, + "wires": [ + [ + "c103dd0189f2fc3b" + ] + ] + }, + { + "id": "42f079a12cc368d5", + "type": "comment", + "z": "3b2abaad11346b04", + "name": "", + "info": "Check if the main door is open or not.\nSend a Gotify notification.", + "x": 670, + "y": 140, + "wires": [] + }, + { + "id": "731d134a882eda86", + "type": "mqtt in", + "z": "3b2abaad11346b04", + "g": "4668bba96f4a83cf", + "name": "", + "topic": "zigbee2mqtt/Button I2 - 2/action", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 550, + "y": 780, + "wires": [ + [ + "6e899e399690043a" + ] + ] + }, + { + "id": "6e899e399690043a", + "type": "switch", + "z": "3b2abaad11346b04", + "g": "4668bba96f4a83cf", + "name": "", + "property": "payload", + "propertyType": "msg", + "rules": [ + { + "t": "eq", + "v": "on", + "vt": "str" + }, + { + "t": "eq", + "v": "off", + "vt": "str" + } + ], + "checkall": "true", + "repair": false, + "outputs": 2, + "x": 810, + "y": 780, + "wires": [ + [ + "58396153ce97fcb4" + ], + [ + "40b384ae568bf55b" + ] + ] + }, + { + "id": "58396153ce97fcb4", + "type": "link out", + "z": "3b2abaad11346b04", + "g": "4668bba96f4a83cf", + "name": "", + "mode": "link", + "links": [ + "8a54b81f93fed5cd" + ], + "x": 935, + "y": 740, + "wires": [] + }, + { + "id": "40b384ae568bf55b", + "type": "link out", + "z": "3b2abaad11346b04", + "g": "4668bba96f4a83cf", + "name": "", + "mode": "link", + "links": [ + "e1549b201870d3dc" + ], + "x": 935, + "y": 820, + "wires": [] + }, + { + "id": "e1549b201870d3dc", + "type": "link in", + "z": "3b2abaad11346b04", + "g": "e57fd02d3c5cb6c7", + "name": "go-out", + "links": [ + "40b384ae568bf55b" + ], + "x": 1055, + "y": 820, + "wires": [ + [ + "f236aa911733c790", + "7b400b67e01cef67" + ] + ] + }, + { + "id": "f236aa911733c790", + "type": "link out", + "z": "3b2abaad11346b04", + "g": "e57fd02d3c5cb6c7", + "name": "", + "mode": "link", + "links": [ + "d9caf1275c429f82" + ], + "x": 1225, + "y": 760, + "wires": [] + }, + { + "id": "7b400b67e01cef67", + "type": "link out", + "z": "3b2abaad11346b04", + "g": "e57fd02d3c5cb6c7", + "name": "", + "mode": "link", + "links": [ + "0b1f09099b771c4a", + "1a537ea592f17cb3", + "8204f2ddb8b40a9f", + "963369a243df7e12", + "b4acf030bc227db8", + "f0c1cacdf8b19ad9", + "f24e475561991c29", + "b17d20d148362bdb", + "1f579630fc1d76a4" + ], + "x": 1225, + "y": 860, + "wires": [] + }, + { + "id": "7ff25394fcab7b5e", + "type": "http request", + "z": "1de88698be976d61", + "g": "6c31c8f516e2208c", + "name": "", + "method": "POST", + "ret": "obj", + "paytoqs": "ignore", + "url": "https://gotify.tdehaeze.xyz/message?token=Arpnr_rF0IghcPh", + "tls": "", + "persist": false, + "proxy": "", + "authType": "", + "senderr": false, + "x": 730, + "y": 260, + "wires": [ + [] + ] + }, + { + "id": "78fbe171dfede154", + "type": "change", + "z": "1de88698be976d61", + "g": "6c31c8f516e2208c", + "name": "", + "rules": [ + { + "t": "set", + "p": "payload", + "pt": "msg", + "to": "{\"title\": \"test\", \"message\": \"test aa\"}", + "tot": "json" + }, + { + "t": "set", + "p": "headers", + "pt": "msg", + "to": "{\"Content-Type\": \"application/json\"}", + "tot": "str" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 520, + "y": 260, + "wires": [ + [ + "7ff25394fcab7b5e" + ] + ] + }, + { + "id": "5d19471ef0347607", + "type": "inject", + "z": "1de88698be976d61", + "g": "6c31c8f516e2208c", + "name": "", + "props": [], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "x": 330, + "y": 260, + "wires": [ + [ + "78fbe171dfede154" + ] + ] + }, + { + "id": "ebe6d5003c4ec784", + "type": "ha-entity", + "z": "1de88698be976d61", + "g": "2b260d736f9f6b07", + "name": "", + "server": "e8029c895b4db2b7", + "version": 1, + "debugenabled": false, + "outputs": 2, + "entityType": "switch", + "config": [ + { + "property": "name", + "value": "entity_id" + }, + { + "property": "device_class", + "value": "" + }, + { + "property": "icon", + "value": "" + }, + { + "property": "unit_of_measurement", + "value": "" + } + ], + "state": "payload", + "stateType": "msg", + "attributes": [], + "resend": true, + "outputLocation": "", + "outputLocationType": "none", + "inputOverride": "allow", + "outputOnStateChange": false, + "outputPayload": "", + "outputPayloadType": "str", + "x": 390, + "y": 520, + "wires": [ + [ + "69d6e3c40bf602e7" + ], + [] + ] + }, + { + "id": "69d6e3c40bf602e7", + "type": "debug", + "z": "1de88698be976d61", + "g": "2b260d736f9f6b07", + "name": "", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": true, + "complete": "payload", + "targetType": "msg", + "statusVal": "payload", + "statusType": "auto", + "x": 590, + "y": 480, + "wires": [] + }, + { + "id": "d66e9706250382ab", + "type": "comment", + "z": "1de88698be976d61", + "g": "2b260d736f9f6b07", + "name": "", + "info": "On Home Assistant, the entity will be called \"switch.entity_id\".\nThe service to call is \"nodered.trigger\"\nand the service data is:\n\"entity_id:switch.entity_id\"", + "x": 610, + "y": 540, + "wires": [] + }, + { + "id": "52bd0b878380d680", + "type": "ha-entity", + "z": "1de88698be976d61", + "g": "d93e939ae7aba0c3", + "name": "Light 1", + "server": "e8029c895b4db2b7", + "version": 1, + "debugenabled": false, + "outputs": 1, + "entityType": "binary_sensor", + "config": [ + { + "property": "name", + "value": "Light 1" + }, + { + "property": "device_class", + "value": "" + }, + { + "property": "icon", + "value": "" + }, + { + "property": "unit_of_measurement", + "value": "" + } + ], + "state": "payload", + "stateType": "msg", + "attributes": [], + "resend": true, + "outputLocation": "payload", + "outputLocationType": "none", + "inputOverride": "allow", + "outputOnStateChange": false, + "outputPayload": "$entity().state ? \"on\": \"off\"", + "outputPayloadType": "jsonata", + "x": 590, + "y": 740, + "wires": [ + [] + ] + }, + { + "id": "9c14699cac4c381c", + "type": "inject", + "z": "1de88698be976d61", + "g": "d93e939ae7aba0c3", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "off", + "payloadType": "str", + "x": 410, + "y": 720, + "wires": [ + [ + "52bd0b878380d680" + ] + ] + }, + { + "id": "8d7a5845cb70cfe9", + "type": "inject", + "z": "1de88698be976d61", + "g": "d93e939ae7aba0c3", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "on", + "payloadType": "str", + "x": 410, + "y": 760, + "wires": [ + [ + "52bd0b878380d680" + ] + ] + }, + { + "id": "57ded9c648aa2c3d", + "type": "ha-entity", + "z": "1de88698be976d61", + "g": "680ba3f833dde689", + "name": "aaaa", + "server": "e8029c895b4db2b7", + "version": 1, + "debugenabled": false, + "outputs": 2, + "entityType": "switch", + "config": [ + { + "property": "name", + "value": "aaaa" + }, + { + "property": "device_class", + "value": "" + }, + { + "property": "icon", + "value": "" + }, + { + "property": "unit_of_measurement", + "value": "" + } + ], + "state": "payload", + "stateType": "msg", + "attributes": [], + "resend": true, + "outputLocation": "payload", + "outputLocationType": "none", + "inputOverride": "allow", + "outputOnStateChange": true, + "outputPayload": "$entity().state ? \"on\": \"off\"", + "outputPayloadType": "jsonata", + "x": 870, + "y": 760, + "wires": [ + [ + "6ea477f2868fe845" + ], + [ + "6ea477f2868fe845" + ] + ] + }, + { + "id": "6ea477f2868fe845", + "type": "mqtt out", + "z": "1de88698be976d61", + "g": "680ba3f833dde689", + "name": "", + "topic": "shellies/shelly1-1/relay/0/command", + "qos": "", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1100, + "y": 760, + "wires": [] + }, + { + "id": "50175b6e89b462a4", + "type": "api-call-service", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "", + "server": "e8029c895b4db2b7", + "version": 3, + "debugenabled": false, + "service_domain": "switch", + "service": "turn_on", + "entityId": "switch.aaaa", + "data": "", + "dataType": "jsonata", + "mergecontext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "x": 1070, + "y": 520, + "wires": [ + [] + ] + }, + { + "id": "48608b9a838553cc", + "type": "inject", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "on", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payloadType": "str", + "x": 890, + "y": 520, + "wires": [ + [ + "50175b6e89b462a4" + ] + ] + }, + { + "id": "29d7d88984437883", + "type": "api-call-service", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "", + "server": "e8029c895b4db2b7", + "version": 3, + "debugenabled": false, + "service_domain": "switch", + "service": "turn_off", + "entityId": "switch.aaaa", + "data": "", + "dataType": "jsonata", + "mergecontext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "x": 1070, + "y": 580, + "wires": [ + [] + ] + }, + { + "id": "dfd57ad7b68d99fb", + "type": "api-call-service", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "", + "server": "e8029c895b4db2b7", + "version": 3, + "debugenabled": false, + "service_domain": "switch", + "service": "toggle", + "entityId": "switch.aaaa", + "data": "", + "dataType": "jsonata", + "mergecontext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "x": 1070, + "y": 640, + "wires": [ + [] + ] + }, + { + "id": "591a591128e08938", + "type": "inject", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "off", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payloadType": "str", + "x": 890, + "y": 580, + "wires": [ + [ + "29d7d88984437883" + ] + ] + }, + { + "id": "81e945e705070d2a", + "type": "inject", + "z": "1de88698be976d61", + "g": "6b3d3fde68b483e5", + "name": "toggle", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payloadType": "str", + "x": 890, + "y": 640, + "wires": [ + [ + "dfd57ad7b68d99fb" + ] + ] + }, + { + "id": "a5fb4f34750eee2a", + "type": "mqtt in", + "z": "336246bd26fa3586", + "name": "", + "topic": "valetudo/dreamed9/WifiConfigurationCapability/ips", + "qos": "2", + "datatype": "auto", + "broker": "96ec8023455fb9e5", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 810, + "y": 260, + "wires": [ + [ + "f6dab7e5fe7f6efd" + ] + ] + }, + { + "id": "f6dab7e5fe7f6efd", + "type": "debug", + "z": "336246bd26fa3586", + "name": "", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "false", + "statusVal": "", + "statusType": "auto", + "x": 1140, + "y": 260, + "wires": [] + }, + { + "id": "c76799f681c6d4cd", + "type": "mqtt out", + "z": "336246bd26fa3586", + "name": "", + "topic": "valetudo/dreamed9/BasicControlCapability/operation/set", + "qos": "2", + "retain": "", + "respTopic": "", + "contentType": "", + "userProps": "", + "correl": "", + "expiry": "", + "broker": "96ec8023455fb9e5", + "x": 1310, + "y": 520, + "wires": [] + }, + { + "id": "20b5c99be67fbe07", + "type": "inject", + "z": "336246bd26fa3586", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "START", + "payloadType": "str", + "x": 790, + "y": 440, + "wires": [ + [ + "c76799f681c6d4cd" + ] + ] + }, + { + "id": "0810b16615a0f5a8", + "type": "inject", + "z": "336246bd26fa3586", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "STOP", + "payloadType": "str", + "x": 790, + "y": 500, + "wires": [ + [ + "c76799f681c6d4cd" + ] + ] + }, + { + "id": "af7c4b0b751324a2", + "type": "inject", + "z": "336246bd26fa3586", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "PAUSE", + "payloadType": "str", + "x": 790, + "y": 560, + "wires": [ + [ + "c76799f681c6d4cd" + ] + ] + }, + { + "id": "ba3cc1a7f8c067e7", + "type": "inject", + "z": "336246bd26fa3586", + "name": "", + "props": [ + { + "p": "payload" + } + ], + "repeat": "", + "crontab": "", + "once": false, + "onceDelay": 0.1, + "topic": "", + "payload": "HOME", + "payloadType": "str", + "x": 790, + "y": 620, + "wires": [ + [ + "c76799f681c6d4cd" + ] + ] + } +] \ No newline at end of file diff --git a/flows_cred.json b/flows_cred.json new file mode 100644 index 0000000..bdf5e25 --- /dev/null +++ b/flows_cred.json @@ -0,0 +1,12 @@ +{ + "96ec8023455fb9e5": {}, + "e8029c895b4db2b7": { + "host": "http://home.tdehaeze.xyz:8123", + "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJiYTJhZDgwNzY2ZTA0ZGZjYmVmOGExNDM1ODg3ODU1MiIsImlhdCI6MTYzOTA4NjA1NiwiZXhwIjoxOTU0NDQ2MDU2fQ.Wfy0aQxW-8CkEZ1X4Kh3O8SsxPnivPR15kPwdvCpR5U" + }, + "7ff25394fcab7b5e": {}, + "aa5b400bf9512793": { + "posLatitude": "45.178422", + "posLongitude": "5.710695" + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..96dff00 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "home-automation", + "description": "A Node-RED Project", + "version": "0.0.1", + "dependencies": {}, + "node-red": { + "settings": { + "flowFile": "flows.json", + "credentialsFile": "flows_cred.json" + } + } +} \ No newline at end of file