2024-04-27 12:52:59 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "bac2b08cd7c2e421",
|
|
|
|
"type": "tab",
|
|
|
|
"label": "K.Translate",
|
|
|
|
"disabled": false,
|
|
|
|
"info": "",
|
|
|
|
"env": []
|
|
|
|
},
|
2024-04-27 16:20:33 +00:00
|
|
|
{
|
|
|
|
"id": "dd7ef46856df793e",
|
|
|
|
"type": "group",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"name": "translate - field",
|
2024-04-27 16:20:33 +00:00
|
|
|
"style": {
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"df0e4ab2e1efc286",
|
|
|
|
"636ca4080756bce2",
|
2024-05-05 20:15:21 +00:00
|
|
|
"54730608d846782c",
|
|
|
|
"b05b4ca61abd8608",
|
|
|
|
"4b95465c124aa834",
|
|
|
|
"0ce324166893b70a",
|
2024-05-18 07:40:16 +00:00
|
|
|
"bdcd4dd80dcbe2b9",
|
|
|
|
"98770f13ab060020",
|
|
|
|
"df12c095346ac6e5",
|
2024-05-19 10:24:13 +00:00
|
|
|
"b929885ac70c377e",
|
2024-08-21 16:27:58 +00:00
|
|
|
"f03cb3f44a33d88e",
|
|
|
|
"bd8fc47ac5649156"
|
2024-04-27 16:20:33 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1039,
|
2024-08-21 16:27:58 +00:00
|
|
|
"w": 2642,
|
2024-08-10 15:40:02 +00:00
|
|
|
"h": 142
|
2024-04-27 16:20:33 +00:00
|
|
|
},
|
2024-04-27 12:52:59 +00:00
|
|
|
{
|
2024-04-29 22:28:34 +00:00
|
|
|
"id": "59e25ae2b1717262",
|
|
|
|
"type": "group",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"name": "catch error",
|
2024-04-29 22:28:34 +00:00
|
|
|
"style": {
|
|
|
|
"fill": "#ff0000",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true,
|
|
|
|
"stroke": "#ff0000"
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"d1074c913f8ce2e9",
|
|
|
|
"6c02b601fadbf658",
|
|
|
|
"6fd2028d522ac563"
|
|
|
|
],
|
|
|
|
"x": 534,
|
|
|
|
"y": 19,
|
|
|
|
"w": 422,
|
|
|
|
"h": 82
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "3ce65ca28b29922d",
|
|
|
|
"type": "group",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"name": "translate - dictionnary - en",
|
|
|
|
"style": {
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"f772d4abf0871088",
|
|
|
|
"dfff0419d36524cf",
|
|
|
|
"74289a05cdddab34",
|
|
|
|
"a1385a4a89404636",
|
|
|
|
"e3978b35f4a099ab",
|
|
|
|
"2a7ee2b9643e48ab",
|
|
|
|
"c8c5507a879a6447",
|
|
|
|
"4baf1d36b4971cb5",
|
2024-05-19 10:24:13 +00:00
|
|
|
"09ef74553d2bf413",
|
|
|
|
"1f1862300f29f4be",
|
|
|
|
"502c26f59c72bc20",
|
2024-08-21 16:27:58 +00:00
|
|
|
"56cabe66c45f025e",
|
|
|
|
"d29e58969bf69989",
|
|
|
|
"ce230bb054b4a64e",
|
|
|
|
"db069c8921e410ed"
|
2024-05-05 20:15:21 +00:00
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1374,
|
|
|
|
"y": 199,
|
2024-05-05 20:15:21 +00:00
|
|
|
"w": 502,
|
2024-08-21 16:27:58 +00:00
|
|
|
"h": 322
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "a057f7516f625581",
|
|
|
|
"type": "group",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"name": "translate - dictionnary",
|
|
|
|
"style": {
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"0ac217c2ced7927a",
|
|
|
|
"27183008d41a13ed",
|
|
|
|
"5f817c4189dc849f",
|
|
|
|
"93a63d74ebc8b545",
|
|
|
|
"d8bb30ab9b1d5e6a",
|
|
|
|
"0411a5a65ca13a67",
|
|
|
|
"ef63242b0954ddd8",
|
|
|
|
"9e1b6551c2a77738",
|
2024-05-19 10:24:13 +00:00
|
|
|
"a8fe7d31170d65f8",
|
|
|
|
"359029339a166e29",
|
|
|
|
"bf836542a7db7520",
|
2024-08-10 15:40:02 +00:00
|
|
|
"6402f2306b4ca091",
|
|
|
|
"a1e830727ac364e6",
|
|
|
|
"fdd5bbaaf76404ff",
|
|
|
|
"1f9ed0ea9de489ca",
|
|
|
|
"8918bd7398c74e03",
|
|
|
|
"207acd1ba5c41088",
|
|
|
|
"75265f2279cc0a8f",
|
|
|
|
"a627688d87be0236",
|
|
|
|
"225a12af9bcd51c3",
|
|
|
|
"a093e376ebf8e238",
|
|
|
|
"90594eaa3156fa78",
|
|
|
|
"3056fc09e82c2a0a",
|
|
|
|
"e5790cbe0981c59b",
|
|
|
|
"3fe6e8c26da552a4",
|
|
|
|
"1c36d1abb160b6a7",
|
|
|
|
"77328671991d0202",
|
|
|
|
"a471f27faca2b3bd",
|
|
|
|
"3ea169f4373d20f2",
|
|
|
|
"7d6191c7c281af92",
|
|
|
|
"b23cf90a025b97d8",
|
2024-08-21 16:27:58 +00:00
|
|
|
"6f7d7e33d60ed04b",
|
|
|
|
"b30249158f192781",
|
|
|
|
"951d6f115147e439",
|
|
|
|
"3346e25b9f6ba601",
|
|
|
|
"e311e3be37eb7c79",
|
|
|
|
"97974fdfff5a5796",
|
|
|
|
"30bfe414c2dacdf7",
|
|
|
|
"cbf1512ccc32d8e7",
|
|
|
|
"ae0f10f048a34d12"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"x": 94,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 199,
|
|
|
|
"w": 1182,
|
2024-08-21 16:27:58 +00:00
|
|
|
"h": 622
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "1cefc23dde634662",
|
|
|
|
"type": "group",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"name": "translate - dictionnary - fr",
|
2024-05-05 20:15:21 +00:00
|
|
|
"style": {
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"7f69ccdbc41f82d2",
|
|
|
|
"d19444d55fc80292",
|
|
|
|
"dea0faa68144f674",
|
|
|
|
"51590cf6b20f47a3",
|
|
|
|
"b992e76203b16a72",
|
|
|
|
"a224ce84703d7913",
|
|
|
|
"631e6df32297fad4",
|
|
|
|
"804f5e47bf25b226",
|
2024-05-19 10:24:13 +00:00
|
|
|
"fa5fa5f551f340b8",
|
|
|
|
"b502be8f6570f52c",
|
|
|
|
"93834b48f9810d44",
|
2024-08-10 15:40:02 +00:00
|
|
|
"b25023459b4d1288",
|
|
|
|
"90a3729eb42fcf29",
|
|
|
|
"8e3e4eb62c01aaf4",
|
|
|
|
"7c59ddf6835a44f1",
|
2024-08-21 16:27:58 +00:00
|
|
|
"f1b49a579c3df79b",
|
|
|
|
"f42597dcf15de4a9",
|
|
|
|
"ec15e1b830e3cc7b",
|
|
|
|
"54af53c24912c7bd",
|
|
|
|
"cc4b69514479a134"
|
|
|
|
],
|
|
|
|
"x": 1374,
|
|
|
|
"y": 559,
|
2024-08-10 15:40:02 +00:00
|
|
|
"w": 662,
|
2024-08-21 16:27:58 +00:00
|
|
|
"h": 322
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
2024-08-10 15:40:02 +00:00
|
|
|
{
|
|
|
|
"id": "4784b4b0d3119f17",
|
|
|
|
"type": "group",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"name": "translate - metric",
|
|
|
|
"style": {
|
|
|
|
"stroke": "#92d04f",
|
|
|
|
"fill": "#92d04f",
|
|
|
|
"fill-opacity": "0.05",
|
|
|
|
"label": true
|
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"025e219749a67439",
|
|
|
|
"34429d11d196843d",
|
|
|
|
"8132d29defa08323",
|
|
|
|
"97fc1790a2645359",
|
|
|
|
"978da5d0e2dd6cd6",
|
|
|
|
"8bcefb815fc8435c",
|
|
|
|
"088a7d890760254f",
|
|
|
|
"ded3021e1648bbc7",
|
|
|
|
"252c4251489738e4",
|
|
|
|
"047190c9d2c62ebe",
|
|
|
|
"1519fd79c475d95a",
|
2024-08-21 16:27:58 +00:00
|
|
|
"e25ebb310bbeb26b",
|
|
|
|
"501b5744746c35cf",
|
|
|
|
"be6f52dedfd61149"
|
2024-08-10 15:40:02 +00:00
|
|
|
],
|
|
|
|
"x": 94,
|
|
|
|
"y": 1219,
|
2024-08-21 16:27:58 +00:00
|
|
|
"w": 2802,
|
2024-08-10 15:40:02 +00:00
|
|
|
"h": 142
|
|
|
|
},
|
2024-04-27 12:52:59 +00:00
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "df0e4ab2e1efc286",
|
|
|
|
"type": "link in",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "translate - field",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"54730608d846782c"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "636ca4080756bce2",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "translate - field",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2695,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "d1074c913f8ce2e9",
|
|
|
|
"type": "catch",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "59e25ae2b1717262",
|
|
|
|
"name": "catch error",
|
|
|
|
"scope": null,
|
|
|
|
"uncaught": false,
|
|
|
|
"x": 620,
|
|
|
|
"y": 60,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"6c02b601fadbf658"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "6c02b601fadbf658",
|
2024-04-27 12:52:59 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "59e25ae2b1717262",
|
|
|
|
"name": "topic",
|
2024-04-27 12:52:59 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "topic",
|
2024-04-27 12:52:59 +00:00
|
|
|
"pt": "msg",
|
2024-05-05 20:15:21 +00:00
|
|
|
"to": "translate",
|
2024-04-27 12:52:59 +00:00
|
|
|
"tot": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-05-05 20:15:21 +00:00
|
|
|
"x": 790,
|
|
|
|
"y": 60,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"6fd2028d522ac563"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "6fd2028d522ac563",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "59e25ae2b1717262",
|
|
|
|
"name": "catch error",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"a52f0e788cd4dca3"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"x": 915,
|
|
|
|
"y": 60,
|
|
|
|
"wires": []
|
2024-04-27 12:52:59 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "0ac217c2ced7927a",
|
|
|
|
"type": "link in",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - fields",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 300,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"ef63242b0954ddd8"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "27183008d41a13ed",
|
|
|
|
"type": "link in",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - measurements",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 420,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"d8bb30ab9b1d5e6a"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "5f817c4189dc849f",
|
|
|
|
"type": "link in",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - states",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-05-18 07:40:16 +00:00
|
|
|
"y": 540,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"0411a5a65ca13a67"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "93a63d74ebc8b545",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - fields",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1235,
|
|
|
|
"y": 300,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "f772d4abf0871088",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - fields",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 240,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"dfff0419d36524cf"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "dfff0419d36524cf",
|
2024-04-27 12:52:59 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "dictionnary - en - fields",
|
2024-04-27 12:52:59 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "tmp",
|
2024-04-27 12:52:59 +00:00
|
|
|
"pt": "msg",
|
2024-08-26 17:15:46 +00:00
|
|
|
"to": "{\t 'url':'url',\t 'detector':'detector',\t 'sensor':'sensor',\t 'probe':'probe',\t 'ceiling':'ceiling',\t 'lamp':'lamp',\t 'leds':'leds',\t 'left leds':'left leds',\t 'right leds':'right leds',\t 'spots':'spots',\t 'socket':'socket',\t 'left socket':'left socket',\t 'right socket':'right socket',\t 'door':'door',\t 'window':'window',\t 'bay':'bay',\t 'left bay':'left bay',\t 'right bay':'right bay',\t 'balloon':'balloon',\t 'speaker':'speaker',\t 'desk':'desk',\t 'mirror':'mirror',\t 'fire':'fire',\t 'remote':'remote',\t 'left remote':'left remote',\t 'right remote':'right remote',\t 'button':'button',\t 'shutter':'shutter',\t 'pilot':'pilot',\t 'bedside':'bedside',\t 'left bedside':'left bedside',\t 'right bedside':'right bedside',\t 'heat pump':'heat pump',\t 'cmv':'cmv',\t 'torus':'torus',\t 'relay':'relay',\t 'electric meter':'electric meter',\t 'production power':'production power',\t 'solar panels':'solar panels',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':'snapshot',\t 'assistant':'assistant',\t 'message':'message',\t 'alexa':'alexa',\t 'server':'server',\t 'proxmox ve':'proxmox ve',\t 'unifi console':'unifi console',\t 'home':'home'\t}",
|
2024-05-05 20:15:21 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.dictionnary?$merge([msg.dictionnary,msg.tmp]):msg.tmp",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
2024-04-27 12:52:59 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1600,
|
|
|
|
"y": 240,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"74289a05cdddab34"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "74289a05cdddab34",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - fields",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1835,
|
|
|
|
"y": 240,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a1385a4a89404636",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - measurements",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 300,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"e3978b35f4a099ab"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "e3978b35f4a099ab",
|
2024-04-27 12:52:59 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "dictionnary - en - measurements",
|
2024-04-27 12:52:59 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "tmp",
|
2024-04-27 12:52:59 +00:00
|
|
|
"pt": "msg",
|
2024-07-27 07:51:17 +00:00
|
|
|
"to": "{\t 'temperature':'temperature',\t 'humidity':'humidity',\t 'luminosity':'luminosity',\t 'power':'power',\t 'current':'current',\t 'outlet':'outlet',\t 'light':'light',\t 'battery':'battery',\t 'motion':'motion',\t 'aperture':'aperture',\t 'airflow':'airflow',\t 'command':'command',\t 'photovoltaic':'photovoltaic',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'air conditioner',\t 'thermostat':'thermostat',\t 'tariff':'tariff',\t 'peak hours counter':'peak hours counter',\t 'off-peak hours counter':'off-peak hours counter',\t 'total hours counter':'total hours counter',\t 'smoke':'smoke',\t 'heat':'heat',\t 'volume':'volume',\t 'telegram':'telegram',\t 'color':'color',\t 'brightness':'brightness',\t 'cpu usage':'cpu usage',\t 'overload':'overload',\t 'virtual environment':'virtual environment'\t}",
|
2024-05-05 20:15:21 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.dictionnary?$merge([msg.dictionnary,msg.tmp]):msg.tmp",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
2024-04-27 12:52:59 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1630,
|
|
|
|
"y": 300,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"2a7ee2b9643e48ab"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "2a7ee2b9643e48ab",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - measurements",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1835,
|
|
|
|
"y": 300,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "c8c5507a879a6447",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - states",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 360,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"4baf1d36b4971cb5"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "4baf1d36b4971cb5",
|
2024-04-27 12:52:59 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "dictionnary - en - states",
|
2024-04-27 12:52:59 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "tmp",
|
2024-04-27 12:52:59 +00:00
|
|
|
"pt": "msg",
|
2024-05-05 20:15:21 +00:00
|
|
|
"to": "{\t 'stopped':'stopped',\t 'offloaded':'offloaded',\t 'suspended':'suspended',\t 'powered':'powered',\t 'reached':'reached',\t 'on':'on',\t 'off':'off',\t 'manual':'manual',\t 'automatic':'automatic'\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.dictionnary?$merge([msg.dictionnary,msg.tmp]):msg.tmp",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
2024-04-27 12:52:59 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1610,
|
|
|
|
"y": 360,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"09ef74553d2bf413"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "09ef74553d2bf413",
|
|
|
|
"type": "link out",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - states",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1835,
|
|
|
|
"y": 360,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
2024-04-27 12:52:59 +00:00
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "d8bb30ab9b1d5e6a",
|
|
|
|
"type": "link call",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"a1385a4a89404636"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 390,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 420,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"75265f2279cc0a8f",
|
|
|
|
"a627688d87be0236"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "0411a5a65ca13a67",
|
|
|
|
"type": "link call",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"c8c5507a879a6447"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 360,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 540,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"3056fc09e82c2a0a",
|
|
|
|
"e5790cbe0981c59b"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "ef63242b0954ddd8",
|
|
|
|
"type": "link call",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"f772d4abf0871088"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 360,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 300,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"a1e830727ac364e6",
|
|
|
|
"fdd5bbaaf76404ff"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "9e1b6551c2a77738",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - measurements",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1235,
|
|
|
|
"y": 420,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a8fe7d31170d65f8",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - states",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1235,
|
|
|
|
"y": 540,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "54730608d846782c",
|
|
|
|
"type": "switch",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "check field",
|
|
|
|
"property": "field",
|
|
|
|
"propertyType": "msg",
|
2024-04-27 12:52:59 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"t": "istype",
|
|
|
|
"v": "string",
|
|
|
|
"vt": "string"
|
2024-04-27 12:52:59 +00:00
|
|
|
}
|
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 290,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"b05b4ca61abd8608"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "b05b4ca61abd8608",
|
|
|
|
"type": "link call",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
2024-08-10 15:40:02 +00:00
|
|
|
"0ac217c2ced7927a"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 540,
|
|
|
|
"y": 1140,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"4b95465c124aa834"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "4b95465c124aa834",
|
|
|
|
"type": "link call",
|
2024-04-27 12:52:59 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
2024-08-10 15:40:02 +00:00
|
|
|
"27183008d41a13ed"
|
2024-04-27 12:52:59 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 870,
|
|
|
|
"y": 1140,
|
2024-04-27 12:52:59 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"0ce324166893b70a"
|
2024-04-27 12:52:59 +00:00
|
|
|
]
|
|
|
|
]
|
2024-04-27 16:20:33 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "0ce324166893b70a",
|
|
|
|
"type": "link call",
|
2024-04-27 16:20:33 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
2024-05-05 20:15:21 +00:00
|
|
|
"name": "",
|
|
|
|
"links": [
|
2024-08-10 15:40:02 +00:00
|
|
|
"5f817c4189dc849f"
|
2024-05-05 20:15:21 +00:00
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1210,
|
|
|
|
"y": 1140,
|
2024-04-27 16:20:33 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-19 10:24:13 +00:00
|
|
|
"f03cb3f44a33d88e"
|
2024-04-27 16:20:33 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "7f69ccdbc41f82d2",
|
|
|
|
"type": "link in",
|
2024-04-27 16:20:33 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - fields",
|
2024-08-10 15:40:02 +00:00
|
|
|
"links": [
|
|
|
|
"a1e830727ac364e6"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 600,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"90a3729eb42fcf29"
|
2024-05-05 20:15:21 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d19444d55fc80292",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "dictionnary - fr - fields",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
2024-08-26 17:15:46 +00:00
|
|
|
"to": "{\t 'url':'url',\t 'detector':'détecteur',\t 'sensor':'capteur',\t 'probe':'sonde',\t 'ceiling':'plafonnier',\t 'lamp':'lampe',\t 'leds':'leds',\t 'left leds':'leds gauche',\t 'right leds':'leds droite',\t 'spots':'spots',\t 'socket':'sortie',\t 'left socket':'sortie gauche',\t 'right socket':'sortie droite',\t 'door':'porte',\t 'window':'fenêtre',\t 'bay':'baie',\t 'left bay':'baie gauche',\t 'right bay':'baie droite',\t 'balloon':'ballon',\t 'speaker':'haut parleur',\t 'desk':'bureau',\t 'mirror':'miroir',\t 'fire':'incendie',\t 'remote':'télécommande',\t 'left remote':'télécommande gauche',\t 'right remote':'télécommande droite',\t 'button':'button',\t 'shutter':'volet',\t 'pilot':'pilote',\t 'bedside':'chevet',\t 'left bedside':'chevet gauche',\t 'right bedside':'chevet droite',\t 'heat pump':'pompe à chaleur',\t 'cmv':'vmc',\t 'torus':'tore',\t 'relay':'relais',\t 'power production':\"production d'énergie\",\t 'electric meter':'compteur électrique',\t 'production power':'puissance produite',\t 'solar panels':'panneaux solaires',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':\"capture d'image\",\t 'assistant':'assistant',\t 'message':'message',\t 'alexa':'alexa',\t 'server':'serveur',\t 'proxmox ve':'proxmox ve',\t 'unifi console':'unifi console',\t 'home':'maison'\t}",
|
2024-05-05 20:15:21 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$merge([msg.dictionnary,msg.tmp])",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
2024-04-27 16:20:33 +00:00
|
|
|
],
|
2024-05-05 20:15:21 +00:00
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1760,
|
|
|
|
"y": 600,
|
2024-04-27 16:20:33 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"dea0faa68144f674"
|
2024-04-27 16:20:33 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "dea0faa68144f674",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - fields",
|
2024-08-10 15:40:02 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"8918bd7398c74e03"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1995,
|
|
|
|
"y": 600,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "51590cf6b20f47a3",
|
2024-04-27 16:20:33 +00:00
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - measurements",
|
2024-08-10 15:40:02 +00:00
|
|
|
"links": [
|
|
|
|
"75265f2279cc0a8f"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 660,
|
2024-04-27 16:20:33 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"8e3e4eb62c01aaf4"
|
2024-04-27 16:20:33 +00:00
|
|
|
]
|
|
|
|
]
|
2024-04-27 16:59:38 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "b992e76203b16a72",
|
2024-04-27 16:59:38 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "dictionnary - fr - measurements",
|
2024-04-27 16:59:38 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "tmp",
|
2024-04-27 16:59:38 +00:00
|
|
|
"pt": "msg",
|
2024-07-27 07:51:17 +00:00
|
|
|
"to": "{\t 'temperature':'température',\t 'humidity':'humidité',\t 'luminosity':'luminosité',\t 'power':'puissance',\t 'current':'courant',\t 'outlet':'prise',\t 'light':'lumière',\t 'battery':'batterie',\t 'motion':'mouvement',\t 'aperture':'ouverture',\t 'airflow':'ventilation',\t 'command':'commande',\t 'photovoltaic':'photovoltaîque',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'climatisation',\t 'thermostat':'thermostat',\t 'tariff':'tarif',\t 'peak hours counter':'compteur heaures pleines',\t 'off-peak hours counter':'compteur heures creuses',\t 'total hours counter':'compteur heures total',\t 'smoke':'fumée',\t 'heat':'chaleur',\t 'volume':'volume',\t 'telegram':'telegram',\t 'color':'couleur',\t 'brightness':'luminosité',\t 'cpu usage':'utilisation cpu',\t 'overload':'surcharge',\t 'virtual environment':'Environnement virtuel'\t}",
|
2024-05-05 20:15:21 +00:00
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$merge([msg.dictionnary,msg.tmp])",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
2024-04-27 16:59:38 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1790,
|
|
|
|
"y": 660,
|
2024-04-27 16:59:38 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"a224ce84703d7913"
|
2024-04-27 16:59:38 +00:00
|
|
|
]
|
|
|
|
]
|
2024-04-29 22:28:34 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "a224ce84703d7913",
|
|
|
|
"type": "link out",
|
2024-04-29 22:28:34 +00:00
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - measurements",
|
2024-08-10 15:40:02 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"a093e376ebf8e238"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1995,
|
|
|
|
"y": 660,
|
2024-05-05 20:15:21 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "631e6df32297fad4",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - states",
|
2024-08-10 15:40:02 +00:00
|
|
|
"links": [
|
|
|
|
"3056fc09e82c2a0a"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 720,
|
2024-04-29 22:28:34 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"7c59ddf6835a44f1"
|
2024-04-29 22:28:34 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "804f5e47bf25b226",
|
2024-04-29 22:28:34 +00:00
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "dictionnary - fr - states",
|
2024-04-29 22:28:34 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-05-05 20:15:21 +00:00
|
|
|
"p": "tmp",
|
2024-04-29 22:28:34 +00:00
|
|
|
"pt": "msg",
|
2024-05-05 20:15:21 +00:00
|
|
|
"to": "{\t 'stopped':'arrêté',\t 'offloaded':'délesté',\t 'suspended':'suspendu',\t 'powered':'allumé',\t 'reached':'atteint',\t 'on':'marche',\t 'off':'arrêt',\t 'manual':'manuel',\t 'automatic':'automatic'\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$merge([msg.dictionnary,msg.tmp])",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
2024-04-29 22:28:34 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1760,
|
|
|
|
"y": 720,
|
2024-04-29 22:28:34 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-05-05 20:15:21 +00:00
|
|
|
"fa5fa5f551f340b8"
|
2024-04-29 22:28:34 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 20:15:21 +00:00
|
|
|
"id": "fa5fa5f551f340b8",
|
2024-04-29 22:28:34 +00:00
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-05-05 20:15:21 +00:00
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - states",
|
2024-08-10 15:40:02 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"1c36d1abb160b6a7"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1995,
|
|
|
|
"y": 720,
|
2024-04-29 22:28:34 +00:00
|
|
|
"wires": []
|
2024-05-18 07:40:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "df12c095346ac6e5",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "translate",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dictionnary[msg.short_field]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.trans&msg.end_field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "split_field",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2560,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1080,
|
2024-05-18 07:40:16 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"636ca4080756bce2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b929885ac70c377e",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"property": "dictionnary",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "hask",
|
|
|
|
"v": "short_field",
|
|
|
|
"vt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2380,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-05-18 07:40:16 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"df12c095346ac6e5"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"98770f13ab060020"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "98770f13ab060020",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "original",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.short_field&msg.end_field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "split_field",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2560,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-05-18 07:40:16 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"636ca4080756bce2"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bdcd4dd80dcbe2b9",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"aeb0d3b6747c9280"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2150,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1140,
|
2024-05-18 07:40:16 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b929885ac70c377e"
|
|
|
|
]
|
|
|
|
]
|
2024-05-19 10:24:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "359029339a166e29",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - colors",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 660,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"bf836542a7db7520"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bf836542a7db7520",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"1f1862300f29f4be"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 360,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 660,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"a471f27faca2b3bd",
|
|
|
|
"3ea169f4373d20f2"
|
2024-05-19 10:24:13 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "6402f2306b4ca091",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - colors",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1235,
|
|
|
|
"y": 660,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1f1862300f29f4be",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - colors",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 420,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"502c26f59c72bc20"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "502c26f59c72bc20",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "dictionnary - en - colors",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'white':'white',\t 'red':'red',\t 'yellow':'yellow',\t 'green':'green',\t 'blue':'blue',\t 'purple':'purple'\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.dictionnary?$merge([msg.dictionnary,msg.tmp]):msg.tmp",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1610,
|
|
|
|
"y": 420,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"56cabe66c45f025e"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "56cabe66c45f025e",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - colors",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1835,
|
|
|
|
"y": 420,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b502be8f6570f52c",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - colors",
|
2024-08-10 15:40:02 +00:00
|
|
|
"links": [
|
|
|
|
"a471f27faca2b3bd"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1415,
|
|
|
|
"y": 780,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-10 15:40:02 +00:00
|
|
|
"f1b49a579c3df79b"
|
2024-05-19 10:24:13 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "93834b48f9810d44",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "dictionnary - fr - colors",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'white':'blanc',\t 'red':'rouge',\t 'yellow':'jaune',\t 'green':'vert',\t 'blue':'bleu',\t 'purple':'violet'\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$merge([msg.dictionnary,msg.tmp])",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1760,
|
|
|
|
"y": 780,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b25023459b4d1288"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b25023459b4d1288",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - colors",
|
2024-08-10 15:40:02 +00:00
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"b23cf90a025b97d8"
|
|
|
|
],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1995,
|
|
|
|
"y": 780,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "f03cb3f44a33d88e",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"359029339a166e29"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-10 15:40:02 +00:00
|
|
|
"x": 1530,
|
|
|
|
"y": 1140,
|
2024-05-19 10:24:13 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-21 16:27:58 +00:00
|
|
|
"bd8fc47ac5649156"
|
2024-05-19 10:24:13 +00:00
|
|
|
]
|
|
|
|
]
|
2024-07-21 15:21:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "025e219749a67439",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "translate - metric",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"34429d11d196843d"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "34429d11d196843d",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "check metric",
|
|
|
|
"property": "metric",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "istype",
|
|
|
|
"v": "string",
|
|
|
|
"vt": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 290,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"8132d29defa08323"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "8132d29defa08323",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "split metric",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$split(msg.metric,'/')",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-08-21 16:27:58 +00:00
|
|
|
"p": "trans.scene",
|
2024-07-21 15:21:51 +00:00
|
|
|
"pt": "msg",
|
|
|
|
"to": "tmp[0]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-08-21 16:27:58 +00:00
|
|
|
"p": "trans.bucket",
|
2024-07-21 15:21:51 +00:00
|
|
|
"pt": "msg",
|
|
|
|
"to": "tmp[1]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
2024-08-21 16:27:58 +00:00
|
|
|
"p": "trans.measurement",
|
2024-07-21 15:21:51 +00:00
|
|
|
"pt": "msg",
|
|
|
|
"to": "tmp[2]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
2024-08-21 16:27:58 +00:00
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "tmp[3]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
2024-07-21 15:21:51 +00:00
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 490,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"97fc1790a2645359"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "97fc1790a2645359",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"27183008d41a13ed"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 770,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"8bcefb815fc8435c"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "978da5d0e2dd6cd6",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"aeb0d3b6747c9280"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2150,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ded3021e1648bbc7"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "8bcefb815fc8435c",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "trans measurement",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dictionnary[msg.trans.measurement]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.measurement",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.tmp?msg.tmp:msg.trans.measurement",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
2024-08-21 16:27:58 +00:00
|
|
|
"to": "trans.scene",
|
2024-07-21 15:21:51 +00:00
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1070,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
2024-08-21 16:27:58 +00:00
|
|
|
"be6f52dedfd61149"
|
2024-07-21 15:21:51 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "088a7d890760254f",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"0ac217c2ced7927a"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1860,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"978da5d0e2dd6cd6"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ded3021e1648bbc7",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "",
|
|
|
|
"property": "dictionnary",
|
|
|
|
"propertyType": "msg",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "hask",
|
|
|
|
"v": "short_field",
|
|
|
|
"vt": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "else"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "false",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 2,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2380,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"252c4251489738e4"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"047190c9d2c62ebe"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "252c4251489738e4",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "translate",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dictionnary[msg.short_field]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.trans.field&msg.end_field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "split_field",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2560,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1260,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e25ebb310bbeb26b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "047190c9d2c62ebe",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "original",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.short_field&msg.end_field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "split_field",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2560,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e25ebb310bbeb26b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1519fd79c475d95a",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "translate - metric",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2855,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e25ebb310bbeb26b",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
2024-08-10 15:40:02 +00:00
|
|
|
"g": "4784b4b0d3119f17",
|
2024-07-21 15:21:51 +00:00
|
|
|
"name": "path",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.path",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.trans.bucket&' / '&msg.trans.measurement&' / '&msg.trans.field",
|
|
|
|
"tot": "jsonata"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 2730,
|
2024-08-10 15:40:02 +00:00
|
|
|
"y": 1320,
|
2024-07-21 15:21:51 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"1519fd79c475d95a"
|
|
|
|
]
|
|
|
|
]
|
2024-08-10 15:40:02 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "90a3729eb42fcf29",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "lang",
|
|
|
|
"property": "about.lang",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "fr",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "true",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1550,
|
|
|
|
"y": 600,
|
2024-08-10 15:40:02 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"d19444d55fc80292"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "8e3e4eb62c01aaf4",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "lang",
|
|
|
|
"property": "about.lang",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "fr",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "true",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1550,
|
|
|
|
"y": 660,
|
2024-08-10 15:40:02 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b992e76203b16a72"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7c59ddf6835a44f1",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "lang",
|
|
|
|
"property": "about.lang",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "fr",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "true",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1550,
|
|
|
|
"y": 720,
|
2024-08-10 15:40:02 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"804f5e47bf25b226"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "f1b49a579c3df79b",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "lang",
|
|
|
|
"property": "about.lang",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "fr",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "true",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
2024-08-21 16:27:58 +00:00
|
|
|
"x": 1550,
|
|
|
|
"y": 780,
|
2024-08-10 15:40:02 +00:00
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"93834b48f9810d44"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a1e830727ac364e6",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - field - in",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"7f69ccdbc41f82d2"
|
|
|
|
],
|
|
|
|
"x": 635,
|
|
|
|
"y": 240,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "fdd5bbaaf76404ff",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "250 ms",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1100,
|
|
|
|
"y": 300,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"93a63d74ebc8b545"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1f9ed0ea9de489ca",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "reset",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 930,
|
|
|
|
"y": 240,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"fdd5bbaaf76404ff",
|
|
|
|
"207acd1ba5c41088"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "8918bd7398c74e03",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - field - out",
|
|
|
|
"links": [
|
|
|
|
"dea0faa68144f674"
|
|
|
|
],
|
|
|
|
"x": 795,
|
|
|
|
"y": 240,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"1f9ed0ea9de489ca"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "207acd1ba5c41088",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "clean",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1090,
|
|
|
|
"y": 240,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"93a63d74ebc8b545"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "75265f2279cc0a8f",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - measurement - in",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"51590cf6b20f47a3"
|
|
|
|
],
|
|
|
|
"x": 635,
|
|
|
|
"y": 360,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a627688d87be0236",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "250 ms",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1100,
|
|
|
|
"y": 420,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9e1b6551c2a77738"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "225a12af9bcd51c3",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "reset",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 930,
|
|
|
|
"y": 360,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"a627688d87be0236",
|
|
|
|
"90594eaa3156fa78"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a093e376ebf8e238",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - measurement - out",
|
|
|
|
"links": [
|
|
|
|
"a224ce84703d7913"
|
|
|
|
],
|
|
|
|
"x": 795,
|
|
|
|
"y": 360,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"225a12af9bcd51c3"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "90594eaa3156fa78",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "clean",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1090,
|
|
|
|
"y": 360,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"9e1b6551c2a77738"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "3056fc09e82c2a0a",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - state - in",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"631e6df32297fad4"
|
|
|
|
],
|
|
|
|
"x": 635,
|
|
|
|
"y": 480,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e5790cbe0981c59b",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "250 ms",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1100,
|
|
|
|
"y": 540,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"a8fe7d31170d65f8"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "3fe6e8c26da552a4",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "reset",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 930,
|
|
|
|
"y": 480,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"e5790cbe0981c59b",
|
|
|
|
"77328671991d0202"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "1c36d1abb160b6a7",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - state - out",
|
|
|
|
"links": [
|
|
|
|
"fa5fa5f551f340b8"
|
|
|
|
],
|
|
|
|
"x": 795,
|
|
|
|
"y": 480,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3fe6e8c26da552a4"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "77328671991d0202",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "clean",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1090,
|
|
|
|
"y": 480,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"a8fe7d31170d65f8"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "a471f27faca2b3bd",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - color - in",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"b502be8f6570f52c"
|
|
|
|
],
|
|
|
|
"x": 635,
|
|
|
|
"y": 600,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "3ea169f4373d20f2",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "250 ms",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1100,
|
|
|
|
"y": 660,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"6402f2306b4ca091"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "7d6191c7c281af92",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "reset",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 930,
|
|
|
|
"y": 600,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3ea169f4373d20f2",
|
|
|
|
"6f7d7e33d60ed04b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b23cf90a025b97d8",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - color - out",
|
|
|
|
"links": [
|
|
|
|
"b25023459b4d1288"
|
|
|
|
],
|
|
|
|
"x": 795,
|
|
|
|
"y": 600,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"7d6191c7c281af92"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "6f7d7e33d60ed04b",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "clean",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1090,
|
|
|
|
"y": 600,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"6402f2306b4ca091"
|
|
|
|
]
|
|
|
|
]
|
2024-08-21 16:27:58 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "951d6f115147e439",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"ce230bb054b4a64e"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 360,
|
|
|
|
"y": 780,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3346e25b9f6ba601",
|
|
|
|
"30bfe414c2dacdf7"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "3346e25b9f6ba601",
|
|
|
|
"type": "trigger",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "250 ms",
|
|
|
|
"op1": "",
|
|
|
|
"op2": "",
|
|
|
|
"op1type": "nul",
|
|
|
|
"op2type": "payl",
|
|
|
|
"duration": "250",
|
|
|
|
"extend": false,
|
|
|
|
"overrideDelay": false,
|
|
|
|
"units": "ms",
|
|
|
|
"reset": "",
|
|
|
|
"bytopic": "all",
|
|
|
|
"topic": "topic",
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1100,
|
|
|
|
"y": 780,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ae0f10f048a34d12"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b30249158f192781",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "reset",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "true",
|
|
|
|
"tot": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 930,
|
|
|
|
"y": 720,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"3346e25b9f6ba601",
|
|
|
|
"e311e3be37eb7c79"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "e311e3be37eb7c79",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "clean",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "reset",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1090,
|
|
|
|
"y": 720,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ae0f10f048a34d12"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "97974fdfff5a5796",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - scenes",
|
|
|
|
"links": [],
|
|
|
|
"x": 135,
|
|
|
|
"y": 780,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"951d6f115147e439"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "30bfe414c2dacdf7",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - scene - in",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"54af53c24912c7bd"
|
|
|
|
],
|
|
|
|
"x": 635,
|
|
|
|
"y": 720,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cbf1512ccc32d8e7",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - scene - out",
|
|
|
|
"links": [
|
|
|
|
"cc4b69514479a134"
|
|
|
|
],
|
|
|
|
"x": 795,
|
|
|
|
"y": 720,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b30249158f192781"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ae0f10f048a34d12",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "a057f7516f625581",
|
|
|
|
"name": "translate - dictionnary - scenes",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
|
|
|
"x": 1235,
|
|
|
|
"y": 780,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "d29e58969bf69989",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "dictionnary - en - scenes",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'lighting':'lighting',\t 'shading':'shading',\t 'airflow':'airflow',\t 'cumulus':'cumulus',\t 'overload':'overload',\t 'clone':'clone',\t 'toggle':'toggle',\t 'custom color':'custom color',\t 'custom level':'custom level',\t 'custom volume':'custom volume',\t 'snapshot':'snapshot'\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.dictionnary?$merge([msg.dictionnary,msg.tmp]):msg.tmp",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1610,
|
|
|
|
"y": 480,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"db069c8921e410ed"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ce230bb054b4a64e",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - scenes",
|
|
|
|
"links": [],
|
|
|
|
"x": 1415,
|
|
|
|
"y": 480,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"d29e58969bf69989"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "db069c8921e410ed",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "3ce65ca28b29922d",
|
|
|
|
"name": "translate - dictionnary - en - scenes",
|
|
|
|
"mode": "return",
|
|
|
|
"links": [],
|
|
|
|
"x": 1835,
|
|
|
|
"y": 480,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "f42597dcf15de4a9",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "dictionnary - fr - scenes",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "{\t 'lighting':'éclairage',\t 'shading':'ombrage',\t 'airflow':'ventilation',\t 'cumulus':'cumulus',\t 'overload':'surcharge',\t 'clone':'copie',\t 'toggle':'inverseur',\t 'custom color':'spécial couleur',\t 'custom level':'spécial niveau',\t 'custom volume':'spécial volume',\t 'snapshot':\"capture d'image\"\t}",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "dictionnary",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "$merge([msg.dictionnary,msg.tmp])",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "delete",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1770,
|
|
|
|
"y": 840,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"cc4b69514479a134"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ec15e1b830e3cc7b",
|
|
|
|
"type": "switch",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "lang",
|
|
|
|
"property": "about.lang",
|
|
|
|
"propertyType": "global",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "eq",
|
|
|
|
"v": "fr",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"checkall": "true",
|
|
|
|
"repair": false,
|
|
|
|
"outputs": 1,
|
|
|
|
"x": 1550,
|
|
|
|
"y": 840,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"f42597dcf15de4a9"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "54af53c24912c7bd",
|
|
|
|
"type": "link in",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - scenes",
|
|
|
|
"links": [
|
|
|
|
"30bfe414c2dacdf7"
|
|
|
|
],
|
|
|
|
"x": 1415,
|
|
|
|
"y": 840,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"ec15e1b830e3cc7b"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cc4b69514479a134",
|
|
|
|
"type": "link out",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "1cefc23dde634662",
|
|
|
|
"name": "translate - dictionnary - fr - scenes",
|
|
|
|
"mode": "link",
|
|
|
|
"links": [
|
|
|
|
"cbf1512ccc32d8e7"
|
|
|
|
],
|
|
|
|
"x": 1995,
|
|
|
|
"y": 840,
|
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bd8fc47ac5649156",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "dd7ef46856df793e",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"97974fdfff5a5796"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1850,
|
|
|
|
"y": 1140,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"bdcd4dd80dcbe2b9"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "501b5744746c35cf",
|
|
|
|
"type": "change",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "4784b4b0d3119f17",
|
|
|
|
"name": "trans scene",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "tmp",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "dictionnary[msg.trans.scene]",
|
|
|
|
"tot": "msg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "trans.scene",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "msg.tmp?msg.tmp:msg.trans.scene",
|
|
|
|
"tot": "jsonata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "field",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "trans.field",
|
|
|
|
"tot": "msg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 1610,
|
|
|
|
"y": 1320,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"088a7d890760254f"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "be6f52dedfd61149",
|
|
|
|
"type": "link call",
|
|
|
|
"z": "bac2b08cd7c2e421",
|
|
|
|
"g": "4784b4b0d3119f17",
|
|
|
|
"name": "",
|
|
|
|
"links": [
|
|
|
|
"97974fdfff5a5796"
|
|
|
|
],
|
|
|
|
"linkType": "static",
|
|
|
|
"timeout": "30",
|
|
|
|
"x": 1350,
|
|
|
|
"y": 1320,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"501b5744746c35cf"
|
|
|
|
]
|
|
|
|
]
|
2024-04-27 12:52:59 +00:00
|
|
|
}
|
|
|
|
]
|