iotredloop/flows/U.Room.Scene.json

10738 lines
202 KiB
JSON
Raw Normal View History

2024-05-20 01:07:39 +00:00
[
{
"id": "eeb3b84351fc9295",
"type": "tab",
"label": "U.Room.Scene",
"disabled": false,
"info": "",
"env": []
},
{
"id": "9b11e3a85026957b",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - cumulus",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"3ea1bb4e5ff3e53a",
"bf71f08c103ab9bf",
"6d4b70fa6bba8616",
"b8ed61d35607d163",
"4c93ed77e680ad7a",
"f1cc0ee7d294d743",
"6899ef31a931df1c",
"a2ed4c3380f63344",
"d66a556c8804aa96",
"5a3cf6eb82112299",
"3fbe41cfcb30b29f",
"8a877a1f0ad96a9f",
"86bf6614eaaed4fb",
"f1a67acc80e7df25",
"a734f97d04983224",
"5aa2370542c80557",
"417fbb2eb3a923ed",
"57e410937624c3d6",
"c17dc35aca46f82c",
"c35b2b2e8f2b4219",
"92754828aa30243d",
"473d6854093e32df",
"109b8b2fe8df33cb",
"98eb7016dea145b8",
"d51ca92136da8ea4",
"56484d472a10cece",
"e67a8cdad7117ce2",
"8e1e779d0e2a97e2",
"92f84c3ac249f995",
"6ae3dd31e136b128",
"a9a219cec32d41db",
"6626de35491fc7e5",
"2948383446051f6c",
"b476823397a6cb50",
"9c1497c3869ae5b0",
"e5267eaa5761e821",
"309706fa0b759907"
],
"x": 94,
"y": 199,
"w": 2382,
"h": 742
},
{
"id": "139783cbea6b84f0",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - lighting",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"4db69cc034f21733",
"7b827a64c14fb9cb",
"5f218ee61959294d",
"6ebcb13cc88ec167",
"d58e31cbba7fe1fb",
"79e409df0c12d8bb",
"b90b3d45412b51d0",
"6d468d4c78e0a5d5",
"1356cf8e6dacc702",
"94e962dcf138ee98",
"a384b36f395ac476",
"b570fc100217d48f",
"2f0256ee1c8ee8bd",
"e416e76dbc779a5c",
"891441049126e441",
"f987368eb35277fe",
"ee59c5af14e637f3",
"a2ca1cbf65a3d6da",
"6b16733d5f1837c0",
"0211a14a27109897",
"3f34497743010927",
"69d61490df35d838",
"4e1d7986190989e5",
"3702e76504099091",
"d608ad4cac54244d",
"4ac95d6cca44f46d",
"e6259c762aec16ea",
"974a59dc173e747b",
"7750f047196281c7",
"3a4cd663457429f7",
"1a5f2695438cbfb8",
"90417422245553bb",
"4951ba32095bc5f2",
"3563d6cc5602d9c6",
"49a7645f7932ec41",
"e95d3ad0623d35fe",
"59a7c31353278ac1",
"6e9eab0fc1a758ae",
"93d9685cdee76b2d",
"62dd7eabb91e408b",
"3bdb97b4240b5f07",
"a3453a03261acf84",
"3abc2b9923687477",
"3cb082c8274cf548"
],
"x": 94,
"y": 1879,
"w": 1482,
"h": 862
},
{
"id": "bb2ebd173a2ba06c",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - thermostat",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"9737afb19d9c9fbb",
"dd49b4996fb683ff",
"fbb1bdcb44abce21",
"6c6cf33417f59f97",
"fc673a36d8691d63",
"37aa96c6d80d8ade",
"1ef76a4c1fab9b78",
"adc6196b15cf8c39",
"26bdcbaa93cfcc27",
"c4f79cb042dc36a1",
"f391ba85b3d53073",
"7e364afe6e09d405",
"b8374382f89b46c6",
"5b4d546fd3646af7",
"fafbe160c912822f",
"f85914dec075a3d8",
"bd8ab43b4a91a2ae",
"19b6504e1bbece40",
"f968a8fc298f04c3",
"07108de5adf3ae2a",
"bcf6468037b4c2a6",
"37794c3da2ceda38",
"dfd8650d923f73e4",
"4c5adf85df17025b",
"26537f8818c29c61",
"a7420198a3e0f879",
"f23d5105ca948593",
"2efa063af4b505d2",
"6cc81c8342d6ef1c",
"f7ed99ce22cd37cb",
"348134507ffe8815",
"63561fec4fba2afd",
"53f7b3195f6dfeed",
"99e789a941d2af52",
"39615dab9370d868",
"e223793b9998818b",
"136162f12991809c",
"fb9711affc7d14af",
"a9e89b46159c4ec8",
"cb3f8f9fa322b59f",
"51dc21bc28ea3f06",
"272807d6b707d92f",
"4540d4f432f8742d",
"6d0cb16590b1da18",
"bfb0a473b6a09c81",
"61d316384ef1521b",
"27d7b08fb3646a52",
"3f9eefa51c1e5e9e",
"ff2211c1efd24971",
"f814aebd5bd599b5",
"8c3c9bc4a66b1e32",
"0711217590341f99",
"3930f84bd36fd5aa",
"b6f3145afc37707c",
"7a9f4d42d5c7497c",
"dd517b4d06983aac",
"e7dcdd83cf9e08e1",
"73dc6a2b0e041f8e",
"bcfed6ac5d278d3c",
"93e874f6e4a1f87a",
"fcbda9c625fdecac",
"f5cf184989e2cc69",
"3d40410e159beaab",
"4565730f04bd7072",
"95eb528329f90cf2",
"79764253e9e92fda",
"3e6cd35a857771f8",
"4ad97596d0efa64b",
"f19ecf4219ed5190",
"33fde1af7428bf26",
"1d92bf6b8fc98959",
"25b3542fda8fae4d",
"4b8267934ced5596",
"151d5194b8538480",
"f670239d8cf08808",
"a4b56ada8159bff6",
"990b4d58c23a68a2",
"ee3e358d88bbf249",
"6f096e24c9634c56",
"83b16f9aed4fa051",
"db3ebf0b6421aeae",
"10c3697bddec1a05",
"4f0ea1cdd4d0b719"
],
"x": 2574,
"y": 199,
"w": 1942,
"h": 1942
},
{
"id": "96eb67f8be94bf98",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - shading - load",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"2d0ce076b11e16ba",
"b394effe7a57f79a",
"c97e08992c83f769",
"3bd921f16659d915",
"8ee8772fa3a4c742",
"3473a74146113307",
"2feac259f3f849cf",
"6afc26adb1632a78",
"486df3adde8e9f19",
"caed2b0a311ef651",
"f8c9bdc9468519cc",
"d46a05d7499a2baf",
"1ff4a921e075affc",
"c20f3ad695b504d9",
"ace2b79f4bb79129",
"4ba85aac882689c9",
"f0af60c382a79669",
"9016e50cba8bfc51",
"a3e5f41d31ec8cc3",
"06648a9cfafa7763",
"3e2e4e9b894029c8",
"6c209c997c1913af",
"9137722c14af0906",
"cb13c9daccf388ee",
"29a5cea9f00406df",
"42e7727aca3d42a1",
"af4763dd0a68af6b",
"ad3a18ea13234fa7",
"8f75f6329e26fbc7"
],
"x": 94,
"y": 2779,
"w": 1482,
"h": 562
},
{
"id": "90046052f5bcb625",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - clock",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"511350d9f34ce767",
"7aaae6f81accc54b",
"20845c677b589935",
"acfd5fff279e15de",
"674dd33239c8c3e7",
"d2846ad9c776708a",
"4f9d174388a77ea5",
"f77679312512233c",
"f5f89b6efb421399",
"5673ce2c9088f475",
"f718cac6e7ec06c5",
"79fe08848f124125",
"a87c14e04ed75544",
"61ed7b677cad542e",
"af46ed6d30e60e05",
"7f2dd140d1c88cb9",
"dad6bb6b40fef41e",
"a65aa958e432f9a5"
],
"x": 94,
"y": 3379,
"w": 1212,
"h": 382
},
{
"id": "707b31c0a7883fe2",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - rhasspy",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"89fea9401e9ea5c1",
"fc11e57431b3bece",
"b1825677cbba4273",
"a06fcd9bc49dd111",
"8beb2a2f4c26c437",
"539d1393b0bcbaf6",
"4251d90a5ab9d7a1",
"58a80e8214149e12",
"5209317f54f78726",
"d5abdb129e7bdcb1",
"d201aa9375be8c18",
"0be97543e6033a9a",
"892332a6fc4a6710",
"dc709a1842ae7a88",
"5ed94f8216251cb1",
"43a2549e341c526b",
"13dbb1a630d2cd7d",
"787028ce8e3aa268",
"a589feb1b401ea68",
"4ce96c7ddf9665c7",
"2034de4581f58c90",
"86076299a0fb4895",
"4e9259e00dbed0ac"
],
"x": 94,
"y": 4459,
"w": 1422,
"h": 442
},
{
"id": "a0938dfc54b55acc",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - air conditioner",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"97aa2e016643bfbd",
"383c38e98cd05755",
"5a5c10ecd5d798be",
"932e7fad1c98966f",
"baadaeea2e2d4f95",
"c5d646bd69c37865",
"9d8b8d237e2704ea",
"4da4c768067c032b",
"12fca45ce9ab2abb",
"c6383ca66673fd96",
"cd9ba8ff11c8036d",
"f520ba0c172598b7",
"327f0ed7b5fa48d2",
"f68f5c75e58e22cb",
"a8dd4b383d7eb632",
"4205795bed6b3290",
"2a45ad61a4b3d598",
"dcfb0cd127aa904e",
"22c8ba7a5b818ab1",
"4e080e4032b4c4c8",
"988c34fbce846dcc",
"88a37cbdf2f5f465",
"e6cf92eef6f506ec",
"0bb31a889d427f54",
"ad3172b46080261c",
"0ecce96328bfdde4",
"2a4f2715f401f8f2",
"738201cd36aef02d",
"9d154c219f206faf",
"6b1aeadab15d8e8c"
],
"x": 94,
"y": 3799,
"w": 1622,
"h": 622
},
{
"id": "48dd7d439fba9eda",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - alexa",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"d5a2226e7f24deda",
"fc6548d30b49e4d0",
"c72c85a05c057eb6",
"5f5234be5bf42b3a",
"8a6f97848d7b1a2c",
"63f153f048b1295f",
"130d6f3ddbbffdae",
"2923cfe0def7c0ad",
"2723a51ead34599a",
"f1f8c53efd3838a8",
"a1ac1aa658d58387",
"ecf7b9d277d80279",
"e61351b02452479b",
"4635fe1f7e4a367f",
"dbac3472fc6c8c6b",
"7475623aa0893639",
"626e1746ced16a4c",
"a8480038bfbf3fcc",
"d522ee9073fbd7f0",
"c90a6ddfd223af79",
"22b72e8520c12a40",
"ed28b9fa5c455f0c",
"1f6f49b445e2d521",
"b4c8c70bb7e8948d",
"8fc146f9644edbbe",
"b37b3ee777a644db"
],
"x": 94,
"y": 4939,
"w": 1462,
"h": 502
},
{
"id": "35fa81df547b4491",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - telegram",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"0691d9a37686f464",
"3c6ee783748b235e",
"761cb37547fe4dc2",
"a033c6dbdefb80f9",
"1d6b2ca73ae11560",
"befe8bfd3d3446cc",
"2936573edcac41e4",
"661f755eabe3c32b",
"45ec5e8001fad3fa",
"9c9162236e4b23a6",
"ce9aca3509c7c320",
"42cb1c19195b7aaf",
"6495af71a7195bb4",
"bf793e9865c9e834",
"5f4fe9067e1fd9a0",
"05b5a24c1547eb9a",
"b4a9884f6b553123",
"5ab53f45b766d97b",
"86f604b24a73308c",
"25609df681da5c1b",
"d2194c4dad790ec4",
"12697008ac3ea99d",
"97087ce25aae4515",
"4edb12baad4c5bd0",
"58e1c9e33b0a90f3"
],
"x": 94,
"y": 5479,
"w": 1682,
"h": 442
},
{
"id": "486786996f8e512b",
"type": "group",
"z": "eeb3b84351fc9295",
"name": "room - ui - airflow",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"9958ae246d4edc9d",
"625142605bf476a4",
"4dcfe4665aa8fabf",
"ce3cb01895016d69",
"8be81912e014841a",
"6b8eff0718819266",
"b1ebe0e08e2084f1",
"fd421d21a13fd9cd",
"5994c74117a8e31c",
"ddcf6edbc20142df",
"055c0a0f268053e4",
"4751d9bbafc5bc21",
"a5bf2bb33f9ff5bb",
"16cca2765e899796",
"0cbdea1f752e09f9",
"3d3b69a92d3e5a3b",
"b2f7ebfba6bbc4d4",
"367ddcc943fb234e",
"b3e71ec6ef25bab1",
"661050a25f78f9a2",
"ef2769915480b0f6",
"4bea82d34bf79d91",
"ef9a2b91b42284b7",
"a4dbfc219ae2dcd8",
"9cab1d58af793873",
"174edf5e342c527e",
"c7121847509f1d08",
"989b7d7ecba85616",
"1fc6514464e22856",
"ede7f68b56764350",
"dd4ba0864d260f4c",
"45a643fb738127eb",
"3962dc523ff48938",
"a80b7e58e8b264f6",
"0e12a116cd5a645e",
"98ea4337ad7298c2",
"ab9f875320713f08",
"6ba28539428fe214",
"95108e6e070e7630",
"3902e4b05ebbbfaf",
"2294d7008f04fb84",
"6ad49aefeefbd09d",
"18531ed9a7d1af80",
"204d9ba1193ba811"
],
"x": 94,
"y": 979,
"w": 1532,
"h": 862
},
{
"id": "3ea1bb4e5ff3e53a",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "daily",
"vt": "str"
},
{
"t": "eq",
"v": "night",
"vt": "str"
},
{
"t": "eq",
"v": "timer",
"vt": "str"
},
{
"t": "eq",
"v": "electric meter",
"vt": "str"
},
{
"t": "eq",
"v": "balloon",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 6,
"x": 670,
"y": 600,
"wires": [
[
"f1a67acc80e7df25",
"bd45f02bb3b3849b"
],
[
"5aa2370542c80557",
"9c1497c3869ae5b0"
],
[
"57e410937624c3d6",
"2948383446051f6c"
],
[
"a734f97d04983224",
"a9a219cec32d41db"
],
[
"c35b2b2e8f2b4219"
],
[
"417fbb2eb3a923ed",
"e5267eaa5761e821"
]
]
},
{
"id": "bf71f08c103ab9bf",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "false",
"tot": "bool"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[{'label':'N/A','value':''}]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 650,
"y": 360,
"wires": [
[
"f1a67acc80e7df25",
"5aa2370542c80557",
"417fbb2eb3a923ed",
"57e410937624c3d6",
"8e1e779d0e2a97e2",
"a734f97d04983224",
"e67a8cdad7117ce2",
"6626de35491fc7e5",
"b476823397a6cb50",
"309706fa0b759907"
]
]
},
{
"id": "6d4b70fa6bba8616",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cumulus",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2300,
"y": 600,
"wires": [
[
"f1cc0ee7d294d743"
]
]
},
{
"id": "b8ed61d35607d163",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "room - ui - cumulus - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 240,
"wires": [
[
"3fbe41cfcb30b29f",
"92f84c3ac249f995"
]
]
},
{
"id": "4c93ed77e680ad7a",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "room - ui - cumulus - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 300,
"wires": [
[
"a2ed4c3380f63344"
]
]
},
{
"id": "f1cc0ee7d294d743",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "room - ui - cumulus - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 2435,
"y": 600,
"wires": []
},
{
"id": "6899ef31a931df1c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2300,
"y": 900,
"wires": [
[
"f1cc0ee7d294d743"
]
]
},
{
"id": "a2ed4c3380f63344",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "cumulus",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 300,
"wires": [
[
"8a877a1f0ad96a9f",
"c17dc35aca46f82c"
]
]
},
{
"id": "d66a556c8804aa96",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 990,
"y": 240,
"wires": []
},
{
"id": "5a3cf6eb82112299",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun cumulus",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 820,
"y": 240,
"wires": [
[
"d66a556c8804aa96"
]
]
},
{
"id": "3fbe41cfcb30b29f",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Cumulus\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 650,
"y": 240,
"wires": [
[
"5a3cf6eb82112299",
"86bf6614eaaed4fb"
]
]
},
{
"id": "8a877a1f0ad96a9f",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\":{\t \"show\":[\"Pièces:Cumulus\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 650,
"y": 300,
"wires": [
[
"86bf6614eaaed4fb",
"5a3cf6eb82112299"
]
]
},
{
"id": "86bf6614eaaed4fb",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 820,
"y": 300,
"wires": [
[]
]
},
{
"id": "f1a67acc80e7df25",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "actif",
"label": "",
"group": "d9226f161296ef5d",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "msg",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1190,
"y": 600,
"wires": [
[
"6d4b70fa6bba8616"
]
]
},
{
"id": "a734f97d04983224",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"name": "timer",
"label": "",
"tooltip": "",
"order": 11,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "timer",
"topicType": "str",
"thumbLabel": true,
"min": "20",
"max": "240",
"step": "10",
"className": "",
"x": 1190,
"y": 780,
"wires": [
[
"6d4b70fa6bba8616"
]
]
},
{
"id": "5aa2370542c80557",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "daily",
"label": "",
"group": "d9226f161296ef5d",
"order": 7,
"width": "1",
"height": "1",
"passthru": false,
"topic": "daily",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "alarm-check",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "alarm-off",
"offcolor": "grey",
"x": 1190,
"y": 660,
"wires": [
[
"6d4b70fa6bba8616"
]
]
},
{
"id": "417fbb2eb3a923ed",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "balloon",
"label": "",
"group": "d9226f161296ef5d",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "balloon",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "water-boiler",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "water-boiler-off",
"offcolor": "grey",
"x": 1200,
"y": 900,
"wires": [
[
"6899ef31a931df1c"
]
]
},
{
"id": "57e410937624c3d6",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "night",
"label": "",
"group": "d9226f161296ef5d",
"order": 9,
"width": "1",
"height": "1",
"passthru": false,
"topic": "night",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "shield-moon",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "shield-moon-outline",
"offcolor": "grey",
"x": 1190,
"y": 720,
"wires": [
[
"6d4b70fa6bba8616"
]
]
},
{
"id": "c17dc35aca46f82c",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 600,
"wires": [
[
"3ea1bb4e5ff3e53a"
]
]
},
{
"id": "c35b2b2e8f2b4219",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "from global",
"rules": [
{
"t": "set",
"p": "old_payload",
"pt": "msg",
"to": "payload",
"tot": "msg"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics",
"tot": "global"
},
{
"t": "set",
"p": "cumulus.options",
"pt": "flow",
"to": "[]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 840,
"wires": [
[
"92754828aa30243d"
]
]
},
{
"id": "92754828aa30243d",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "bucket",
"x": 1030,
"y": 840,
"wires": [
[
"473d6854093e32df"
]
]
},
{
"id": "473d6854093e32df",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "measurement",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "hask",
"v": "tariff",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1220,
"y": 840,
"wires": [
[
"109b8b2fe8df33cb"
],
[
"d51ca92136da8ea4"
]
]
},
{
"id": "109b8b2fe8df33cb",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "field",
"property": "payload.current",
"propertyType": "msg",
"rules": [
{
"t": "hask",
"v": "electric meter",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1410,
"y": 780,
"wires": [
[
"98eb7016dea145b8"
],
[
"d51ca92136da8ea4"
]
]
},
{
"id": "98eb7016dea145b8",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "add",
"rules": [
{
"t": "set",
"p": "cumulus_options",
"pt": "msg",
"to": "cumulus.options",
"tot": "flow"
},
{
"t": "set",
"p": "cumulus_count",
"pt": "msg",
"to": "$count(msg.cumulus_options)-1",
"tot": "jsonata"
},
{
"t": "set",
"p": "cumulus_count",
"pt": "msg",
"to": "msg.cumulus_count+1",
"tot": "jsonata"
},
{
"t": "set",
"p": "cumulus_options[msg.cumulus_count]",
"pt": "msg",
"to": "{\t 'label': msg.bucket&'/tariff/electric meter',\t 'value': msg.bucket&'/tariff/electric meter'\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "cumulus.options",
"pt": "flow",
"to": "cumulus_options",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1570,
"y": 780,
"wires": [
[
"d51ca92136da8ea4"
]
]
},
{
"id": "d51ca92136da8ea4",
"type": "join",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "",
"mode": "auto",
"build": "object",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\\n",
"joinerType": "str",
"accumulate": "false",
"timeout": "",
"count": "",
"reduceRight": false,
"x": 1730,
"y": 840,
"wires": [
[
"56484d472a10cece"
]
]
},
{
"id": "56484d472a10cece",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "cumulus.options",
"tot": "flow"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "old_payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1900,
"y": 840,
"wires": [
[
"e67a8cdad7117ce2"
]
]
},
{
"id": "e67a8cdad7117ce2",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"name": "electric meter",
"label": "Compteur électrique :",
"tooltip": "",
"order": 12,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "electric meter",
"topicType": "str",
"className": "",
"x": 2100,
"y": 780,
"wires": [
[
"6d4b70fa6bba8616"
]
]
},
{
"id": "8e1e779d0e2a97e2",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 10,
"width": "2",
"height": "1",
"name": "timer (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 780,
"wires": []
},
{
"id": "4db69cc034f21733",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "night",
"vt": "str"
},
{
"t": "eq",
"v": "motion",
"vt": "str"
},
{
"t": "eq",
"v": "retention",
"vt": "str"
},
{
"t": "eq",
"v": "nightlight",
"vt": "str"
},
{
"t": "eq",
"v": "timer",
"vt": "str"
},
{
"t": "eq",
"v": "high",
"vt": "str"
},
{
"t": "eq",
"v": "low",
"vt": "str"
},
{
"t": "eq",
"v": "darkness",
"vt": "str"
},
{
"t": "eq",
"v": "luminosity",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 10,
"x": 670,
"y": 2160,
"wires": [
[
"2f0256ee1c8ee8bd",
"3abc2b9923687477"
],
[
"6b16733d5f1837c0",
"49a7645f7932ec41"
],
[
"0211a14a27109897",
"59a7c31353278ac1"
],
[
"69d61490df35d838",
"6e9eab0fc1a758ae"
],
[
"4e1d7986190989e5",
"3bdb97b4240b5f07"
],
[
"e416e76dbc779a5c",
"4ac95d6cca44f46d"
],
[
"891441049126e441",
"3cb082c8274cf548"
],
[
"f987368eb35277fe",
"7750f047196281c7"
],
[
"ee59c5af14e637f3",
"a3453a03261acf84"
],
[
"a2ca1cbf65a3d6da",
"90417422245553bb"
]
]
},
{
"id": "7b827a64c14fb9cb",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "lighting",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 2160,
"wires": [
[
"79e409df0c12d8bb"
]
]
},
{
"id": "5f218ee61959294d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2040,
"wires": [
[
"2f0256ee1c8ee8bd",
"6b16733d5f1837c0",
"0211a14a27109897",
"69d61490df35d838",
"4e1d7986190989e5",
"e416e76dbc779a5c",
"891441049126e441",
"f987368eb35277fe",
"ee59c5af14e637f3",
"a2ca1cbf65a3d6da",
"d608ad4cac54244d",
"e6259c762aec16ea",
"974a59dc173e747b",
"3a4cd663457429f7",
"1a5f2695438cbfb8",
"4951ba32095bc5f2",
"3563d6cc5602d9c6",
"e95d3ad0623d35fe",
"93d9685cdee76b2d",
"62dd7eabb91e408b"
]
]
},
{
"id": "6ebcb13cc88ec167",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "room - ui - lighting - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 1980,
"wires": [
[
"1356cf8e6dacc702"
]
]
},
{
"id": "d58e31cbba7fe1fb",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "room - ui - lighting - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 1920,
"wires": [
[
"b90b3d45412b51d0",
"3702e76504099091"
]
]
},
{
"id": "79e409df0c12d8bb",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "room - ui - lighting - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1535,
"y": 2160,
"wires": []
},
{
"id": "b90b3d45412b51d0",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Eclairage\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1920,
"wires": [
[
"94e962dcf138ee98",
"b570fc100217d48f"
]
]
},
{
"id": "6d468d4c78e0a5d5",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Eclairage\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1980,
"wires": [
[
"b570fc100217d48f",
"94e962dcf138ee98"
]
]
},
{
"id": "1356cf8e6dacc702",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "lighting",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 1980,
"wires": [
[
"6d468d4c78e0a5d5",
"3f34497743010927"
]
]
},
{
"id": "94e962dcf138ee98",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune gestion d'éclairage",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 1920,
"wires": [
[
"a384b36f395ac476"
]
]
},
{
"id": "a384b36f395ac476",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 1920,
"wires": []
},
{
"id": "b570fc100217d48f",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 1980,
"wires": [
[]
]
},
{
"id": "2f0256ee1c8ee8bd",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "actif",
"label": "",
"group": "4deac0812bc789d5",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1210,
"y": 2160,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "e416e76dbc779a5c",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"name": "timer",
"label": "",
"tooltip": "",
"order": 15,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "timer",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "120",
"step": "1",
"className": "",
"x": 1210,
"y": 2460,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "891441049126e441",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"name": "high",
"label": "",
"tooltip": "",
"order": 17,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "high",
"topicType": "str",
"thumbLabel": true,
"min": "2",
"max": "99",
"step": 1,
"className": "",
"x": 1210,
"y": 2520,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "f987368eb35277fe",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"name": "low",
"label": "",
"tooltip": "",
"order": 19,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "low",
"topicType": "str",
"thumbLabel": true,
"min": "2",
"max": "99",
"step": 1,
"className": "",
"x": 1210,
"y": 2580,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "ee59c5af14e637f3",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"name": "darkness",
"label": "",
"tooltip": "",
"order": 13,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "darkness",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "500",
"step": "10",
"className": "",
"x": 1220,
"y": 2640,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "a2ca1cbf65a3d6da",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"name": "luminosity",
"label": "",
"tooltip": "",
"order": 21,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "luminosity",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "2500",
"step": "100",
"className": "",
"x": 1220,
"y": 2700,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "6b16733d5f1837c0",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "night",
"label": "",
"group": "4deac0812bc789d5",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "night",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "shield-moon",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "shield-moon-outline",
"offcolor": "grey",
"x": 1210,
"y": 2220,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "0211a14a27109897",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "motion",
"label": "",
"group": "4deac0812bc789d5",
"order": 7,
"width": "1",
"height": "1",
"passthru": false,
"topic": "motion",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "motion-sensor",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "motion-sensor-off",
"offcolor": "grey",
"x": 1210,
"y": 2280,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "3f34497743010927",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "150 ms",
"pauseType": "delay",
"timeout": "150",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 2160,
"wires": [
[
"4db69cc034f21733"
]
]
},
{
"id": "69d61490df35d838",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "retention",
"label": "",
"group": "4deac0812bc789d5",
"order": 9,
"width": "1",
"height": "1",
"passthru": false,
"topic": "retention",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "pin",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "pin_outline",
"offcolor": "grey",
"x": 1220,
"y": 2340,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "4e1d7986190989e5",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "nightlight",
"label": "",
"group": "4deac0812bc789d5",
"order": 11,
"width": "1",
"height": "1",
"passthru": false,
"topic": "nightlight",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "lightbulb-night",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "lightbulb-night-outline",
"offcolor": "grey",
"x": 1220,
"y": 2400,
"wires": [
[
"7b827a64c14fb9cb"
]
]
},
{
"id": "9737afb19d9c9fbb",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "room - ui - thermostat - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 2615,
"y": 240,
"wires": [
[
"fbb1bdcb44abce21",
"4b8267934ced5596"
]
]
},
{
"id": "dd49b4996fb683ff",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "room - ui - thermostat - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 2615,
"y": 300,
"wires": [
[
"7e364afe6e09d405"
]
]
},
{
"id": "fbb1bdcb44abce21",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Thermostat\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3670,
"y": 240,
"wires": [
[
"b8374382f89b46c6",
"fafbe160c912822f"
]
]
},
{
"id": "6c6cf33417f59f97",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Thermostat\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3670,
"y": 300,
"wires": [
[
"fafbe160c912822f",
"b8374382f89b46c6"
]
]
},
{
"id": "fc673a36d8691d63",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3670,
"y": 360,
"wires": [
[
"f85914dec075a3d8",
"f968a8fc298f04c3",
"37794c3da2ceda38",
"f23d5105ca948593",
"348134507ffe8815",
"93e874f6e4a1f87a",
"3d40410e159beaab",
"4565730f04bd7072",
"79764253e9e92fda",
"4ad97596d0efa64b",
"63561fec4fba2afd",
"07108de5adf3ae2a",
"bcf6468037b4c2a6",
"4c5adf85df17025b",
"3f9eefa51c1e5e9e",
"dfd8650d923f73e4",
"53f7b3195f6dfeed",
"6cc81c8342d6ef1c",
"99e789a941d2af52",
"f7ed99ce22cd37cb",
"cb3f8f9fa322b59f",
"51dc21bc28ea3f06",
"272807d6b707d92f",
"4540d4f432f8742d",
"6d0cb16590b1da18",
"bfb0a473b6a09c81",
"61d316384ef1521b",
"8c3c9bc4a66b1e32",
"ff2211c1efd24971",
"33fde1af7428bf26",
"f814aebd5bd599b5",
"25b3542fda8fae4d",
"e223793b9998818b"
]
]
},
{
"id": "37aa96c6d80d8ade",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "thermostat",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4340,
"y": 600,
"wires": [
[
"1ef76a4c1fab9b78"
]
]
},
{
"id": "1ef76a4c1fab9b78",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "room - ui - thermostat - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 4475,
"y": 600,
"wires": []
},
{
"id": "adc6196b15cf8c39",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "status",
"vt": "str"
},
{
"t": "eq",
"v": "heat request",
"vt": "str"
},
{
"t": "eq",
"v": "pilot",
"vt": "str"
},
{
"t": "eq",
"v": "aperture opened",
"vt": "str"
},
{
"t": "eq",
"v": "delayed aperture",
"vt": "str"
},
{
"t": "eq",
"v": "temperature setpoint",
"vt": "str"
},
{
"t": "eq",
"v": "indoor temperature",
"vt": "str"
},
{
"t": "eq",
"v": "outdoor temperature",
"vt": "str"
},
{
"t": "eq",
"v": "operating mode",
"vt": "str"
},
{
"t": "eq",
"v": "eco setpoint",
"vt": "str"
},
{
"t": "eq",
"v": "confort setpoint",
"vt": "str"
},
{
"t": "eq",
"v": "indoor coefficient",
"vt": "str"
},
{
"t": "eq",
"v": "outdoor coefficient",
"vt": "str"
},
{
"t": "eq",
"v": "preheat time",
"vt": "str"
},
{
"t": "eq",
"v": "cycle time",
"vt": "str"
},
{
"t": "eq",
"v": "aperture delay",
"vt": "str"
},
{
"t": "eq",
"v": "offloading delay",
"vt": "str"
},
{
"t": "eq",
"v": "offloading power",
"vt": "str"
},
{
"t": "eq",
"v": "aperture 1",
"vt": "str"
},
{
"t": "eq",
"v": "aperture 2",
"vt": "str"
},
{
"t": "eq",
"v": "aperture 3",
"vt": "str"
},
{
"t": "eq",
"v": "aperture 4",
"vt": "str"
},
{
"t": "eq",
"v": "aperture 5",
"vt": "str"
},
{
"t": "eq",
"v": "last pilot",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 25,
"x": 3130,
"y": 600,
"wires": [
[
"f85914dec075a3d8",
"1d92bf6b8fc98959"
],
[
"fb9711affc7d14af"
],
[
"61d316384ef1521b"
],
[
"37794c3da2ceda38"
],
[
"bd8ab43b4a91a2ae"
],
[
"19b6504e1bbece40"
],
[
"a7420198a3e0f879"
],
[
"26537f8818c29c61"
],
[
"27d7b08fb3646a52"
],
[
"151d5194b8538480"
],
[
"07108de5adf3ae2a",
"f670239d8cf08808"
],
[
"bcf6468037b4c2a6",
"a4b56ada8159bff6"
],
[
"6cc81c8342d6ef1c",
"990b4d58c23a68a2"
],
[
"f7ed99ce22cd37cb",
"ee3e358d88bbf249"
],
[
"51dc21bc28ea3f06",
"6f096e24c9634c56"
],
[
"4540d4f432f8742d",
"83b16f9aed4fa051"
],
[
"ff2211c1efd24971",
"db3ebf0b6421aeae"
],
[
"f814aebd5bd599b5",
"10c3697bddec1a05"
],
[
"bfb0a473b6a09c81",
"4f0ea1cdd4d0b719"
],
[
"bcfed6ac5d278d3c"
],
[
"f5cf184989e2cc69"
],
[
"95eb528329f90cf2"
],
[
"3e6cd35a857771f8"
],
[
"f19ecf4219ed5190"
],
[
"c4f79cb042dc36a1"
]
]
},
{
"id": "26bdcbaa93cfcc27",
"type": "humanizer",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"input": "msg.payload",
"x": 3470,
"y": 2040,
"wires": [
[
"2efa063af4b505d2"
]
]
},
{
"id": "c4f79cb042dc36a1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "calcul",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$round(($millis() - msg.payload)/1000)",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 2040,
"wires": [
[
"26bdcbaa93cfcc27"
]
]
},
{
"id": "f391ba85b3d53073",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4340,
"y": 780,
"wires": [
[
"1ef76a4c1fab9b78"
]
]
},
{
"id": "7e364afe6e09d405",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "thermostat",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 2780,
"y": 300,
"wires": [
[
"6c6cf33417f59f97",
"39615dab9370d868",
"fcbda9c625fdecac"
]
]
},
{
"id": "b8374382f89b46c6",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune thermostat",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3840,
"y": 240,
"wires": [
[
"5b4d546fd3646af7"
]
]
},
{
"id": "5b4d546fd3646af7",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 4010,
"y": 240,
"wires": []
},
{
"id": "fafbe160c912822f",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 3840,
"y": 300,
"wires": [
[]
]
},
{
"id": "f85914dec075a3d8",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "actif",
"label": "",
"group": "28836135eb153545",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 4090,
"y": 600,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "bd8ab43b4a91a2ae",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "aperture opened",
"label": "",
"group": "28836135eb153545",
"order": 7,
"width": "1",
"height": "1",
"passthru": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "door-open",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "door-closed",
"offcolor": "grey",
"x": 4120,
"y": 840,
"wires": [
[]
]
},
{
"id": "19b6504e1bbece40",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "delayed aperture",
"label": "",
"group": "28836135eb153545",
"order": 8,
"width": "1",
"height": "1",
"passthru": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "timer-remove",
"oncolor": "grey",
"offvalue": "false",
"offvalueType": "bool",
"officon": "timer-check",
"offcolor": "teal",
"x": 4130,
"y": 900,
"wires": [
[]
]
},
{
"id": "f968a8fc298f04c3",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "operating mode",
"label": "Mode",
"tooltip": "",
"order": 12,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "operating mode",
"topicType": "str",
"className": "",
"x": 4120,
"y": 1140,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "07108de5adf3ae2a",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "eco setpoint",
"label": "",
"tooltip": "",
"order": 14,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "eco setpoint",
"topicType": "str",
"thumbLabel": true,
"min": "15",
"max": "35",
"step": "0.5",
"className": "",
"x": 4110,
"y": 1200,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "bcf6468037b4c2a6",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "confort setpoint",
"label": "",
"tooltip": "",
"order": 16,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "confort setpoint",
"topicType": "str",
"thumbLabel": true,
"min": "15",
"max": "35",
"step": "0.5",
"className": "",
"x": 4120,
"y": 1260,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "37794c3da2ceda38",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "pilot",
"label": "",
"group": "28836135eb153545",
"order": 6,
"width": "1",
"height": "1",
"passthru": false,
"topic": "pilot",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "power-plug",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "power-plug-off",
"offcolor": "grey",
"x": 4090,
"y": 780,
"wires": [
[
"f391ba85b3d53073"
]
]
},
{
"id": "dfd8650d923f73e4",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 10,
"width": "2",
"height": "1",
"name": "indoor temperature",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3870,
"y": 1080,
"wires": []
},
{
"id": "4c5adf85df17025b",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 9,
"width": "2",
"height": "1",
"name": "temperature setpoint",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 960,
"wires": []
},
{
"id": "26537f8818c29c61",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Interieur à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1080,
"wires": [
[
"dfd8650d923f73e4"
]
]
},
{
"id": "a7420198a3e0f879",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Consigne à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 960,
"wires": [
[
"4c5adf85df17025b"
]
]
},
{
"id": "f23d5105ca948593",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 36,
"width": "6",
"height": "1",
"name": "seens",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3830,
"y": 2040,
"wires": []
},
{
"id": "2efa063af4b505d2",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Dernier ordre il y a '&msg.payload.humanized",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3650,
"y": 2040,
"wires": [
[
"f23d5105ca948593"
]
]
},
{
"id": "6cc81c8342d6ef1c",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "indoor coefficient",
"label": "",
"tooltip": "",
"order": 18,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "indoor coefficient",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "200",
"step": 1,
"className": "",
"x": 4130,
"y": 1320,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "f7ed99ce22cd37cb",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "outdoor coefficient",
"label": "",
"tooltip": "",
"order": 20,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "outdoor coefficient",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "200",
"step": 1,
"className": "",
"x": 4130,
"y": 1380,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "348134507ffe8815",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 4,
"width": "2",
"height": "1",
"name": "status",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3830,
"y": 660,
"wires": []
},
{
"id": "63561fec4fba2afd",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 13,
"width": "2",
"height": "1",
"name": "eco setpoint (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3870,
"y": 1200,
"wires": []
},
{
"id": "53f7b3195f6dfeed",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 17,
"width": "2",
"height": "1",
"name": "indoor coefficient (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 1320,
"wires": []
},
{
"id": "99e789a941d2af52",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 19,
"width": "2",
"height": "1",
"name": "outdoor coefficient (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 1380,
"wires": []
},
{
"id": "39615dab9370d868",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "250 ms",
"pauseType": "delay",
"timeout": "250",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 2980,
"y": 600,
"wires": [
[
"adc6196b15cf8c39"
]
]
},
{
"id": "e223793b9998818b",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 15,
"width": "2",
"height": "1",
"name": "confort setpoint (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 1260,
"wires": []
},
{
"id": "136162f12991809c",
"type": "link call",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"links": [
"df0e4ab2e1efc286"
],
"linkType": "static",
"timeout": "30",
"x": 3480,
"y": 660,
"wires": [
[
"a9e89b46159c4ec8"
]
]
},
{
"id": "fb9711affc7d14af",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "move",
"rules": [
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 660,
"wires": [
[
"136162f12991809c"
]
]
},
{
"id": "a9e89b46159c4ec8",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "move",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "trans",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3670,
"y": 660,
"wires": [
[
"348134507ffe8815"
]
]
},
{
"id": "cb3f8f9fa322b59f",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 21,
"width": "2",
"height": "1",
"name": "preheat time(txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3860,
"y": 1440,
"wires": []
},
{
"id": "51dc21bc28ea3f06",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "preheat time",
"label": "",
"tooltip": "",
"order": 22,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "preheat time",
"topicType": "str",
"thumbLabel": true,
"min": "5",
"max": "60",
"step": "5",
"className": "",
"x": 4110,
"y": 1440,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "272807d6b707d92f",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 23,
"width": "2",
"height": "1",
"name": "cycle time(txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3860,
"y": 1500,
"wires": []
},
{
"id": "4540d4f432f8742d",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "cycle time",
"label": "",
"tooltip": "",
"order": 24,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "cycle time",
"topicType": "str",
"thumbLabel": true,
"min": "5",
"max": "120",
"step": "5",
"className": "",
"x": 4100,
"y": 1500,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "6d0cb16590b1da18",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 29,
"width": "2",
"height": "1",
"name": "offloading power (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 1680,
"wires": []
},
{
"id": "bfb0a473b6a09c81",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "offloading power",
"label": "",
"tooltip": "",
"order": 30,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "offloading power",
"topicType": "str",
"thumbLabel": true,
"min": "100",
"max": "1500",
"step": "100",
"className": "",
"x": 4120,
"y": 1680,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "61d316384ef1521b",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "heat request",
"label": "",
"group": "28836135eb153545",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog-play",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-stop-outline",
"offcolor": "grey",
"x": 4110,
"y": 720,
"wires": [
[]
]
},
{
"id": "27d7b08fb3646a52",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Exterieur à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1020,
"wires": [
[
"3f9eefa51c1e5e9e"
]
]
},
{
"id": "3f9eefa51c1e5e9e",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 11,
"width": "2",
"height": "1",
"name": "outdoor temperature",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3880,
"y": 1020,
"wires": []
},
{
"id": "ff2211c1efd24971",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture delay",
"label": "",
"tooltip": "",
"order": 26,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "aperture delay",
"topicType": "str",
"thumbLabel": true,
"min": "1",
"max": "30",
"step": 1,
"className": "",
"x": 4120,
"y": 1560,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "f814aebd5bd599b5",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "offloading delay",
"label": "",
"tooltip": "",
"order": 28,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "offloading delay",
"topicType": "str",
"thumbLabel": true,
"min": "1",
"max": "60",
"step": 1,
"className": "",
"x": 4120,
"y": 1620,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "8c3c9bc4a66b1e32",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 25,
"width": "2",
"height": "1",
"name": "aperture delay(txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3870,
"y": 1560,
"wires": []
},
{
"id": "0711217590341f99",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "from global",
"rules": [
{
"t": "set",
"p": "old_payload",
"pt": "msg",
"to": "payload",
"tot": "msg"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics",
"tot": "global"
},
{
"t": "set",
"p": "thermostat.options",
"pt": "flow",
"to": "[]",
"tot": "jsonata"
},
{
"t": "set",
"p": "thermostat.options[0]",
"pt": "flow",
"to": "{\t 'label': 'non assigné',\t 'value': ''\t}",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3150,
"y": 2100,
"wires": [
[
"3930f84bd36fd5aa"
]
]
},
{
"id": "3930f84bd36fd5aa",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "bucket",
"x": 3330,
"y": 2100,
"wires": [
[
"b6f3145afc37707c"
]
]
},
{
"id": "b6f3145afc37707c",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "measurement",
"x": 3490,
"y": 2100,
"wires": [
[
"7a9f4d42d5c7497c"
]
]
},
{
"id": "7a9f4d42d5c7497c",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "aperture",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3680,
"y": 2100,
"wires": [
[
"dd517b4d06983aac"
]
]
},
{
"id": "dd517b4d06983aac",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "field",
"x": 3870,
"y": 2100,
"wires": [
[
"e7dcdd83cf9e08e1"
]
]
},
{
"id": "e7dcdd83cf9e08e1",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "neq",
"v": "shutter",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4030,
"y": 2100,
"wires": [
[
"73dc6a2b0e041f8e"
]
]
},
{
"id": "73dc6a2b0e041f8e",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "add",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "count",
"pt": "msg",
"to": "$count(msg.options)-1",
"tot": "jsonata"
},
{
"t": "set",
"p": "count",
"pt": "msg",
"to": "msg.count+1",
"tot": "jsonata"
},
{
"t": "set",
"p": "options[msg.count]",
"pt": "msg",
"to": "{\t 'label': msg.bucket&'/aperture/'&msg.field,\t 'value': msg.bucket&'/aperture/'&msg.field\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "thermostat.options",
"pt": "flow",
"to": "options",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4190,
"y": 2100,
"wires": [
[]
]
},
{
"id": "bcfed6ac5d278d3c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1740,
"wires": [
[
"93e874f6e4a1f87a"
]
]
},
{
"id": "93e874f6e4a1f87a",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture 1",
"label": "Ouverture 1 :",
"tooltip": "",
"order": 31,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "aperture 1",
"topicType": "str",
"className": "",
"x": 4110,
"y": 1740,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "fcbda9c625fdecac",
"type": "rbe",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "bucket",
"topi": "topic",
"x": 2970,
"y": 2100,
"wires": [
[
"0711217590341f99"
]
]
},
{
"id": "f5cf184989e2cc69",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1800,
"wires": [
[
"3d40410e159beaab"
]
]
},
{
"id": "3d40410e159beaab",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture 2",
"label": "Ouverture 2 :",
"tooltip": "",
"order": 32,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "aperture 2",
"topicType": "str",
"className": "",
"x": 4110,
"y": 1800,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "4565730f04bd7072",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture 3",
"label": "Ouverture 3 :",
"tooltip": "",
"order": 33,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "aperture 3",
"topicType": "str",
"className": "",
"x": 4110,
"y": 1860,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "95eb528329f90cf2",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1860,
"wires": [
[
"4565730f04bd7072"
]
]
},
{
"id": "79764253e9e92fda",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture 4",
"label": "Ouverture 4 :",
"tooltip": "",
"order": 34,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "aperture 4",
"topicType": "str",
"className": "",
"x": 4110,
"y": 1920,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "3e6cd35a857771f8",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1920,
"wires": [
[
"79764253e9e92fda"
]
]
},
{
"id": "4ad97596d0efa64b",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"name": "aperture 5",
"label": "Ouverture 5 :",
"tooltip": "",
"order": 35,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "aperture 5",
"topicType": "str",
"className": "",
"x": 4110,
"y": 1980,
"wires": [
[
"37aa96c6d80d8ade"
]
]
},
{
"id": "f19ecf4219ed5190",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "thermostat.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1980,
"wires": [
[
"4ad97596d0efa64b"
]
]
},
{
"id": "33fde1af7428bf26",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 27,
"width": "2",
"height": "1",
"name": "offloading delay(txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3870,
"y": 1620,
"wires": []
},
{
"id": "2d0ce076b11e16ba",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "daily",
"vt": "str"
},
{
"t": "eq",
"v": "timer",
"vt": "str"
},
{
"t": "eq",
"v": "luminosity",
"vt": "str"
},
{
"t": "eq",
"v": "openwork",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 5,
"x": 670,
"y": 3060,
"wires": [
[
"f0af60c382a79669",
"06648a9cfafa7763"
],
[
"4ba85aac882689c9",
"af4763dd0a68af6b"
],
[
"1ff4a921e075affc",
"6c209c997c1913af"
],
[
"c20f3ad695b504d9",
"ad3a18ea13234fa7"
],
[
"ace2b79f4bb79129",
"29a5cea9f00406df"
]
]
},
{
"id": "b394effe7a57f79a",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "shading",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 3060,
"wires": [
[
"8ee8772fa3a4c742"
]
]
},
{
"id": "c97e08992c83f769",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "room - ui - shading - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 2880,
"wires": [
[
"3473a74146113307"
]
]
},
{
"id": "3bd921f16659d915",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "boot shading",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 2820,
"wires": [
[
"486df3adde8e9f19",
"a3e5f41d31ec8cc3"
]
]
},
{
"id": "8ee8772fa3a4c742",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "room - ui - shading - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1535,
"y": 3060,
"wires": []
},
{
"id": "3473a74146113307",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "shading",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 2880,
"wires": [
[
"6afc26adb1632a78",
"9016e50cba8bfc51"
]
]
},
{
"id": "2feac259f3f849cf",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2940,
"wires": [
[
"4ba85aac882689c9",
"f0af60c382a79669",
"1ff4a921e075affc",
"c20f3ad695b504d9",
"ace2b79f4bb79129",
"3e2e4e9b894029c8",
"8f75f6329e26fbc7",
"42e7727aca3d42a1",
"9137722c14af0906",
"cb13c9daccf388ee"
]
]
},
{
"id": "6afc26adb1632a78",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Ombrage\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2880,
"wires": [
[
"d46a05d7499a2baf",
"caed2b0a311ef651"
]
]
},
{
"id": "486df3adde8e9f19",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Ombrage\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2820,
"wires": [
[
"caed2b0a311ef651",
"d46a05d7499a2baf"
]
]
},
{
"id": "caed2b0a311ef651",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune gestion d'ombrage",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 2820,
"wires": [
[
"f8c9bdc9468519cc"
]
]
},
{
"id": "f8c9bdc9468519cc",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 2820,
"wires": []
},
{
"id": "d46a05d7499a2baf",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 2880,
"wires": [
[]
]
},
{
"id": "1ff4a921e075affc",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"name": "timer",
"label": "Minuterie",
"tooltip": "",
"order": 7,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "timer",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "120",
"step": "5",
"className": "",
"x": 1210,
"y": 3180,
"wires": [
[
"b394effe7a57f79a"
]
]
},
{
"id": "c20f3ad695b504d9",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"name": "luminosity",
"label": "",
"tooltip": "",
"order": 9,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "luminosity",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "3000",
"step": "100",
"className": "",
"x": 1220,
"y": 3240,
"wires": [
[
"b394effe7a57f79a"
]
]
},
{
"id": "ace2b79f4bb79129",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"name": "openwork",
"label": "",
"tooltip": "",
"order": 11,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "openwork",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": 1,
"className": "",
"x": 1220,
"y": 3300,
"wires": [
[
"b394effe7a57f79a"
]
]
},
{
"id": "4ba85aac882689c9",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "daily",
"label": "",
"group": "104179763815c332",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "daily",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "alarm-check",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "alarm-off",
"offcolor": "grey",
"x": 1210,
"y": 3120,
"wires": [
[
"b394effe7a57f79a"
]
]
},
{
"id": "f0af60c382a79669",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "actif",
"label": "",
"group": "104179763815c332",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1210,
"y": 3060,
"wires": [
[
"b394effe7a57f79a"
]
]
},
{
"id": "9016e50cba8bfc51",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 3060,
"wires": [
[
"2d0ce076b11e16ba"
]
]
},
{
"id": "511350d9f34ce767",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "room - ui - clock - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 3420,
"wires": [
[
"acfd5fff279e15de",
"61ed7b677cad542e"
]
]
},
{
"id": "7aaae6f81accc54b",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "room - ui - clock - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 3480,
"wires": [
[
"20845c677b589935"
]
]
},
{
"id": "20845c677b589935",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "clock",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 3480,
"wires": [
[
"f77679312512233c",
"a87c14e04ed75544"
]
]
},
{
"id": "acfd5fff279e15de",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Horloge\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3420,
"wires": [
[
"674dd33239c8c3e7",
"4f9d174388a77ea5"
]
]
},
{
"id": "674dd33239c8c3e7",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune horloge",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 3420,
"wires": [
[
"d2846ad9c776708a"
]
]
},
{
"id": "d2846ad9c776708a",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"group": "3f693201c9dfc80c",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 3420,
"wires": []
},
{
"id": "4f9d174388a77ea5",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 3480,
"wires": [
[]
]
},
{
"id": "f77679312512233c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Horloge\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3480,
"wires": [
[
"4f9d174388a77ea5",
"674dd33239c8c3e7"
]
]
},
{
"id": "f5f89b6efb421399",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3540,
"wires": [
[
"f718cac6e7ec06c5",
"79fe08848f124125",
"af46ed6d30e60e05",
"a65aa958e432f9a5"
]
]
},
{
"id": "5673ce2c9088f475",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "work day",
"vt": "str"
},
{
"t": "eq",
"v": "work eve",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 670,
"y": 3660,
"wires": [
[
"f718cac6e7ec06c5",
"7f2dd140d1c88cb9"
],
[
"79fe08848f124125",
"dad6bb6b40fef41e"
]
]
},
{
"id": "f718cac6e7ec06c5",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "work day",
"label": "",
"group": "3f693201c9dfc80c",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "work day",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "briefcase-clock",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "briefcase-clock-outline",
"offcolor": "grey",
"x": 1220,
"y": 3660,
"wires": [
[]
]
},
{
"id": "79fe08848f124125",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "work eve",
"label": "",
"group": "3f693201c9dfc80c",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "work eve",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "briefcase-clock",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "briefcase-clock-outline",
"offcolor": "grey",
"x": 1220,
"y": 3720,
"wires": [
[]
]
},
{
"id": "a87c14e04ed75544",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 3660,
"wires": [
[
"5673ce2c9088f475"
]
]
},
{
"id": "89fea9401e9ea5c1",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "high",
"vt": "str"
},
{
"t": "eq",
"v": "low",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 670,
"y": 4740,
"wires": [
[
"13dbb1a630d2cd7d"
],
[
"86076299a0fb4895"
],
[
"a589feb1b401ea68"
]
]
},
{
"id": "fc11e57431b3bece",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "jarvis",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1340,
"y": 4740,
"wires": [
[
"8beb2a2f4c26c437"
]
]
},
{
"id": "b1825677cbba4273",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "room - ui - rhasspy - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 4560,
"wires": [
[
"539d1393b0bcbaf6"
]
]
},
{
"id": "a06fcd9bc49dd111",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "room - ui - rhasspy - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 4500,
"wires": [
[
"5209317f54f78726",
"4e9259e00dbed0ac"
]
]
},
{
"id": "8beb2a2f4c26c437",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "room - ui - rhasspy - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1475,
"y": 4740,
"wires": []
},
{
"id": "539d1393b0bcbaf6",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "jarvis",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 4560,
"wires": [
[
"58a80e8214149e12",
"892332a6fc4a6710"
]
]
},
{
"id": "4251d90a5ab9d7a1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4620,
"wires": [
[
"787028ce8e3aa268",
"2034de4581f58c90",
"4ce96c7ddf9665c7",
"43a2549e341c526b",
"dc709a1842ae7a88",
"5ed94f8216251cb1"
]
]
},
{
"id": "58a80e8214149e12",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Jarvis\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4560,
"wires": [
[
"0be97543e6033a9a",
"d5abdb129e7bdcb1"
]
]
},
{
"id": "5209317f54f78726",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Jarvis\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4500,
"wires": [
[
"d5abdb129e7bdcb1",
"0be97543e6033a9a"
]
]
},
{
"id": "d5abdb129e7bdcb1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun assistant local",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 4500,
"wires": [
[
"d201aa9375be8c18"
]
]
},
{
"id": "d201aa9375be8c18",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 4500,
"wires": []
},
{
"id": "0be97543e6033a9a",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 4560,
"wires": [
[]
]
},
{
"id": "892332a6fc4a6710",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 4740,
"wires": [
[
"89fea9401e9ea5c1"
]
]
},
{
"id": "97aa2e016643bfbd",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "room - ui - air conditioner - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 3840,
"wires": [
[
"5a5c10ecd5d798be",
"2a4f2715f401f8f2"
]
]
},
{
"id": "383c38e98cd05755",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "room - ui - air conditioner - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 3900,
"wires": [
[
"12fca45ce9ab2abb"
]
]
},
{
"id": "5a5c10ecd5d798be",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Climatisation\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3840,
"wires": [
[
"c6383ca66673fd96",
"f520ba0c172598b7"
]
]
},
{
"id": "932e7fad1c98966f",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Climatisation\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3900,
"wires": [
[
"f520ba0c172598b7",
"c6383ca66673fd96"
]
]
},
{
"id": "baadaeea2e2d4f95",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3960,
"wires": [
[
"327f0ed7b5fa48d2",
"f68f5c75e58e22cb",
"dcfb0cd127aa904e",
"22c8ba7a5b818ab1",
"4e080e4032b4c4c8",
"0bb31a889d427f54",
"e6cf92eef6f506ec",
"4205795bed6b3290",
"a8dd4b383d7eb632"
]
]
},
{
"id": "c5d646bd69c37865",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "air conditioner",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1540,
"y": 4080,
"wires": [
[
"9d8b8d237e2704ea"
]
]
},
{
"id": "9d8b8d237e2704ea",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "room - ui - air conditioner - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1675,
"y": 4080,
"wires": []
},
{
"id": "4da4c768067c032b",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "mode",
"vt": "str"
},
{
"t": "eq",
"v": "fan rate",
"vt": "str"
},
{
"t": "eq",
"v": "fan direction",
"vt": "str"
},
{
"t": "eq",
"v": "temperature setpoint",
"vt": "str"
},
{
"t": "eq",
"v": "advanced",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 6,
"x": 670,
"y": 4080,
"wires": [
[
"327f0ed7b5fa48d2",
"988c34fbce846dcc"
],
[
"738201cd36aef02d"
],
[
"9d154c219f206faf"
],
[
"6b1aeadab15d8e8c"
],
[
"0ecce96328bfdde4",
"a8dd4b383d7eb632"
],
[
"88a37cbdf2f5f465",
"ad3172b46080261c"
]
]
},
{
"id": "12fca45ce9ab2abb",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "air conditioner",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 3900,
"wires": [
[
"932e7fad1c98966f",
"2a45ad61a4b3d598"
]
]
},
{
"id": "c6383ca66673fd96",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun climatiseur",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 3840,
"wires": [
[
"cd9ba8ff11c8036d"
]
]
},
{
"id": "cd9ba8ff11c8036d",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 3840,
"wires": []
},
{
"id": "f520ba0c172598b7",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 3900,
"wires": [
[]
]
},
{
"id": "327f0ed7b5fa48d2",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "power",
"label": "",
"group": "3b3e6fe6f656ea0e",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "fan",
"oncolor": "blue",
"offvalue": "false",
"offvalueType": "bool",
"officon": "fan-off",
"offcolor": "grey",
"x": 1270,
"y": 4080,
"wires": [
[
"c5d646bd69c37865"
]
]
},
{
"id": "f68f5c75e58e22cb",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"name": "mode",
"label": "Mode",
"tooltip": "",
"order": 6,
"width": "2",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "mode",
"topicType": "str",
"className": "",
"x": 1270,
"y": 4140,
"wires": [
[
"c5d646bd69c37865"
]
]
},
{
"id": "a8dd4b383d7eb632",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"name": "temperature setpoint",
"label": "",
"tooltip": "",
"order": 10,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "temperature setpoint",
"topicType": "str",
"thumbLabel": true,
"min": "18",
"max": "31",
"step": "1",
"className": "",
"x": 1320,
"y": 4320,
"wires": [
[
"c5d646bd69c37865"
]
]
},
{
"id": "4205795bed6b3290",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"order": 9,
"width": "2",
"height": "1",
"name": "temperature setpoint (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1050,
"y": 4320,
"wires": []
},
{
"id": "2a45ad61a4b3d598",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 4080,
"wires": [
[
"4da4c768067c032b"
]
]
},
{
"id": "dcfb0cd127aa904e",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"name": "fan rate",
"label": "Ventilation",
"tooltip": "",
"order": 7,
"width": "2",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "fan rate",
"topicType": "str",
"className": "",
"x": 1280,
"y": 4200,
"wires": [
[
"c5d646bd69c37865"
]
]
},
{
"id": "22c8ba7a5b818ab1",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"name": "fan direction",
"label": "Direction",
"tooltip": "",
"order": 8,
"width": "2",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "fan direction",
"topicType": "str",
"className": "",
"x": 1290,
"y": 4260,
"wires": [
[
"c5d646bd69c37865"
]
]
},
{
"id": "d5a2226e7f24deda",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "high",
"vt": "str"
},
{
"t": "eq",
"v": "low",
"vt": "str"
},
{
"t": "eq",
"v": "volume",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 4,
"x": 670,
"y": 5220,
"wires": [
[
"dbac3472fc6c8c6b",
"a8480038bfbf3fcc"
],
[
"e61351b02452479b",
"8fc146f9644edbbe"
],
[
"4635fe1f7e4a367f",
"1f6f49b445e2d521"
],
[
"22b72e8520c12a40",
"626e1746ced16a4c"
]
]
},
{
"id": "fc6548d30b49e4d0",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "alexa",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1380,
"y": 5220,
"wires": [
[
"8a6f97848d7b1a2c"
]
]
},
{
"id": "c72c85a05c057eb6",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "room - ui - alexa - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 5040,
"wires": [
[
"63f153f048b1295f"
]
]
},
{
"id": "5f5234be5bf42b3a",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "room - ui - alexa - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 4980,
"wires": [
[
"2723a51ead34599a",
"c90a6ddfd223af79"
]
]
},
{
"id": "8a6f97848d7b1a2c",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "room - ui - alexa - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1515,
"y": 5220,
"wires": []
},
{
"id": "63f153f048b1295f",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "alexa",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 5040,
"wires": [
[
"2923cfe0def7c0ad",
"7475623aa0893639"
]
]
},
{
"id": "130d6f3ddbbffdae",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5100,
"wires": [
[
"dbac3472fc6c8c6b",
"d522ee9073fbd7f0",
"b37b3ee777a644db",
"b4c8c70bb7e8948d",
"ed28b9fa5c455f0c",
"e61351b02452479b",
"4635fe1f7e4a367f",
"626e1746ced16a4c"
]
]
},
{
"id": "2923cfe0def7c0ad",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Alexa\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5040,
"wires": [
[
"ecf7b9d277d80279",
"f1f8c53efd3838a8"
]
]
},
{
"id": "2723a51ead34599a",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Alexa\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4980,
"wires": [
[
"f1f8c53efd3838a8",
"ecf7b9d277d80279"
]
]
},
{
"id": "f1f8c53efd3838a8",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun assistant Alexa",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 4980,
"wires": [
[
"a1ac1aa658d58387"
]
]
},
{
"id": "a1ac1aa658d58387",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 4980,
"wires": []
},
{
"id": "ecf7b9d277d80279",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 5040,
"wires": [
[]
]
},
{
"id": "e61351b02452479b",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"name": "high",
"label": "",
"tooltip": "",
"order": 7,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "high",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": "1",
"className": "",
"x": 1190,
"y": 5280,
"wires": [
[
"fc6548d30b49e4d0"
]
]
},
{
"id": "4635fe1f7e4a367f",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"name": "low",
"label": "",
"tooltip": "",
"order": 9,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "low",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": "1",
"className": "",
"x": 1190,
"y": 5340,
"wires": [
[
"fc6548d30b49e4d0"
]
]
},
{
"id": "dbac3472fc6c8c6b",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "actif",
"label": "",
"group": "e807a144dac63624",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1190,
"y": 5220,
"wires": [
[
"fc6548d30b49e4d0"
]
]
},
{
"id": "7475623aa0893639",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 5220,
"wires": [
[
"d5a2226e7f24deda"
]
]
},
{
"id": "626e1746ced16a4c",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"name": "volume",
"label": "",
"tooltip": "",
"order": 5,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "volume",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": "1",
"className": "",
"x": 1200,
"y": 5400,
"wires": [
[
"fc6548d30b49e4d0"
]
]
},
{
"id": "0691d9a37686f464",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 670,
"y": 5760,
"wires": [
[
"6495af71a7195bb4",
"4edb12baad4c5bd0"
]
]
},
{
"id": "3c6ee783748b235e",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "telegram",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1520,
"y": 5760,
"wires": [
[
"1d6b2ca73ae11560"
]
]
},
{
"id": "761cb37547fe4dc2",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "room - ui - telegram - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 5580,
"wires": [
[
"befe8bfd3d3446cc"
]
]
},
{
"id": "a033c6dbdefb80f9",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "room - ui - telegram - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 5520,
"wires": [
[
"45ec5e8001fad3fa",
"58e1c9e33b0a90f3"
]
]
},
{
"id": "1d6b2ca73ae11560",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "room - ui - alexa - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1655,
"y": 5760,
"wires": []
},
{
"id": "befe8bfd3d3446cc",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "telegram",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 5580,
"wires": [
[
"661f755eabe3c32b",
"bf793e9865c9e834"
]
]
},
{
"id": "2936573edcac41e4",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "reset",
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5640,
"wires": [
[
"6495af71a7195bb4",
"97087ce25aae4515",
"5f4fe9067e1fd9a0"
]
]
},
{
"id": "661f755eabe3c32b",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"show\": [\"Pièces:Telegram\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5580,
"wires": [
[
"42cb1c19195b7aaf",
"9c9162236e4b23a6"
]
]
},
{
"id": "45ec5e8001fad3fa",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\": {\t \"hide\": [\"Pièces:Telegram\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5520,
"wires": [
[
"9c9162236e4b23a6",
"42cb1c19195b7aaf"
]
]
},
{
"id": "9c9162236e4b23a6",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun assistant Telegram",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 5520,
"wires": [
[
"ce9aca3509c7c320"
]
]
},
{
"id": "ce9aca3509c7c320",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"group": "cfbed463c3e70b05",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 5520,
"wires": []
},
{
"id": "42cb1c19195b7aaf",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 5580,
"wires": [
[]
]
},
{
"id": "6495af71a7195bb4",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "actif",
"label": "",
"group": "cfbed463c3e70b05",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1170,
"y": 5760,
"wires": [
[
"3c6ee783748b235e"
]
]
},
{
"id": "bf793e9865c9e834",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 5760,
"wires": [
[
"0691d9a37686f464",
"5ab53f45b766d97b"
]
]
},
{
"id": "5f4fe9067e1fd9a0",
"type": "ui-text-input",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"group": "cfbed463c3e70b05",
"name": "",
"label": "Message",
"order": 4,
"width": "5",
"height": "1",
"topic": "topic",
"topicType": "msg",
"mode": "text",
"delay": 300,
"passthru": true,
"sendOnDelay": false,
"sendOnBlur": true,
"sendOnEnter": true,
"className": "",
"x": 1000,
"y": 5820,
"wires": [
[
"b4a9884f6b553123"
]
]
},
{
"id": "05b5a24c1547eb9a",
"type": "ui-button",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"group": "cfbed463c3e70b05",
"name": "send",
"label": "",
"order": 5,
"width": "1",
"height": "1",
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "send",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "message",
"topicType": "str",
"x": 990,
"y": 5880,
"wires": [
[
"12697008ac3ea99d"
]
]
},
{
"id": "b4a9884f6b553123",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "flow",
"rules": [
{
"t": "set",
"p": "telegram.content",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1170,
"y": 5820,
"wires": [
[]
]
},
{
"id": "5ab53f45b766d97b",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "empty",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 670,
"y": 5820,
"wires": [
[
"5f4fe9067e1fd9a0"
]
]
},
{
"id": "86f604b24a73308c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "telegram.content",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1340,
"y": 5880,
"wires": [
[
"5ab53f45b766d97b",
"25609df681da5c1b",
"3c6ee783748b235e"
]
]
},
{
"id": "25609df681da5c1b",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "set notification metric",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "system",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "notification",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "message",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Message telegram envoyé",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1560,
"y": 5880,
"wires": [
[
"d2194c4dad790ec4"
]
]
},
{
"id": "d2194c4dad790ec4",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "telegram - ui - notification",
"mode": "link",
"links": [
"206c1fb4a48067df"
],
"x": 1735,
"y": 5880,
"wires": []
},
{
"id": "12697008ac3ea99d",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "flow",
"property": "telegram.content",
"propertyType": "flow",
"rules": [
{
"t": "nempty"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1170,
"y": 5880,
"wires": [
[
"86f604b24a73308c"
]
]
},
{
"id": "97087ce25aae4515",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"group": "cfbed463c3e70b05",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 5760,
"wires": []
},
{
"id": "4edb12baad4c5bd0",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5760,
"wires": [
[
"97087ce25aae4515"
]
]
},
{
"id": "9958ae246d4edc9d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "from global",
"rules": [
{
"t": "set",
"p": "old_payload",
"pt": "msg",
"to": "payload",
"tot": "msg"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics",
"tot": "global"
},
{
"t": "set",
"p": "thermostat.options",
"pt": "flow",
"to": "[]",
"tot": "jsonata"
},
{
"t": "set",
"p": "airflow.options[0]",
"pt": "flow",
"to": "{\t 'label': 'non assigné',\t 'value': ''\t}",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 670,
"y": 1800,
"wires": [
[
"625142605bf476a4"
]
]
},
{
"id": "625142605bf476a4",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "bucket",
"x": 850,
"y": 1800,
"wires": [
[
"4dcfe4665aa8fabf"
]
]
},
{
"id": "4dcfe4665aa8fabf",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "measurement",
"x": 1010,
"y": 1800,
"wires": [
[
"ce3cb01895016d69"
]
]
},
{
"id": "ce3cb01895016d69",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "humidity",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1200,
"y": 1800,
"wires": [
[
"8be81912e014841a"
]
]
},
{
"id": "8be81912e014841a",
"type": "split",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "field",
"x": 1390,
"y": 1800,
"wires": [
[
"6b8eff0718819266"
]
]
},
{
"id": "6b8eff0718819266",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "add",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "count",
"pt": "msg",
"to": "$count(msg.options)-1",
"tot": "jsonata"
},
{
"t": "set",
"p": "count",
"pt": "msg",
"to": "msg.count+1",
"tot": "jsonata"
},
{
"t": "set",
"p": "options[msg.count]",
"pt": "msg",
"to": "{\t 'label': msg.bucket&'/humidity/'&msg.field,\t 'value': msg.bucket&'/humidity/'&msg.field\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "airflow.options",
"pt": "flow",
"to": "options",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1550,
"y": 1800,
"wires": [
[]
]
},
{
"id": "b1ebe0e08e2084f1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1500,
"wires": [
[
"fd421d21a13fd9cd"
]
]
},
{
"id": "fd421d21a13fd9cd",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity 1",
"label": "Capteur d'humidité 1 :",
"tooltip": "",
"order": 10,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "humidity 1",
"topicType": "str",
"className": "",
"x": 1210,
"y": 1500,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "5994c74117a8e31c",
"type": "rbe",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "bucket",
"topi": "topic",
"x": 490,
"y": 1800,
"wires": [
[
"9958ae246d4edc9d"
]
]
},
{
"id": "ddcf6edbc20142df",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity 2",
"label": "Capteur d'humidité 2 :",
"tooltip": "",
"order": 11,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "humidity 2",
"topicType": "str",
"className": "",
"x": 1210,
"y": 1560,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "055c0a0f268053e4",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1560,
"wires": [
[
"ddcf6edbc20142df"
]
]
},
{
"id": "4751d9bbafc5bc21",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity 3",
"label": "Capteur d'humidité 3 :",
"tooltip": "",
"order": 12,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "humidity 3",
"topicType": "str",
"className": "",
"x": 1210,
"y": 1620,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "a5bf2bb33f9ff5bb",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1620,
"wires": [
[
"4751d9bbafc5bc21"
]
]
},
{
"id": "16cca2765e899796",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity 4",
"label": "Capteur d'humidité 4 :",
"tooltip": "",
"order": 13,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "humidity 4",
"topicType": "str",
"className": "",
"x": 1210,
"y": 1680,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "0cbdea1f752e09f9",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1680,
"wires": [
[
"16cca2765e899796"
]
]
},
{
"id": "3d3b69a92d3e5a3b",
"type": "ui-dropdown",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity 5",
"label": "Capteur d'humidité 5 :",
"tooltip": "",
"order": 14,
"width": "6",
"height": "1",
"passthru": false,
"multiple": false,
"options": [],
"payload": "",
"topic": "humidity 5",
"topicType": "str",
"className": "",
"x": 1210,
"y": 1740,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "b2f7ebfba6bbc4d4",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "airflow.options",
"tot": "flow"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1740,
"wires": [
[
"3d3b69a92d3e5a3b"
]
]
},
{
"id": "367ddcc943fb234e",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "actif",
"vt": "str"
},
{
"t": "eq",
"v": "timer",
"vt": "str"
},
{
"t": "eq",
"v": "humidity",
"vt": "str"
},
{
"t": "eq",
"v": "cmv",
"vt": "str"
},
{
"t": "eq",
"v": "humidity 1",
"vt": "str"
},
{
"t": "eq",
"v": "humidity 2",
"vt": "str"
},
{
"t": "eq",
"v": "humidity 3",
"vt": "str"
},
{
"t": "eq",
"v": "humidity 4",
"vt": "str"
},
{
"t": "eq",
"v": "humidity 5",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 9,
"x": 670,
"y": 1260,
"wires": [
[
"dd4ba0864d260f4c",
"6ba28539428fe214"
],
[
"45a643fb738127eb",
"2294d7008f04fb84"
],
[
"3962dc523ff48938",
"6ad49aefeefbd09d"
],
[
"18531ed9a7d1af80",
"a80b7e58e8b264f6"
],
[
"b1ebe0e08e2084f1"
],
[
"055c0a0f268053e4"
],
[
"a5bf2bb33f9ff5bb"
],
[
"0cbdea1f752e09f9"
],
[
"b2f7ebfba6bbc4d4"
]
]
},
{
"id": "b3e71ec6ef25bab1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "false",
"tot": "bool"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[{'label':'N/A','value':''}]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1140,
"wires": [
[
"dd4ba0864d260f4c",
"a80b7e58e8b264f6",
"98ea4337ad7298c2",
"45a643fb738127eb",
"ab9f875320713f08",
"3962dc523ff48938",
"fd421d21a13fd9cd",
"ddcf6edbc20142df",
"4751d9bbafc5bc21",
"16cca2765e899796",
"3d3b69a92d3e5a3b",
"95108e6e070e7630",
"204d9ba1193ba811"
]
]
},
{
"id": "661050a25f78f9a2",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "airflow",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1380,
"y": 1260,
"wires": [
[
"ef9a2b91b42284b7"
]
]
},
{
"id": "ef2769915480b0f6",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "room - ui - airflow - load",
"links": [
"9e4bfee0db3051d4"
],
"x": 135,
"y": 1020,
"wires": [
[
"174edf5e342c527e",
"3902e4b05ebbbfaf"
]
]
},
{
"id": "4bea82d34bf79d91",
"type": "link in",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "room - ui - airflow - metric",
"links": [
"b6323e1460f6f50c"
],
"x": 135,
"y": 1080,
"wires": [
[
"9cab1d58af793873"
]
]
},
{
"id": "ef9a2b91b42284b7",
"type": "link out",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "room - ui - airflow - metric",
"mode": "link",
"links": [
"2690f4e06626ebda"
],
"x": 1515,
"y": 1260,
"wires": []
},
{
"id": "a4dbfc219ae2dcd8",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "set metric",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1380,
"y": 1320,
"wires": [
[
"ef9a2b91b42284b7"
]
]
},
{
"id": "9cab1d58af793873",
"type": "switch",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "airflow",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 300,
"y": 1080,
"wires": [
[
"ede7f68b56764350",
"0e12a116cd5a645e",
"5994c74117a8e31c"
]
]
},
{
"id": "174edf5e342c527e",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "reset",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\":{\t \"hide\":[\"Pièces:Ventilation\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1020,
"wires": [
[
"1fc6514464e22856",
"c7121847509f1d08"
]
]
},
{
"id": "c7121847509f1d08",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune ventialtion",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 1020,
"wires": [
[
"989b7d7ecba85616"
]
]
},
{
"id": "989b7d7ecba85616",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"order": 1,
"width": "6",
"height": "1",
"name": "none",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-center",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 1020,
"wires": []
},
{
"id": "1fc6514464e22856",
"type": "ui-control",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "",
"ui": "2d75e4809d2a6fbf",
"events": "all",
"x": 1000,
"y": 1080,
"wires": [
[]
]
},
{
"id": "ede7f68b56764350",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "set",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"groups\":{\t \"show\":[\"Pièces:Ventilation\"]\t }\t}",
"tot": "jsonata"
},
{
"t": "set",
"p": "class",
"pt": "msg",
"to": "remove",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1080,
"wires": [
[
"1fc6514464e22856",
"c7121847509f1d08"
]
]
},
{
"id": "dd4ba0864d260f4c",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "actif",
"label": "",
"group": "2da57f82233c276b",
"order": 3,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1190,
"y": 1260,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "45a643fb738127eb",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "timer",
"label": "",
"tooltip": "",
"order": 7,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "timer",
"topicType": "str",
"thumbLabel": true,
"min": "20",
"max": "240",
"step": "10",
"className": "",
"x": 1190,
"y": 1380,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "3962dc523ff48938",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"name": "humidity",
"label": "",
"tooltip": "",
"order": 9,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "humidity",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "95",
"step": "5",
"className": "",
"x": 1200,
"y": 1440,
"wires": [
[
"661050a25f78f9a2"
]
]
},
{
"id": "a80b7e58e8b264f6",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "cmv",
"label": "",
"group": "2da57f82233c276b",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "cmv",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "fan",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "fan-off",
"offcolor": "grey",
"x": 1190,
"y": 1320,
"wires": [
[
"a4dbfc219ae2dcd8"
]
]
},
{
"id": "0e12a116cd5a645e",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "250 ms",
"pauseType": "delay",
"timeout": "250",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 500,
"y": 1260,
"wires": [
[
"367ddcc943fb234e"
]
]
},
{
"id": "98ea4337ad7298c2",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"order": 6,
"width": "2",
"height": "1",
"name": "titmer (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 1380,
"wires": []
},
{
"id": "ab9f875320713f08",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"order": 8,
"width": "2",
"height": "1",
"name": "humidity (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 1440,
"wires": []
},
{
"id": "58e1c9e33b0a90f3",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "35fa81df547b4491",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 5640,
"wires": [
[
"2936573edcac41e4"
]
]
},
{
"id": "a8480038bfbf3fcc",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5220,
"wires": [
[
"d522ee9073fbd7f0"
]
]
},
{
"id": "d522ee9073fbd7f0",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 5220,
"wires": []
},
{
"id": "c90a6ddfd223af79",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 5100,
"wires": [
[
"130d6f3ddbbffdae"
]
]
},
{
"id": "22b72e8520c12a40",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Volume à '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5400,
"wires": [
[
"ed28b9fa5c455f0c"
]
]
},
{
"id": "ed28b9fa5c455f0c",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"order": 4,
"width": "2",
"height": "1",
"name": "volume (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 5400,
"wires": []
},
{
"id": "1f6f49b445e2d521",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Réglage faible à '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5340,
"wires": [
[
"b4c8c70bb7e8948d"
]
]
},
{
"id": "b4c8c70bb7e8948d",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"order": 8,
"width": "2",
"height": "1",
"name": "low (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 5340,
"wires": []
},
{
"id": "b37b3ee777a644db",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"group": "e807a144dac63624",
"order": 6,
"width": "2",
"height": "1",
"name": "high (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 5280,
"wires": []
},
{
"id": "8fc146f9644edbbe",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "48dd7d439fba9eda",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Réglage fort à '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 5280,
"wires": [
[
"b37b3ee777a644db"
]
]
},
{
"id": "4e080e4032b4c4c8",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"order": 2,
"width": "5",
"height": "1",
"name": "power (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 4080,
"wires": []
},
{
"id": "988c34fbce846dcc",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Climatiseur en fonction':\"Climatiseur à l'arrêt\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4080,
"wires": [
[
"4e080e4032b4c4c8"
]
]
},
{
"id": "88a37cbdf2f5f465",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Configuration '&(msg.payload=\"2\"?'puissant':(msg.payload=\"12\"?'économique':'normal'))",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4380,
"wires": [
[
"e6cf92eef6f506ec"
]
]
},
{
"id": "e6cf92eef6f506ec",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"group": "3b3e6fe6f656ea0e",
"order": 4,
"width": "5",
"height": "1",
"name": "advanced (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 4380,
"wires": []
},
{
"id": "0bb31a889d427f54",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "advanced",
"label": "",
"group": "3b3e6fe6f656ea0e",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "fan-alert",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "fan",
"offcolor": "grey",
"x": 1440,
"y": 4380,
"wires": [
[]
]
},
{
"id": "ad3172b46080261c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload=\"2\"?true:(msg.payload=\"12\"?true:false)",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 4380,
"wires": [
[
"0bb31a889d427f54"
]
]
},
{
"id": "0ecce96328bfdde4",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Consigne à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4320,
"wires": [
[
"4205795bed6b3290"
]
]
},
{
"id": "2a4f2715f401f8f2",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 3960,
"wires": [
[
"baadaeea2e2d4f95"
]
]
},
{
"id": "dc709a1842ae7a88",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"name": "high",
"label": "",
"tooltip": "",
"order": 7,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "high",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": "1",
"className": "",
"x": 1170,
"y": 4800,
"wires": [
[
"fc11e57431b3bece"
]
]
},
{
"id": "5ed94f8216251cb1",
"type": "ui-slider",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"name": "low",
"label": "",
"tooltip": "",
"order": 9,
"width": "4",
"height": "1",
"passthru": false,
"outs": "end",
"topic": "low",
"topicType": "str",
"thumbLabel": true,
"min": 0,
"max": "99",
"step": "1",
"className": "",
"x": 1170,
"y": 4860,
"wires": [
[
"fc11e57431b3bece"
]
]
},
{
"id": "43a2549e341c526b",
"type": "ui-switch",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "actif",
"label": "",
"group": "b7f2b376a6150162",
"order": 5,
"width": "1",
"height": "1",
"passthru": false,
"topic": "actif",
"topicType": "str",
"style": "",
"className": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "cog",
"oncolor": "teal",
"offvalue": "false",
"offvalueType": "bool",
"officon": "cog-off-outline",
"offcolor": "grey",
"x": 1170,
"y": 4740,
"wires": [
[
"fc11e57431b3bece"
]
]
},
{
"id": "13dbb1a630d2cd7d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion d'assistant active\":\"Gestion d'assistant inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4740,
"wires": [
[
"787028ce8e3aa268"
]
]
},
{
"id": "787028ce8e3aa268",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"order": 4,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 4740,
"wires": []
},
{
"id": "a589feb1b401ea68",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Réglage faible à '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4860,
"wires": [
[
"4ce96c7ddf9665c7"
]
]
},
{
"id": "4ce96c7ddf9665c7",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"order": 8,
"width": "2",
"height": "1",
"name": "low (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 4860,
"wires": []
},
{
"id": "2034de4581f58c90",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"group": "b7f2b376a6150162",
"order": 6,
"width": "2",
"height": "1",
"name": "high (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 4800,
"wires": []
},
{
"id": "86076299a0fb4895",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Réglage fort à '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 4800,
"wires": [
[
"2034de4581f58c90"
]
]
},
{
"id": "4e9259e00dbed0ac",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "707b31c0a7883fe2",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 4620,
"wires": [
[
"4251d90a5ab9d7a1"
]
]
},
{
"id": "61ed7b677cad542e",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 3540,
"wires": [
[
"f5f89b6efb421399"
]
]
},
{
"id": "af46ed6d30e60e05",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"group": "3f693201c9dfc80c",
"order": 2,
"width": "5",
"height": "1",
"name": "work day (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 3660,
"wires": []
},
{
"id": "7f2dd140d1c88cb9",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Jour de travail':'Jour de repos'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3660,
"wires": [
[
"af46ed6d30e60e05"
]
]
},
{
"id": "dad6bb6b40fef41e",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Veille de travail':'Veille de repos'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3720,
"wires": [
[
"a65aa958e432f9a5"
]
]
},
{
"id": "a65aa958e432f9a5",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "90046052f5bcb625",
"group": "3f693201c9dfc80c",
"order": 4,
"width": "5",
"height": "1",
"name": "work eve (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 3720,
"wires": []
},
{
"id": "a3e5f41d31ec8cc3",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 2940,
"wires": [
[
"2feac259f3f849cf"
]
]
},
{
"id": "06648a9cfafa7763",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion d'ombrage active\":\"Gestion d'ombrage inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3060,
"wires": [
[
"3e2e4e9b894029c8"
]
]
},
{
"id": "3e2e4e9b894029c8",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 3060,
"wires": []
},
{
"id": "6c209c997c1913af",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Minuterie à '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3180,
"wires": [
[
"9137722c14af0906"
]
]
},
{
"id": "9137722c14af0906",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 6,
"width": "2",
"height": "1",
"name": "timer (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 3180,
"wires": []
},
{
"id": "ad3a18ea13234fa7",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Luminosité à '&msg.payload&'Lx'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3240,
"wires": [
[
"cb13c9daccf388ee"
]
]
},
{
"id": "cb13c9daccf388ee",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 8,
"width": "2",
"height": "1",
"name": "luminosity (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 3240,
"wires": []
},
{
"id": "29a5cea9f00406df",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Ajouré à '&msg.payload&'%'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3300,
"wires": [
[
"42e7727aca3d42a1"
]
]
},
{
"id": "42e7727aca3d42a1",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 10,
"width": "2",
"height": "1",
"name": "openwork (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 3300,
"wires": []
},
{
"id": "8f75f6329e26fbc7",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"group": "104179763815c332",
"order": 4,
"width": "5",
"height": "1",
"name": "daily (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 3120,
"wires": []
},
{
"id": "af4763dd0a68af6b",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "96eb67f8be94bf98",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Déjà éxécuté aujourd'hui\":\"Non exécuté aurjourd'hui\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 3120,
"wires": [
[
"8f75f6329e26fbc7"
]
]
},
{
"id": "3702e76504099091",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "100 ms",
"pauseType": "delay",
"timeout": "100",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 280,
"y": 2040,
"wires": [
[
"5f218ee61959294d"
]
]
},
{
"id": "3abc2b9923687477",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion d'éclairage active\":\"Gestion d'éclairage inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2160,
"wires": [
[
"d608ad4cac54244d"
]
]
},
{
"id": "d608ad4cac54244d",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 2160,
"wires": []
},
{
"id": "4ac95d6cca44f46d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Minuterie à '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2460,
"wires": [
[
"e6259c762aec16ea"
]
]
},
{
"id": "e6259c762aec16ea",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 14,
"width": "2",
"height": "1",
"name": "timer (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 2460,
"wires": []
},
{
"id": "3cb082c8274cf548",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Eclairage fort '&msg.payload&'%'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2520,
"wires": [
[
"974a59dc173e747b"
]
]
},
{
"id": "974a59dc173e747b",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 16,
"width": "2",
"height": "1",
"name": "high (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 2520,
"wires": []
},
{
"id": "7750f047196281c7",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Eclairage faible '&msg.payload&'%'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2580,
"wires": [
[
"3a4cd663457429f7"
]
]
},
{
"id": "3a4cd663457429f7",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 18,
"width": "2",
"height": "1",
"name": "low (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 2580,
"wires": []
},
{
"id": "a3453a03261acf84",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Obscurité à '&msg.payload&'Lx'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2640,
"wires": [
[
"1a5f2695438cbfb8"
]
]
},
{
"id": "1a5f2695438cbfb8",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 12,
"width": "2",
"height": "1",
"name": "darkness (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 2640,
"wires": []
},
{
"id": "90417422245553bb",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Luminosité à '&msg.payload&'Lx'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2700,
"wires": [
[
"4951ba32095bc5f2"
]
]
},
{
"id": "4951ba32095bc5f2",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 20,
"width": "2",
"height": "1",
"name": "luminosity (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 2700,
"wires": []
},
{
"id": "3563d6cc5602d9c6",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 4,
"width": "5",
"height": "1",
"name": "night (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 2220,
"wires": []
},
{
"id": "49a7645f7932ec41",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Nocturne actif':'Nocturne inactif'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2220,
"wires": [
[
"3563d6cc5602d9c6"
]
]
},
{
"id": "e95d3ad0623d35fe",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 6,
"width": "5",
"height": "1",
"name": "motion (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 2280,
"wires": []
},
{
"id": "59a7c31353278ac1",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Mouvement actif':'Mouvement inactif'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2280,
"wires": [
[
"e95d3ad0623d35fe"
]
]
},
{
"id": "6e9eab0fc1a758ae",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Maintient actif':'Maintient inactif'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2340,
"wires": [
[
"93d9685cdee76b2d"
]
]
},
{
"id": "93d9685cdee76b2d",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 8,
"width": "5",
"height": "1",
"name": "retention (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 2340,
"wires": []
},
{
"id": "62dd7eabb91e408b",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"group": "4deac0812bc789d5",
"order": 10,
"width": "5",
"height": "1",
"name": "nightlight (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1020,
"y": 2400,
"wires": []
},
{
"id": "3bdb97b4240b5f07",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "139783cbea6b84f0",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Veilleuse active':'Veilleuse inactive'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 2400,
"wires": [
[
"62dd7eabb91e408b"
]
]
},
{
"id": "6ba28539428fe214",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion de ventilation active\":\"Gestion de ventialtion inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1260,
"wires": [
[
"95108e6e070e7630"
]
]
},
{
"id": "95108e6e070e7630",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 1260,
"wires": []
},
{
"id": "3902e4b05ebbbfaf",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 1140,
"wires": [
[
"b3e71ec6ef25bab1"
]
]
},
{
"id": "2294d7008f04fb84",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Minuterie à '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1380,
"wires": [
[
"98ea4337ad7298c2"
]
]
},
{
"id": "6ad49aefeefbd09d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Humidité à '&msg.payload&'%'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1440,
"wires": [
[
"ab9f875320713f08"
]
]
},
{
"id": "18531ed9a7d1af80",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Ventilation en marche\":\"Ventialtion à l'arrêt\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 1320,
"wires": [
[
"204d9ba1193ba811"
]
]
},
{
"id": "204d9ba1193ba811",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "486786996f8e512b",
"group": "2da57f82233c276b",
"order": 4,
"width": "5",
"height": "1",
"name": "cmv (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 1320,
"wires": []
},
{
"id": "92f84c3ac249f995",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 360,
"wires": [
[
"bf71f08c103ab9bf"
]
]
},
{
"id": "bd45f02bb3b3849b",
"type": "change",
"z": "eeb3b84351fc9295",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion de cumulus active\":\"Gestion de cumulus inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 600,
"wires": [
[
"6ae3dd31e136b128"
]
]
},
{
"id": "6ae3dd31e136b128",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1002.8571166992188,
"y": 600,
"wires": []
},
{
"id": "a9a219cec32d41db",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Minuterie à '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 780,
"wires": [
[
"8e1e779d0e2a97e2"
]
]
},
{
"id": "b476823397a6cb50",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 6,
"width": "5",
"height": "1",
"name": "daily (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 660,
"wires": []
},
{
"id": "9c1497c3869ae5b0",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Déjà éxécuté aujourd'hui\":\"Non exécuté aurjourd'hui\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 660,
"wires": [
[
"b476823397a6cb50"
]
]
},
{
"id": "6626de35491fc7e5",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 8,
"width": "5",
"height": "1",
"name": "night (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1000,
"y": 720,
"wires": []
},
{
"id": "2948383446051f6c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?'Nocturne actif':'Nocturne inactif'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 720,
"wires": [
[
"6626de35491fc7e5"
]
]
},
{
"id": "e5267eaa5761e821",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Cumulus en marche\":\"Cumulus à l'arrêt\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 830,
"y": 900,
"wires": [
[
"309706fa0b759907"
]
]
},
{
"id": "309706fa0b759907",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "9b11e3a85026957b",
"group": "d9226f161296ef5d",
"order": 4,
"width": "5",
"height": "1",
"name": "balloon (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1010,
"y": 900,
"wires": []
},
{
"id": "1d92bf6b8fc98959",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload?\"Gestion de thermostat active\":\"Gestion de thermostat inactive\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 600,
"wires": [
[
"25b3542fda8fae4d"
]
]
},
{
"id": "25b3542fda8fae4d",
"type": "ui-text",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"group": "28836135eb153545",
"order": 2,
"width": "5",
"height": "1",
"name": "actif (txt)",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 3840,
"y": 600,
"wires": []
},
{
"id": "4b8267934ced5596",
"type": "delay",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "50 ms",
"pauseType": "delay",
"timeout": "50",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 2750,
"y": 360,
"wires": [
[
"fc673a36d8691d63"
]
]
},
{
"id": "151d5194b8538480",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[\t {'label':'Eco','value':'eco'},\t {'label':'Confort','value':'confort'},\t {'label':'Hors-Gel','value':'anti-freeze'},\t {'label':'Arrêt','value':'off'}\t]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3300,
"y": 1140,
"wires": [
[
"f968a8fc298f04c3"
]
]
},
{
"id": "f670239d8cf08808",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Mode eco à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1200,
"wires": [
[
"63561fec4fba2afd"
]
]
},
{
"id": "a4b56ada8159bff6",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Mode confort à '&msg.payload&'°'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1260,
"wires": [
[
"e223793b9998818b"
]
]
},
{
"id": "990b4d58c23a68a2",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Coef. int. de '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1320,
"wires": [
[
"53f7b3195f6dfeed"
]
]
},
{
"id": "ee3e358d88bbf249",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Coef. ext. de '&msg.payload",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1380,
"wires": [
[
"99e789a941d2af52"
]
]
},
{
"id": "6f096e24c9634c56",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Préchauffe de '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1440,
"wires": [
[
"cb3f8f9fa322b59f"
]
]
},
{
"id": "83b16f9aed4fa051",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Cycle de '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1500,
"wires": [
[
"272807d6b707d92f"
]
]
},
{
"id": "db3ebf0b6421aeae",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Délai ouvrant '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1560,
"wires": [
[
"8c3c9bc4a66b1e32"
]
]
},
{
"id": "10c3697bddec1a05",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Délai délestage '&msg.payload&'m'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1620,
"wires": [
[
"33fde1af7428bf26"
]
]
},
{
"id": "4f0ea1cdd4d0b719",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "bb2ebd173a2ba06c",
"name": "format",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "'Puissance de '&msg.payload&'w'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3290,
"y": 1680,
"wires": [
[
"6d0cb16590b1da18"
]
]
},
{
"id": "738201cd36aef02d",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation','value':'6'},\t {'label':'Auto (0)','value':'0'},\t {'label':'Auto (1)','value':'1'},\t {'label':'Auto (7)','value':'7'}\t]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 4140,
"wires": [
[
"f68f5c75e58e22cb"
]
]
},
{
"id": "9d154c219f206faf",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[\t {'label':'Silence','value':'B'},\t {'label':'Froid','value':'3'},\t {'label':'Chaud','value':'4'},\t {'label':'Ventilation (0)','value':'6'},\t {'label':'Auto','value':'A'}\t]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 4200,
"wires": [
[
"dcfb0cd127aa904e"
]
]
},
{
"id": "6b1aeadab15d8e8c",
"type": "change",
"z": "eeb3b84351fc9295",
"g": "a0938dfc54b55acc",
"name": "options",
"rules": [
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "[\t {'label':'Normal','value':'0'},\t {'label':'Vertical','value':'1'}\t]",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 4260,
"wires": [
[
"22c8ba7a5b818ab1"
]
]
}
]