2024-04-27 11:29:07 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "ab51b1e8cad7b700",
|
|
|
|
"type": "tab",
|
|
|
|
"label": "Kernel",
|
|
|
|
"disabled": false,
|
|
|
|
"info": "",
|
|
|
|
"env": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3a98a00afc60d7cd",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "auto - device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#777777",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"63149b5b57a97c5b",
|
|
|
|
"3110fe9246e63b1e",
|
|
|
|
"5a56612ef35c5fd3"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 42,
|
|
|
|
"y": 4707,
|
|
|
|
"w": 6886,
|
|
|
|
"h": 366
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "50456628f56ade66",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "device - system kernel version",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#777777",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"f67a857ae75d906f",
|
|
|
|
"a8dc4fab59fdefb4"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 68,
|
|
|
|
"y": 5153,
|
|
|
|
"w": 1094,
|
|
|
|
"h": 134,
|
|
|
|
"info": "this is a fake device for kernel boot (ensure that one device is registered)"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "96d8990f6a4978cc",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "kernel",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#777777",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"a762a7a552cb9f03",
|
|
|
|
"bc29c56f900c8d36",
|
|
|
|
"3e71b89d61df9fd3",
|
|
|
|
"6386e9a459469b53",
|
|
|
|
"e9bd98a0b6e0d58c",
|
|
|
|
"20b116b788ef3f27",
|
|
|
|
"3711bd3352570a6c",
|
|
|
|
"bbf7bb18989048e1",
|
|
|
|
"cf7f82b8517f3250",
|
|
|
|
"9ea365cc69a1f2bf"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 68,
|
|
|
|
"y": 173,
|
|
|
|
"w": 5194,
|
|
|
|
"h": 2654
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "656a3398842092de",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#777777",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"93fb3d4a50d16da0",
|
|
|
|
"6c3162f93343ce7e",
|
|
|
|
"c7f0e1480df909e9",
|
|
|
|
"b9a706d9e4980c1e",
|
|
|
|
"72988ccecf802b11",
|
|
|
|
"a3c29b70c82234cc",
|
|
|
|
"17a8ab0a21c7790b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 42,
|
|
|
|
"y": 2967,
|
|
|
|
"w": 1816,
|
|
|
|
"h": 1686
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "648d078d534a93be",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "kernel - catch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ff0000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d248a5e5ab11c9d7",
|
|
|
|
"eebbf361272ea85b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 534,
|
|
|
|
"y": 19,
|
|
|
|
"w": 432,
|
|
|
|
"h": 82
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "818a8590288d6409",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "kernel - about",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ff0000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"797eac89000183db",
|
|
|
|
"d49116054bd5cd56",
|
|
|
|
"d9b8f97fb0897586"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 19,
|
|
|
|
"w": 342,
|
|
|
|
"h": 82
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5a56612ef35c5fd3",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3a98a00afc60d7cd",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ffffff",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill-opacity": "0.5"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"874075d44d19869a",
|
|
|
|
"d9548e9b1a2e6f36"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 5108,
|
|
|
|
"y": 4793,
|
|
|
|
"w": 1794,
|
|
|
|
"h": 254
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3110fe9246e63b1e",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3a98a00afc60d7cd",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ffffff",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0",
|
|
|
|
"fill-opacity": "0.5"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"3be00f677c6457bd",
|
|
|
|
"266f4436dc45ce89"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1768,
|
|
|
|
"y": 4793,
|
|
|
|
"w": 3294,
|
|
|
|
"h": 254
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "63149b5b57a97c5b",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3a98a00afc60d7cd",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ffffff",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#ffC000",
|
|
|
|
"fill-opacity": "0.5"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"bd21a8b1786d3ed2",
|
|
|
|
"4937527cddd45b61"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 68,
|
|
|
|
"y": 4733,
|
|
|
|
"w": 1664,
|
|
|
|
"h": 314
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a8dc4fab59fdefb4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "50456628f56ade66",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ffC000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"840c05ce502e7fdd",
|
|
|
|
"eed8990163b1ca81",
|
|
|
|
"7f76434616f622dc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 5179,
|
|
|
|
"w": 542,
|
|
|
|
"h": 82
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "f67a857ae75d906f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "50456628f56ade66",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"33f7a250a7341c43",
|
|
|
|
"1b98c37b3b7502e4",
|
|
|
|
"f02b4584af0d800c"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 674,
|
|
|
|
"y": 5179,
|
|
|
|
"w": 462,
|
|
|
|
"h": 82
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a762a7a552cb9f03",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - cron",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"caa3c5097468f133",
|
|
|
|
"722c773f6314dd40",
|
|
|
|
"867a71b7dae9c844",
|
|
|
|
"004bb30c27c94fb4",
|
|
|
|
"287d719de575c01f",
|
|
|
|
"074a67bf0fcf09ad",
|
|
|
|
"d4146047c079ac62",
|
|
|
|
"764da2d0527c1ef6",
|
|
|
|
"7fa17301839c0fa6",
|
|
|
|
"412878f8c488a0f4",
|
|
|
|
"c367834c9cccbe38",
|
|
|
|
"ca442e58e65b32f8"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 2539,
|
|
|
|
"w": 652,
|
|
|
|
"h": 262,
|
|
|
|
"info": "cron minute = every minutes from flow start\r\ncron hour = every hours from flow start\r\ncron day = every day at 3 am"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "17a8ab0a21c7790b",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for rhasspy",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"label": true,
|
2024-04-27 11:29:07 +00:00
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"a23c2aa7e24eb8f7",
|
|
|
|
"234feecbe12db6fa"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 4433,
|
2024-04-27 11:29:07 +00:00
|
|
|
"w": 1764,
|
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a3c29b70c82234cc",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for zwave",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"1e687cd4c0cc0ece",
|
|
|
|
"b5e2408a7d09537d"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 4193,
|
|
|
|
"w": 1744,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "72988ccecf802b11",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for bluetooth",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"cf382d5398b6de43",
|
|
|
|
"24eae452ebf32be6"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3953,
|
2024-04-27 11:29:07 +00:00
|
|
|
"w": 1764,
|
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b9a706d9e4980c1e",
|
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
|
|
|
"name": "mqtt server for teleinfo",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"fee31a77e542b203",
|
|
|
|
"0bf16a20b9656c59"
|
|
|
|
],
|
|
|
|
"x": 68,
|
|
|
|
"y": 3713,
|
|
|
|
"w": 1764,
|
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c7f0e1480df909e9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for zigbee",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"518b634fa908a4aa",
|
|
|
|
"b40a3b0d2d310907"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3473,
|
2024-04-27 11:29:07 +00:00
|
|
|
"w": 1764,
|
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6c3162f93343ce7e",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for rfxcom",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"3ab6bcaac666ddc4",
|
|
|
|
"ae4487a0bf7f922f"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3233,
|
|
|
|
"w": 1764,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "93fb3d4a50d16da0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "656a3398842092de",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt server for nodered",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"label": true,
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill": "#ffffff",
|
|
|
|
"fill-opacity": "0.5",
|
|
|
|
"stroke": "#0070c0"
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d1b208e623179a25",
|
|
|
|
"c706245ab487b7e2"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 68,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 2993,
|
2024-04-27 11:29:07 +00:00
|
|
|
"w": 1764,
|
|
|
|
"h": 194
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "bc29c56f900c8d36",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - read and write to file",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"b1e2b474e4c77892",
|
|
|
|
"ede79ed6b82aa804",
|
|
|
|
"d3064571c2fde064",
|
|
|
|
"2356f963725e84c6",
|
|
|
|
"5205205461f48680",
|
|
|
|
"be0beee97ed2d572",
|
|
|
|
"44308739c0f759ad",
|
|
|
|
"43c695b9490f5104",
|
|
|
|
"9d4a1f539c9bf58c",
|
|
|
|
"dfb4b5350a9383c9",
|
|
|
|
"432e8063fae7039e",
|
|
|
|
"afd6a49ad55de215"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 2359,
|
|
|
|
"w": 1242,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 142
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3e71b89d61df9fd3",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - write to InluxDB",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"58359ad51f36d68e",
|
|
|
|
"0aca727fc835e615",
|
|
|
|
"5c4a3b8ce0220dd9",
|
|
|
|
"14a5f0183ce7ec8d",
|
|
|
|
"ec2704a8e18114ea",
|
|
|
|
"e287e4f4d7f3a174",
|
|
|
|
"b43439c6ab36fbfc",
|
|
|
|
"61b310386916497a",
|
|
|
|
"a98fde87c6b47e6e",
|
|
|
|
"7c75b6b921f30409",
|
|
|
|
"27e3bd6cada7b554",
|
|
|
|
"4280a1f889505f0c",
|
|
|
|
"4163673982458b27",
|
|
|
|
"faeff76a4321bee2",
|
|
|
|
"28b6c3fdb407e73b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 2119,
|
|
|
|
"w": 2452,
|
|
|
|
"h": 202
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6386e9a459469b53",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - write to MQTT",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"b425ab40ef97a294",
|
|
|
|
"1102208726a88a10",
|
|
|
|
"4176c5d5bc97709c",
|
|
|
|
"1cbff7f3a7317c5b",
|
|
|
|
"c5465d5f64db4b45"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 1939,
|
|
|
|
"w": 792,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 142
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e9bd98a0b6e0d58c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - write to journal",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"e4e85a27e4775ac9",
|
|
|
|
"5a49d1f4b12618a7",
|
|
|
|
"234620fe148e1dca",
|
|
|
|
"285c9ffa2f524440",
|
|
|
|
"a441e9df790a0c3c",
|
|
|
|
"074313bb4e48de6f",
|
|
|
|
"c5dc4f8c357a596f",
|
|
|
|
"592483f2183c6711"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 1639,
|
|
|
|
"w": 1072,
|
|
|
|
"h": 262
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "20b116b788ef3f27",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - metric",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"12f02c43a82b46f9",
|
|
|
|
"a974cddec777bd94",
|
|
|
|
"7cd303d0aadd1433",
|
|
|
|
"eca0e6f3657f0564",
|
|
|
|
"1e908b6060a584ea",
|
|
|
|
"3743db17cb401840",
|
|
|
|
"6473c46ecd9304c7",
|
|
|
|
"582f8e6b17a9d9d1",
|
|
|
|
"dd79805b7971cbbb",
|
|
|
|
"0831bd7e7daa4915",
|
|
|
|
"ae5e8ae05adac7fd",
|
|
|
|
"b90652e7f7d28f66",
|
|
|
|
"9f055c7cccb634c1",
|
|
|
|
"c785aed10e83430a",
|
|
|
|
"68ad3074767eb2c3",
|
|
|
|
"3c3fe996c199516b",
|
|
|
|
"0d78bebcc5541e02",
|
|
|
|
"fc88fb69cac1e5a5",
|
|
|
|
"82229e46e51f94f5",
|
|
|
|
"895db12fd6d94a67",
|
|
|
|
"4689a4035be0c82e",
|
|
|
|
"6466ac9bacd083e2",
|
|
|
|
"ca80e5fe27609a11",
|
|
|
|
"d7f0ba2534f27b82",
|
|
|
|
"206c1fb4a48067df",
|
|
|
|
"031a6afd8300356a",
|
|
|
|
"4264ed01f3943e2f",
|
|
|
|
"c15d0c66ed5af79f",
|
|
|
|
"e2ef5706b35de7b0",
|
|
|
|
"8bbf418d277b4df7",
|
|
|
|
"357c6d106dec5efd",
|
|
|
|
"3a4c72588bb27ab4",
|
|
|
|
"56d131373d4e2f78",
|
|
|
|
"e6a4e861a99b196c"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 1159,
|
|
|
|
"w": 5142,
|
|
|
|
"h": 442
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3711bd3352570a6c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kenel - gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"149401230ed2ed4c",
|
|
|
|
"1eea209368626bc1",
|
|
|
|
"19dc49123e66ac71",
|
|
|
|
"85ea82a3282907b1",
|
|
|
|
"baaac9a301ef150a",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 919,
|
|
|
|
"w": 1072,
|
|
|
|
"h": 202,
|
|
|
|
"info": "gate can be opened or closed\r\nWhen closed, all messages are stopped from MQTT links and kernel"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "bbf7bb18989048e1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"fabb645e0d88c91c",
|
|
|
|
"d3ac50a83c871cc8",
|
|
|
|
"6d65af0eaae695a3",
|
|
|
|
"c1d2a5b213c6568a",
|
|
|
|
"35c936be0ce55676",
|
|
|
|
"e5f9a77af592fc78",
|
|
|
|
"2dedf503efee73c8",
|
|
|
|
"bfa594bf1f876c92",
|
|
|
|
"94c79b8f52f0b6ba",
|
|
|
|
"2ba23548e87b0292"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 679,
|
|
|
|
"w": 1412,
|
|
|
|
"h": 202,
|
|
|
|
"info": "devices must register their definitions to this part input"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "9ea365cc69a1f2bf",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - automate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"df1059b56622c582",
|
|
|
|
"acd42b52bd581740",
|
|
|
|
"324b4e5e9a9419cc",
|
|
|
|
"e68b067b48b94ca2",
|
|
|
|
"cd2ac560f85327a9",
|
|
|
|
"ee66fb38bde2fdf4",
|
|
|
|
"92f76d0a8a4f1178",
|
|
|
|
"8413c966166387ab",
|
|
|
|
"3cd44612df58e32f"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 199,
|
|
|
|
"w": 792,
|
|
|
|
"h": 202
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "cf7f82b8517f3250",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "96d8990f6a4978cc",
|
|
|
|
"name": "kernel - boot",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#ff0000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"464bfd100a5740b8",
|
|
|
|
"f7b2d28d9c7d66ae",
|
|
|
|
"3e652e3da2c711ec",
|
|
|
|
"cb09b67a37901112",
|
|
|
|
"25445f5a9b787a0a",
|
|
|
|
"7c98833082d48029",
|
|
|
|
"4bab6cfef1e2c932",
|
|
|
|
"011c5e62deb510bb",
|
|
|
|
"b0f54ce6c23c6da6",
|
|
|
|
"92dac97dfb662f2d",
|
|
|
|
"d74bb73a0966b4bd"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 439,
|
|
|
|
"w": 2022,
|
|
|
|
"h": 202,
|
|
|
|
"info": "when flow start, this part launch all sub flows\r\ndevices registration must be called from this part output"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d9548e9b1a2e6f36",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "5a56612ef35c5fd3",
|
|
|
|
"name": "auto - metric - out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#92d04f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"e93e8daa30075ae6",
|
|
|
|
"89d2eebcaafb5013",
|
|
|
|
"9c89a41128573752",
|
|
|
|
"b2ccb6a2a248015d",
|
|
|
|
"d318afa2a81e4ff9",
|
|
|
|
"9262e99e20e0e654",
|
|
|
|
"69041daa92bc0a8b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6114,
|
|
|
|
"y": 4819,
|
|
|
|
"w": 762,
|
|
|
|
"h": 202
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "874075d44d19869a",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "5a56612ef35c5fd3",
|
|
|
|
"name": "auto - metric - in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#92d04f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"7d45ca7ad7f363fe",
|
|
|
|
"a4e3db9cc35fc9eb",
|
|
|
|
"a2d25db2ace537ae",
|
|
|
|
"282bb73eb4892ab9",
|
|
|
|
"637b84024e725f38",
|
|
|
|
"f61f5fe80ddf6ff1"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 5134,
|
|
|
|
"y": 4819,
|
|
|
|
"w": 882,
|
|
|
|
"h": 82
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "266f4436dc45ce89",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3110fe9246e63b1e",
|
|
|
|
"name": "auto - source - out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"14a0a0839924964f",
|
|
|
|
"06581753b7673f83",
|
|
|
|
"5e3cb9bb3266089b",
|
|
|
|
"0b32686fe74c253f",
|
|
|
|
"51b002c497ad57cd",
|
|
|
|
"83e8a9fa324dd4b9",
|
|
|
|
"bb1e8e34559c5a7f",
|
|
|
|
"6140ca98749acd85",
|
|
|
|
"70ae9d85820c14fb"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 3394,
|
|
|
|
"y": 4819,
|
|
|
|
"w": 1642,
|
|
|
|
"h": 202
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3be00f677c6457bd",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3110fe9246e63b1e",
|
|
|
|
"name": "auto - source - in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"label": true,
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill-opacity": "0.05"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"ba77500cd9f7f6da",
|
|
|
|
"30220f4fe07e35a4",
|
|
|
|
"ac4653be6ea01477",
|
|
|
|
"1ceced58d0c32e85",
|
|
|
|
"24058eec92534b27",
|
|
|
|
"5460a158225a328b",
|
|
|
|
"d34f38f155583ff7",
|
|
|
|
"aa275d99ba85bee2",
|
|
|
|
"5891781e4a61525a",
|
|
|
|
"4908c2284e498338",
|
|
|
|
"411b13dfb3e989f0"
|
|
|
|
],
|
|
|
|
"x": 1794,
|
|
|
|
"y": 4819,
|
|
|
|
"w": 1502,
|
|
|
|
"h": 202
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4937527cddd45b61",
|
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "63149b5b57a97c5b",
|
|
|
|
"name": "auto - device - out",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ffC000",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"3e1b4213132404be",
|
|
|
|
"80459ca7317cce90",
|
|
|
|
"e6d11d0438e20b80",
|
|
|
|
"0ff47b07b863d0ae",
|
|
|
|
"561aaceffe076a5d",
|
|
|
|
"8f4503a19f2f639e",
|
|
|
|
"b08802b0dbd9a58b"
|
|
|
|
],
|
|
|
|
"x": 734,
|
|
|
|
"y": 4759,
|
|
|
|
"w": 972,
|
|
|
|
"h": 262
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bd21a8b1786d3ed2",
|
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "63149b5b57a97c5b",
|
|
|
|
"name": "auto - device - in",
|
|
|
|
"style": {
|
|
|
|
"fill": "#ffC000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"d85fe6335a6eae7b",
|
|
|
|
"c3d88e1872a9789b",
|
|
|
|
"7f1a03ba2d4eb5d1",
|
|
|
|
"546f190f3ec0c90d"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 4819,
|
|
|
|
"w": 612,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 142
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "234feecbe12db6fa",
|
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "17a8ab0a21c7790b",
|
|
|
|
"name": "",
|
|
|
|
"style": {
|
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"d07502e0620ed3d9",
|
|
|
|
"4cfd419f66b58eda",
|
|
|
|
"4db395b3e8fa404f",
|
|
|
|
"d8b85eb94b57b81f"
|
|
|
|
],
|
|
|
|
"x": 1294,
|
|
|
|
"y": 4459,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a23c2aa7e24eb8f7",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "17a8ab0a21c7790b",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"81b03b89f507e5ce",
|
|
|
|
"3eda424ef17379e9",
|
|
|
|
"af3082ef59725979",
|
|
|
|
"9518f42686aaf99c",
|
|
|
|
"6d6bcbb7ce10198f",
|
|
|
|
"da4da5b15f106b4a"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 4459,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b5e2408a7d09537d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a3c29b70c82234cc",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"92d0d0a5798c06cf",
|
|
|
|
"62dd3e8d6c87a0f9",
|
|
|
|
"82908fcfdf7f599a",
|
|
|
|
"a6b8c9c223ea5942"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 4219,
|
|
|
|
"w": 492,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "1e687cd4c0cc0ece",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a3c29b70c82234cc",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"3eb59215b6fb19e2",
|
|
|
|
"ebdbee7baef678a6",
|
|
|
|
"3738b065c50a0cac",
|
|
|
|
"1d8f71c67df6cec9",
|
|
|
|
"341bc94dee8e9f96",
|
|
|
|
"247945a0f503ac90"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 4219,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "24eae452ebf32be6",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "72988ccecf802b11",
|
2024-04-27 11:29:07 +00:00
|
|
|
"name": "",
|
|
|
|
"style": {
|
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d4252f4120129d32",
|
|
|
|
"55db3023ac9ae3c1",
|
|
|
|
"a411175648a9f14e",
|
|
|
|
"1052950934d566bf"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 3979,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "cf382d5398b6de43",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "72988ccecf802b11",
|
2024-04-27 11:29:07 +00:00
|
|
|
"name": "",
|
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"c73c3b488741b764",
|
|
|
|
"85c0a8032c692a9a",
|
|
|
|
"c8d1b777a117ee56",
|
|
|
|
"be2acafce4c2c74d",
|
|
|
|
"11a6de1c96795b4d",
|
|
|
|
"e60cbfea876d91e7"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3979,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0bf16a20b9656c59",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b9a706d9e4980c1e",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"b0b2d9829230be99",
|
|
|
|
"5d53068f8b9e6936",
|
|
|
|
"a7e18f888c96ad05",
|
|
|
|
"7a6db5a28141b284"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 3739,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "fee31a77e542b203",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b9a706d9e4980c1e",
|
|
|
|
"name": "devices teleinfo",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"c16f1ae420f44fb5",
|
|
|
|
"b491f7eb02575108",
|
|
|
|
"ca7f0d58c55a1358",
|
|
|
|
"3423fd727184042c",
|
|
|
|
"fa2acb5ac9bb8c8c",
|
|
|
|
"a34aeb4c51bcf655"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 3739,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b40a3b0d2d310907",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "c7f0e1480df909e9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"name": "",
|
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"ac5c011465193c4e",
|
|
|
|
"6c324b24ca028984",
|
|
|
|
"3398dde44269eb08",
|
|
|
|
"08f26275ef69e598"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 3499,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "518b634fa908a4aa",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "c7f0e1480df909e9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"name": "",
|
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"5d0abf7735e4d38c",
|
|
|
|
"a3594a90f69fe537",
|
|
|
|
"0c032c944567a64d",
|
|
|
|
"fb76731a2064ad65",
|
|
|
|
"529f7e707934e514",
|
|
|
|
"7b89e1d6b81feb1d",
|
|
|
|
"57bd505da426547c"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3499,
|
|
|
|
"w": 1162,
|
2024-04-27 11:29:07 +00:00
|
|
|
"h": 142
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ae4487a0bf7f922f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "6c3162f93343ce7e",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"a4f8287c851b1796",
|
|
|
|
"de0c34e8104574b0",
|
|
|
|
"f0991abcca9403bc",
|
|
|
|
"a39cfa7867f1affb"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 3259,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3ab6bcaac666ddc4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "6c3162f93343ce7e",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#0070c0",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"24a3e98a92c0d57d",
|
|
|
|
"ed6bcbd32e72afe1",
|
|
|
|
"be945e0c2c2208b0",
|
|
|
|
"735774bdb56f6be4",
|
|
|
|
"014d8a5287538444",
|
|
|
|
"03eacf7a446d906c"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 3259,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c706245ab487b7e2",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "93fb3d4a50d16da0",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"630dfeb0e033a476",
|
|
|
|
"d40db95f9a154c3a",
|
|
|
|
"0f1e413815ecc824",
|
|
|
|
"19a5c46ec6c71456"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1294,
|
|
|
|
"y": 3019,
|
|
|
|
"w": 512,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d1b208e623179a25",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "group",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "93fb3d4a50d16da0",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"style": {
|
2024-04-27 12:52:59 +00:00
|
|
|
"fill": "#0070c0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"a19b9fbac3e9f89c",
|
|
|
|
"e12bb3f8258f4439",
|
|
|
|
"0a4c943dc3a06f0d",
|
|
|
|
"af148bf44b019b35",
|
|
|
|
"b961d989c357e6d6",
|
|
|
|
"2cc2cdcf0b1f710e",
|
|
|
|
"56d93c268a656fc4",
|
|
|
|
"d02f1b2f2c3a2a30"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 94,
|
|
|
|
"y": 3019,
|
|
|
|
"w": 1162,
|
|
|
|
"h": 142
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "69041daa92bc0a8b",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "set prefix",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'rfxcom2mqtt/devices/'&msg.id",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6520,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b2ccb6a2a248015d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "9262e99e20e0e654",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "set prefix",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'zigbee/'&msg.id",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 6520,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b2ccb6a2a248015d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d318afa2a81e4ff9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "set prefix",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'zwave/'&msg.id",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6520,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b2ccb6a2a248015d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b2ccb6a2a248015d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "set topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "topic",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.prefix&'/'&msg.topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6700,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"89d2eebcaafb5013"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "9c89a41128573752",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "select protocol",
|
|
|
|
"property": "protocol",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "zwave",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "zigbee",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "rfxcom",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 3,
|
|
|
|
"x": 6320,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d318afa2a81e4ff9"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"9262e99e20e0e654"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"69041daa92bc0a8b"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "89d2eebcaafb5013",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "auto - metric - out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"62dd3e8d6c87a0f9",
|
|
|
|
"6c324b24ca028984",
|
|
|
|
"de0c34e8104574b0"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6835,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e93e8daa30075ae6",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d9548e9b1a2e6f36",
|
|
|
|
"name": "auto - metric - out",
|
2024-04-28 08:20:00 +00:00
|
|
|
"links": [
|
|
|
|
"3a56ad77ed759c12",
|
|
|
|
"dc8432cb11ffb0d6",
|
2024-04-28 08:58:19 +00:00
|
|
|
"7906a1e6360e1d26",
|
|
|
|
"6129043e9e44e401",
|
|
|
|
"4949856273c96f31",
|
|
|
|
"787259a3f73535a8",
|
|
|
|
"04c8ea40e1416dd8",
|
|
|
|
"b851d81e54e34734",
|
|
|
|
"9141d766151544f5",
|
|
|
|
"a0599f25333072be",
|
|
|
|
"a405297eaa582a12",
|
|
|
|
"8e7510f792d7e993"
|
2024-04-28 08:20:00 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 6155,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"9c89a41128573752"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "f61f5fe80ddf6ff1",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "protocol",
|
|
|
|
"property": "protocol",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "nempty"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 5520,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a2d25db2ace537ae"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "637b84024e725f38",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "auto - metric - in",
|
|
|
|
"mode": "link",
|
2024-04-28 08:20:00 +00:00
|
|
|
"links": [
|
|
|
|
"0f053409eacfc57b",
|
|
|
|
"c7ca4f7a643b3a2c",
|
2024-04-28 08:58:19 +00:00
|
|
|
"25b1ac0e4bf27db0",
|
|
|
|
"45b3204fc96f986e",
|
|
|
|
"d381cd4b08e2f495",
|
|
|
|
"c1256035b49c2bb1",
|
|
|
|
"2818a7a29e3d6043",
|
|
|
|
"26c8f66f641451ac",
|
|
|
|
"07cfbb3cf7a1c47a",
|
|
|
|
"b776ddbdb4b51028",
|
|
|
|
"cd0939042b525b67",
|
|
|
|
"366f7377fd513760"
|
2024-04-28 08:20:00 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 5975,
|
|
|
|
"y": 4860,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "282bb73eb4892ab9",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "id",
|
|
|
|
"property": "id",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "nempty"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 5850,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"637b84024e725f38"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a2d25db2ace537ae",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "model",
|
|
|
|
"property": "model",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "nempty"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 5690,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"282bb73eb4892ab9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a4e3db9cc35fc9eb",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "from device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "protocol",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "devices[msg.bucket][msg.measurement][msg.field]protocol",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "model",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "devices[msg.bucket][msg.measurement][msg.field]model",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "devices[msg.bucket][msg.measurement][msg.field]id",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "option",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "devices[msg.bucket][msg.measurement][msg.field]option",
|
|
|
|
"tot": "global"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 5330,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"f61f5fe80ddf6ff1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "7d45ca7ad7f363fe",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "874075d44d19869a",
|
|
|
|
"name": "auto - metric - in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"031a6afd8300356a"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 5175,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a4e3db9cc35fc9eb"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "70ae9d85820c14fb",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "set field",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "seen",
|
|
|
|
"tot": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 3740,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5e3cb9bb3266089b"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6140ca98749acd85",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "seen",
|
|
|
|
"property": "seen",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "istype",
|
|
|
|
"v": "string",
|
|
|
|
"vt": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 3570,
|
|
|
|
"y": 4980,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"70ae9d85820c14fb"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"5e3cb9bb3266089b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bb1e8e34559c5a7f",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "250 ms by path",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "pay",
|
|
|
|
"op2type": "nul",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": true,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "topic",
|
|
|
|
"topic": "path",
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4180,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"83e8a9fa324dd4b9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "83e8a9fa324dd4b9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "get flow stack",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "seen",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "#:(memoryOnly)::seen",
|
|
|
|
"tot": "flow"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4400,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
2024-04-27 12:52:59 +00:00
|
|
|
[
|
|
|
|
"0b32686fe74c253f"
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "51b002c497ad57cd",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "set flow stack",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "#:(memoryOnly)::seen[msg.path]",
|
|
|
|
"pt": "flow",
|
|
|
|
"to": "",
|
|
|
|
"tot": "date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "seen",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 4840,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"06581753b7673f83"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0b32686fe74c253f",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "limit to 15 min",
|
|
|
|
"property": "seen[msg.path]",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "lt",
|
|
|
|
"v": "$number(msg.payload) - 900000",
|
|
|
|
"vt": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 4620,
|
|
|
|
"y": 4980,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"51b002c497ad57cd"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"51b002c497ad57cd"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5e3cb9bb3266089b",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "set measurement",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "seen",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "path",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.bucket & '/' & msg.measurement & '/' & msg.field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "",
|
|
|
|
"tot": "date"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 3950,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"bb1e8e34559c5a7f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "06581753b7673f83",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "auto - source - out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"206c1fb4a48067df"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4995,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "14a0a0839924964f",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "266f4436dc45ce89",
|
|
|
|
"name": "auto - source - out",
|
2024-04-28 08:09:56 +00:00
|
|
|
"links": [
|
|
|
|
"0a2fa3c2042de32b",
|
|
|
|
"1ed7593011ad6d9d",
|
|
|
|
"8a80d7d04901125e",
|
2024-04-28 08:20:00 +00:00
|
|
|
"6d3f4589b84a4ae0",
|
|
|
|
"61d409cdd6107520",
|
|
|
|
"8f6759a268add92e",
|
|
|
|
"f11a044ad0e20908",
|
|
|
|
"4385665e61ddeef1",
|
|
|
|
"162055ff0b298da7",
|
|
|
|
"1e1a6a213e5bed71",
|
2024-04-28 08:58:19 +00:00
|
|
|
"b2f041d50556adbe",
|
|
|
|
"9c2e6f0785e3d15e",
|
|
|
|
"7eff7f2e1f0574d0",
|
|
|
|
"2ab7993499d31bbd",
|
|
|
|
"8ab95bcfe737b310",
|
|
|
|
"8ad2befe24b148fa",
|
|
|
|
"a14747cc11f09dca",
|
|
|
|
"a5e2d099050bf1a9",
|
|
|
|
"18c9f623b0f8f8ba",
|
|
|
|
"f5c2ab1d8a9d4f05",
|
|
|
|
"465fd39cc57093ae",
|
|
|
|
"4a66fcf836959d2c",
|
|
|
|
"13a43ea0c63dc053",
|
|
|
|
"5d76905ae805599d"
|
2024-04-28 08:09:56 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 3435,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"06581753b7673f83",
|
|
|
|
"6140ca98749acd85"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "411b13dfb3e989f0",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "by _id",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "device",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "protocols[msg.protocol][msg.id]",
|
|
|
|
"tot": "global"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 2970,
|
|
|
|
"y": 4960,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d34f38f155583ff7"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4908c2284e498338",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "exists",
|
|
|
|
"property": "device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "istype",
|
|
|
|
"v": "object",
|
|
|
|
"vt": "object"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 2810,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d34f38f155583ff7"
|
|
|
|
],
|
2024-04-27 11:29:07 +00:00
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"411b13dfb3e989f0"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5891781e4a61525a",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "by full id",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "full_id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.id&'.'&msg.subid",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "device",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "protocols[msg.protocol][msg.full_id]",
|
|
|
|
"tot": "global"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 2640,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"4908c2284e498338"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "aa275d99ba85bee2",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "extract protocol values",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "protocol",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "rfxcom",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "input[2]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "subid",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "input[3]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'rfxcom2mqtt/devices/'&msg.id",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 2420,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5891781e4a61525a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d34f38f155583ff7",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "model",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "device.model",
|
|
|
|
"tot": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "option",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "device.option",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "bucket",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "device.bucket",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "device.measurement",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "device.field",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "repeat",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "false",
|
|
|
|
"tot": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "device",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 3130,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"24058eec92534b27"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5460a158225a328b",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "extract protocol values",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "protocol",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "zigbee",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "input[1]",
|
|
|
|
"tot": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "subid",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "0",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'zigbee/'&msg.id",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 2420,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5891781e4a61525a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "24058eec92534b27",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "auto - source - in",
|
|
|
|
"mode": "link",
|
2024-04-28 08:09:56 +00:00
|
|
|
"links": [
|
|
|
|
"40abdc0a6d9a02e0",
|
|
|
|
"e75839a08fe8026b",
|
|
|
|
"fbf9779ea5af2111",
|
2024-04-28 08:20:00 +00:00
|
|
|
"db5251d07949a8c0",
|
|
|
|
"e357d03ad7d6882e",
|
|
|
|
"0dc72fc23588671b",
|
|
|
|
"ada7d594f73cc361",
|
|
|
|
"3b6e494f3b2508cf",
|
|
|
|
"e93a07a5851a14f2",
|
|
|
|
"42c7380d496e1a14",
|
2024-04-28 08:58:19 +00:00
|
|
|
"3a92525692be8c0a",
|
|
|
|
"7327ac2371d2c61e",
|
|
|
|
"b8a506ad585dedf8",
|
|
|
|
"d6f83986f164d9d1",
|
|
|
|
"b618882d7f713f12",
|
|
|
|
"9bdd13282dd84b6c",
|
|
|
|
"9565abec6d5582d4",
|
|
|
|
"c54c02a1bb45d163",
|
|
|
|
"f0366fead862ee6e",
|
|
|
|
"0c68f6b037bb2c3f",
|
|
|
|
"a12c8ea8c9ebce6e",
|
|
|
|
"63ccb5cc65d41db0",
|
|
|
|
"9c89f8ad918445b3",
|
|
|
|
"2095d2a63909780c"
|
2024-04-28 08:09:56 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 3255,
|
|
|
|
"y": 4920,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1ceced58d0c32e85",
|
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "extract protocol values",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "protocol",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "zwave",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "input[1]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "subid",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "input[3]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "prefix",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'zwave/'&msg.id",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 2420,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5891781e4a61525a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ac4653be6ea01477",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "select protocol",
|
|
|
|
"property": "input[0]",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "zwave",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "zigbee",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "rfxcom2mqtt",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 3,
|
|
|
|
"x": 2180,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"1ceced58d0c32e85"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5460a158225a328b"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"aa275d99ba85bee2"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "30220f4fe07e35a4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "split topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "input",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$split(msg.topic,'/')",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1980,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ac4653be6ea01477"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ba77500cd9f7f6da",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3be00f677c6457bd",
|
|
|
|
"name": "auto - source - in",
|
|
|
|
"links": [
|
|
|
|
"a3594a90f69fe537",
|
|
|
|
"ebdbee7baef678a6",
|
|
|
|
"ed6bcbd32e72afe1"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1835,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"30220f4fe07e35a4"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b08802b0dbd9a58b",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "add subid to id",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "id",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.id&'.'&msg.subid",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1340,
|
|
|
|
"y": 4800,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e6d11d0438e20b80"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "8f4503a19f2f639e",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "subid exists",
|
|
|
|
"property": "subid",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "istype",
|
|
|
|
"v": "string",
|
|
|
|
"vt": "string"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1130,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b08802b0dbd9a58b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e6d11d0438e20b80"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "561aaceffe076a5d",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "seen / xxx / number",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "seen",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "number",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "",
|
|
|
|
"tot": "date"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1150,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"80459ca7317cce90"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0ff47b07b863d0ae",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "brand exists",
|
|
|
|
"property": "brand",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "istype",
|
|
|
|
"v": "string",
|
|
|
|
"vt": "string"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 930,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"561aaceffe076a5d",
|
|
|
|
"8f4503a19f2f639e"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"80459ca7317cce90"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e6d11d0438e20b80",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "register by protocols",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "protocols[msg.protocol][msg.id]",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{\t 'bucket':msg.bucket,\t 'measurement':msg.measurement,\t 'field':msg.field,\t 'brand':msg.brand,\t 'model':msg.model,\t 'option':msg.option\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1580,
|
|
|
|
"y": 4860,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
2024-04-27 12:52:59 +00:00
|
|
|
[]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "80459ca7317cce90",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "auto - device - out",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"bfa594bf1f876c92"
|
|
|
|
],
|
|
|
|
"x": 1315,
|
|
|
|
"y": 4980,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3e1b4213132404be",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "4937527cddd45b61",
|
|
|
|
"name": "auto - device - out",
|
2024-04-28 08:09:56 +00:00
|
|
|
"links": [
|
|
|
|
"919ec72b0122125e",
|
|
|
|
"64209e9b32b3069e",
|
|
|
|
"76e4299fa08ddb99",
|
2024-04-28 08:20:00 +00:00
|
|
|
"76c617de3fe57a72",
|
|
|
|
"dbc8bb25a9189ad0",
|
|
|
|
"4f9f216ecca80280",
|
|
|
|
"5ea3980a5d978b17",
|
|
|
|
"8237bbc2fead9706",
|
|
|
|
"97bc7bfd63052866",
|
|
|
|
"74b35458f02dda86",
|
2024-04-28 08:58:19 +00:00
|
|
|
"8480858c89a6eed5",
|
|
|
|
"b87c542ba9b27bb5",
|
|
|
|
"372240222a775d4f",
|
|
|
|
"ab023aa415991c4f",
|
|
|
|
"c288ba888d38a74d",
|
|
|
|
"d0fc50917dc16651",
|
|
|
|
"6ef165716dcf6229",
|
|
|
|
"70520299b0fb1e7e",
|
|
|
|
"b9b3c6ff10434440",
|
|
|
|
"c76838030c694a7c",
|
|
|
|
"6b94df736e3aae95",
|
|
|
|
"e43044b50e8b545e",
|
|
|
|
"5f1b59b7430d9182",
|
2024-04-28 09:06:22 +00:00
|
|
|
"6824a9460e4d8c9f",
|
|
|
|
"7c230d4cdca2bfea",
|
2024-04-28 09:30:17 +00:00
|
|
|
"2a9e3b488590c435",
|
|
|
|
"73d4e0dc30041c36"
|
2024-04-28 08:09:56 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 775,
|
|
|
|
"y": 4980,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"0ff47b07b863d0ae"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "546f190f3ec0c90d",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bd21a8b1786d3ed2",
|
|
|
|
"name": "auto - device - in",
|
|
|
|
"mode": "link",
|
2024-04-28 08:09:56 +00:00
|
|
|
"links": [
|
|
|
|
"277f13fc211becf2",
|
|
|
|
"14a19cafbce9493f",
|
|
|
|
"9386d8f8dd219a71",
|
2024-04-28 08:20:00 +00:00
|
|
|
"20255790fade5c76",
|
|
|
|
"de6506a93e799ba9",
|
|
|
|
"f2af422ed8da0c9f",
|
|
|
|
"d29d128c44cded92",
|
|
|
|
"c2e44a76c98cd7ae",
|
|
|
|
"c491dadde798f841",
|
|
|
|
"65f6a02b5d2c092d",
|
2024-04-28 08:58:19 +00:00
|
|
|
"c0e646f0c8352181",
|
|
|
|
"8d39935a442a5f68",
|
|
|
|
"1f98f11f070b0415",
|
|
|
|
"ea77f48c1d222cc2",
|
|
|
|
"ed3c5c95136138e9",
|
|
|
|
"1347f6afde2719d6",
|
|
|
|
"54eb8ae585b6cd20",
|
|
|
|
"7157ad0d44c06b58",
|
|
|
|
"439c47602f7560b5",
|
|
|
|
"2dd3539dc0c9fedf",
|
|
|
|
"115d9ecf61c636e1",
|
|
|
|
"8a0b4fb72d78f2f6",
|
|
|
|
"388c30abbe7958c4",
|
2024-04-28 09:06:22 +00:00
|
|
|
"c50944ca0208faa9",
|
|
|
|
"a54905c20392b984",
|
2024-04-28 09:30:17 +00:00
|
|
|
"9405d14c97dba7e5",
|
|
|
|
"fdbf3fd639e2816d"
|
2024-04-28 08:09:56 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 435,
|
|
|
|
"y": 4920,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7f1a03ba2d4eb5d1",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bd21a8b1786d3ed2",
|
|
|
|
"name": "auto - device - uncomplete",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 540,
|
|
|
|
"y": 4860,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "c3d88e1872a9789b",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "function",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bd21a8b1786d3ed2",
|
|
|
|
"name": "check device",
|
|
|
|
"func": "// output 1 : error message\n// output 2 : device registration\n\n// script var\nvar msg = msg;\nvar newmsg = {};\n\nif (typeof msg === 'undefined'){\n return [null,null];\n}\n\n// check var existence\nif (typeof msg.bucket === 'undefined' ||\n typeof msg.model === 'undefined' ||\n typeof msg.id === 'undefined'\n) {\n node.status({\n fill: \"red\", shape: \"ring\", text: 'undefined device'});\n return [msg,null];\n}\n\n// recreate msg\nnewmsg = {\n 'bucket': msg.bucket,\n 'measurement': typeof msg.measurement === 'undefined' ? '' : msg.measurement,\n 'field': typeof msg.field === 'undefined' ? '' : msg.field,\n 'model': msg.model,\n 'option': typeof msg.option === 'undefined' ? 0 : msg.option,\n 'id': msg.id,\n 'payload':''\n};\n\nnode.status({ fill: 'green', shape: \"ring\", text: newmsg.model + ' / ' + newmsg.id });\nreturn [null,newmsg];",
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"timeout": "",
|
|
|
|
"noerr": 0,
|
2024-04-27 12:52:59 +00:00
|
|
|
"initialize": "\n",
|
|
|
|
"finalize": "\n",
|
2024-04-27 11:29:07 +00:00
|
|
|
"libs": [],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 290,
|
|
|
|
"y": 4920,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"7f1a03ba2d4eb5d1"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"546f190f3ec0c90d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d85fe6335a6eae7b",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bd21a8b1786d3ed2",
|
|
|
|
"name": "auto - device - in",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
|
|
|
"y": 4920,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"c3d88e1872a9789b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d02f1b2f2c3a2a30",
|
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "MQTT nodered base topic must be same as automate name (default is iotredloop)",
|
|
|
|
"info": "",
|
|
|
|
"x": 820,
|
|
|
|
"y": 3120,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "28b6c3fdb407e73b",
|
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "influxdb must have \"resume\", \"linky\", \"system\", \"home\", \"unifi\" buckets, and one bucket per room",
|
|
|
|
"info": "",
|
|
|
|
"x": 450,
|
|
|
|
"y": 2280,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7f76434616f622dc",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "a8dc4fab59fdefb4",
|
|
|
|
"name": "device - system kernel version",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"bfa594bf1f876c92"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 595,
|
|
|
|
"y": 5220,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eed8990163b1ca81",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "a8dc4fab59fdefb4",
|
|
|
|
"name": "device - system kernel version",
|
|
|
|
"links": [
|
|
|
|
"25445f5a9b787a0a"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 5220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"840c05ce502e7fdd"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "840c05ce502e7fdd",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a8dc4fab59fdefb4",
|
|
|
|
"name": "system / kernel / version / text / 0.0.1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "bucket",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "system",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "measurement",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "kernel",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "version",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "default",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "0.0.1",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "format",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "text",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 370,
|
|
|
|
"y": 5220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"7f76434616f622dc"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "f02b4584af0d800c",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "f67a857ae75d906f",
|
|
|
|
"name": "source - system kernel version",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"206c1fb4a48067df"
|
|
|
|
],
|
|
|
|
"x": 1095,
|
|
|
|
"y": 5220,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1b98c37b3b7502e4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "f67a857ae75d906f",
|
|
|
|
"name": "system / kernel / version",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "bucket",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "system",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "kernel",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "version",
|
|
|
|
"tot": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "about.version",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "topic",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 910,
|
|
|
|
"y": 5220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"f02b4584af0d800c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "33f7a250a7341c43",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "f67a857ae75d906f",
|
|
|
|
"name": "source - system kernel version",
|
|
|
|
"links": [
|
|
|
|
"94c79b8f52f0b6ba"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 715,
|
|
|
|
"y": 5220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"1b98c37b3b7502e4"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ca442e58e65b32f8",
|
|
|
|
"type": "comment",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "every day at 12am",
|
|
|
|
"info": "",
|
|
|
|
"x": 530,
|
|
|
|
"y": 2760,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c367834c9cccbe38",
|
|
|
|
"type": "comment",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "60 s after boot and every minute",
|
|
|
|
"info": "",
|
|
|
|
"x": 570,
|
|
|
|
"y": 2580,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "412878f8c488a0f4",
|
|
|
|
"type": "comment",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "60 s after boot and every hour",
|
|
|
|
"info": "",
|
|
|
|
"x": 560,
|
|
|
|
"y": 2640,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "7fa17301839c0fa6",
|
|
|
|
"type": "comment",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "60 s after boot and every day at 3am",
|
|
|
|
"info": "",
|
|
|
|
"x": 580,
|
|
|
|
"y": 2700,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "764da2d0527c1ef6",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "kernel - cron midday",
|
|
|
|
"mode": "link",
|
2024-04-28 12:55:01 +00:00
|
|
|
"links": [
|
|
|
|
"34a350a168b2e745"
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 365,
|
|
|
|
"y": 2760,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d4146047c079ac62",
|
|
|
|
"type": "inject",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "cron midday",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "00 12 * * *",
|
|
|
|
"once": false,
|
|
|
|
"onceDelay": "60",
|
|
|
|
"topic": "",
|
|
|
|
"x": 220,
|
|
|
|
"y": 2760,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"764da2d0527c1ef6"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "074a67bf0fcf09ad",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "kernel - cron day",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [],
|
|
|
|
"x": 365,
|
|
|
|
"y": 2700,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "287d719de575c01f",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "kernel - cron hour",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [],
|
|
|
|
"x": 365,
|
|
|
|
"y": 2640,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "004bb30c27c94fb4",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "kernel - cron minute",
|
|
|
|
"mode": "link",
|
2024-04-27 14:09:07 +00:00
|
|
|
"links": [
|
|
|
|
"105c061631062fa1",
|
|
|
|
"444b573a678eae86",
|
2024-04-27 16:06:32 +00:00
|
|
|
"9d1ff2ced120c248",
|
2024-04-27 17:08:13 +00:00
|
|
|
"b8039538d3ab41e7",
|
|
|
|
"b3f5b970a9b03119",
|
|
|
|
"50bc182c3569008c",
|
2024-04-28 09:06:22 +00:00
|
|
|
"47316bf97f84b277",
|
2024-04-28 09:41:09 +00:00
|
|
|
"f71143d4a1e865c3",
|
|
|
|
"15d5032c9ec85d29"
|
2024-04-27 14:09:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 365,
|
|
|
|
"y": 2580,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "867a71b7dae9c844",
|
|
|
|
"type": "inject",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "cron day",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "00 03 * * *",
|
|
|
|
"once": true,
|
|
|
|
"onceDelay": "60",
|
|
|
|
"topic": "",
|
|
|
|
"x": 200,
|
|
|
|
"y": 2700,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"074a67bf0fcf09ad"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
2024-04-27 12:52:59 +00:00
|
|
|
{
|
|
|
|
"id": "722c773f6314dd40",
|
|
|
|
"type": "inject",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "cron hour",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "3600",
|
|
|
|
"crontab": "",
|
|
|
|
"once": true,
|
|
|
|
"onceDelay": "60",
|
|
|
|
"topic": "",
|
|
|
|
"x": 210,
|
|
|
|
"y": 2640,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"287d719de575c01f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "caa3c5097468f133",
|
|
|
|
"type": "inject",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a762a7a552cb9f03",
|
|
|
|
"name": "cron minute",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "60",
|
|
|
|
"crontab": "",
|
|
|
|
"once": true,
|
|
|
|
"onceDelay": "60",
|
|
|
|
"topic": "",
|
|
|
|
"x": 210,
|
|
|
|
"y": 2580,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"004bb30c27c94fb4"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d8b85eb94b57b81f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "234feecbe12db6fa",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^(hermes|rhasspy)",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 1470,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d07502e0620ed3d9",
|
|
|
|
"4db395b3e8fa404f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4db395b3e8fa404f",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "234feecbe12db6fa",
|
|
|
|
"name": "mqtt rhasspy output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"833f9ea0770f6e5a"
|
|
|
|
],
|
|
|
|
"x": 1635,
|
|
|
|
"y": 4560,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4cfd419f66b58eda",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "234feecbe12db6fa",
|
|
|
|
"name": "mqtt rhasspy",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"10aafa2119bcdcac",
|
|
|
|
"2c561a436a935bc6"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1335,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d8b85eb94b57b81f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d07502e0620ed3d9",
|
|
|
|
"type": "mqtt out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "234feecbe12db6fa",
|
|
|
|
"name": "MQTT rhasspy",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "442ad702808e3c66",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "da4da5b15f106b4a",
|
|
|
|
"type": "mqtt in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "MQTT rhasspy",
|
|
|
|
"topic": "hermes/intent/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "json",
|
|
|
|
"broker": "442ad702808e3c66",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 200,
|
|
|
|
"y": 4500,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9518f42686aaf99c"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "6d6bcbb7ce10198f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "raz MQTT properties",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "retain",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1040,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"81b03b89f507e5ce"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "9518f42686aaf99c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "50 msg / s",
|
|
|
|
"pauseType": "rate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"timeout": "5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "50",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 390,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3eda424ef17379e9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "af3082ef59725979",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "mqtt rhasspy gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 455,
|
|
|
|
"y": 4560,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3eda424ef17379e9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3eda424ef17379e9",
|
|
|
|
"type": "q-gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "",
|
|
|
|
"controlTopic": "gate",
|
|
|
|
"defaultState": "queueing",
|
|
|
|
"openCmd": "open",
|
|
|
|
"closeCmd": "close",
|
|
|
|
"toggleCmd": "toggle",
|
|
|
|
"queueCmd": "close",
|
|
|
|
"defaultCmd": "default",
|
|
|
|
"triggerCmd": "trigger",
|
|
|
|
"flushCmd": "open",
|
|
|
|
"resetCmd": "reset",
|
|
|
|
"peekCmd": "peek",
|
|
|
|
"dropCmd": "drop",
|
|
|
|
"statusCmd": "status",
|
|
|
|
"maxQueueLength": "0",
|
|
|
|
"keepNewest": false,
|
|
|
|
"qToggle": false,
|
|
|
|
"persist": false,
|
|
|
|
"storeName": "default",
|
|
|
|
"x": 590,
|
|
|
|
"y": 4500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"6d6bcbb7ce10198f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "81b03b89f507e5ce",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "a23c2aa7e24eb8f7",
|
|
|
|
"name": "mqtt rhasspy",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [],
|
|
|
|
"x": 1215,
|
|
|
|
"y": 4500,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a6b8c9c223ea5942",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b5e2408a7d09537d",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^zwave",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
|
|
|
"y": 4260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"92d0d0a5798c06cf",
|
|
|
|
"82908fcfdf7f599a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "82908fcfdf7f599a",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b5e2408a7d09537d",
|
|
|
|
"name": "mqtt zwave output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"ca89a4baa1806e71",
|
2024-04-27 14:09:07 +00:00
|
|
|
"ab63acc660e32a18",
|
|
|
|
"0ed67256bb147e2b"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1635,
|
|
|
|
"y": 4320,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "62dd3e8d6c87a0f9",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "b5e2408a7d09537d",
|
|
|
|
"name": "mqtt zwave",
|
|
|
|
"links": [
|
|
|
|
"a28b7b24c0ae9f8c",
|
|
|
|
"a02f78ffaedc9739",
|
|
|
|
"bccc33b4c0db9760",
|
|
|
|
"1c422d2c16125ca4",
|
|
|
|
"a06f150e72b873f2",
|
|
|
|
"eb69b7f3d6f894e3",
|
|
|
|
"f887adfd6fa075c2",
|
|
|
|
"2be05ddfe63b7313",
|
|
|
|
"648fbe7936a6e771",
|
|
|
|
"db4fcb97194bacd4",
|
|
|
|
"5ff9bf33eef6edea",
|
|
|
|
"4af3a6003798549f",
|
|
|
|
"a4f551d4cf84d1fe",
|
|
|
|
"9155daed44745330",
|
|
|
|
"9678ea31a895d9f4",
|
|
|
|
"433ea1c0deda2243",
|
|
|
|
"e96ba8b040e58218",
|
|
|
|
"41eb5aee9b16405c",
|
|
|
|
"2dfc7db2679a7eca",
|
|
|
|
"4f46e6e1244003c5",
|
|
|
|
"87b36faadc498428",
|
|
|
|
"b8e5f320e0d5e119",
|
|
|
|
"8a93f83ac805403e",
|
|
|
|
"f531075e0ccd5d1d",
|
|
|
|
"89d2eebcaafb5013",
|
|
|
|
"5f9d0ad90e63e256"
|
|
|
|
],
|
|
|
|
"x": 1335,
|
|
|
|
"y": 4260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a6b8c9c223ea5942"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "92d0d0a5798c06cf",
|
|
|
|
"type": "mqtt out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "b5e2408a7d09537d",
|
|
|
|
"name": "MQTT zwave",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "0bd651126b27aac6",
|
|
|
|
"x": 1690,
|
|
|
|
"y": 4260,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "247945a0f503ac90",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"name": "raz MQTT properties",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "retain",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1040,
|
|
|
|
"y": 4260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ebdbee7baef678a6"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "341bc94dee8e9f96",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"name": "50 msg / s",
|
|
|
|
"pauseType": "rate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"timeout": "5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "50",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 390,
|
|
|
|
"y": 4260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3738b065c50a0cac"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "1d8f71c67df6cec9",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"name": "mqtt zwave gate",
|
|
|
|
"links": [
|
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
|
|
|
],
|
|
|
|
"x": 455,
|
|
|
|
"y": 4320,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3738b065c50a0cac"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "3738b065c50a0cac",
|
|
|
|
"type": "q-gate",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"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": 4260,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"247945a0f503ac90"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ebdbee7baef678a6",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"name": "mqtt zwave",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"0c42605d4e17f7c0",
|
|
|
|
"13d4b6546b6078c4",
|
|
|
|
"1674f27502adab2b",
|
|
|
|
"28bd5077f8af7155",
|
|
|
|
"3fa1505cc54c0a4a",
|
|
|
|
"6004623d39fd780d",
|
|
|
|
"60cdba59b6867a2c",
|
|
|
|
"882213638ae51376",
|
|
|
|
"8f1673c23cf67a9b",
|
|
|
|
"ae31619e220a07e2",
|
|
|
|
"b51e54b87cd8c281",
|
|
|
|
"db5ad7caf20f44e5",
|
|
|
|
"dbfdf715d2b6b0d5",
|
|
|
|
"f3685659add53893",
|
|
|
|
"21aa9d233920d3db",
|
|
|
|
"dcdb87d31c193475",
|
|
|
|
"dc42210872f30fd1",
|
|
|
|
"e21569bf7b9d08f6",
|
|
|
|
"51b478fd1f7bbfe9",
|
|
|
|
"da24d3cb7f933d8e",
|
|
|
|
"8a735409075bf432",
|
|
|
|
"9379fef014648636",
|
|
|
|
"4c78ee51560912b7",
|
|
|
|
"c634be35fddbb9e8",
|
|
|
|
"7a413720d3c10ba8",
|
|
|
|
"e2cf426558bd0b60",
|
|
|
|
"46f5b6984edcc88f",
|
|
|
|
"b4c41faf6220fb5d",
|
|
|
|
"dd07962707cadbc4",
|
|
|
|
"3be6b8c3d6485c46",
|
|
|
|
"ba77500cd9f7f6da",
|
|
|
|
"b7b008f170dcc07f"
|
|
|
|
],
|
|
|
|
"x": 1215,
|
|
|
|
"y": 4260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3eb59215b6fb19e2",
|
|
|
|
"type": "mqtt in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "1e687cd4c0cc0ece",
|
|
|
|
"name": "MQTT zwave",
|
|
|
|
"topic": "zwave/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "auto-detect",
|
|
|
|
"broker": "0bd651126b27aac6",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 190,
|
|
|
|
"y": 4260,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"341bc94dee8e9f96"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1052950934d566bf",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "24eae452ebf32be6",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "regex",
|
|
|
|
"v": "^ble",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
|
|
|
"y": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d4252f4120129d32",
|
|
|
|
"a411175648a9f14e"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a411175648a9f14e",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "24eae452ebf32be6",
|
|
|
|
"name": "mqtt bluetooth output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"3ce812bf89416c2e",
|
2024-04-27 14:09:07 +00:00
|
|
|
"b5e020af24b6c81a",
|
|
|
|
"824a1416d7a3cfe1"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 1635,
|
|
|
|
"y": 4080,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "55db3023ac9ae3c1",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"d": true,
|
|
|
|
"g": "24eae452ebf32be6",
|
|
|
|
"name": "mqtt bluetooth",
|
|
|
|
"links": [],
|
|
|
|
"x": 1335,
|
|
|
|
"y": 4020,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"1052950934d566bf"
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d4252f4120129d32",
|
|
|
|
"type": "mqtt out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "24eae452ebf32be6",
|
|
|
|
"name": "MQTT bluetooth",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "ef0a4a5a649e056f",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 4020,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e60cbfea876d91e7",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"name": "raz MQTT properties",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "retain",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1040,
|
|
|
|
"y": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"85c0a8032c692a9a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "11a6de1c96795b4d",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"name": "100 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "100",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 390,
|
|
|
|
"y": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"c8d1b777a117ee56"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "be2acafce4c2c74d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"name": "mqtt bluetooth gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 455,
|
|
|
|
"y": 4080,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"c8d1b777a117ee56"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c8d1b777a117ee56",
|
|
|
|
"type": "q-gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"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": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e60cbfea876d91e7"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "85c0a8032c692a9a",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"name": "mqtt bluetooth",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"60e7ca843ea8f2e0"
|
|
|
|
],
|
|
|
|
"x": 1215,
|
|
|
|
"y": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c73c3b488741b764",
|
|
|
|
"type": "mqtt in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf382d5398b6de43",
|
|
|
|
"name": "MQTT bluetooth",
|
|
|
|
"topic": "ble/+/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "auto-detect",
|
|
|
|
"broker": "ef0a4a5a649e056f",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 200,
|
|
|
|
"y": 4020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"11a6de1c96795b4d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "7a6db5a28141b284",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "0bf16a20b9656c59",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
|
|
|
"v": "^teleinfo",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b0b2d9829230be99",
|
|
|
|
"a7e18f888c96ad05"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a7e18f888c96ad05",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "0bf16a20b9656c59",
|
|
|
|
"name": "mqtt teleinfo output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [],
|
|
|
|
"x": 1635,
|
|
|
|
"y": 3840,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "5d53068f8b9e6936",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"d": true,
|
|
|
|
"g": "0bf16a20b9656c59",
|
|
|
|
"name": "mqtt teleinfo",
|
|
|
|
"links": [],
|
|
|
|
"x": 1335,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"7a6db5a28141b284"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b0b2d9829230be99",
|
|
|
|
"type": "mqtt out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "0bf16a20b9656c59",
|
|
|
|
"name": "MQTT teleinfo",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "d6ba6007b1901314",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a34aeb4c51bcf655",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
|
|
|
"name": "raz MQTT properties",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "retain",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1040,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b491f7eb02575108"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "fa2acb5ac9bb8c8c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
|
|
|
"name": "20 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "20",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 390,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ca7f0d58c55a1358"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3423fd727184042c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
|
|
|
"name": "mqtt teleinfo gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 455,
|
|
|
|
"y": 3840,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ca7f0d58c55a1358"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ca7f0d58c55a1358",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "q-gate",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
2024-04-27 11:29:07 +00:00
|
|
|
"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,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a34aeb4c51bcf655"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b491f7eb02575108",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
|
|
|
"name": "mqtt teleinfo",
|
|
|
|
"mode": "link",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"112f15815d373541",
|
2024-04-27 16:06:32 +00:00
|
|
|
"44a6b39d960c738d",
|
|
|
|
"acc79920bf40652d"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1215,
|
|
|
|
"y": 3780,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c16f1ae420f44fb5",
|
|
|
|
"type": "mqtt in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "fee31a77e542b203",
|
|
|
|
"name": "MQTT teleinfo",
|
|
|
|
"topic": "teleinfo/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "auto-detect",
|
|
|
|
"broker": "d6ba6007b1901314",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 190,
|
|
|
|
"y": 3780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"fa2acb5ac9bb8c8c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "08f26275ef69e598",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b40a3b0d2d310907",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^zigbee",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
|
|
|
"y": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ac5c011465193c4e",
|
|
|
|
"3398dde44269eb08"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3398dde44269eb08",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b40a3b0d2d310907",
|
|
|
|
"name": "mqtt zigbee output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"c4571e81ac381f3e",
|
2024-04-27 14:09:07 +00:00
|
|
|
"76a866f04ab291ef",
|
|
|
|
"b2547f7ff4878848"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 1625,
|
|
|
|
"y": 3600,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6c324b24ca028984",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b40a3b0d2d310907",
|
|
|
|
"name": "mqtt zigbee",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"89d2eebcaafb5013"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 1335,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"08f26275ef69e598"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ac5c011465193c4e",
|
|
|
|
"type": "mqtt out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "b40a3b0d2d310907",
|
|
|
|
"name": "MQTT zigbee",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "8b2a4e4f622431e7",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "57bd505da426547c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "518b634fa908a4aa",
|
|
|
|
"name": "ignore \"bridge\" path",
|
|
|
|
"property": "payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^zigbee/bridge",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 790,
|
|
|
|
"y": 3540,
|
|
|
|
"wires": [
|
|
|
|
[],
|
|
|
|
[
|
|
|
|
"7b89e1d6b81feb1d"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7b89e1d6b81feb1d",
|
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"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": 3540,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"a3594a90f69fe537"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "529f7e707934e514",
|
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"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,
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 390,
|
|
|
|
"y": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"0c032c944567a64d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "fb76731a2064ad65",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "518b634fa908a4aa",
|
|
|
|
"name": "mqtt zigbee gate",
|
|
|
|
"links": [
|
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
|
|
|
],
|
|
|
|
"x": 455,
|
|
|
|
"y": 3600,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"0c032c944567a64d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0c032c944567a64d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "q-gate",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "518b634fa908a4aa",
|
2024-04-27 11:29:07 +00:00
|
|
|
"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,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"57bd505da426547c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a3594a90f69fe537",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "518b634fa908a4aa",
|
|
|
|
"name": "mqtt zigbee",
|
|
|
|
"mode": "link",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"85491b834d936a64",
|
|
|
|
"688beab146efae13",
|
|
|
|
"b07f193a0642cf53",
|
|
|
|
"a06c81c7dbe18d43",
|
|
|
|
"3be6b8c3d6485c46",
|
|
|
|
"ba77500cd9f7f6da"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1215,
|
|
|
|
"y": 3540,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5d0abf7735e4d38c",
|
|
|
|
"type": "mqtt in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"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": 3540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"529f7e707934e514"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a39cfa7867f1affb",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "ae4487a0bf7f922f",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "regex",
|
|
|
|
"v": "^rfxcom2mqtt",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
2024-04-27 11:29:07 +00:00
|
|
|
"y": 3300,
|
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a4f8287c851b1796",
|
|
|
|
"f0991abcca9403bc"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "f0991abcca9403bc",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "ae4487a0bf7f922f",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "mqtt rfxcom output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"881b1ed942ae2f5d",
|
|
|
|
"e1bd888198e8ad2b",
|
2024-04-27 14:09:07 +00:00
|
|
|
"4c77acdbe9fb09c9",
|
|
|
|
"dff88b670b073ad9"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 1635,
|
|
|
|
"y": 3360,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "de0c34e8104574b0",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "ae4487a0bf7f922f",
|
|
|
|
"name": "mqtt rfxcom",
|
|
|
|
"links": [
|
|
|
|
"89d2eebcaafb5013"
|
|
|
|
],
|
|
|
|
"x": 1335,
|
|
|
|
"y": 3300,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"a39cfa7867f1affb"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a4f8287c851b1796",
|
|
|
|
"type": "mqtt out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "ae4487a0bf7f922f",
|
2024-04-27 12:52:59 +00:00
|
|
|
"name": "MQTT rfxcom",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "",
|
|
|
|
"retain": "",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "cdd708cca8782382",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 3300,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "03eacf7a446d906c",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
|
|
|
"name": "raz MQTT properties",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "retain",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1040,
|
2024-04-27 11:29:07 +00:00
|
|
|
"y": 3300,
|
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ed6bcbd32e72afe1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "014d8a5287538444",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
|
|
|
"name": "100 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "100",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 410,
|
|
|
|
"y": 3300,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"be945e0c2c2208b0"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "735774bdb56f6be4",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
|
|
|
"name": "mqtt rfxcom gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 455,
|
|
|
|
"y": 3360,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"be945e0c2c2208b0"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "be945e0c2c2208b0",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "q-gate",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"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,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3300,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"03eacf7a446d906c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ed6bcbd32e72afe1",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
|
|
|
"name": "mqtt rfxcom",
|
|
|
|
"mode": "link",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"2dba8c9110e069a7",
|
|
|
|
"35e7aab1f0314355",
|
|
|
|
"5d58266f86a39f1a",
|
|
|
|
"617755f6bb1e2972",
|
|
|
|
"6390818317da9a22",
|
|
|
|
"8a3a49343040e9dd",
|
|
|
|
"92c37a3c88284082",
|
|
|
|
"aeec616505632135",
|
|
|
|
"beb26a3a88ba29ec",
|
|
|
|
"c55d2fbe9a6e0312",
|
|
|
|
"ca854a261959d5e3",
|
|
|
|
"cd0b7dc3cdbb9e58",
|
|
|
|
"dac6324a7409b4c0",
|
|
|
|
"dfe710104e247c4c",
|
|
|
|
"e6048bb9f2a4ecee",
|
|
|
|
"3256d8e9e4075f1f",
|
|
|
|
"d53118042e7346dc",
|
|
|
|
"3be6b8c3d6485c46",
|
|
|
|
"ba77500cd9f7f6da",
|
|
|
|
"bd614b03c17a2dcd",
|
|
|
|
"0e9fc0eb536659f8"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1215,
|
|
|
|
"y": 3300,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "24a3e98a92c0d57d",
|
|
|
|
"type": "mqtt in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3ab6bcaac666ddc4",
|
|
|
|
"name": "MQTT rfxcom",
|
|
|
|
"topic": "rfxcom2mqtt/devices/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "auto-detect",
|
|
|
|
"broker": "cdd708cca8782382",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 190,
|
|
|
|
"y": 3300,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"014d8a5287538444"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "19a5c46ec6c71456",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "c706245ab487b7e2",
|
|
|
|
"name": "check topic",
|
|
|
|
"property": "topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^iotredloop",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 1490,
|
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"630dfeb0e033a476",
|
|
|
|
"0f1e413815ecc824"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0f1e413815ecc824",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "c706245ab487b7e2",
|
|
|
|
"name": "mqtt nodered output",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"32f2b2da5065afde",
|
2024-04-27 14:09:07 +00:00
|
|
|
"e942462a899825f8",
|
|
|
|
"ff1a30fbddcaa9fd"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 1635,
|
|
|
|
"y": 3120,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d40db95f9a154c3a",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "c706245ab487b7e2",
|
|
|
|
"name": "mqtt nodered",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"e080152994978357",
|
|
|
|
"c5465d5f64db4b45"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
"x": 1335,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"19a5c46ec6c71456"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "630dfeb0e033a476",
|
|
|
|
"type": "mqtt out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "c706245ab487b7e2",
|
|
|
|
"name": "MQTT nodered",
|
|
|
|
"topic": "",
|
|
|
|
"qos": "1",
|
|
|
|
"retain": "true",
|
|
|
|
"respTopic": "",
|
|
|
|
"contentType": "",
|
|
|
|
"userProps": "",
|
|
|
|
"correl": "",
|
|
|
|
"expiry": "",
|
|
|
|
"broker": "51fc92ba27d12eaa",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "56d93c268a656fc4",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "ignore \"cible\" path",
|
|
|
|
"property": "payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "/cible/",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 790,
|
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
2024-04-27 12:52:59 +00:00
|
|
|
[],
|
2024-04-27 11:29:07 +00:00
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"2cc2cdcf0b1f710e"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "2cc2cdcf0b1f710e",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "raz MQTT properties",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "qos",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "retain",
|
|
|
|
"pt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "source",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "iotredloop",
|
|
|
|
"tot": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1040,
|
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e12bb3f8258f4439"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b961d989c357e6d6",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "15 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "15",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 410,
|
|
|
|
"y": 3060,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"0a4c943dc3a06f0d"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "af148bf44b019b35",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "mqtt nodered gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"d68d686bbf684c95",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 465,
|
|
|
|
"y": 3120,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"0a4c943dc3a06f0d"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0a4c943dc3a06f0d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "q-gate",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "d1b208e623179a25",
|
2024-04-27 11:29:07 +00:00
|
|
|
"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,
|
2024-04-27 12:52:59 +00:00
|
|
|
"y": 3060,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"56d93c268a656fc4"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e12bb3f8258f4439",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "mqtt nodered",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"282314c3181caba2",
|
|
|
|
"f4fed668dbff1da4",
|
|
|
|
"206c1fb4a48067df"
|
|
|
|
],
|
|
|
|
"x": 1215,
|
|
|
|
"y": 3060,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a19b9fbac3e9f89c",
|
|
|
|
"type": "mqtt in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "d1b208e623179a25",
|
|
|
|
"name": "MQTT nodered",
|
|
|
|
"topic": "iotredloop/#",
|
|
|
|
"qos": "2",
|
|
|
|
"datatype": "utf8",
|
|
|
|
"broker": "51fc92ba27d12eaa",
|
|
|
|
"nl": false,
|
|
|
|
"rap": true,
|
|
|
|
"rh": 0,
|
|
|
|
"inputs": 0,
|
|
|
|
"x": 200,
|
|
|
|
"y": 3060,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b961d989c357e6d6"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "0aca727fc835e615",
|
|
|
|
"type": "Stackhero-InfluxDB-v2-write",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"server": "22dd0707e6d3a364",
|
|
|
|
"name": "influxdb",
|
|
|
|
"x": 2340,
|
|
|
|
"y": 2220,
|
|
|
|
"wires": [
|
|
|
|
[]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "afd6a49ad55de215",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "kernel - read file",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"7c98833082d48029"
|
|
|
|
],
|
|
|
|
"x": 1295,
|
|
|
|
"y": 2460,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "432e8063fae7039e",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "kernel - write to file",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"a69d70a155c21ef3"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 2400,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9d4a1f539c9bf58c"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "dfb4b5350a9383c9",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "kernel - read from file",
|
|
|
|
"links": [
|
2024-04-27 14:09:07 +00:00
|
|
|
"8820bdb5b422a686",
|
|
|
|
"6d94e6bcdaf399d4"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 2460,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"44308739c0f759ad"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "9d4a1f539c9bf58c",
|
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "filename",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "automate",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "about.automate",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "filename",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'/data/'&msg.automate&'_metrics.bk'",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "metrics",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "automate",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 280,
|
|
|
|
"y": 2400,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b1e2b474e4c77892"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "43c695b9490f5104",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "delay 100 ms",
|
|
|
|
"pauseType": "delay",
|
|
|
|
"timeout": "100",
|
|
|
|
"timeoutUnits": "milliseconds",
|
|
|
|
"rate": "1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1150,
|
|
|
|
"y": 2460,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"afd6a49ad55de215"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "44308739c0f759ad",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "filename",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "automate",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "about.automate",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "filename",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "'/data/'&msg.automate&'_metrics.bk'",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "automate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 280,
|
|
|
|
"y": 2460,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d3064571c2fde064"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "be0beee97ed2d572",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "kernel - read file",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 1160,
|
|
|
|
"y": 2400,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5205205461f48680",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "write file contents to global metrics",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "metrics",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "payload",
|
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 880,
|
|
|
|
"y": 2460,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"be0beee97ed2d572",
|
|
|
|
"43c695b9490f5104"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "2356f963725e84c6",
|
|
|
|
"type": "json",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "",
|
|
|
|
"property": "payload",
|
|
|
|
"action": "",
|
|
|
|
"pretty": false,
|
|
|
|
"x": 630,
|
|
|
|
"y": 2460,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"5205205461f48680"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d3064571c2fde064",
|
|
|
|
"type": "file in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "read file",
|
|
|
|
"filename": "filename",
|
|
|
|
"filenameType": "msg",
|
|
|
|
"format": "utf8",
|
|
|
|
"chunk": false,
|
|
|
|
"sendError": false,
|
|
|
|
"encoding": "none",
|
|
|
|
"allProps": false,
|
|
|
|
"x": 460,
|
|
|
|
"y": 2460,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"2356f963725e84c6"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ede79ed6b82aa804",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "kernel - write file",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 660,
|
|
|
|
"y": 2400,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b1e2b474e4c77892",
|
|
|
|
"type": "file",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bc29c56f900c8d36",
|
|
|
|
"name": "write file",
|
|
|
|
"filename": "filename",
|
|
|
|
"filenameType": "msg",
|
|
|
|
"appendNewline": true,
|
|
|
|
"createDir": false,
|
|
|
|
"overwriteFile": "true",
|
|
|
|
"encoding": "none",
|
|
|
|
"x": 460,
|
|
|
|
"y": 2400,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ede79ed6b82aa804"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "faeff76a4321bee2",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "remove some buckets",
|
|
|
|
"property": "bucket",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "neq",
|
|
|
|
"v": "agenda",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 320,
|
|
|
|
"y": 2220,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"27e3bd6cada7b554"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "4163673982458b27",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "kernel - wrtie to InfluxDB",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
2024-04-27 14:09:07 +00:00
|
|
|
"links": [
|
|
|
|
"b4dcaf3216134966"
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 2295,
|
|
|
|
"y": 2280,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4280a1f889505f0c",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "kernel - write to InfluxDB",
|
|
|
|
"links": [
|
|
|
|
"4264ed01f3943e2f"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 2220,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"faeff76a4321bee2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "27e3bd6cada7b554",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "remove some measurements",
|
|
|
|
"property": "measurement",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "neq",
|
|
|
|
"v": "config",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 600,
|
|
|
|
"y": 2220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e287e4f4d7f3a174"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "7c75b6b921f30409",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "format boolean to dimmer",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "state",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$number($boolean(msg.state))=0?0:99",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1310,
|
|
|
|
"y": 2160,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"58359ad51f36d68e",
|
|
|
|
"14a5f0183ce7ec8d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a98fde87c6b47e6e",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "select field",
|
|
|
|
"property": "field",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "pilot",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 1770,
|
|
|
|
"y": 2160,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5c4a3b8ce0220dd9"
|
|
|
|
],
|
|
|
|
[]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "61b310386916497a",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "kernel - write to influxdb",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 2390,
|
|
|
|
"y": 2160,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b43439c6ab36fbfc",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "delay 5 ms",
|
|
|
|
"pauseType": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"timeout": "5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"timeoutUnits": "milliseconds",
|
|
|
|
"rate": "1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 2150,
|
|
|
|
"y": 2280,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"61b310386916497a",
|
|
|
|
"0aca727fc835e615",
|
|
|
|
"4163673982458b27"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e287e4f4d7f3a174",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "payload to state",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "state",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "payload",
|
|
|
|
"tot": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 860,
|
|
|
|
"y": 2220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ec2704a8e18114ea"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ec2704a8e18114ea",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "is boolean",
|
|
|
|
"property": "state",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "istype",
|
|
|
|
"v": "boolean",
|
|
|
|
"vt": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 1070,
|
|
|
|
"y": 2220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"7c75b6b921f30409"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"58359ad51f36d68e",
|
|
|
|
"14a5f0183ce7ec8d"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "14a5f0183ce7ec8d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "select measurements",
|
|
|
|
"property": "measurement",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "^(mode|clock|lighting|jarvis|thermostat|heating|shading|cumulus|airflow|linky)$",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 1580,
|
|
|
|
"y": 2220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a98fde87c6b47e6e"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"5c4a3b8ce0220dd9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5c4a3b8ce0220dd9",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "by room",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "roomfield",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.bucket&' '&msg.field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'bucket': 'resume',\t 'precision': 's',\t 'data': [\t {\t 'measurement': msg.measurement,\t 'fields': {\t msg.roomfield : msg.state\t }\t }\t ]\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1960,
|
|
|
|
"y": 2220,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b43439c6ab36fbfc"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "58359ad51f36d68e",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3e71b89d61df9fd3",
|
|
|
|
"name": "by field",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'bucket': msg.bucket,\t 'precision': 's',\t 'data': [\t {\t 'measurement': msg.measurement,\t 'fields': {\t msg.field : msg.state\t }\t }\t ]\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1540,
|
|
|
|
"y": 2280,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b43439c6ab36fbfc"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c5465d5f64db4b45",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "6386e9a459469b53",
|
|
|
|
"name": "Kernel - write to MQTT",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"d40db95f9a154c3a"
|
|
|
|
],
|
|
|
|
"x": 655,
|
|
|
|
"y": 2040,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1cbff7f3a7317c5b",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "6386e9a459469b53",
|
|
|
|
"name": "kernel - write to MQTT",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"4264ed01f3943e2f"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 135,
|
|
|
|
"y": 2040,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b425ab40ef97a294"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4176c5d5bc97709c",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "delay",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "6386e9a459469b53",
|
|
|
|
"name": "delay 5 ms",
|
|
|
|
"pauseType": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"timeout": "5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"timeoutUnits": "milliseconds",
|
|
|
|
"rate": "1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 510,
|
|
|
|
"y": 2040,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"1102208726a88a10",
|
|
|
|
"c5465d5f64db4b45"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "1102208726a88a10",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "6386e9a459469b53",
|
|
|
|
"name": "kernel - write to MQTT",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 740,
|
|
|
|
"y": 1980,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b425ab40ef97a294",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "6386e9a459469b53",
|
|
|
|
"name": "set MQTT topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "automate",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "about.automate",
|
|
|
|
"tot": "global"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "topic",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.automate&\"/\"&msg.bucket&\"/\"&msg.measurement&\"/\"&msg.field",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "automate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 300,
|
|
|
|
"y": 2040,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"4176c5d5bc97709c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "592483f2183c6711",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "kernel - write to journal",
|
|
|
|
"mode": "link",
|
2024-04-27 14:09:07 +00:00
|
|
|
"links": [
|
|
|
|
"b105c14c0fdc8160"
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 535,
|
|
|
|
"y": 1680,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c5dc4f8c357a596f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "kernel - write to journal",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"4264ed01f3943e2f"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 135,
|
|
|
|
"y": 1680,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e4e85a27e4775ac9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "074313bb4e48de6f",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "journal console only seen",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 930,
|
|
|
|
"y": 1800,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "a441e9df790a0c3c",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "journal console only thermostat",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 950,
|
|
|
|
"y": 1740,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "285c9ffa2f524440",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "journal console others",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 920,
|
|
|
|
"y": 1860,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "234620fe148e1dca",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "journal console only linky and power",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 970,
|
|
|
|
"y": 1680,
|
|
|
|
"wires": []
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "5a49d1f4b12618a7",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "select measurement",
|
|
|
|
"property": "measurement",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "regex",
|
|
|
|
"v": "^(power|linky)$",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "thermostat",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "seen",
|
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 4,
|
|
|
|
"x": 620,
|
|
|
|
"y": 1740,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"234620fe148e1dca"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"a441e9df790a0c3c"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"074313bb4e48de6f"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"285c9ffa2f524440"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e4e85a27e4775ac9",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "e9bd98a0b6e0d58c",
|
|
|
|
"name": "set human readable payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.bucket & ' > ' & msg.measurement & ' > ' & msg.field & ' = ' & $string(msg.payload)",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 340,
|
|
|
|
"y": 1680,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"5a49d1f4b12618a7",
|
|
|
|
"592483f2183c6711"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e6a4e861a99b196c",
|
|
|
|
"type": "function",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "set gate message",
|
|
|
|
"func": "// script var\nvar msg = msg;\nvar newmsg = {};\n\n// recreate msg\nnewmsg = {\n 'topic':'gate',\n 'payload': msg.payload\n};\n\nreturn newmsg;",
|
|
|
|
"outputs": 1,
|
|
|
|
"timeout": "",
|
|
|
|
"noerr": 0,
|
|
|
|
"initialize": "\n",
|
|
|
|
"finalize": "\n",
|
|
|
|
"libs": [],
|
|
|
|
"x": 5030,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"c15d0c66ed5af79f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "12f02c43a82b46f9",
|
|
|
|
"type": "gate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
|
|
|
"controlTopic": "gate",
|
|
|
|
"defaultState": "closed",
|
|
|
|
"openCmd": "open",
|
|
|
|
"closeCmd": "close",
|
|
|
|
"toggleCmd": "toggle",
|
|
|
|
"defaultCmd": "default",
|
|
|
|
"statusCmd": "status",
|
|
|
|
"persist": false,
|
|
|
|
"storeName": "default",
|
|
|
|
"x": 270,
|
|
|
|
"y": 1260,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"4689a4035be0c82e"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "68ad3074767eb2c3",
|
|
|
|
"type": "msg-speed",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "read msg speed",
|
|
|
|
"frequency": "sec",
|
|
|
|
"interval": 1,
|
|
|
|
"estimation": false,
|
|
|
|
"ignore": false,
|
|
|
|
"pauseAtStartup": false,
|
|
|
|
"topicDependent": false,
|
|
|
|
"x": 3820,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"c785aed10e83430a",
|
|
|
|
"fc88fb69cac1e5a5"
|
|
|
|
],
|
|
|
|
[]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "56d131373d4e2f78",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"7662aba4a1cc9dd0"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1700,
|
|
|
|
"y": 1440,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3743db17cb401840"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3a4c72588bb27ab4",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"4f02d67d81a83e86"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1450,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3743db17cb401840"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "357c6d106dec5efd",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"bc396dcc308c42ee"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1450,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"56d131373d4e2f78"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "8bbf418d277b4df7",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"e112327c4a55aa35"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1450,
|
|
|
|
"y": 1500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"56d131373d4e2f78"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e2ef5706b35de7b0",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"a72b20551a3b1f8c"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1450,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3743db17cb401840"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c15d0c66ed5af79f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric - rate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
2024-04-27 12:52:59 +00:00
|
|
|
"links": [
|
2024-04-27 14:09:07 +00:00
|
|
|
"baaac9a301ef150a",
|
|
|
|
"117fb09fe859797f"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 5195,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4264ed01f3943e2f",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric - write",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
2024-04-27 12:52:59 +00:00
|
|
|
"links": [
|
|
|
|
"c5dc4f8c357a596f",
|
|
|
|
"1cbff7f3a7317c5b",
|
|
|
|
"4280a1f889505f0c"
|
|
|
|
],
|
|
|
|
"x": 5195,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "031a6afd8300356a",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric - loop",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
2024-04-27 12:52:59 +00:00
|
|
|
"links": [
|
|
|
|
"7d45ca7ad7f363fe",
|
|
|
|
"b6c03b0d5a9952c9",
|
2024-04-27 14:09:07 +00:00
|
|
|
"3ec4a86ec9ec37f6",
|
|
|
|
"9115d56d55c93df5",
|
|
|
|
"d7b772643055b543",
|
|
|
|
"836e500a2c7822c7",
|
|
|
|
"490e37ccfca71dba",
|
|
|
|
"54bfe450e2c0b4c4",
|
2024-04-27 16:06:32 +00:00
|
|
|
"89feb0a79db2f26b",
|
|
|
|
"7e386532c9061f5e",
|
|
|
|
"8a93715d93e96ec9",
|
|
|
|
"be031b830d435b36",
|
2024-04-27 16:59:38 +00:00
|
|
|
"11474b42d0af96e8",
|
|
|
|
"11cf1061a2c539a1",
|
|
|
|
"266e831763ed3b77",
|
|
|
|
"8bbf52c2a83e09ea",
|
|
|
|
"3099e4a17fd21410",
|
2024-04-28 09:06:22 +00:00
|
|
|
"5cb2a229a6fec1aa",
|
|
|
|
"7efac7e387d141ec",
|
2024-04-28 09:30:17 +00:00
|
|
|
"16f4d5aef15c6bdd",
|
|
|
|
"5b890ebe6c97c558",
|
|
|
|
"5e1f61b100dc5e9f",
|
2024-04-28 09:41:09 +00:00
|
|
|
"40fba6c8db067ba4",
|
2024-04-28 12:55:01 +00:00
|
|
|
"e5af9cdb8ad1782f",
|
|
|
|
"9d534295bf79c9ea"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 5195,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "206c1fb4a48067df",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric",
|
|
|
|
"links": [
|
|
|
|
"8fdb5986494986cc",
|
|
|
|
"e12bb3f8258f4439",
|
|
|
|
"f02b4584af0d800c",
|
|
|
|
"06581753b7673f83",
|
|
|
|
"116de42631d4b17a",
|
2024-04-27 14:09:07 +00:00
|
|
|
"9a20f95447f8ddfd",
|
|
|
|
"349f3c40d1c1b12e",
|
|
|
|
"bf58597579fa65ac",
|
|
|
|
"4746f7254a82e9bc",
|
|
|
|
"5ba738211e0c4eac",
|
|
|
|
"9a98ec99a05b6bd2",
|
|
|
|
"cf471b8980158bc0",
|
|
|
|
"c2dc31e0130a863a",
|
|
|
|
"ec3963cba00585e6",
|
2024-04-27 16:06:32 +00:00
|
|
|
"a33484931cee65b0",
|
|
|
|
"9a7fb4052f4efa9d",
|
|
|
|
"a97c1309cdf39d94",
|
|
|
|
"d16064888745aca6",
|
2024-04-27 16:59:38 +00:00
|
|
|
"3d7533b312eee22a",
|
|
|
|
"884976027c7e86a2",
|
|
|
|
"cfeaa3a9e12b40eb",
|
|
|
|
"34e6817c2f435667",
|
|
|
|
"6fbdfc1ab44f9754",
|
|
|
|
"d09ad27d05d54698",
|
2024-04-28 09:06:22 +00:00
|
|
|
"7869c56dce3123ed",
|
|
|
|
"1717b4b42c3de1df",
|
2024-04-28 09:30:17 +00:00
|
|
|
"d5cdd8f60040d125",
|
|
|
|
"e01b2ed76f5813e5",
|
|
|
|
"981daf7e528f93a4",
|
2024-04-28 12:55:01 +00:00
|
|
|
"76bd8af6b6128264",
|
|
|
|
"ec965b4258cf0125",
|
|
|
|
"930ec55bdd15ae80"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"12f02c43a82b46f9"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "d7f0ba2534f27b82",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "Si plus de 12 messages par seconde pendant 4 secondes alors bloque le kernel pendant 1 seconde",
|
2024-04-27 11:29:07 +00:00
|
|
|
"info": "",
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4380,
|
|
|
|
"y": 1560,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ca80e5fe27609a11",
|
|
|
|
"type": "trigger",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "wait 4 s then true",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "true",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "bool",
|
|
|
|
"duration": "4",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "s",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 4570,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"0d78bebcc5541e02"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6466ac9bacd083e2",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "reset",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "reset",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4370,
|
|
|
|
"y": 1500,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ca80e5fe27609a11"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4689a4035be0c82e",
|
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "set source",
|
|
|
|
"rules": [
|
2024-04-27 11:29:07 +00:00
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "automate",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "about.automate",
|
|
|
|
"tot": "global"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "source",
|
2024-04-27 11:29:07 +00:00
|
|
|
"pt": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"to": "msg.source=msg.automate?msg.source:\"loop\"",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "delete",
|
|
|
|
"p": "automate",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 450,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"82229e46e51f94f5"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "895db12fd6d94a67",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "remove source",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "source",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 5040,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"031a6afd8300356a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "82229e46e51f94f5",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "function",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check metric",
|
|
|
|
"func": "// output 1 : error message\n// output 2 : device registration\n\n// script var\nvar msg = msg;\nvar newmsg = {};\n\n// try if msg.topic is a path\nif (typeof msg.topic === 'string' &&\n typeof msg.bucket === 'undefined' &&\n typeof msg.measurement === 'undefined' &&\n typeof msg.field === 'undefined'\n) {\n const device = msg.topic.split('/');\n if (typeof device[1] === 'string' &&\n typeof device[2] === 'string' &&\n typeof device[3] === 'string'\n ) {\n msg.source = device[0];\n msg.bucket = device[1];\n msg.measurement = device[2];\n msg.field = device[3];\n\n }\n}\n\n// check var existence\nif (typeof msg.bucket === 'undefined' ||\n typeof msg.measurement === 'undefined' ||\n typeof msg.field === 'undefined'\n) {\n node.status({\n fill: \"red\", shape: \"ring\", text: 'undefined device'});\n return [msg,null];\n}\n\n// recreate msg\nnewmsg = {\n 'topic': 'metric',\n 'source': typeof msg.source === 'string' ? msg.source : 'unknow',\n 'bucket': msg.bucket,\n 'measurement': msg.measurement,\n 'field': msg.field,\n 'path': msg.bucket + '/' + msg.measurement + '/' + msg.field,\n 'payload': msg.payload,\n 'repeat': typeof msg.repeat === 'boolean' ? msg.repeat : false\n};\n\nnode.status({ fill: 'green', shape: \"ring\", text: newmsg.source + ' : ' + newmsg.path + ' = ' + newmsg.payload });\nreturn [null,newmsg];",
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"timeout": "",
|
|
|
|
"noerr": 0,
|
2024-04-27 12:52:59 +00:00
|
|
|
"initialize": "",
|
|
|
|
"finalize": "",
|
2024-04-27 11:29:07 +00:00
|
|
|
"libs": [],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 650,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"7cd303d0aadd1433"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"a974cddec777bd94"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "fc88fb69cac1e5a5",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "limit 1 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "5",
|
|
|
|
"timeoutUnits": "seconds",
|
|
|
|
"rate": "1",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": true,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 4080,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"e6a4e861a99b196c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0d78bebcc5541e02",
|
|
|
|
"type": "trigger",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "set gate payload",
|
|
|
|
"op1": "close",
|
|
|
|
"op2": "open",
|
|
|
|
"op1type": "str",
|
|
|
|
"op2type": "str",
|
|
|
|
"duration": "1",
|
|
|
|
"extend": true,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "s",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 4800,
|
|
|
|
"y": 1440,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e6a4e861a99b196c"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3c3fe996c199516b",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "delay 50 ms",
|
|
|
|
"pauseType": "delay",
|
|
|
|
"timeout": "50",
|
|
|
|
"timeoutUnits": "milliseconds",
|
|
|
|
"rate": "1",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 3070,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
2024-04-27 12:52:59 +00:00
|
|
|
[
|
|
|
|
"b90652e7f7d28f66"
|
|
|
|
]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c785aed10e83430a",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check speed limit of 12 msg/s",
|
|
|
|
"property": "payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "gt",
|
|
|
|
"v": "12",
|
|
|
|
"vt": "num"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 4130,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ca80e5fe27609a11"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"6466ac9bacd083e2"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "9f055c7cccb634c1",
|
|
|
|
"type": "delay",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "limit 12 msg / s",
|
|
|
|
"pauseType": "rate",
|
|
|
|
"timeout": "250",
|
|
|
|
"timeoutUnits": "milliseconds",
|
|
|
|
"rate": "12",
|
|
|
|
"nbRateUnits": "1",
|
|
|
|
"rateUnits": "second",
|
|
|
|
"randomFirst": "1",
|
|
|
|
"randomLast": "5",
|
|
|
|
"randomUnits": "seconds",
|
|
|
|
"drop": false,
|
|
|
|
"allowrate": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 5040,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"4264ed01f3943e2f"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b90652e7f7d28f66",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "compare timestamp",
|
|
|
|
"property": "#:(memoryOnly)::timestamps[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"propertyType": "flow",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "lt",
|
|
|
|
"v": "$millis() - 3600000",
|
|
|
|
"vt": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 1,
|
|
|
|
"x": 3290,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"582f8e6b17a9d9d1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "ae5e8ae05adac7fd",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check request repeat",
|
|
|
|
"property": "repeat",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 2840,
|
|
|
|
"y": 1440,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"582f8e6b17a9d9d1"
|
|
|
|
],
|
2024-04-27 11:29:07 +00:00
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3c3fe996c199516b"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "0831bd7e7daa4915",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check mode automate",
|
|
|
|
"property": "metrics.systeme.mode.automate",
|
|
|
|
"propertyType": "global",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "neq",
|
|
|
|
"v": "off",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 2840,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"582f8e6b17a9d9d1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "dd79805b7971cbbb",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "select \"cible\" measurment",
|
|
|
|
"property": "measurement",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
2024-04-27 12:52:59 +00:00
|
|
|
"v": "cible",
|
2024-04-27 11:29:07 +00:00
|
|
|
"vt": "str"
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 2570,
|
|
|
|
"y": 1380,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"0831bd7e7daa4915"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ae5e8ae05adac7fd"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "582f8e6b17a9d9d1",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "set metric to global metrics",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "metrics[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "timestamps[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"pt": "flow",
|
|
|
|
"to": "$millis()",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "repeat",
|
|
|
|
"pt": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 3560,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"68ad3074767eb2c3",
|
|
|
|
"9f055c7cccb634c1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6473c46ecd9304c7",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check if value is different from global metric",
|
|
|
|
"property": "payload",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "neq",
|
|
|
|
"v": "metrics[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"vt": "global"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 2230,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"582f8e6b17a9d9d1"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"dd79805b7971cbbb"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3743db17cb401840",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "select source",
|
|
|
|
"property": "source",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "neq",
|
|
|
|
"v": "loop",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 1930,
|
|
|
|
"y": 1260,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"895db12fd6d94a67"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"6473c46ecd9304c7"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1e908b6060a584ea",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "select metric format",
|
|
|
|
"property": "devices[msg.bucket][msg.measurement][msg.field]format",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
2024-04-27 11:29:07 +00:00
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "text",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "boolean",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "dimmer",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "percent",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "number",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 5,
|
|
|
|
"x": 1210,
|
|
|
|
"y": 1320,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3743db17cb401840"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"e2ef5706b35de7b0"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"3a4c72588bb27ab4"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"357c6d106dec5efd"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"8bbf418d277b4df7"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "eca0e6f3657f0564",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric undefined",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 1230,
|
|
|
|
"y": 1200,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7cd303d0aadd1433",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "kernel - metric uncomplete",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 900,
|
|
|
|
"y": 1200,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a974cddec777bd94",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "20b116b788ef3f27",
|
|
|
|
"name": "check if global devices has metric",
|
|
|
|
"property": "devices[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
2024-04-27 11:29:07 +00:00
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "null"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 920,
|
|
|
|
"y": 1260,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"eca0e6f3657f0564"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"1e908b6060a584ea"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "8fdb5986494986cc",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "kernel - gate",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"206c1fb4a48067df",
|
|
|
|
"af148bf44b019b35",
|
|
|
|
"735774bdb56f6be4",
|
|
|
|
"fb76731a2064ad65",
|
|
|
|
"3423fd727184042c",
|
|
|
|
"be2acafce4c2c74d",
|
|
|
|
"1d8f71c67df6cec9",
|
2024-04-27 14:09:07 +00:00
|
|
|
"af3082ef59725979",
|
2024-04-28 12:55:01 +00:00
|
|
|
"8f3269222142f0f4",
|
|
|
|
"ba0f26a893bbaac2"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 995,
|
|
|
|
"y": 1020,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "baaac9a301ef150a",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "kernel - gate",
|
|
|
|
"links": [
|
|
|
|
"94c79b8f52f0b6ba",
|
|
|
|
"c15d0c66ed5af79f",
|
|
|
|
"aa2c3406c988ef4b"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 1020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"149401230ed2ed4c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "85ea82a3282907b1",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "kernel - gate",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 1050,
|
|
|
|
"y": 960,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "19dc49123e66ac71",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "check gate payload",
|
|
|
|
"property": "payload",
|
2024-04-27 11:29:07 +00:00
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "regex",
|
|
|
|
"v": "open|close",
|
|
|
|
"vt": "str",
|
|
|
|
"case": false
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "freeze",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 530,
|
|
|
|
"y": 1020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"85ea82a3282907b1",
|
|
|
|
"8fdb5986494986cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"1eea209368626bc1"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "1eea209368626bc1",
|
|
|
|
"type": "trigger",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "freeze gate for 10 secondes",
|
|
|
|
"op1": "close",
|
|
|
|
"op2": "open",
|
|
|
|
"op1type": "str",
|
|
|
|
"op2type": "str",
|
|
|
|
"duration": "10",
|
|
|
|
"extend": true,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "s",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 800,
|
|
|
|
"y": 1080,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"85ea82a3282907b1",
|
|
|
|
"8fdb5986494986cc"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "149401230ed2ed4c",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "3711bd3352570a6c",
|
|
|
|
"name": "check gate topic",
|
|
|
|
"property": "topic",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "eq",
|
|
|
|
"v": "gate",
|
|
|
|
"vt": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 300,
|
|
|
|
"y": 1020,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"19dc49123e66ac71"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "2ba23548e87b0292",
|
|
|
|
"type": "function",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "set gate message",
|
|
|
|
"func": "// script var\nvar msg = msg;\nvar newmsg = {};\n\n// recreate msg\nnewmsg = {\n 'topic':'gate',\n 'payload':'open'\n};\n\nreturn newmsg;",
|
|
|
|
"outputs": 1,
|
|
|
|
"timeout": "",
|
|
|
|
"noerr": 0,
|
|
|
|
"initialize": "\n",
|
|
|
|
"finalize": "\n",
|
|
|
|
"libs": [],
|
|
|
|
"x": 1150,
|
|
|
|
"y": 780,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"2dedf503efee73c8",
|
|
|
|
"94c79b8f52f0b6ba"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3cd44612df58e32f",
|
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "launch devices configuration cycle",
|
|
|
|
"info": "",
|
|
|
|
"x": 620,
|
|
|
|
"y": 360,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "8413c966166387ab",
|
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "launch complete cycle",
|
|
|
|
"info": "",
|
|
|
|
"x": 580,
|
|
|
|
"y": 300,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "92f76d0a8a4f1178",
|
|
|
|
"type": "comment",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "reset all global variables and launch complete cycle",
|
|
|
|
"info": "",
|
|
|
|
"x": 670,
|
|
|
|
"y": 240,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ee66fb38bde2fdf4",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "kernel - automate load",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"7c98833082d48029"
|
|
|
|
],
|
|
|
|
"x": 375,
|
|
|
|
"y": 360,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cd2ac560f85327a9",
|
|
|
|
"type": "inject",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "automate load",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "",
|
|
|
|
"once": false,
|
|
|
|
"onceDelay": 0.1,
|
|
|
|
"topic": "",
|
|
|
|
"x": 210,
|
|
|
|
"y": 360,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"ee66fb38bde2fdf4"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "94c79b8f52f0b6ba",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "kernel - device",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"baaac9a301ef150a",
|
|
|
|
"33f7a250a7341c43",
|
|
|
|
"290e5853a51cb170",
|
2024-04-27 14:09:07 +00:00
|
|
|
"06976c9133796ab8",
|
|
|
|
"ae364154f775506a",
|
|
|
|
"35b93554c4c3380f",
|
|
|
|
"62056c26d5ec8e87",
|
|
|
|
"3cc31621bae4b8f4",
|
2024-04-27 16:06:32 +00:00
|
|
|
"9fffdbd918ac2457",
|
|
|
|
"7a340e512e7cec9a",
|
2024-04-28 08:09:56 +00:00
|
|
|
"775013411d26e549",
|
|
|
|
"12ee535e8df383e4",
|
2024-04-28 12:55:01 +00:00
|
|
|
"baa85c145ba7e3cd",
|
|
|
|
"d301485b0e0dced0"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1315,
|
|
|
|
"y": 780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "bfa594bf1f876c92",
|
|
|
|
"type": "link in",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "kernel - device",
|
|
|
|
"links": [
|
|
|
|
"7f76434616f622dc",
|
|
|
|
"80459ca7317cce90",
|
2024-04-27 14:09:07 +00:00
|
|
|
"8d6827df412a4059",
|
|
|
|
"11010cbbc6f9b2c8",
|
|
|
|
"832cdc9413fa68e9",
|
2024-04-27 16:06:32 +00:00
|
|
|
"e6ea054f0c263d05",
|
|
|
|
"2a688b0630f5cca4",
|
|
|
|
"c726ae1ce799b0e5",
|
2024-04-27 16:59:38 +00:00
|
|
|
"b943866ac0bfd44c",
|
|
|
|
"ece815da9a3e1dab",
|
2024-04-28 12:55:01 +00:00
|
|
|
"209e2b300932e1ce",
|
|
|
|
"1d8bf8108e8ed2cc"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 135,
|
|
|
|
"y": 780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"fabb645e0d88c91c"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "2dedf503efee73c8",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "kernel - device",
|
|
|
|
"active": false,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "payload",
|
|
|
|
"targetType": "msg",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 1380,
|
|
|
|
"y": 720,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e5f9a77af592fc78",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "wait for all devices registration",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "true",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "bool",
|
|
|
|
"duration": "50",
|
|
|
|
"extend": true,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 870,
|
|
|
|
"y": 780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"2ba23548e87b0292"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "35c936be0ce55676",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "register device to global metrics",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "metrics[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "payload",
|
|
|
|
"tot": "msg"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1230,
|
|
|
|
"y": 840,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
2024-04-27 12:52:59 +00:00
|
|
|
[]
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "c1d2a5b213c6568a",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "check if device exists in global metrics",
|
|
|
|
"property": "metrics[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"propertyType": "global",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "null"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 890,
|
|
|
|
"y": 840,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"35c936be0ce55676"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "6d65af0eaae695a3",
|
|
|
|
"type": "debug",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "kernel - device uncomplete",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 540,
|
|
|
|
"y": 720,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d3ac50a83c871cc8",
|
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "register device to global devices",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "devices[msg.bucket][msg.measurement][msg.field]",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{\t 'default':msg.payload,\t 'format':msg.format,\t 'protocol':msg.protocol,\t 'model':msg.model,\t 'option':msg.option,\t 'id':msg.id\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 550,
|
|
|
|
"y": 780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"c1d2a5b213c6568a",
|
|
|
|
"e5f9a77af592fc78"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "fabb645e0d88c91c",
|
|
|
|
"type": "function",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "bbf7bb18989048e1",
|
|
|
|
"name": "check device",
|
|
|
|
"func": "// Check and recreate clean message of device description\n// output 1 : error message\n// output 2 : device registration\n\n// script var\nvar msg = msg;\nvar newmsg = {};\n\n// no message\nif (typeof msg === 'undefined'){\n return [null,null];\n}\n\n// check possible var existence\nif (typeof msg.bucket === 'undefined' ||\n typeof msg.measurement === 'undefined' ||\n typeof msg.field === 'undefined' ||\n typeof msg.format === 'undefined' ||\n typeof msg.default === 'undefined'\n) {\n node.status({\n fill: \"red\", shape: \"ring\", text: 'undefined device'});\n return [msg,null];\n}\n\n// recreate msg\nnewmsg = {\n 'bucket': msg.bucket,\n 'measurement': msg.measurement,\n 'field': msg.field,\n 'format': msg.format,\n 'path': msg.bucket + '/' + msg.measurement + '/' + msg.field,\n 'payload': msg.default,\n\n 'protocol': typeof msg.protocol === 'undefined' ? '' : msg.protocol,\n 'model': typeof msg.model === 'undefined' ? '' : msg.model,\n 'id': typeof msg.id === 'undefined' ? '' : msg.id,\n 'option': typeof msg.option === 'undefined' ? 0 : msg.option\n};\n\nnode.status({ fill: 'green', shape: \"ring\", text: newmsg.path + ' = ' + newmsg.payload });\nreturn [null,newmsg];",
|
2024-04-27 11:29:07 +00:00
|
|
|
"outputs": 2,
|
2024-04-27 12:52:59 +00:00
|
|
|
"timeout": "",
|
|
|
|
"noerr": 0,
|
|
|
|
"initialize": "\n",
|
|
|
|
"finalize": "\n",
|
|
|
|
"libs": [],
|
|
|
|
"x": 290,
|
|
|
|
"y": 780,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"6d65af0eaae695a3"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d3ac50a83c871cc8"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "e68b067b48b94ca2",
|
|
|
|
"type": "link out",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "kernel - automate start",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"92dac97dfb662f2d"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 375,
|
|
|
|
"y": 300,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "acd42b52bd581740",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "kernel - automate reset",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"d74bb73a0966b4bd"
|
|
|
|
],
|
|
|
|
"x": 375,
|
|
|
|
"y": 240,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d74bb73a0966b4bd",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "kernel - boot - reset",
|
|
|
|
"links": [
|
|
|
|
"acd42b52bd581740"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 480,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"f7b2d28d9c7d66ae"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "92dac97dfb662f2d",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "kernel - boot - start",
|
2024-04-27 11:29:07 +00:00
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"e68b067b48b94ca2"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 135,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"464bfd100a5740b8"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "b0f54ce6c23c6da6",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "define global timers",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "timers",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{}",
|
|
|
|
"tot": "jsonata"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1670,
|
|
|
|
"y": 480,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"cb09b67a37901112"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "011c5e62deb510bb",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "switch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "check if global timers exists",
|
|
|
|
"property": "timers",
|
|
|
|
"propertyType": "global",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"outputs": 2,
|
|
|
|
"x": 1400,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"b0f54ce6c23c6da6"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"cb09b67a37901112"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "4bab6cfef1e2c932",
|
|
|
|
"type": "link call",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"797eac89000183db"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 860,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"3e652e3da2c711ec"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "df1059b56622c582",
|
|
|
|
"type": "inject",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "automate reset",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "",
|
|
|
|
"once": false,
|
|
|
|
"onceDelay": 0.1,
|
|
|
|
"topic": "",
|
|
|
|
"x": 220,
|
|
|
|
"y": 240,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"acd42b52bd581740"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "7c98833082d48029",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "kernel - boot - load",
|
|
|
|
"links": [
|
|
|
|
"ee66fb38bde2fdf4",
|
|
|
|
"afd6a49ad55de215",
|
|
|
|
"68a233d0b60bf782"
|
|
|
|
],
|
|
|
|
"x": 135,
|
|
|
|
"y": 600,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"25445f5a9b787a0a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "25445f5a9b787a0a",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "kernel - boot",
|
2024-04-27 11:29:07 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
2024-04-27 12:52:59 +00:00
|
|
|
"eed8990163b1ca81",
|
|
|
|
"4e6003732b266fe2",
|
|
|
|
"4bec446170e0294c",
|
2024-04-27 14:09:07 +00:00
|
|
|
"ef0d3b8996ec469c",
|
2024-04-27 16:06:32 +00:00
|
|
|
"804c8129107645c1",
|
|
|
|
"05787fb2b77146c8",
|
2024-04-27 16:59:38 +00:00
|
|
|
"5d277429bd835728",
|
|
|
|
"5c64177e3bbfd337",
|
2024-04-28 09:30:17 +00:00
|
|
|
"c13917bf46188642",
|
2024-04-28 12:55:01 +00:00
|
|
|
"30497b91559e19be",
|
|
|
|
"88c0a82bdddf789a"
|
2024-04-27 11:29:07 +00:00
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 2075,
|
|
|
|
"y": 600,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "cb09b67a37901112",
|
|
|
|
"type": "change",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "set boot time topic",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "topic",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "boot",
|
|
|
|
"tot": "str"
|
2024-04-27 11:29:07 +00:00
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "set",
|
|
|
|
"p": "payload",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "",
|
|
|
|
"tot": "date"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1910,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"25445f5a9b787a0a"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "3e652e3da2c711ec",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "initialize global variables",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "devices",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "protocols",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{}",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 1110,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"011c5e62deb510bb"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "f7b2d28d9c7d66ae",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "define global metrics",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "metrics",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{}",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 620,
|
|
|
|
"y": 480,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"4bab6cfef1e2c932"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "464bfd100a5740b8",
|
|
|
|
"type": "switch",
|
2024-04-27 11:29:07 +00:00
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "cf7f82b8517f3250",
|
|
|
|
"name": "check if global metrics exists",
|
|
|
|
"property": "metrics",
|
|
|
|
"propertyType": "global",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"t": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
2024-04-27 11:29:07 +00:00
|
|
|
}
|
|
|
|
],
|
2024-04-27 12:52:59 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
|
|
|
"x": 340,
|
|
|
|
"y": 540,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"f7b2d28d9c7d66ae"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"4bab6cfef1e2c932"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-04-27 12:52:59 +00:00
|
|
|
"id": "324b4e5e9a9419cc",
|
|
|
|
"type": "inject",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "9ea365cc69a1f2bf",
|
|
|
|
"name": "automate start",
|
|
|
|
"props": [],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "",
|
|
|
|
"once": true,
|
|
|
|
"onceDelay": 0.1,
|
|
|
|
"topic": "",
|
|
|
|
"x": 220,
|
|
|
|
"y": 300,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e68b067b48b94ca2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eebbf361272ea85b",
|
|
|
|
"type": "debug",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "648d078d534a93be",
|
|
|
|
"name": "kernel - catch error",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "true",
|
|
|
|
"targetType": "full",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
|
|
|
"x": 830,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d248a5e5ab11c9d7",
|
|
|
|
"type": "catch",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "648d078d534a93be",
|
|
|
|
"name": "catch error",
|
|
|
|
"scope": null,
|
|
|
|
"uncaught": false,
|
|
|
|
"x": 620,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"eebbf361272ea85b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d9b8f97fb0897586",
|
2024-04-27 11:29:07 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
2024-04-27 12:52:59 +00:00
|
|
|
"g": "818a8590288d6409",
|
|
|
|
"name": "about",
|
2024-04-27 11:29:07 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-04-27 12:52:59 +00:00
|
|
|
"p": "about",
|
|
|
|
"pt": "global",
|
|
|
|
"to": "{\t 'automate':'iotredloop',\t 'version':'0.0.1',\t 'author':'Jean-Christian Paul Denis',\t 'lang':'fr'\t}",
|
2024-04-27 11:29:07 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-04-27 12:52:59 +00:00
|
|
|
"x": 270,
|
|
|
|
"y": 60,
|
2024-04-27 11:29:07 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-04-27 12:52:59 +00:00
|
|
|
"d49116054bd5cd56"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d49116054bd5cd56",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "818a8590288d6409",
|
|
|
|
"name": "kernel - about",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
|
|
|
"x": 395,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "797eac89000183db",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "ab51b1e8cad7b700",
|
|
|
|
"g": "818a8590288d6409",
|
|
|
|
"name": "kernel - about",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
|
|
|
"y": 60,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"d9b8f97fb0897586"
|
2024-04-27 11:29:07 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|