iotredloop/flows/P.Zigbee.json

8270 lines
148 KiB
JSON
Raw Normal View History

2024-04-28 08:20:00 +00:00
[
{
"id": "0cd436e03cba5cb6",
"type": "tab",
"label": "P.Zigbee",
"disabled": false,
"info": "",
"env": []
},
{
"id": "f147598b1853465c",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "schneider electric - S530559",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"66948514053cd7ef",
"8bb6e6e526809dfc",
"ba0439c1fa954d4d",
"3fb79d89a2bd41ff",
"3f468d9127dbefd1"
2024-04-28 08:20:00 +00:00
],
"x": 68,
2024-04-29 22:55:00 +00:00
"y": 413,
"w": 2974,
2024-04-28 08:20:00 +00:00
"h": 314
},
{
"id": "610900e2bc688c66",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "aqara - MCCGQ11LM",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e47b49408799776a",
"ee13e249bc8f7cb8",
"26ebc7d97f06c117",
"573db46bbc14f6e9"
2024-04-28 08:20:00 +00:00
],
"x": 68,
2024-05-19 10:24:39 +00:00
"y": 1373,
"w": 2114,
2024-04-28 08:20:00 +00:00
"h": 254
},
{
"id": "1a4c91d77f5e3f12",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-02",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"4139f126d180c24e",
"697a44ba65900e43",
"3fd562a0e54bacd1",
"b1443ec31cf4651d"
2024-04-28 08:20:00 +00:00
],
"x": 3128,
2024-04-29 22:55:00 +00:00
"y": 1373,
"w": 2154,
2024-04-28 08:20:00 +00:00
"h": 314
},
{
"id": "a8afdde5118f03bd",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "legrand - 412171, 412170",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"b8071baa204e8be9",
"2e0d545ca1f1f751",
"bbbe67eb0c6352bc",
"5967c186d2f9ebf3",
"a96ce0d1796adb63"
2024-04-28 08:20:00 +00:00
],
"x": 68,
2024-05-13 23:47:17 +00:00
"y": 773,
"w": 2914,
2024-04-28 08:20:00 +00:00
"h": 314
},
{
"id": "7ca9480926549d67",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "sonoff - ZBMINIL2",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"5a940d986fd98e4f",
"7ec205f137c6c32f",
"432680d564c1569e",
"fb310bb48b3ab02d",
"72d58a85b9a4aa52"
2024-04-28 08:20:00 +00:00
],
"x": 3128,
2024-04-29 22:55:00 +00:00
"y": 413,
"w": 2914,
2024-04-28 08:20:00 +00:00
"h": 254
},
{
"id": "85cf36fc3802a3fe",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-01P",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"19df7e1ced610978",
"46f335e4a5e2f58f",
"37baa76cfd48b2fc",
"6e2340865ef4c2ba"
2024-04-28 08:20:00 +00:00
],
"x": 3128,
2024-04-29 22:55:00 +00:00
"y": 713,
"w": 3054,
2024-04-28 08:20:00 +00:00
"h": 314
},
{
"id": "b475a609b6f58891",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-03",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"19780ef67d75fab4",
"95639b2299991877",
"2c8e632985722562",
"5cb5d81fb0a8ee1e"
2024-04-28 08:20:00 +00:00
],
"x": 3128,
2024-04-29 22:55:00 +00:00
"y": 1073,
"w": 2114,
2024-04-28 08:20:00 +00:00
"h": 254
},
{
"id": "2247172d871e19b2",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"9c334872c8322cb1",
"0eb24d3273642740",
"fd4ec723ef30dfd8"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
},
{
"id": "c7f0e1480df909e9",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "mqtt server for zigbee",
"style": {
"fill": "#ffffff",
"fill-opacity": "0.5",
"label": true,
"stroke": "#0070c0"
},
"nodes": [
"518b634fa908a4aa",
"b40a3b0d2d310907"
],
"x": 68,
"y": 173,
2024-05-06 20:18:23 +00:00
"w": 1824,
"h": 194
},
{
"id": "0bf7882d384bbe3e",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "zigbee - bucket",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"818474999b1f4359",
"06a2c66e1e278b6a",
"966a83047616987a"
],
"x": 94,
"y": 19,
"w": 342,
"h": 82
},
2024-05-06 20:18:23 +00:00
{
"id": "c77a914a05a8229b",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "Tuya - PJ-MGW1203",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"71fe9ef70302b7fe",
"f617e52e297c8ad2",
"874510c9886ca66e",
"4d1cd88e584eca79"
],
"x": 68,
2024-05-19 10:24:39 +00:00
"y": 2093,
2024-05-07 19:09:22 +00:00
"w": 2154,
2024-05-06 20:18:23 +00:00
"h": 254
},
{
"id": "b3a54f494cdd0908",
"type": "group",
"z": "0cd436e03cba5cb6",
2024-05-07 19:09:22 +00:00
"name": "legrand - 412015",
2024-05-06 20:18:23 +00:00
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"af4ed7f5e6452fe2",
"8e3558d0fd29e787",
"f560c75cc0e86a48",
"4fcc72c14eaab8bb"
],
"x": 68,
2024-05-13 23:47:17 +00:00
"y": 1133,
2024-05-07 19:09:22 +00:00
"w": 2174,
"h": 194
2024-05-06 20:18:23 +00:00
},
2024-05-13 23:47:17 +00:00
{
"id": "fc882b005e4a84af",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "aqara - LGYCDD01LM",
"style": {
"label": true,
"fill": "#777777",
"fill-opacity": "0.05"
},
"nodes": [
"bfbcbfaa6778aa95",
"de09283c1daf628d",
"f5aa5e5de05036bc",
"33b6641b09b8c982"
],
"x": 68,
2024-05-19 10:24:39 +00:00
"y": 1665.5,
2024-05-13 23:47:17 +00:00
"w": 2934,
"h": 381.5
},
2024-04-28 08:20:00 +00:00
{
"id": "66948514053cd7ef",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "f147598b1853465c",
"name": "zigbee - S530559 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"19b13887fb6925d7",
"6874cf6f062fb04a",
"33d5e527d6182be4",
"4260ec8334e317f2",
"de6506a93e799ba9",
"f2c9d7a95dbaeb38",
"d16b37d2939388d4",
"dbc8bb25a9189ad0"
2024-04-28 08:20:00 +00:00
],
"x": 534,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:20:00 +00:00
"w": 902,
"h": 262
},
{
"id": "8bb6e6e526809dfc",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "f147598b1853465c",
"name": "zigbee - S530559 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"22ae28cd02b2ac40",
"f2a5994dd44a5161",
"e357d03ad7d6882e",
"ed6122dd6848d885",
"cc0ff5feddc37308",
"61d409cdd6107520"
],
"x": 1534,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:58:19 +00:00
"w": 662,
2024-04-28 08:20:00 +00:00
"h": 142
},
{
"id": "ba0439c1fa954d4d",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "f147598b1853465c",
"name": "zigbee - S530559 - metric",
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"8f9164d97bb54bdc",
"0f053409eacfc57b",
"826e10a356b21321",
"1547b4b71e27b11b",
"3a56ad77ed759c12"
],
"x": 2294,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:20:00 +00:00
"w": 722,
"h": 82
},
{
"id": "e47b49408799776a",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "610900e2bc688c66",
"name": "zigbee - MCCGQ11LM - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"0d54b77d8c9e9c2e",
"eb2dea648ab3cbf3",
"0dc72fc23588671b",
"6a57d40dff357bfa",
"8f6759a268add92e",
"da66f64898772e28"
],
"x": 1474,
2024-05-19 10:24:39 +00:00
"y": 1399,
2024-04-28 08:58:19 +00:00
"w": 682,
2024-04-28 08:20:00 +00:00
"h": 142
},
{
"id": "ee13e249bc8f7cb8",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "610900e2bc688c66",
"name": "zigbee - MCCGQ11LM - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"2743e40bf657513e",
"3ceac0cbe91463c5",
"2d105ceea6392f18",
"f2af422ed8da0c9f",
"4f9f216ecca80280",
"0cdcc7d5d4b9c579",
"cff5883034f77cb0"
2024-04-28 08:20:00 +00:00
],
"x": 534,
2024-05-19 10:24:39 +00:00
"y": 1399,
2024-04-28 08:20:00 +00:00
"w": 842,
"h": 202
},
{
"id": "4139f126d180c24e",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "1a4c91d77f5e3f12",
"name": "source zigbee SNZB-02",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"eba7097bf16acf67",
"b5e907f3ee711b07",
"372f04c4a067844d",
"ada7d594f73cc361",
"134fcbb851958c16",
"43cac53e0a0d9eee",
"f11a044ad0e20908"
],
"x": 4554,
2024-04-29 22:55:00 +00:00
"y": 1399,
2024-04-28 08:58:19 +00:00
"w": 702,
2024-04-28 08:20:00 +00:00
"h": 202
},
{
"id": "697a44ba65900e43",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "1a4c91d77f5e3f12",
"name": "zigbee - SNZB-02 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"14186618daa0777a",
"3ecc82d3284673db",
"dc1da9165183247d",
"db246d9296a823b2",
"d29d128c44cded92",
"5ea3980a5d978b17",
"40de05671513ae04",
"42d5c8c10cedb468"
2024-04-28 08:20:00 +00:00
],
"x": 3594,
2024-04-29 22:55:00 +00:00
"y": 1399,
2024-04-28 08:20:00 +00:00
"w": 862,
"h": 262
},
{
"id": "b8071baa204e8be9",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "a8afdde5118f03bd",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - device",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"8cac6d3317d16d9b",
"de7e38615805f3a5",
"14cb219896489fb7",
"93766a4847594832",
"c2e44a76c98cd7ae",
"3a8223f94768eb4c",
"d982fc8e308c3260",
"8237bbc2fead9706"
2024-04-28 08:20:00 +00:00
],
"x": 534,
2024-05-13 23:47:17 +00:00
"y": 799,
2024-04-28 08:20:00 +00:00
"w": 842,
"h": 262
},
{
"id": "2e0d545ca1f1f751",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "a8afdde5118f03bd",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - source",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"93febb4421f30d87",
"f21af5e954aec1df",
"3b6e494f3b2508cf",
"1163d4337dbcccf6",
"2ec8ca0d27d00fed",
"4385665e61ddeef1"
],
"x": 1474,
2024-05-13 23:47:17 +00:00
"y": 799,
2024-04-28 08:58:19 +00:00
"w": 662,
2024-04-28 08:20:00 +00:00
"h": 142
},
{
"id": "bbbe67eb0c6352bc",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "a8afdde5118f03bd",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - metric",
2024-04-28 08:20:00 +00:00
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"de48ab70a838d67e",
"c7ca4f7a643b3a2c",
"c7da23fa87be228d",
"f2fda89b10cab1fe",
"dc8432cb11ffb0d6"
],
"x": 2234,
2024-05-13 23:47:17 +00:00
"y": 799,
2024-04-28 08:20:00 +00:00
"w": 722,
"h": 82
},
{
"id": "5a940d986fd98e4f",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "7ca9480926549d67",
"name": "zigbee - ZBMINIL2 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"99a4e5dc5644cb4f",
"f75e69724e356e1c",
"5e07eabb2b7d8ce2",
"c491dadde798f841",
"1d31e1f4842e9321",
"00384275810d4079",
"97bc7bfd63052866"
2024-04-28 08:20:00 +00:00
],
"x": 3594,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:20:00 +00:00
"w": 842,
"h": 202
},
{
"id": "7ec205f137c6c32f",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "7ca9480926549d67",
"name": "zigbee - ZBMINIL2 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"39ac0b2fb3f505c0",
"e93a07a5851a14f2",
"7b6cf0c3453cf17b",
"a6ae8f35d17b3622",
"162055ff0b298da7"
],
"x": 4534,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:58:19 +00:00
"w": 662,
2024-04-28 08:20:00 +00:00
"h": 82
},
{
"id": "432680d564c1569e",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "7ca9480926549d67",
"name": "zigbee - ZBMINIL2 - metric",
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"d051e2ecad8a4c91",
"25b1ac0e4bf27db0",
"0be54ddf68a672a5",
"bbeb040050524c9a",
"7906a1e6360e1d26"
],
"x": 5294,
2024-04-29 22:55:00 +00:00
"y": 439,
2024-04-28 08:20:00 +00:00
"w": 722,
"h": 82
},
{
"id": "19df7e1ced610978",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "85cf36fc3802a3fe",
"name": "zigbee - SNZB-01P - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"670e7395d0752414",
"0552a0e8ad4f3621",
"0454a289f1920bdf",
"9d5b5ecf823f3e06",
"42c7380d496e1a14",
"d6691e769350c0ac",
"1e1a6a213e5bed71",
"6a4924e86bc8630f",
"19b7b50be9592a5c",
"c892e02505855e89",
"1e457934d5466768",
"589c37cd53161a2b",
"f2a3784904b9112d",
"6b6b43283b748b66",
"19732dc56de56ff4",
"2f670c5c2a24ce20",
"64168fa4c56dcecc"
],
"x": 4554,
2024-04-29 22:55:00 +00:00
"y": 739,
2024-04-28 08:58:19 +00:00
"w": 1602,
2024-04-28 08:20:00 +00:00
"h": 262
},
{
"id": "46f335e4a5e2f58f",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "85cf36fc3802a3fe",
"name": "zigbee - SNZB-01P - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"341f5047f4a4fe5d",
"65f6a02b5d2c092d",
"fe5cbe149f478b8f",
"cb01f17b4f6d897a",
"74b35458f02dda86",
"29f7aa56b6e32d61"
],
"x": 3594,
2024-04-29 22:55:00 +00:00
"y": 739,
2024-04-28 08:20:00 +00:00
"w": 862,
"h": 142
},
{
"id": "19780ef67d75fab4",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "b475a609b6f58891",
"name": "zigbee - SNZB-03 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"746e7afab8f321b5",
"8fb070b26cad8e8c",
"3a92525692be8c0a",
"40746311949be945",
"b2f041d50556adbe",
"eec5f8a1287b092c"
],
"x": 4554,
2024-04-29 22:55:00 +00:00
"y": 1099,
2024-04-28 08:58:19 +00:00
"w": 662,
2024-04-28 08:20:00 +00:00
"h": 142
},
{
"id": "95639b2299991877",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "b475a609b6f58891",
"name": "zigbee - SNZB-03 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"dcb1d3c98c1c8c60",
"9bce06553cc1164f",
"b4da65c019049b2e",
"c0e646f0c8352181",
"8480858c89a6eed5",
"dab0ca52a89d269d",
"bc2f27d32087dd9a"
2024-04-28 08:20:00 +00:00
],
"x": 3594,
2024-04-29 22:55:00 +00:00
"y": 1099,
2024-04-28 08:20:00 +00:00
"w": 862,
"h": 202
},
2024-04-29 22:55:00 +00:00
{
"id": "518b634fa908a4aa",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "c7f0e1480df909e9",
"name": "",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"5d0abf7735e4d38c",
"a3594a90f69fe537",
"0c032c944567a64d",
"fb76731a2064ad65",
"529f7e707934e514",
"7b89e1d6b81feb1d",
"57bd505da426547c"
],
"x": 94,
"y": 199,
"w": 1162,
"h": 142
},
{
"id": "b40a3b0d2d310907",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "c7f0e1480df909e9",
"name": "",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"ac5c011465193c4e",
"6c324b24ca028984",
"3398dde44269eb08",
"08f26275ef69e598"
],
2024-05-06 20:18:23 +00:00
"x": 1354,
2024-04-29 22:55:00 +00:00
"y": 199,
"w": 512,
"h": 142
},
{
"id": "71fe9ef70302b7fe",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "c77a914a05a8229b",
"name": "zigbee - PJ-MGW1203 - device",
2024-04-29 22:55:00 +00:00
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
2024-04-29 22:55:00 +00:00
},
"nodes": [
"dfbbe93ed61d87b2",
"ac0a600ca52f9c3e",
"6f6d7d45f826f275",
"db531fac813c8e66",
"f739db440f3d79b1",
"22ef5d09e03d19e0",
"13199e203383201a"
2024-04-29 22:55:00 +00:00
],
"x": 534,
2024-05-19 10:24:39 +00:00
"y": 2119,
2024-05-07 19:09:22 +00:00
"w": 882,
"h": 202
2024-04-29 22:55:00 +00:00
},
2024-04-28 08:20:00 +00:00
{
"id": "f617e52e297c8ad2",
"type": "group",
2024-04-28 08:20:00 +00:00
"z": "0cd436e03cba5cb6",
"g": "c77a914a05a8229b",
"name": "zigbee - PJ-MGW1203 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"6bf24cfdfefb1bb7",
"bb997600e486d015",
"ddda7783f50a0db4",
"a26d34138e9e5ac9",
"f60ae365fb4e2024",
"81d1299edeeec856"
],
2024-05-07 19:09:22 +00:00
"x": 1514,
2024-05-19 10:24:39 +00:00
"y": 2119,
"w": 682,
"h": 142
},
{
"id": "fb310bb48b3ab02d",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "7ca9480926549d67",
"name": "zigbee - ZBMINIL2 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"4fa1971ba6183d55",
"a0a58b0b53c68d3d",
"1b2b173864b5b18f"
2024-04-28 08:20:00 +00:00
],
"x": 3154,
"y": 439,
"w": 342,
"h": 82
2024-04-28 08:20:00 +00:00
},
{
"id": "37baa76cfd48b2fc",
"type": "group",
2024-04-28 08:20:00 +00:00
"z": "0cd436e03cba5cb6",
"g": "85cf36fc3802a3fe",
"name": "zigbee - ZBMINIL2 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"9d33432184b532c8",
"3fce7a45dd3670a4",
"68937215c80c0f7c"
2024-04-28 08:20:00 +00:00
],
"x": 3154,
"y": 739,
"w": 342,
"h": 82
2024-04-28 08:20:00 +00:00
},
{
"id": "2c8e632985722562",
"type": "group",
2024-04-28 08:20:00 +00:00
"z": "0cd436e03cba5cb6",
"g": "b475a609b6f58891",
"name": "zigbee - SNZB-03 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"2b16e085b48c0440",
"34f9d3e13a7a926c",
"23cde9c0dc38671b"
],
"x": 3154,
"y": 1099,
"w": 342,
"h": 82
},
{
"id": "3fd562a0e54bacd1",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "1a4c91d77f5e3f12",
"name": "zigbee - SNZB-02 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"fad484a3f123ac37",
"96513a0fecdf10d8",
"b9beacf10a894eba"
],
"x": 3154,
"y": 1399,
"w": 342,
"h": 82
},
{
"id": "3fb79d89a2bd41ff",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "f147598b1853465c",
"name": "zigbee - S530559 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"370a85c93a8d561d",
"fb8a232abeb978b3",
"96dc3b51e121f1c9"
],
"x": 94,
"y": 439,
"w": 342,
"h": 82
},
{
"id": "26ebc7d97f06c117",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "610900e2bc688c66",
"name": "zigbee - MCCGQ11LM - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"b463c81b1b187246",
"df0e7a06d243f473",
"4eb7f83fca4bcb34"
],
"x": 94,
2024-05-19 10:24:39 +00:00
"y": 1399,
"w": 342,
"h": 82
},
{
"id": "5967c186d2f9ebf3",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "a8afdde5118f03bd",
"name": "zigbee - 412171, 412170 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"06e81a86a3217a48",
"c6c8fa25720fcc15",
"79409b5134de7f76",
"c5b9d91c720d7091"
],
"x": 94,
2024-05-13 23:47:17 +00:00
"y": 799,
"w": 342,
"h": 142
},
{
"id": "874510c9886ca66e",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "c77a914a05a8229b",
"name": "zigbee - PJ-MGW1203 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"a6900d3b869e3d1e",
"9ea62fd7b38d5c2a",
"f26c156abc555775"
],
"x": 94,
2024-05-19 10:24:39 +00:00
"y": 2119,
"w": 342,
"h": 82
},
2024-05-06 18:53:47 +00:00
{
"id": "af4ed7f5e6452fe2",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "b3a54f494cdd0908",
"name": "zigbee - 412015 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"548e7018cac831bd",
"de267bb0a5ee01a3",
"96341058baa9083b",
"a26b411c2e416297",
"aca4e6e7d14bc594",
"e20cf17770949369"
],
"x": 534,
2024-05-13 23:47:17 +00:00
"y": 1159,
2024-05-07 19:09:22 +00:00
"w": 902,
2024-05-06 18:53:47 +00:00
"h": 142
},
{
"id": "8e3558d0fd29e787",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "b3a54f494cdd0908",
"name": "zigbee - 412015 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"66467fdc455dc868",
"b3091e70cd5211b4",
"0d1a308fe2b59338",
"b1746f0094fd6091",
"a5360e4799f9e170"
],
2024-05-07 19:09:22 +00:00
"x": 1534,
2024-05-13 23:47:17 +00:00
"y": 1159,
2024-05-07 19:09:22 +00:00
"w": 682,
2024-05-06 18:53:47 +00:00
"h": 82
},
{
"id": "f560c75cc0e86a48",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "b3a54f494cdd0908",
"name": "zigbee - 412015 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"ff3a40b127910051",
"e285295f66b2b90f",
"fbe235d0cb60d161"
],
"x": 94,
2024-05-13 23:47:17 +00:00
"y": 1159,
"w": 342,
"h": 82
},
{
"id": "bfbcbfaa6778aa95",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "fc882b005e4a84af",
"name": "zigbee - LGYCDD01LM - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"d8ae76a5c0ba5f6a",
"c54192a41990cf11",
"4975550378291448"
],
"x": 94,
2024-05-19 10:24:39 +00:00
"y": 1699,
2024-05-06 18:53:47 +00:00
"w": 342,
"h": 82
},
2024-05-13 23:47:17 +00:00
{
"id": "de09283c1daf628d",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "fc882b005e4a84af",
"name": "zigbee - LGYCDD01LM- device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"f06ba18faf97032b",
"7290c49c75ecae94",
"8e57dece73e9abd4",
"32d00a16ef133893",
"d66b347f3bce5f3d",
"177460bc6cfd066c",
"808fb84d912540a7",
"82b83f7d81d2ba8f",
"66ba7737ec70b545"
],
"x": 534,
2024-05-19 10:24:39 +00:00
"y": 1699,
2024-05-13 23:47:17 +00:00
"w": 842,
"h": 322
},
{
"id": "f5aa5e5de05036bc",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "fc882b005e4a84af",
"name": "zigbee - LGYCDD01LM - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"ee79788fa0dd99e5",
"f6a43d93fa9caf56",
"011799cd3edec2dc",
"facc68a5ef39eb24",
"1f491e6a49821d0e"
],
"x": 1474,
2024-05-19 10:24:39 +00:00
"y": 1699,
2024-05-13 23:47:17 +00:00
"w": 682,
"h": 82
},
{
"id": "33b6641b09b8c982",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "fc882b005e4a84af",
"name": "zigbee - LGYCDD01LM - metric",
"style": {
"fill": "#92d04f",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"aff9c7b218c52ff1",
"d0fa99cc77ef787c",
"83ba7411866b2702",
"1df2f73158e97776",
"23cb7e24572f04c1"
],
"x": 2254,
2024-05-19 10:24:39 +00:00
"y": 1691.5,
2024-05-13 23:47:17 +00:00
"w": 722,
"h": 97
},
2024-05-19 10:24:39 +00:00
{
"id": "616054c1e71be9b5",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "Tuya - TS0044",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"bf3eb49f6340b632",
"60ffb41c372ca788",
"d95368da0fc1acec",
"04fc27259c1f44bf"
],
"x": 68,
"y": 2393,
"w": 2554,
"h": 614
},
{
"id": "bf3eb49f6340b632",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "616054c1e71be9b5",
"name": "zigbee - TS0044 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"9ff7f0e7a1fb4788",
"9fc01637c5eca7b2",
"4b0831a713ce8dc0",
"bd13245a76f322a9",
"b1e5a947b2346874",
"fa5bb014ac36141b",
"d5a5cd657c117207"
],
"x": 534,
"y": 2419,
"w": 882,
"h": 202
},
{
"id": "60ffb41c372ca788",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "616054c1e71be9b5",
"name": "zigbee - TS0044 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"89cc34a307fc8230",
"e46d811a29ddc59e",
"a21a4595db80d35a",
"dd0e8d1d231bdd94",
"dd58c47d1106a4bf",
"30432e164675548f",
"2225245917b7a345",
"13489fb2d737e51c",
"7aeeeaf39212aa00",
"ef8d2d2fb12b659b",
"e32b80f9df4fe606",
"aa62981bca11ac74",
"1309d7af15e1fc3b",
"4482952c7504d00d",
"48beece72436149c"
],
"x": 1514,
"y": 2419,
"w": 1082,
"h": 562
},
{
"id": "d95368da0fc1acec",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "616054c1e71be9b5",
"name": "zigbee - TS0044 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"11ec7020f389b20d",
"eb509cc252ef4416",
"cfb8b7f11b653349"
],
"x": 94,
"y": 2419,
"w": 342,
"h": 82
},
{
"id": "19b13887fb6925d7",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "S530559",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
"y": 480,
"wires": [
[
"6874cf6f062fb04a",
"33d5e527d6182be4",
"4260ec8334e317f2",
"f2c9d7a95dbaeb38"
]
]
},
{
"id": "6874cf6f062fb04a",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "cible / socket* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'socket'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
"y": 540,
"wires": [
[
"d16b37d2939388d4"
]
]
},
{
"id": "33d5e527d6182be4",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "outlet* / socket* / boolean / false*",
"rules": [
{
2024-04-28 08:20:00 +00:00
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'outlet'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'socket'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "msg.default?msg.default:false",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
2024-04-29 22:55:00 +00:00
"y": 600,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d16b37d2939388d4"
]
]
},
{
"id": "4260ec8334e317f2",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "power / socket* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'socket'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-04-29 22:55:00 +00:00
"y": 660,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d16b37d2939388d4"
]
]
},
{
"id": "de6506a93e799ba9",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "zigbee - S530559 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"19b13887fb6925d7"
]
]
},
{
"id": "f2c9d7a95dbaeb38",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
2024-05-07 19:09:22 +00:00
"name": "brand: schneider eletric /.outlet* / socket*",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "schneider electric",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'outlet'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'socket'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d16b37d2939388d4"
]
]
},
{
"id": "d16b37d2939388d4",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1260,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dbc8bb25a9189ad0"
]
]
},
{
"id": "dbc8bb25a9189ad0",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "66948514053cd7ef",
"name": "zigbee - S530559 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 1395,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "3f468d9127dbefd1",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "f147598b1853465c",
2024-04-28 08:20:00 +00:00
"name": "outlet / socket",
"info": "",
"x": 190,
"y": 560,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "22ae28cd02b2ac40",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
2024-04-28 08:58:19 +00:00
"name": "outlet*",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.payload.state='ON'",
2024-04-28 08:20:00 +00:00
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2030,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"61d409cdd6107520"
]
]
},
{
"id": "f2a5994dd44a5161",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
2024-04-28 08:58:19 +00:00
"name": "power",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.power",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2030,
2024-04-29 22:55:00 +00:00
"y": 540,
2024-04-28 08:20:00 +00:00
"wires": [
[
"61d409cdd6107520"
]
]
},
{
"id": "e357d03ad7d6882e",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
"name": "zigbee - S530559 - source",
"links": [
"24058eec92534b27"
],
"x": 1575,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"ed6122dd6848d885"
]
]
},
{
"id": "ed6122dd6848d885",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "S530559",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1710,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"cc0ff5feddc37308"
]
]
},
{
"id": "cc0ff5feddc37308",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1870,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"22ae28cd02b2ac40",
"f2a5994dd44a5161"
]
]
},
{
"id": "61d409cdd6107520",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "8bb6e6e526809dfc",
"name": "zigbee - S530559 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 2155,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "8f9164d97bb54bdc",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "ba0439c1fa954d4d",
"name": "topic",
"rules": [
{
"t": "set",
"p": "tmp",
"pt": "msg",
"to": "msg.payload?'ON':'OFF'",
"tot": "jsonata"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t 'state':msg.tmp\t}",
"tot": "jsonata"
},
{
"t": "delete",
"p": "tmp",
"pt": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "set",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2850,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"3a56ad77ed759c12"
]
]
},
{
"id": "0f053409eacfc57b",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "ba0439c1fa954d4d",
"name": "zigbee - S530559 - metric",
"links": [
"637b84024e725f38"
],
"x": 2335,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"826e10a356b21321"
]
]
},
{
"id": "826e10a356b21321",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "ba0439c1fa954d4d",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "S530559",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 2470,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"1547b4b71e27b11b"
]
]
},
{
"id": "1547b4b71e27b11b",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "ba0439c1fa954d4d",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "cible",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 2660,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8f9164d97bb54bdc"
]
]
},
{
"id": "3a56ad77ed759c12",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "ba0439c1fa954d4d",
"name": "zigbee - S530559 - metric",
"mode": "link",
"links": [
"e93e8daa30075ae6"
],
"x": 2975,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "0d54b77d8c9e9c2e",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
2024-04-28 08:58:19 +00:00
"name": "battery",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1970,
2024-05-19 10:24:39 +00:00
"y": 1500,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8f6759a268add92e"
]
]
},
{
"id": "eb2dea648ab3cbf3",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
2024-04-28 08:58:19 +00:00
"name": "aperture",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "$boolean(msg.payload.contact)=false",
2024-04-28 08:20:00 +00:00
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1980,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8f6759a268add92e"
]
]
},
{
"id": "0dc72fc23588671b",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
"name": "zigbee - MCCGQ11LM - source",
"links": [
"24058eec92534b27"
],
"x": 1515,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"6a57d40dff357bfa"
]
]
},
{
"id": "6a57d40dff357bfa",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "MCCGQ11LM",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1650,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"da66f64898772e28"
]
]
},
{
"id": "8f6759a268add92e",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
"name": "zigbee - MCCGQ11LM - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 2115,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "da66f64898772e28",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "e47b49408799776a",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1810,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"eb2dea648ab3cbf3",
"0d54b77d8c9e9c2e"
]
]
},
{
"id": "2743e40bf657513e",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "MCCGQ11LM",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"3ceac0cbe91463c5",
"2d105ceea6392f18",
"cff5883034f77cb0"
]
]
},
{
"id": "3ceac0cbe91463c5",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "aperture / door* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
2024-05-19 10:24:39 +00:00
"y": 1500,
2024-04-28 08:20:00 +00:00
"wires": [
[
"0cdcc7d5d4b9c579"
]
]
},
{
"id": "2d105ceea6392f18",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "battery / door* / percent / 99",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "99",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-19 10:24:39 +00:00
"y": 1560,
2024-04-28 08:20:00 +00:00
"wires": [
[
"0cdcc7d5d4b9c579"
]
]
},
{
"id": "f2af422ed8da0c9f",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "zigbee - MCCGQ11LM - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"2743e40bf657513e"
]
]
},
{
"id": "4f9f216ecca80280",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "zigbee - MCCGQ11LM - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 1335,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "0cdcc7d5d4b9c579",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1200,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"4f9f216ecca80280"
]
]
},
{
"id": "cff5883034f77cb0",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "ee13e249bc8f7cb8",
2024-05-07 19:09:22 +00:00
"name": "brand: aqara / aperture / door*",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "aqara",
2024-04-28 08:20:00 +00:00
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
2024-05-19 10:24:39 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"0cdcc7d5d4b9c579"
]
]
},
{
"id": "573db46bbc14f6e9",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "610900e2bc688c66",
2024-04-28 08:20:00 +00:00
"name": "aperture / door",
"info": "",
"x": 200,
2024-05-19 10:24:39 +00:00
"y": 1520,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "eba7097bf16acf67",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
2024-04-28 08:58:19 +00:00
"name": "temperature",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.temperature",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5070,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"f11a044ad0e20908"
]
]
},
{
"id": "b5e907f3ee711b07",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
2024-04-28 08:58:19 +00:00
"name": "humidity",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "humidity",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.humidity",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5060,
2024-04-29 22:55:00 +00:00
"y": 1500,
2024-04-28 08:20:00 +00:00
"wires": [
[
"f11a044ad0e20908"
]
]
},
{
"id": "372f04c4a067844d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
2024-04-28 08:58:19 +00:00
"name": "battery",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5050,
2024-04-29 22:55:00 +00:00
"y": 1560,
2024-04-28 08:20:00 +00:00
"wires": [
[
"f11a044ad0e20908"
]
]
},
{
"id": "ada7d594f73cc361",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
"name": "zigbee - SNZB-02 - source",
"links": [
"24058eec92534b27"
],
"x": 4595,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"134fcbb851958c16"
]
]
},
{
"id": "134fcbb851958c16",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-02",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4730,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"43cac53e0a0d9eee"
]
]
},
{
"id": "43cac53e0a0d9eee",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4890,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"eba7097bf16acf67",
"b5e907f3ee711b07",
"372f04c4a067844d"
]
]
},
{
"id": "f11a044ad0e20908",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "4139f126d180c24e",
"name": "zigbee - SNZB-02 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 5215,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "14186618daa0777a",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-02",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3770,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"3ecc82d3284673db",
"dc1da9165183247d",
"db246d9296a823b2",
"42d5c8c10cedb468"
]
]
},
{
"id": "3ecc82d3284673db",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "temperature / probe / number / 20",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "temperature",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "probe",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "20",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4020,
2024-04-29 22:55:00 +00:00
"y": 1500,
2024-04-28 08:20:00 +00:00
"wires": [
[
"40de05671513ae04"
]
]
},
{
"id": "dc1da9165183247d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "humidity / probe / number / 50",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "humidity",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "probe",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "50",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 1560,
2024-04-28 08:20:00 +00:00
"wires": [
[
"40de05671513ae04"
]
]
},
{
"id": "db246d9296a823b2",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "battery / probe / percent / 99",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "probe",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "99",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4000,
2024-04-29 22:55:00 +00:00
"y": 1620,
2024-04-28 08:20:00 +00:00
"wires": [
[
"40de05671513ae04"
]
]
},
{
"id": "d29d128c44cded92",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "zigbee - SNZB-02 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 3635,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"14186618daa0777a"
]
]
},
{
"id": "5ea3980a5d978b17",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "zigbee - SNZB-02 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 4415,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "40de05671513ae04",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4280,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"5ea3980a5d978b17"
]
]
},
{
"id": "42d5c8c10cedb468",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "697a44ba65900e43",
"name": "brand: sonoff / temperature / probe",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "temperature",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "probe",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4020,
2024-04-29 22:55:00 +00:00
"y": 1440,
2024-04-28 08:20:00 +00:00
"wires": [
[
"40de05671513ae04"
]
]
},
{
"id": "b1443ec31cf4651d",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "1a4c91d77f5e3f12",
2024-04-28 08:20:00 +00:00
"name": "temperature / probe",
"info": "",
"x": 3270,
"y": 1520,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "8cac6d3317d16d9b",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "412171",
"vt": "str"
},
{
"t": "eq",
"v": "412170",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 710,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"de7e38615805f3a5",
"14cb219896489fb7",
"93766a4847594832",
"3a8223f94768eb4c"
],
[
"3a8223f94768eb4c",
"de7e38615805f3a5",
"14cb219896489fb7",
"93766a4847594832"
]
]
},
{
"id": "de7e38615805f3a5",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "cible / relay* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'relay'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-13 23:47:17 +00:00
"y": 900,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d982fc8e308c3260"
]
]
},
{
"id": "14cb219896489fb7",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "light* / relay* / boolean / false*",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'light'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'relay'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "msg.default?msg.default:false",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
2024-05-13 23:47:17 +00:00
"y": 960,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d982fc8e308c3260"
]
]
},
{
"id": "93766a4847594832",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "power / relay* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'relay'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-13 23:47:17 +00:00
"y": 1020,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d982fc8e308c3260"
]
]
},
{
"id": "c2e44a76c98cd7ae",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - device",
2024-04-28 08:20:00 +00:00
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8cac6d3317d16d9b"
]
]
},
{
"id": "3a8223f94768eb4c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "brand: legrand / light* / relay*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "legrand",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'light'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'relay'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d982fc8e308c3260"
]
]
},
{
"id": "d982fc8e308c3260",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1200,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8237bbc2fead9706"
]
]
},
{
"id": "8237bbc2fead9706",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "b8071baa204e8be9",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - device",
2024-04-28 08:20:00 +00:00
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 1335,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "a96ce0d1796adb63",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "a8afdde5118f03bd",
2024-04-28 08:20:00 +00:00
"name": "light / relay",
"info": "",
"x": 180,
2024-05-13 23:47:17 +00:00
"y": 980,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "93febb4421f30d87",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
2024-04-28 08:58:19 +00:00
"name": "light*",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.payload.state='ON'",
2024-04-28 08:20:00 +00:00
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1970,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"4385665e61ddeef1"
]
]
},
{
"id": "f21af5e954aec1df",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
2024-04-28 08:58:19 +00:00
"name": "power",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.power",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1970,
2024-05-13 23:47:17 +00:00
"y": 900,
2024-04-28 08:20:00 +00:00
"wires": [
[
"4385665e61ddeef1"
]
]
},
{
"id": "3b6e494f3b2508cf",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - source",
2024-04-28 08:20:00 +00:00
"links": [
"24058eec92534b27"
],
"x": 1515,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"1163d4337dbcccf6"
]
]
},
{
"id": "1163d4337dbcccf6",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "412171",
"vt": "str"
},
{
"t": "eq",
"v": "412170",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1650,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"2ec8ca0d27d00fed"
],
[
"2ec8ca0d27d00fed"
]
]
},
{
"id": "2ec8ca0d27d00fed",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1810,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"93febb4421f30d87",
"f21af5e954aec1df"
]
]
},
{
"id": "4385665e61ddeef1",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "2e0d545ca1f1f751",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - source",
2024-04-28 08:20:00 +00:00
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 2095,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "de48ab70a838d67e",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bbbe67eb0c6352bc",
"name": "topic",
"rules": [
{
"t": "set",
"p": "tmp",
"pt": "msg",
"to": "msg.payload?'ON':'OFF'",
"tot": "jsonata"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t 'state':msg.tmp\t}",
"tot": "jsonata"
},
{
"t": "delete",
"p": "tmp",
"pt": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "set",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dc8432cb11ffb0d6"
]
]
},
{
"id": "c7ca4f7a643b3a2c",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "bbbe67eb0c6352bc",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - metric",
2024-04-28 08:20:00 +00:00
"links": [
"637b84024e725f38"
],
"x": 2275,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"c7da23fa87be228d"
]
]
},
{
"id": "c7da23fa87be228d",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "bbbe67eb0c6352bc",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "412171",
"vt": "str"
},
{
"t": "eq",
"v": "412170",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 2410,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"f2fda89b10cab1fe"
],
[
"f2fda89b10cab1fe"
]
]
},
{
"id": "f2fda89b10cab1fe",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "bbbe67eb0c6352bc",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "cible",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 2600,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"de48ab70a838d67e"
]
]
},
{
"id": "dc8432cb11ffb0d6",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "bbbe67eb0c6352bc",
2024-04-28 08:58:19 +00:00
"name": "zigbee - 412171, 412170 - metric",
2024-04-28 08:20:00 +00:00
"mode": "link",
"links": [
"e93e8daa30075ae6"
],
"x": 2915,
2024-05-13 23:47:17 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "99a4e5dc5644cb4f",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "ZBMINIL2",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3770,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"f75e69724e356e1c",
"5e07eabb2b7d8ce2",
"1d31e1f4842e9321"
]
]
},
{
"id": "f75e69724e356e1c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "cible / ceiling* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'ceiling'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 540,
2024-04-28 08:20:00 +00:00
"wires": [
[
"00384275810d4079"
]
]
},
{
"id": "5e07eabb2b7d8ce2",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "light* / ceiling* / boolean / false*",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'light'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'ceiling'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "msg.default?msg.default:false",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 600,
2024-04-28 08:20:00 +00:00
"wires": [
[
"00384275810d4079"
]
]
},
{
"id": "c491dadde798f841",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "zigbee - ZBMINIL2 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 3635,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"99a4e5dc5644cb4f"
]
]
},
{
"id": "1d31e1f4842e9321",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "brand: sonoff / light* / ceiling*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "msg.measurement?msg.measurement:'light'",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'ceiling'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4000,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"00384275810d4079"
]
]
},
{
"id": "00384275810d4079",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4260,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"97bc7bfd63052866"
]
]
},
{
"id": "97bc7bfd63052866",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "5a940d986fd98e4f",
"name": "zigbee - ZBMINIL2 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 4395,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "72d58a85b9a4aa52",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "7ca9480926549d67",
2024-04-28 08:20:00 +00:00
"name": "light / ceiling",
"info": "",
"x": 3250,
"y": 560,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "39ac0b2fb3f505c0",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "7ec205f137c6c32f",
2024-04-28 08:58:19 +00:00
"name": "light*",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.payload.state='ON'",
2024-04-28 08:20:00 +00:00
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5030,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"162055ff0b298da7"
]
]
},
{
"id": "e93a07a5851a14f2",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "7ec205f137c6c32f",
"name": "zigbee - ZBMINIL2 - source",
"links": [
"24058eec92534b27"
],
"x": 4575,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"7b6cf0c3453cf17b"
]
]
},
{
"id": "7b6cf0c3453cf17b",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "7ec205f137c6c32f",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "ZBMINIL2",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4710,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"a6ae8f35d17b3622"
]
]
},
{
"id": "a6ae8f35d17b3622",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "7ec205f137c6c32f",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4870,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"39ac0b2fb3f505c0"
]
]
},
{
"id": "162055ff0b298da7",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "7ec205f137c6c32f",
"name": "zigbee - ZBMINIL2 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 5155,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "d051e2ecad8a4c91",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "432680d564c1569e",
"name": "topic",
"rules": [
{
"t": "set",
"p": "tmp",
"pt": "msg",
"to": "msg.payload?'ON':'OFF'",
"tot": "jsonata"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t 'state':msg.tmp\t}",
"tot": "jsonata"
},
{
"t": "delete",
"p": "tmp",
"pt": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "set",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5850,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"7906a1e6360e1d26"
]
]
},
{
"id": "25b1ac0e4bf27db0",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "432680d564c1569e",
"name": "zigbee - ZBMINIL2 - metric",
"links": [
"637b84024e725f38"
],
"x": 5335,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"0be54ddf68a672a5"
]
]
},
{
"id": "0be54ddf68a672a5",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "432680d564c1569e",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "ZBMINIL2",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 5470,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"bbeb040050524c9a"
]
]
},
{
"id": "bbeb040050524c9a",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "432680d564c1569e",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "cible",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 5660,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d051e2ecad8a4c91"
]
]
},
{
"id": "7906a1e6360e1d26",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "432680d564c1569e",
"name": "zigbee - ZBMINIL2 - metric",
"mode": "link",
"links": [
"e93e8daa30075ae6"
],
"x": 5975,
2024-04-29 22:55:00 +00:00
"y": 480,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "670e7395d0752414",
"type": "gate",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "",
"controlTopic": "gate",
"defaultState": "closed",
"openCmd": "open",
"closeCmd": "close",
"toggleCmd": "toggle",
"defaultCmd": "default",
"statusCmd": "status",
"persist": false,
"storeName": "default",
"x": 4950,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"6a4924e86bc8630f"
]
]
},
{
"id": "0552a0e8ad4f3621",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "zigbee - SNZB-01P - source gate",
2024-05-11 20:11:52 +00:00
"links": [
"8fdb5986494986cc"
],
"x": 4595,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"0454a289f1920bdf"
]
]
},
{
"id": "0454a289f1920bdf",
"type": "trigger",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "",
"op1": "",
"op2": "open",
"op1type": "nul",
"op2type": "str",
"duration": "10",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 4760,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"670e7395d0752414"
]
]
},
{
"id": "9d5b5ecf823f3e06",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "Do not replay command from mqtt on startup",
"info": "",
"x": 5070,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "42c7380d496e1a14",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "zigbee - SNZB-01P - source",
"links": [
"24058eec92534b27"
],
"x": 4595,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"d6691e769350c0ac"
]
]
},
{
"id": "d6691e769350c0ac",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-01P",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4730,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"670e7395d0752414"
]
]
},
{
"id": "1e1a6a213e5bed71",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "zigbee - SNZB-01P - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 6115,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "6a4924e86bc8630f",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 5110,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"c892e02505855e89"
]
]
},
{
"id": "19b7b50be9592a5c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
2024-04-28 08:58:19 +00:00
"name": "command",
2024-04-28 08:20:00 +00:00
"rules": [],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5600,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"1e1a6a213e5bed71",
"19732dc56de56ff4"
]
]
},
{
"id": "c892e02505855e89",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "action",
"property": "payload.action",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "single",
"vt": "str"
},
{
"t": "eq",
"v": "double",
"vt": "str"
},
{
"t": "eq",
"v": "long",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 4,
"x": 5270,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"1e457934d5466768"
],
[
"589c37cd53161a2b"
],
[
"f2a3784904b9112d"
],
[
"6b6b43283b748b66"
]
]
},
{
"id": "1e457934d5466768",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5430,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"19b7b50be9592a5c"
]
]
},
{
"id": "589c37cd53161a2b",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "2",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "2",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5430,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"19b7b50be9592a5c"
]
]
},
{
"id": "f2a3784904b9112d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "3",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "3",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5430,
2024-04-29 22:55:00 +00:00
"y": 900,
2024-04-28 08:20:00 +00:00
"wires": [
[
"19b7b50be9592a5c"
]
]
},
{
"id": "6b6b43283b748b66",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5430,
2024-04-29 22:55:00 +00:00
"y": 960,
2024-04-28 08:20:00 +00:00
"wires": [
[
"19b7b50be9592a5c"
]
]
},
{
"id": "19732dc56de56ff4",
"type": "trigger",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "wait 1 s => off",
"op1": "",
"op2": "",
"op1type": "nul",
"op2type": "payl",
"duration": "1",
"extend": true,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "topic",
"topic": "topic",
"outputs": 1,
"x": 5800,
2024-04-29 22:55:00 +00:00
"y": 920,
2024-04-28 08:20:00 +00:00
"wires": [
[
"2f670c5c2a24ce20"
]
]
},
{
"id": "2f670c5c2a24ce20",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5990,
2024-04-29 22:55:00 +00:00
"y": 920,
2024-04-28 08:20:00 +00:00
"wires": [
[
"1e1a6a213e5bed71"
]
]
},
{
"id": "64168fa4c56dcecc",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "19df7e1ced610978",
"name": "payload = 1 for single, 2 for double, 3 for long, then 0 to reset to default value",
"info": "",
"x": 4850,
2024-04-29 22:55:00 +00:00
"y": 900,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "341f5047f4a4fe5d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "command / button* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'button'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 840,
2024-04-28 08:20:00 +00:00
"wires": [
[
"cb01f17b4f6d897a"
]
]
},
{
"id": "65f6a02b5d2c092d",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "zigbee - SNZB-01P - device",
"links": [
"546f190f3ec0c90d"
],
"x": 3635,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"fe5cbe149f478b8f"
]
]
},
{
"id": "fe5cbe149f478b8f",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-01P",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3770,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"341f5047f4a4fe5d",
"29f7aa56b6e32d61"
]
]
},
{
"id": "cb01f17b4f6d897a",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4280,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"74b35458f02dda86"
]
]
},
{
"id": "74b35458f02dda86",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "zigbee - SNZB-01P - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 4415,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "6e2340865ef4c2ba",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "85cf36fc3802a3fe",
2024-04-28 08:20:00 +00:00
"name": "command / button",
"info": "",
"x": 3270,
"y": 860,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "29f7aa56b6e32d61",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "46f335e4a5e2f58f",
"name": "brand: sonoff / command / button*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.filed?msg.field:'button'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4020,
2024-04-29 22:55:00 +00:00
"y": 780,
2024-04-28 08:20:00 +00:00
"wires": [
[
"cb01f17b4f6d897a"
]
]
},
{
"id": "746e7afab8f321b5",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
2024-04-28 08:58:19 +00:00
"name": "battery",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5050,
2024-04-29 22:55:00 +00:00
"y": 1200,
2024-04-28 08:20:00 +00:00
"wires": [
[
"b2f041d50556adbe"
]
]
},
{
"id": "8fb070b26cad8e8c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
2024-04-28 08:58:19 +00:00
"name": "motion",
2024-04-28 08:20:00 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.occupancy",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5050,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"b2f041d50556adbe"
]
]
},
{
"id": "3a92525692be8c0a",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
"name": "zigbee - SNZB-03 - source",
"links": [
"24058eec92534b27"
],
"x": 4595,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"40746311949be945"
]
]
},
{
"id": "40746311949be945",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-03",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4730,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"eec5f8a1287b092c"
]
]
},
{
"id": "b2f041d50556adbe",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
"name": "zigbee - SNZB-03 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 5175,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "eec5f8a1287b092c",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "19780ef67d75fab4",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4890,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8fb070b26cad8e8c",
"746e7afab8f321b5"
]
]
},
{
"id": "dcb1d3c98c1c8c60",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-03",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3770,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"9bce06553cc1164f",
"b4da65c019049b2e",
"bc2f27d32087dd9a"
]
]
},
{
"id": "9bce06553cc1164f",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "motion / sensor* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "motion",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'sensor'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4020,
2024-04-29 22:55:00 +00:00
"y": 1200,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dab0ca52a89d269d"
]
]
},
{
"id": "b4da65c019049b2e",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "battery / sensor* / percent / 99",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'sensor'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "99",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 1260,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dab0ca52a89d269d"
]
]
},
{
"id": "c0e646f0c8352181",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "zigbee - SNZB-03 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 3635,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dcb1d3c98c1c8c60"
]
]
},
{
"id": "8480858c89a6eed5",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "zigbee - SNZB-03 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 4415,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": []
},
{
"id": "dab0ca52a89d269d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4280,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"8480858c89a6eed5"
]
]
},
{
"id": "bc2f27d32087dd9a",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "95639b2299991877",
"name": "brand: sonoff / motion / sensor*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "motion",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'sensor'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
2024-04-29 22:55:00 +00:00
"y": 1140,
2024-04-28 08:20:00 +00:00
"wires": [
[
"dab0ca52a89d269d"
]
]
},
{
"id": "5cb5d81fb0a8ee1e",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "b475a609b6f58891",
2024-04-28 08:20:00 +00:00
"name": "motion / sensor",
"info": "",
"x": 3260,
"y": 1220,
2024-04-28 08:20:00 +00:00
"wires": []
2024-04-29 22:28:34 +00:00
},
{
"id": "9c334872c8322cb1",
"type": "catch",
"z": "0cd436e03cba5cb6",
"g": "2247172d871e19b2",
"name": "catch error",
"scope": null,
"uncaught": false,
"x": 620,
"y": 60,
"wires": [
[
"0eb24d3273642740"
]
]
},
{
"id": "0eb24d3273642740",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "2247172d871e19b2",
"name": "topic",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 790,
"y": 60,
"wires": [
[
"fd4ec723ef30dfd8"
]
]
},
{
"id": "fd4ec723ef30dfd8",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "2247172d871e19b2",
"name": "catch error",
"mode": "link",
"links": [
"a52f0e788cd4dca3"
],
"x": 915,
"y": 60,
"wires": []
2024-04-29 22:55:00 +00:00
},
{
"id": "5d0abf7735e4d38c",
"type": "mqtt in",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "MQTT zigbee",
"topic": "zigbee/#",
"qos": "2",
"datatype": "auto-detect",
"broker": "8b2a4e4f622431e7",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 190,
"y": 240,
"wires": [
[
"529f7e707934e514"
]
]
},
{
"id": "a3594a90f69fe537",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "mqtt zigbee",
"mode": "link",
"links": [
"85491b834d936a64",
"688beab146efae13",
"b07f193a0642cf53",
"a06c81c7dbe18d43",
"3be6b8c3d6485c46",
"ba77500cd9f7f6da"
],
"x": 1215,
"y": 240,
"wires": []
},
{
"id": "0c032c944567a64d",
"type": "q-gate",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "",
"controlTopic": "gate",
"defaultState": "queueing",
"openCmd": "open",
"closeCmd": "close",
"toggleCmd": "toggle",
"queueCmd": "close",
"defaultCmd": "default",
"triggerCmd": "trigger",
"flushCmd": "open",
"resetCmd": "reset",
"peekCmd": "peek",
"dropCmd": "drop",
"statusCmd": "status",
"maxQueueLength": "0",
"keepNewest": false,
"qToggle": false,
"persist": false,
"storeName": "default",
"x": 590,
"y": 240,
"wires": [
[
"57bd505da426547c"
]
]
},
{
"id": "fb76731a2064ad65",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "mqtt zigbee gate",
"links": [
"d68d686bbf684c95",
"8fdb5986494986cc"
],
"x": 455,
"y": 300,
"wires": [
[
"0c032c944567a64d"
]
]
},
{
"id": "529f7e707934e514",
"type": "delay",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "50 msg / s",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "50",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 390,
"y": 240,
"wires": [
[
"0c032c944567a64d"
]
]
},
{
"id": "7b89e1d6b81feb1d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "raz MQTT properties",
"rules": [
{
"t": "delete",
"p": "qos",
"pt": "msg"
},
{
"t": "delete",
"p": "retain",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1040,
"y": 240,
"wires": [
[
"a3594a90f69fe537"
]
]
},
{
"id": "57bd505da426547c",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "518b634fa908a4aa",
"name": "ignore \"bridge\" path",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "^zigbee/bridge",
"vt": "str",
"case": false
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 790,
"y": 240,
"wires": [
[],
[
"7b89e1d6b81feb1d"
]
]
},
{
"id": "ac5c011465193c4e",
"type": "mqtt out",
"z": "0cd436e03cba5cb6",
"g": "b40a3b0d2d310907",
"name": "MQTT zigbee",
"topic": "",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "8b2a4e4f622431e7",
2024-05-06 20:18:23 +00:00
"x": 1760,
2024-04-29 22:55:00 +00:00
"y": 240,
"wires": []
},
{
"id": "6c324b24ca028984",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "b40a3b0d2d310907",
"name": "mqtt zigbee",
"links": [
"89d2eebcaafb5013"
],
2024-05-06 20:18:23 +00:00
"x": 1395,
2024-04-29 22:55:00 +00:00
"y": 240,
"wires": [
[
"08f26275ef69e598"
]
]
},
{
"id": "3398dde44269eb08",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "b40a3b0d2d310907",
"name": "mqtt zigbee output",
"mode": "link",
"links": [
"c4571e81ac381f3e",
"76a866f04ab291ef",
"b2547f7ff4878848"
],
2024-05-06 20:18:23 +00:00
"x": 1685,
2024-04-29 22:55:00 +00:00
"y": 300,
"wires": []
},
{
"id": "08f26275ef69e598",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "b40a3b0d2d310907",
"name": "check topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "^zigbee",
"vt": "str",
"case": false
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
2024-05-06 20:18:23 +00:00
"x": 1550,
2024-04-29 22:55:00 +00:00
"y": 240,
"wires": [
[
"ac5c011465193c4e",
"3398dde44269eb08"
]
]
},
{
"id": "818474999b1f4359",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "0bf7882d384bbe3e",
"name": "bucket",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "bucket",
"pt": "flow",
"to": "bucket",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 60,
"wires": [
[
"966a83047616987a"
]
]
},
{
"id": "06a2c66e1e278b6a",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "0bf7882d384bbe3e",
"name": "zigbee - bucket",
"links": [
"25445f5a9b787a0a"
],
"x": 135,
"y": 60,
"wires": [
[
"818474999b1f4359"
]
]
},
{
"id": "966a83047616987a",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "0bf7882d384bbe3e",
"name": "zigbee - bucket",
"mode": "link",
"links": [],
"x": 395,
"y": 60,
"wires": []
},
{
"id": "dfbbe93ed61d87b2",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "PJ-MGW1203",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"ac0a600ca52f9c3e",
"db531fac813c8e66",
"13199e203383201a"
]
]
},
{
"id": "ac0a600ca52f9c3e",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
2024-05-07 19:09:22 +00:00
"name": "power / electric meter* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.field?msg.field:'electric meter'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 960,
2024-05-19 10:24:39 +00:00
"y": 2220,
"wires": [
[
"f739db440f3d79b1"
]
]
},
{
"id": "6f6d7d45f826f275",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
"name": "zigbee - PJ-MGW1203 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"dfbbe93ed61d87b2"
]
]
},
{
"id": "db531fac813c8e66",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
2024-05-07 19:09:22 +00:00
"name": "brand: tuya /. power / electric meter*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "tuya",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.field?msg.field:'electric meter'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 970,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"f739db440f3d79b1"
]
]
},
{
"id": "f739db440f3d79b1",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 1240,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"22ef5d09e03d19e0"
]
]
},
{
"id": "22ef5d09e03d19e0",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
"name": "zigbee - PJ-MGW1203 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
2024-05-07 19:09:22 +00:00
"x": 1375,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": []
},
{
"id": "4d1cd88e584eca79",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "c77a914a05a8229b",
2024-05-07 19:09:22 +00:00
"name": "power / electric meter",
"info": "",
2024-05-07 19:09:22 +00:00
"x": 220,
2024-05-19 10:24:39 +00:00
"y": 2240,
"wires": []
},
{
"id": "6bf24cfdfefb1bb7",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "power",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.power",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 2010,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"81d1299edeeec856"
]
]
},
{
"id": "bb997600e486d015",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "current",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "current",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.current",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 2020,
2024-05-19 10:24:39 +00:00
"y": 2220,
"wires": [
[
"81d1299edeeec856"
]
]
},
{
"id": "ddda7783f50a0db4",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "zigbee - PJ-MGW1203 - source",
"links": [
"24058eec92534b27"
],
2024-05-07 19:09:22 +00:00
"x": 1555,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"a26d34138e9e5ac9"
]
]
},
{
"id": "a26d34138e9e5ac9",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "PJ-MGW1203",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
2024-05-07 19:09:22 +00:00
"x": 1690,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"f60ae365fb4e2024"
]
]
},
{
"id": "f60ae365fb4e2024",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
2024-05-07 19:09:22 +00:00
"x": 1850,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"6bf24cfdfefb1bb7",
"bb997600e486d015"
]
]
},
{
"id": "81d1299edeeec856",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "f617e52e297c8ad2",
"name": "zigbee - PJ-MGW1203 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
2024-05-07 19:09:22 +00:00
"x": 2155,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": []
},
{
"id": "13199e203383201a",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "71fe9ef70302b7fe",
2024-05-07 19:09:22 +00:00
"name": "current / electric meter* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "current",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.field?msg.field:'electric meter'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 960,
2024-05-19 10:24:39 +00:00
"y": 2280,
"wires": [
[
"f739db440f3d79b1"
]
]
},
{
"id": "4fa1971ba6183d55",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "fb310bb48b3ab02d",
"name": "zigbee - ZBMINIL2 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 3195,
"y": 480,
"wires": [
[
"a0a58b0b53c68d3d"
]
]
},
{
"id": "a0a58b0b53c68d3d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "fb310bb48b3ab02d",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "ZBMINIL2",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "ceiling",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3330,
"y": 480,
"wires": [
[
"1b2b173864b5b18f"
]
]
},
{
"id": "1b2b173864b5b18f",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "fb310bb48b3ab02d",
"name": "zigbee - ZBMINIL2 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 3455,
"y": 480,
"wires": []
},
{
"id": "9d33432184b532c8",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "37baa76cfd48b2fc",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-01P - model",
"links": [
"9cb906bf8066d37e"
],
"x": 3195,
"y": 780,
"wires": [
[
"3fce7a45dd3670a4"
]
]
},
{
"id": "3fce7a45dd3670a4",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "37baa76cfd48b2fc",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SNZB-01P",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "button",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3330,
"y": 780,
"wires": [
[
"68937215c80c0f7c"
]
]
},
{
"id": "68937215c80c0f7c",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "37baa76cfd48b2fc",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-01P - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 3455,
"y": 780,
"wires": []
},
{
"id": "2b16e085b48c0440",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "2c8e632985722562",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-03 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 3195,
"y": 1140,
"wires": [
[
"34f9d3e13a7a926c"
]
]
},
{
"id": "34f9d3e13a7a926c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "2c8e632985722562",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SNZB-03",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "motion",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "sensor",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3330,
"y": 1140,
"wires": [
[
"23cde9c0dc38671b"
]
]
},
{
"id": "23cde9c0dc38671b",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "2c8e632985722562",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-03 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 3455,
"y": 1140,
"wires": []
},
{
"id": "fad484a3f123ac37",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "3fd562a0e54bacd1",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-02 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 3195,
"y": 1440,
"wires": [
[
"96513a0fecdf10d8"
]
]
},
{
"id": "96513a0fecdf10d8",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "3fd562a0e54bacd1",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SNZB-02",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "temperature",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "probe",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "20",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3330,
"y": 1440,
"wires": [
[
"b9beacf10a894eba"
]
]
},
{
"id": "b9beacf10a894eba",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "3fd562a0e54bacd1",
2024-05-07 19:09:22 +00:00
"name": "sonoff - SNZB-03 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 3455,
"y": 1440,
"wires": []
},
{
"id": "370a85c93a8d561d",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "3fb79d89a2bd41ff",
"name": "zigbee - S530559 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
"y": 480,
"wires": [
[
"fb8a232abeb978b3"
]
]
},
{
"id": "fb8a232abeb978b3",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "3fb79d89a2bd41ff",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "schneider electric",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "S530559",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "outlet",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "socket",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 480,
"wires": [
[
"96dc3b51e121f1c9"
]
]
},
{
"id": "96dc3b51e121f1c9",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "3fb79d89a2bd41ff",
"name": "zigbee - S530559 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
"y": 480,
"wires": []
},
{
"id": "b463c81b1b187246",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "26ebc7d97f06c117",
"name": "zigbee - MCCGQ11LM - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
2024-05-19 10:24:39 +00:00
"y": 1440,
"wires": [
[
"df0e7a06d243f473"
]
]
},
{
"id": "df0e7a06d243f473",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "26ebc7d97f06c117",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "aqara",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "MCCGQ11LM",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-19 10:24:39 +00:00
"y": 1440,
"wires": [
[
"4eb7f83fca4bcb34"
]
]
},
{
"id": "4eb7f83fca4bcb34",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "26ebc7d97f06c117",
"name": "zigbee - MCCGQ11LM - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
2024-05-19 10:24:39 +00:00
"y": 1440,
"wires": []
},
{
"id": "06e81a86a3217a48",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "5967c186d2f9ebf3",
"name": "zigbee - 412171, 412170 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
2024-05-13 23:47:17 +00:00
"y": 840,
"wires": [
[
"c6c8fa25720fcc15",
"c5b9d91c720d7091"
]
]
},
{
"id": "c6c8fa25720fcc15",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5967c186d2f9ebf3",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "legrand",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412171",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "relay",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-13 23:47:17 +00:00
"y": 840,
"wires": [
[
"79409b5134de7f76"
]
]
},
{
"id": "79409b5134de7f76",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "5967c186d2f9ebf3",
"name": "zigbee - 412171, 412170 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
2024-05-13 23:47:17 +00:00
"y": 840,
"wires": []
},
{
"id": "c5b9d91c720d7091",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "5967c186d2f9ebf3",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "legrand",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412170",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "relay",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-13 23:47:17 +00:00
"y": 900,
"wires": [
[
"79409b5134de7f76"
]
]
},
{
"id": "a6900d3b869e3d1e",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "874510c9886ca66e",
"name": "zigbee - PJ-MGW1203 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"9ea62fd7b38d5c2a"
]
]
},
{
"id": "9ea62fd7b38d5c2a",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "874510c9886ca66e",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "tuya",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "PJ-MGW1203",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "power",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "electric meter",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": [
[
"f26c156abc555775"
]
]
},
{
"id": "f26c156abc555775",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "874510c9886ca66e",
"name": "zigbee - PJ-MGW1203 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
2024-05-19 10:24:39 +00:00
"y": 2160,
"wires": []
2024-05-06 18:53:47 +00:00
},
{
"id": "548e7018cac831bd",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "412015",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"de267bb0a5ee01a3",
"a26b411c2e416297"
]
]
},
{
"id": "de267bb0a5ee01a3",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
2024-05-07 19:09:22 +00:00
"name": "power / electric meter* / number / 0*",
2024-05-06 18:53:47 +00:00
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "power",
"tot": "str"
2024-05-06 18:53:47 +00:00
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.field?msg.field:'electric meter'",
2024-05-06 18:53:47 +00:00
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "msg.default?msg.default:0",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 960,
2024-05-13 23:47:17 +00:00
"y": 1260,
2024-05-06 18:53:47 +00:00
"wires": [
[
"aca4e6e7d14bc594"
]
]
},
{
"id": "96341058baa9083b",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
"name": "zigbee - 412015 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"548e7018cac831bd"
]
]
},
{
"id": "a26b411c2e416297",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
2024-05-07 19:09:22 +00:00
"name": "brand: legrand / power / electric meter*",
2024-05-06 18:53:47 +00:00
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "legrand",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "power",
"tot": "str"
2024-05-06 18:53:47 +00:00
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "msg.field?msg.field:'electric meter'",
2024-05-06 18:53:47 +00:00
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 970,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"aca4e6e7d14bc594"
]
]
},
{
"id": "aca4e6e7d14bc594",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 1260,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"e20cf17770949369"
]
]
},
{
"id": "e20cf17770949369",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "af4ed7f5e6452fe2",
"name": "zigbee - 412015 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
2024-05-07 19:09:22 +00:00
"x": 1395,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": []
},
{
"id": "66467fdc455dc868",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "8e3558d0fd29e787",
2024-05-07 19:09:22 +00:00
"name": "power*",
2024-05-06 18:53:47 +00:00
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.power",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
2024-05-07 19:09:22 +00:00
"x": 2040,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"a5360e4799f9e170"
]
]
},
{
"id": "b3091e70cd5211b4",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "8e3558d0fd29e787",
"name": "zigbee - 412015 - source",
"links": [
"24058eec92534b27"
],
2024-05-07 19:09:22 +00:00
"x": 1575,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"0d1a308fe2b59338"
]
]
},
{
"id": "0d1a308fe2b59338",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "8e3558d0fd29e787",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "412015",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
2024-05-07 19:09:22 +00:00
"x": 1710,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"b1746f0094fd6091"
]
]
},
{
"id": "b1746f0094fd6091",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "8e3558d0fd29e787",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
2024-05-07 19:09:22 +00:00
"x": 1870,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"66467fdc455dc868"
]
]
},
{
"id": "a5360e4799f9e170",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "8e3558d0fd29e787",
"name": "zigbee - 412015 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
2024-05-07 19:09:22 +00:00
"x": 2175,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": []
},
{
"id": "ff3a40b127910051",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "f560c75cc0e86a48",
"name": "zigbee - 412015 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"e285295f66b2b90f"
]
]
},
{
"id": "e285295f66b2b90f",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "f560c75cc0e86a48",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "legrand",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "412015",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "power",
2024-05-06 18:53:47 +00:00
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
2024-05-07 19:09:22 +00:00
"to": "electric meter",
2024-05-06 18:53:47 +00:00
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": [
[
"fbe235d0cb60d161"
]
]
},
{
"id": "fbe235d0cb60d161",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "f560c75cc0e86a48",
"name": "zigbee - 412015 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
2024-05-13 23:47:17 +00:00
"y": 1200,
2024-05-06 18:53:47 +00:00
"wires": []
},
{
"id": "4fcc72c14eaab8bb",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "b3a54f494cdd0908",
2024-05-07 19:09:22 +00:00
"name": "power / electric meter",
2024-05-06 18:53:47 +00:00
"info": "",
2024-05-07 19:09:22 +00:00
"x": 220,
2024-05-13 23:47:17 +00:00
"y": 1280,
2024-05-06 18:53:47 +00:00
"wires": []
2024-05-13 23:47:17 +00:00
},
{
"id": "d8ae76a5c0ba5f6a",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "bfbcbfaa6778aa95",
"name": "zigbee - LGYCDD01LM - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"c54192a41990cf11"
]
]
},
{
"id": "c54192a41990cf11",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bfbcbfaa6778aa95",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "aqara",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "LGYCDD01LM",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "leds",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"4975550378291448"
]
]
},
{
"id": "4975550378291448",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "bfbcbfaa6778aa95",
"name": "zigbee - LGYCDD01LM - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": []
},
{
"id": "f06ba18faf97032b",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "LGYCDD01LM",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"7290c49c75ecae94",
"177460bc6cfd066c",
"808fb84d912540a7",
"82b83f7d81d2ba8f",
"66ba7737ec70b545"
]
]
},
{
"id": "7290c49c75ecae94",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "light / leds* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'leds'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-19 10:24:39 +00:00
"y": 1860,
2024-05-13 23:47:17 +00:00
"wires": [
[
"d66b347f3bce5f3d"
]
]
},
{
"id": "8e57dece73e9abd4",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "zigbee - LGYCDD01LM - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"f06ba18faf97032b"
]
]
},
{
"id": "32d00a16ef133893",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "zigbee - LGYCDD01LM - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 1335,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": []
},
{
"id": "d66b347f3bce5f3d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1200,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"32d00a16ef133893"
]
]
},
{
"id": "177460bc6cfd066c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "brand: aqara / light / leds*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "aqara",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "light",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'leds'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 930,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"d66b347f3bce5f3d"
]
]
},
{
"id": "ee79788fa0dd99e5",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "f5aa5e5de05036bc",
"name": "light",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload.state='ON'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1970,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"facc68a5ef39eb24"
]
]
},
{
"id": "f6a43d93fa9caf56",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "f5aa5e5de05036bc",
"name": "zigbee - LGYCDD01LM - source",
"links": [
"24058eec92534b27"
],
"x": 1515,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"011799cd3edec2dc"
]
]
},
{
"id": "011799cd3edec2dc",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "f5aa5e5de05036bc",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "LGYCDD01LM",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1650,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"1f491e6a49821d0e"
]
]
},
{
"id": "facc68a5ef39eb24",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "f5aa5e5de05036bc",
"name": "zigbee - LGYCDD01LM - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 2115,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": []
},
{
"id": "1f491e6a49821d0e",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "f5aa5e5de05036bc",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1810,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"ee79788fa0dd99e5"
]
]
},
{
"id": "808fb84d912540a7",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "cible / leds* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "cible",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'leds'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-19 10:24:39 +00:00
"y": 1800,
2024-05-13 23:47:17 +00:00
"wires": [
[
"d66b347f3bce5f3d"
]
]
},
{
"id": "aff9c7b218c52ff1",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "33b6641b09b8c982",
"name": "topic",
"rules": [
{
"t": "set",
"p": "state",
"pt": "msg",
"to": "metrics[msg.bucket][msg.measurement][msg.field]",
"tot": "global"
},
{
"t": "set",
"p": "state",
"pt": "msg",
"to": "msg.state?'ON':'OFF'",
"tot": "jsonata"
},
{
"t": "set",
"p": "color",
"pt": "msg",
"to": "metrics[msg.bucket]['color'][msg.field]",
"tot": "global"
},
{
"t": "set",
"p": "brightness",
"pt": "msg",
"to": "metrics[msg.bucket]['brightness'][msg.field]",
"tot": "global"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t 'state': msg.state,\t 'color': {'hex': msg.color},\t 'brightness': msg.brightness\t}",
"tot": "jsonata"
},
{
"t": "delete",
"p": "state",
"pt": "msg"
},
{
"t": "delete",
"p": "color",
"pt": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "set",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2810,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"23cb7e24572f04c1"
]
]
},
{
"id": "d0fa99cc77ef787c",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "33b6641b09b8c982",
"name": "zigbee - LGYCDD01LM - metric",
"links": [
"637b84024e725f38"
],
"x": 2295,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"83ba7411866b2702"
]
]
},
{
"id": "83ba7411866b2702",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "33b6641b09b8c982",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "LGYCDD01LM",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 2430,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"1df2f73158e97776"
]
]
},
{
"id": "1df2f73158e97776",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "33b6641b09b8c982",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "cible",
"vt": "str"
},
{
"t": "eq",
"v": "color",
"vt": "str"
},
{
"t": "eq",
"v": "brightness",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 2620,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": [
[
"aff9c7b218c52ff1"
],
[
"aff9c7b218c52ff1"
],
[
"aff9c7b218c52ff1"
]
]
},
{
"id": "23cb7e24572f04c1",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "33b6641b09b8c982",
"name": "zigbee - LGYCDD01LM - metric",
"mode": "link",
"links": [
"e93e8daa30075ae6"
],
"x": 2935,
2024-05-19 10:24:39 +00:00
"y": 1740,
2024-05-13 23:47:17 +00:00
"wires": []
},
{
"id": "82b83f7d81d2ba8f",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "color / leds* / text / #FFFFFF",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "color",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'leds'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "text",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "#FFFFFF",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 940,
2024-05-19 10:24:39 +00:00
"y": 1920,
2024-05-13 23:47:17 +00:00
"wires": [
[
"d66b347f3bce5f3d"
]
]
},
{
"id": "66ba7737ec70b545",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "de09283c1daf628d",
"name": "brightness / leds* / number / 200",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "brightness",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'leds'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "200",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
2024-05-19 10:24:39 +00:00
"y": 1980,
2024-05-13 23:47:17 +00:00
"wires": [
[
"d66b347f3bce5f3d"
]
]
2024-05-19 10:24:39 +00:00
},
{
"id": "9ff7f0e7a1fb4788",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "TS0044",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 710,
"y": 2460,
"wires": [
[
"9fc01637c5eca7b2",
"bd13245a76f322a9",
"d5a5cd657c117207"
]
]
},
{
"id": "9fc01637c5eca7b2",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "command / remote* / number / 0",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'remote'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
"y": 2520,
"wires": [
[
"b1e5a947b2346874"
]
]
},
{
"id": "4b0831a713ce8dc0",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "zigbee - TS0044 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 575,
"y": 2460,
"wires": [
[
"9ff7f0e7a1fb4788"
]
]
},
{
"id": "bd13245a76f322a9",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "brand: tuya /. command / remote*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "tuya",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'remote'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 2460,
"wires": [
[
"b1e5a947b2346874"
]
]
},
{
"id": "b1e5a947b2346874",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1240,
"y": 2460,
"wires": [
[
"fa5bb014ac36141b"
]
]
},
{
"id": "fa5bb014ac36141b",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "zigbee - TS0044 - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 1375,
"y": 2460,
"wires": []
},
{
"id": "89cc34a307fc8230",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "battery",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2410,
"y": 2460,
"wires": [
[
"dd58c47d1106a4bf"
]
]
},
{
"id": "e46d811a29ddc59e",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "zigbee - TS0044 - source",
"links": [
"24058eec92534b27"
],
"x": 1555,
"y": 2460,
"wires": [
[
"a21a4595db80d35a"
]
]
},
{
"id": "a21a4595db80d35a",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "TS0044",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1690,
"y": 2460,
"wires": [
[
"dd0e8d1d231bdd94"
]
]
},
{
"id": "dd0e8d1d231bdd94",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1850,
"y": 2460,
"wires": [
[
"89cc34a307fc8230",
"30432e164675548f"
]
]
},
{
"id": "dd58c47d1106a4bf",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "zigbee - TS0044 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 2555,
"y": 2460,
"wires": []
},
{
"id": "11ec7020f389b20d",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "d95368da0fc1acec",
"name": "zigbee - TS0044 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 135,
"y": 2460,
"wires": [
[
"eb509cc252ef4416"
]
]
},
{
"id": "eb509cc252ef4416",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "d95368da0fc1acec",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "tuya",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "TS0044",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "remote",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "number",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 2460,
"wires": [
[
"cfb8b7f11b653349"
]
]
},
{
"id": "cfb8b7f11b653349",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "d95368da0fc1acec",
"name": "zigbee - TS0044 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 395,
"y": 2460,
"wires": []
},
{
"id": "04fc27259c1f44bf",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "616054c1e71be9b5",
"name": "command / remote",
"info": "",
"x": 210,
"y": 2540,
"wires": []
},
{
"id": "d5a5cd657c117207",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "bf3eb49f6340b632",
"name": "battery / remote* / percent / 99",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'remote'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "99",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 950,
"y": 2580,
"wires": [
[
"b1e5a947b2346874"
]
]
},
{
"id": "30432e164675548f",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "",
"property": "payload.action",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1_single",
"vt": "str"
},
{
"t": "eq",
"v": "1_double",
"vt": "str"
},
{
"t": "eq",
"v": "2_single",
"vt": "str"
},
{
"t": "eq",
"v": "2_double",
"vt": "str"
},
{
"t": "eq",
"v": "3_single",
"vt": "str"
},
{
"t": "eq",
"v": "3_double",
"vt": "str"
},
{
"t": "eq",
"v": "4_single",
"vt": "str"
},
{
"t": "eq",
"v": "4_double",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 8,
"x": 2020,
"y": 2580,
"wires": [
[
"2225245917b7a345"
],
[
"13489fb2d737e51c"
],
[
"7aeeeaf39212aa00"
],
[
"ef8d2d2fb12b659b"
],
[
"e32b80f9df4fe606"
],
[
"aa62981bca11ac74"
],
[
"1309d7af15e1fc3b"
],
[
"4482952c7504d00d"
]
]
},
{
"id": "2225245917b7a345",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "1 single = 11",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "11",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2210,
"y": 2520,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "13489fb2d737e51c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "1 double = 12",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "12",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2220,
"y": 2580,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "7aeeeaf39212aa00",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "2 single = 21",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "21",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2210,
"y": 2640,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "ef8d2d2fb12b659b",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "2 double = 22",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "22",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2220,
"y": 2700,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "e32b80f9df4fe606",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "3 single = 31",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "31",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2210,
"y": 2760,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "aa62981bca11ac74",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "3 double = 32",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "32",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2220,
"y": 2820,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "1309d7af15e1fc3b",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "4 single = 41",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "41",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2210,
"y": 2880,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "4482952c7504d00d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "4 double = 42",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "42",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2220,
"y": 2940,
"wires": [
[
"48beece72436149c"
]
]
},
{
"id": "48beece72436149c",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "60ffb41c372ca788",
"name": "command",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "command",
"tot": "str"
},
{
"t": "set",
"p": "repeat",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2420,
"y": 2520,
"wires": [
[
"dd58c47d1106a4bf"
]
]
2024-04-28 08:20:00 +00:00
}
]