1905 lines
No EOL
52 KiB
Text
1905 lines
No EOL
52 KiB
Text
{
|
|
"tabs": [
|
|
{
|
|
"id": "1643281906512",
|
|
"name": "Main",
|
|
"icon": "fa-object-ungroup",
|
|
"linker": "main",
|
|
"index": 0
|
|
},
|
|
{
|
|
"name": "Time setter",
|
|
"linker": "time-setter",
|
|
"id": "1659090658504",
|
|
"index": 1
|
|
},
|
|
{
|
|
"name": "Notifications",
|
|
"linker": "notifications",
|
|
"id": "1660476684351",
|
|
"index": 2
|
|
},
|
|
{
|
|
"name": "Odchody spojov",
|
|
"linker": "odchody-spojov",
|
|
"id": "1668080058538",
|
|
"index": 3
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"id": "1643282148763",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "dido debug",
|
|
"x": 755,
|
|
"y": 63,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [
|
|
0
|
|
],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111173142",
|
|
"component": "virtualwirein",
|
|
"tab": "1643281906512",
|
|
"name": "tb-prod01-push",
|
|
"x": 84.88333129882812,
|
|
"y": 475,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660217538796"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1679493041934"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-prod01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-prod01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111219601",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "tb-prod01-push",
|
|
"x": 750.8833312988281,
|
|
"y": 156,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-prod01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-prod01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111275235",
|
|
"component": "virtualwirein",
|
|
"tab": "1643281906512",
|
|
"name": "prod01-rpc-call",
|
|
"x": 200.88333129882812,
|
|
"y": 214,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "prod01-rpc-call",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "prod01-rpc-call"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111340298",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "prod01-rpc-call",
|
|
"x": 622.8833312988281,
|
|
"y": 522,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "prod01-rpc-call",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "prod01-rpc-call"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111384451",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "received rpc call",
|
|
"x": 620.8833312988281,
|
|
"y": 605,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645111839163",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Trigger",
|
|
"x": 122.88333129882812,
|
|
"y": 554,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1679493041934"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"restart": false,
|
|
"datatype": "object",
|
|
"data": "{ \"L2jNOVpdARa9XvoeJDPELbybkmPBxqn7Ww3gzGQ1\": [ { \"ts\": 1645111781837, \"values\": { \"status\": \"OK\", \"temperature_out\": 0.1, \"temperature\": 0.1, \"humidity_out\": 0.1 } } ] }"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645179850176",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "OK status for SBS",
|
|
"x": 81.88333129882812,
|
|
"y": 651,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1679493041934"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"data": "{ \"L2jNOVpdARa9XvoeJDPELbybkmPBxqn7Ww3gzGQ1\": [ { \"ts\": 1645111781837, \"values\": { \"status\": \"OK\" } } ] }",
|
|
"datatype": "object"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645181561840",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "Modbus Errors",
|
|
"x": 384.8833312988281,
|
|
"y": 933.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#E73323",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645181578004",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "modbus data",
|
|
"x": 385.8833312988281,
|
|
"y": 1025.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [
|
|
0
|
|
],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645181611277",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "tb-prod01-push",
|
|
"x": 384.8833312988281,
|
|
"y": 1118.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-prod01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-prod01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645196099616",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Stykac 1 ON",
|
|
"x": 207.88333129882812,
|
|
"y": 33,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"datatype": "object",
|
|
"data": "{\"cmd\":\"set\", \"dev\":\"relay\", \"circuit\": \"1_01\", \"value\":1}"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645196135911",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Stykac 1 OFF",
|
|
"x": 198.88333129882812,
|
|
"y": 110,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"datatype": "object",
|
|
"data": "{\"cmd\":\"set\", \"dev\":\"relay\", \"circuit\": \"1_01\", \"value\":0}"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524368114",
|
|
"component": "virtualwirein",
|
|
"tab": "1643281906512",
|
|
"name": "tb-qas01-push",
|
|
"x": 662.8833312988281,
|
|
"y": 863,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-qas01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-qas01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524407408",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "qas01-rpc-call",
|
|
"x": 1152.8833312988281,
|
|
"y": 886,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "qas01-rpc-call",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "qas01-rpc-call"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524441796",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "qas01-rpc-call",
|
|
"x": 1151.8833312988281,
|
|
"y": 975,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524494262",
|
|
"component": "virtualwirein",
|
|
"tab": "1643281906512",
|
|
"name": "qas01-rpc-call",
|
|
"x": 210.88333129882812,
|
|
"y": 311,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "qas01-rpc-call",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "qas01-rpc-call"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524545921",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "OK status for SBS",
|
|
"x": 643.8833312988281,
|
|
"y": 959,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"datatype": "object",
|
|
"data": "{ \"6nO4xlGE3zKVJdRXYZkMBK7BA28DoyMLg1pe9bar\": [ { \"ts\": 1645111781837, \"values\": { \"status\": \"OK\" } } ] }"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645524624979",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "tb-qas01-push",
|
|
"x": 750.3333282470703,
|
|
"y": 246.78334045410156,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-qas01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-qas01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645527398774",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "tb-qas01-push",
|
|
"x": 383.46665954589844,
|
|
"y": 1207.9500122070312,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "tb-qas01-push",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "tb-qas01-push"
|
|
}
|
|
},
|
|
{
|
|
"id": "1645527437853",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "to qas01",
|
|
"x": 398.46665954589844,
|
|
"y": 1292.9500122070312,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [
|
|
0
|
|
],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1645533546363",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "Debug",
|
|
"x": 1146,
|
|
"y": 797,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1659090931907",
|
|
"component": "trigger",
|
|
"tab": "1659090658504",
|
|
"name": "Trigger",
|
|
"x": 65,
|
|
"y": 153,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1659098609466"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"data": "o",
|
|
"datatype": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": "1659091025541",
|
|
"component": "debug",
|
|
"tab": "1659090658504",
|
|
"name": "Debug",
|
|
"x": 440,
|
|
"y": 145,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1659098609466",
|
|
"component": "timesetter",
|
|
"tab": "1659090658504",
|
|
"name": "Timesetter",
|
|
"x": 250,
|
|
"y": 149,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1659091025541"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#656D78",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1659128510546",
|
|
"component": "timer",
|
|
"tab": "1659090658504",
|
|
"name": "Timer",
|
|
"x": 66,
|
|
"y": 231,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1659098609466"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"interval": 86400000
|
|
}
|
|
},
|
|
{
|
|
"id": "1659128692574",
|
|
"component": "comment",
|
|
"tab": "1659090658504",
|
|
"name": "timesetter sets unipi's correct time once a day",
|
|
"x": 65,
|
|
"y": 77,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#704cff",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1659336872711",
|
|
"component": "code",
|
|
"tab": "1643281906512",
|
|
"name": "Code",
|
|
"x": 298,
|
|
"y": 1453,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1659336919368"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#656D78",
|
|
"notes": "",
|
|
"options": {
|
|
"keepmessage": true,
|
|
"code": "//send(0, value);\n\n\nconst a = {\n \"192.168.1.11@5\": 32385,\n \"192.168.1.11@9\": 473407,\n \"192.168.1.11@16\": 2546491,\n \"192.168.1.11@51\": 3017850,\n \"192.168.1.11@6A\": 261928,\n \"192.168.1.11@6B\": 0,\n \"192.168.1.11@7A\": 60477,\n \"192.168.1.11@7B\": 205776,\n \"192.168.1.11@8A\": 56198,\n \"192.168.1.11@8B\": 311195,\n \"192.168.1.11@10A\": 80823,\n \"192.168.1.11@10B\": 5602,\n \"192.168.1.11@11A\": 197467,\n \"192.168.1.11@11B\": 112472,\n \"192.168.1.11@12A\": 126563,\n \"192.168.1.11@12B\": 80222,\n \"192.168.1.11@13A\": 3509,\n \"192.168.1.11@13B\": 660,\n \"192.168.1.11@14A\": 24664,\n \"192.168.1.11@14B\": 291350,\n \"192.168.1.11@15A\": 65163,\n \"192.168.1.11@15B\": 170419,\n \"192.168.1.11@2A\": 0,\n \"192.168.1.11@2B\": 0,\n \"192.168.1.11@3A\": 0,\n \"192.168.1.11@3B\": 0,\n \"192.168.1.11@4A\": 0,\n \"192.168.1.11@4B\": 0,\n \"192.168.1.12@18\": 2642749,\n \"192.168.1.12@2A\": 0,\n \"192.168.1.12@2B\": 409128,\n \"192.168.1.12@3A\": 0,\n \"192.168.1.12@3B\": 0,\n \"192.168.1.12@4A\": 0,\n \"192.168.1.12@4B\": 63780,\n \"192.168.1.12@5A\": 152878,\n \"192.168.1.12@5B\": 119528,\n \"192.168.1.12@6A\": 152078,\n \"192.168.1.12@6B\": 503,\n \"192.168.1.12@7A\": 0,\n \"192.168.1.12@7B\": 0,\n \"192.168.1.12@8A\": 0,\n \"192.168.1.12@8B\": 0,\n \"192.168.1.12@9A\": 0,\n \"192.168.1.12@9B\": 0,\n \"192.168.1.12@10A\": 0,\n \"192.168.1.12@10B\": 0,\n \"192.168.1.12@11A\": 526281,\n \"192.168.1.12@11B\": 0,\n \"192.168.1.12@12A\": 8597,\n \"192.168.1.12@12B\": 76319,\n \"192.168.1.12@13A\": 79416,\n \"192.168.1.12@13B\": 41648,\n \"192.168.1.12@14A\": 56537,\n \"192.168.1.12@14B\": 706,\n \"192.168.1.12@15A\": 7876,\n \"192.168.1.12@15B\": 0,\n \"192.168.1.12@16A\": 14969,\n \"192.168.1.12@16B\": 0,\n \"192.168.1.12@17A\": 0,\n \"192.168.1.12@17B\": 0,\n \"192.168.1.22@10\": 3674835,\n \"192.168.1.21@16\": 4960792,\n \"192.168.1.22@2A\": 534304,\n \"192.168.1.21@2A\": 63886,\n \"192.168.1.22@2B\": 351220,\n \"192.168.1.21@2B\": 23430,\n \"192.168.1.22@3A\": 747418,\n \"192.168.1.21@3A\": 110035,\n \"192.168.1.22@3B\": 1115158,\n \"192.168.1.22@4A\": 0,\n \"192.168.1.21@3B\": 29841,\n \"192.168.1.22@4B\": 25494,\n \"192.168.1.21@4A\": 0,\n \"192.168.1.22@5A\": 26199,\n \"192.168.1.21@4B\": 208786,\n \"192.168.1.22@5B\": 90164,\n \"192.168.1.21@5A\": 0,\n \"192.168.1.22@6A\": 0,\n \"192.168.1.21@5B\": 0,\n \"192.168.1.22@6B\": 95032,\n \"192.168.1.21@6A\": 35642,\n \"192.168.1.22@7A\": 43130,\n \"192.168.1.21@6B\": 30985,\n \"192.168.1.22@7B\": 5209,\n \"192.168.1.21@7A\": 4236,\n \"192.168.1.22@8A\": 230741,\n \"192.168.1.22@8A_48\": 115370.5,\n \"192.168.1.22@8A_64\": 115370.5,\n \"192.168.1.21@7B\": 91583,\n \"192.168.1.22@8B\": 111315,\n \"192.168.1.22@9A\": 186175,\n \"192.168.1.21@8A\": 302813,\n \"192.168.1.21@8B\": 380197,\n \"192.168.1.22@9B\": 0,\n \"192.168.1.21@9A\": 177548,\n \"192.168.1.21@9B\": 540952,\n \"192.168.1.21@10A\": 432041,\n \"192.168.1.21@10B\": 553023,\n \"192.168.1.21@11A\": 32972,\n \"192.168.1.21@11B\": 0,\n \"192.168.1.21@12A\": 0,\n \"192.168.1.21@12B\": 11228,\n \"192.168.1.21@13A\": 0,\n \"192.168.1.21@13B\": 910677,\n \"192.168.1.21@14A\": 0,\n \"192.168.1.21@14B\": 1268689\n };\n\n\n\n const fs = require('fs');\n\nconst all_data = {\"192.168.1.11@16\":{\"value\":2250885,\"tbname\":\"6lQGaY9RDywdVzObj0PZer7Pg4NBn3exEK51LWZq\"},\"192.168.1.11@51\":{\"value\":1598520,\"tbname\":\"1JMYvnx2RzKEo4aWQ7D93vAL8yZV3m9NBePXbrdj\"},\"192.168.1.12@18\":{\"value\":2280707,\"tbname\":\"m6EYyZoJ4gWexdjVPARapL7RDOq9wv2N5XzKGplr\"},\"192.168.1.21@16\":{\"value\":4390986,\"tbname\":\"aw4eELG2DlPMdn1JW0Bz2Z0qQXOZRN3xB5yp8VKr\"},\"192.168.1.22@10\":{\"value\":3266343,\"tbname\":\"ZmRwd93QL4gaezxEbAx1yw01prn2XjlPvGyqJ6BO\"},\"192.168.1.31@3\":{\"value\":204565,\"tbname\":\"JX1ObgmqGZ54DMyYL7aJMlAEVdve38WKRzwjNrQ9\"},\"192.168.1.31@11\":{\"value\":1568696,\"tbname\":\"RvmwNz8QPblKp41GD7l4NY7JrLVYoBO92dMegn6W\"},\"192.168.1.11@6A\":{\"value\":231759,\"zone\":\"vzt\",\"tbname\":\"JzwxZXOvDj1bVrN4nkWeR8A8qdyBl3MRKLpGPgaQ\"},\"192.168.1.11@6B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"g9OxBZ5KRwNznlY6pApbGmkWXvjdEL4eGQobMDy2\"},\"192.168.1.11@7A\":{\"value\":54086,\"zone\":\"vzt\",\"tbname\":\"OzNMgZ9n43qPbjXmy7zOgGA2DKdYvW5e6pxGRrVa\"},\"192.168.1.11@7B\":{\"value\":182943,\"zone\":\"admin\",\"tbname\":\"JX1ObgmqGZ54DMyYL7aJzJAEVdve38WKRzwjNrQ9\"},\"192.168.1.11@8A\":{\"value\":50585,\"zone\":\"odsav\",\"tbname\":\"RvmwNz8QPblKp41GD7l4WK7JrLVYoBO92dMegn6W\"},\"192.168.1.11@8B\":{\"value\":271968,\"zone\":\"odsav\",\"tbname\":\"RO8rjaBDy21qPQJzW7oKpD7pK3xmNleVZg9Ed4Gw\"},\"192.168.1.11@9\":{\"value\":425231,\"zone\":\"odsav\",\"tbname\":\"3JjOWdylwgNLzxVab7NPjw0Z2vG64rq8PEB5QmDo\"},\"192.168.1.11@10A\":{\"value\":72180,\"zone\":\"kba_rapida\",\"tbname\":\"Z5KyJe9nEg1QNbWlX0wmnM7oDjBLdqzR83VGv624\"},\"192.168.1.11@10B\":{\"value\":5021,\"zone\":\"kba_rapida\",\"tbname\":\"1JMYvnx2RzKEo4aWQ7D9xzAL8yZV3m9NBePXbrdj\"},\"192.168.1.11@11A\":{\"value\":175599,\"zone\":\"kba_rapida\",\"tbname\":\"PjLblDgRBO6WQqnxmkJwga7Jv3ewZN4p5a89yKdY\"},\"192.168.1.11@11B\":{\"value\":101633,\"zone\":\"osvetlenie\",\"tbname\":\"dz4ojlpP85JMgDLZWkQ12jkaKYqQexEr62GXRV1y\"},\"192.168.1.11@12A\":{\"value\":114942,\"zone\":\"heidelberg\",\"tbname\":\"d5xjWYMwEJon6rLlK7yl3wkqgV4DaOeNB9ZX3Gzb\"},\"192.168.1.11@12B\":{\"value\":73171,\"zone\":\"osvetlenie\",\"tbname\":\"gRoJEyXVx4qD9er287LwbOkwBzGldaPjLWQKm3Mv\"},\"192.168.1.11@13A\":{\"value\":3100,\"zone\":\"mechanici\",\"tbname\":\"K94XLav1glVRnyQ6r01V3Wkme3YJwBxM5oOzdP2j\"},\"192.168.1.11@13B\":{\"value\":606,\"zone\":\"co_kryt\",\"tbname\":\"d9x2V5LGYBzXp4mMRAOPr10PloaqJwnQj6DgrNe3\"},\"192.168.1.11@14A\":{\"value\":21804,\"zone\":\"osvetlenie\",\"tbname\":\"B5EoxeMVp4zwr8nqW0Gen57RjvD1PNamOGbLg63Z\"},\"192.168.1.11@14B\":{\"value\":247182,\"zone\":\"vzt\",\"tbname\":\"aw4eELG2DlPMdn1JW0Bz4Z0qQXOZRN3xB5yp8VKr\"},\"192.168.1.11@15A\":{\"value\":58833,\"zone\":\"falcovacky\",\"tbname\":\"ZmRwd93QL4gaezxEbAx1Xw01prn2XjlPvGyqJ6BO\"},\"192.168.1.11@15B\":{\"value\":151256,\"zone\":\"ctp\",\"tbname\":\"eod9aRWLVl34Gx1Dn7VYmDk2rz6qjgmpEXwQJN5Z\"},\"192.168.1.11@5\":{\"value\":20392,\"zone\":\"chladenie\",\"tbname\":\"3a5oqJN1bgnx4Ol9dk8BdqAByE6jQ8mKDWMpGrLV\"},\"192.168.1.11@2A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"EjgWGnXaLy9opPOz20ngWQk86BlYM3w1deVQvbKr\"},\"192.168.1.11@2B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"wvKJdZML6mXP4DzWBAXOK87jxNloa5g23Ve9Y1ry\"},\"192.168.1.11@3A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"Nzp2OoJlqn6r1ZgvdA3RqE7abBwP5G4eE3RQmyxD\"},\"192.168.1.11@3B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"PLBJzmK1r3Gynd6OW0g2WzAe5wV4vx9bDEqNgYR8\"},\"192.168.1.11@4A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"52dD6ZlV1QaOpRBmbAqvWb0KnGzWMLj4eJq38Pgo\"},\"192.168.1.11@4B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"rDbQ84xzwgdqEoPm3kbPWWA9anOZY1RXyBv2LVM6\"},\"192.168.1.12@2A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"E6Kg9oDnLWyzPRMva7vW8yAJxp4VG58qO2w1lZYe\"},\"192.168.1.12@2B\":{\"value\":374926,\"zone\":\"kba_compacta\",\"tbname\":\"roKgWqY95V3mXMRzyAjrW6AbLjexpJPvaGDBw826\"},\"192.168.1.12@3A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"nJL5lPMwBx23YpqRe0rqa4AdamXvWVbOrD4gNzy8\"},\"192.168.1.12@3B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"XMBbew5z4ELrZa2mRAdZW9k8vPN6gy3DdVYlpKjq\"},\"192.168.1.12@4A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"gYbDLqlyZVoRerQpB72GgvAWJnwM5z24POKa8Exj\"},\"192.168.1.12@4B\":{\"value\":54209,\"zone\":\"chladenie\",\"tbname\":\"zdQO8GwxDqjRgP4137Y5eo7NyKlpem2nL65rvVJY\"},\"192.168.1.12@11A\":{\"value\":445101,\"zone\":\"vzt\",\"tbname\":\"WlVJBygjDZMeKX3vnAMWvLk8NqdmG2x1Y69LQ4P5\"},\"192.168.1.12@5A\":{\"value\":133794,\"zone\":\"kba_compacta\",\"tbname\":\"5dBNwRp9graYJxZn409R28klVov1b2QLPDqGm6XK\"},\"192.168.1.12@6A\":{\"value\":135974,\"zone\":\"kba_compacta\",\"tbname\":\"zrR51V2ajQ9ZLygPKkEPVW0YDq38xOJolENBXGnv\"},\"192.168.1.12@12A\":{\"value\":7575,\"zone\":\"kba_compacta\",\"tbname\":\"BaY3Xpy1EbKGjLq2O7m9W27rx8owgQz9P4dDJRmN\"},\"192.168.1.12@12B\":{\"value\":65413,\"zone\":\"kba_compacta\",\"tbname\":\"DbQY6zyveZRwK5drV0Zl4j7joE4XJM83N9xl2nWq\"},\"192.168.1.12@13A\":{\"value\":69962,\"zone\":\"odsav\",\"tbname\":\"apKVJBwOyrP35m2lv7KEqd0YXbeWNd64En9GxRqg\"},\"192.168.1.12@13B\":{\"value\":36850,\"zone\":\"kba_compacta\",\"tbname\":\"o9vbeQlLMVg8j5dq4kedWy0NxZpEmnXzwYKO1ar2\"},\"192.168.1.12@14A\":{\"value\":50174,\"zone\":\"kba_compacta\",\"tbname\":\"gP1eOZVj3Q9lv5aDEk4MbP7rdpqW8yLm2BbKzJxM\"},\"192.168.1.12@14B\":{\"value\":626,\"zone\":\"kba_compacta\",\"tbname\":\"2O14VBzl8aDmWdNw3A53vOkGyZ5qLJoEMpj6R9ng\"},\"192.168.1.12@15A\":{\"value\":6877,\"zone\":\"kba_compacta\",\"tbname\":\"pE5X8NQPaow6vlOZxk6Yjw0q42ezGBMyWgDVjR3L\"},\"192.168.1.12@16A\":{\"value\":13169,\"zone\":\"kba_compacta\",\"tbname\":\"6lQGaY9RDywdVzObj0PZdr7Pg4NBn3exEK51LWZq\"},\"192.168.1.12@16B\":{\"value\":0,\"zone\":\"kba_compacta\",\"tbname\":\"m6EYyZoJ4gWexdjVPARaYL7RDOq9wv2N5XzKGplr\"},\"192.168.1.12@5B\":{\"value\":72010,\"zone\":\"chladenie\",\"tbname\":\"JzwxZXOvDj1bVrN4nkWeZ8A8qdyBl3MRKLpGPgaQ\"},\"192.168.1.12@6B\":{\"value\":438,\"zone\":\"vzt\",\"tbname\":\"g9OxBZ5KRwNznlY6pApbymkWXvjdEL4eGQobMDy2\"},\"192.168.1.12@7A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"OzNMgZ9n43qPbjXmy7zOyGA2DKdYvW5e6pxGRrVa\"},\"192.168.1.12@7B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"JX1ObgmqGZ54DMyYL7aJZJAEVdve38WKRzwjNrQ9\"},\"192.168.1.12@8A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"RvmwNz8QPblKp41GD7l4yK7JrLVYoBO92dMegn6W\"},\"192.168.1.12@8B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"RO8rjaBDy21qPQJzW7oKyD7pK3xmNleVZg9Ed4Gw\"},\"192.168.1.12@9A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"3JjOWdylwgNLzxVab7NPxw0Z2vG64rq8PEB5QmDo\"},\"192.168.1.12@9B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"Z5KyJe9nEg1QNbWlX0wmyM7oDjBLdqzR83VGv624\"},\"192.168.1.12@10A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"1JMYvnx2RzKEo4aWQ7D9MzAL8yZV3m9NBePXbrdj\"},\"192.168.1.12@10B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"PjLblDgRBO6WQqnxmkJwea7Jv3ewZN4p5a89yKdY\"},\"192.168.1.12@11B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"dz4ojlpP85JMgDLZWkQ1njkaKYqQexEr62GXRV1y\"},\"192.168.1.12@15B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"d5xjWYMwEJon6rLlK7ylywkqgV4DaOeNB9ZX3Gzb\"},\"192.168.1.12@17A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"gRoJEyXVx4qD9er287LwBOkwBzGldaPjLWQKm3Mv\"},\"192.168.1.12@17B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"K94XLav1glVRnyQ6r01VpWkme3YJwBxM5oOzdP2j\"},\"192.168.1.21@2A\":{\"value\":56654,\"zone\":\"ferag\",\"tbname\":\"d9x2V5LGYBzXp4mMRAOPV10PloaqJwnQj6DgrNe3\"},\"192.168.1.21@2B\":{\"value\":20697,\"zone\":\"lithoman_iv_32\",\"tbname\":\"eod9aRWLVl34Gx1Dn7VYbDk2rz6qjgmpEXwQJN5Z\"},\"192.168.1.21@3A\":{\"value\":97250,\"zone\":\"lithoman_iv_32\",\"tbname\":\"3a5oqJN1bgnx4Ol9dk8BnqAByE6jQ8mKDWMpGrLV\"},\"192.168.1.21@3B\":{\"value\":26610,\"zone\":\"lithoman_48\",\"tbname\":\"EjgWGnXaLy9opPOz20ngyQk86BlYM3w1deVQvbKr\"},\"192.168.1.21@4B\":{\"value\":187840,\"zone\":\"lithoman_48\",\"tbname\":\"wvKJdZML6mXP4DzWBAXOj87jxNloa5g23Ve9Y1ry\"},\"192.168.1.21@6A\":{\"value\":29453,\"zone\":\"lithoman_48\",\"tbname\":\"Nzp2OoJlqn6r1ZgvdA3RoE7abBwP5G4eE3RQmyxD\"},\"192.168.1.21@13B\":{\"value\":806242,\"zone\":\"lithoman_48\",\"tbname\":\"PLBJzmK1r3Gynd6OW0g2yzAe5wV4vx9bDEqNgYR8\"},\"192.168.1.21@14A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"52dD6ZlV1QaOpRBmbAqvyb0KnGzWMLj4eJq38Pgo\"},\"192.168.1.21@6B\":{\"value\":26092,\"zone\":\"lithoman_64\",\"tbname\":\"rDbQ84xzwgdqEoPm3kbPKWA9anOZY1RXyBv2LVM6\"},\"192.168.1.21@7A\":{\"value\":3765,\"zone\":\"odsav\",\"tbname\":\"E6Kg9oDnLWyzPRMva7vWyyAJxp4VG58qO2w1lZYe\"},\"192.168.1.21@7B\":{\"value\":81758,\"zone\":\"osvetlenie\",\"tbname\":\"roKgWqY95V3mXMRzyAjry6AbLjexpJPvaGDBw826\"},\"192.168.1.21@8A\":{\"value\":254824,\"zone\":\"kompresory\",\"tbname\":\"nJL5lPMwBx23YpqRe0rqy4AdamXvWVbOrD4gNzy8\"},\"192.168.1.21@8B\":{\"value\":338371,\"zone\":\"kompresory\",\"tbname\":\"ZmRwd93QL4gaezxEbAx1yb01prn2XjlPvGyqJ6BO\"},\"192.168.1.21@9A\":{\"value\":175867,\"zone\":\"kompresory\",\"tbname\":\"eod9aRWLVl34Gx1Dn7VYb9k2rz6qjgmpEXwQJN5Z\"},\"192.168.1.21@10A\":{\"value\":382484,\"zone\":\"kompresory\",\"tbname\":\"3a5oqJN1bgnx4Ol9dk8Bn1AByE6jQ8mKDWMpGrLV\"},\"192.168.1.21@10B\":{\"value\":486157,\"zone\":\"kompresory\",\"tbname\":\"EjgWGnXaLy9opPOz20ngydk86BlYM3w1deVQvbKr\"},\"192.168.1.21@11B\":{\"value\":0,\"zone\":\"kompresory\",\"tbname\":\"wvKJdZML6mXP4DzWBAXOjV7jxNloa5g23Ve9Y1ry\"},\"192.168.1.21@9B\":{\"value\":473383,\"zone\":\"vzt\",\"tbname\":\"Nzp2OoJlqn6r1ZgvdA3Rov7abBwP5G4eE3RQmyxD\"},\"192.168.1.21@11A\":{\"value\":28829,\"zone\":\"sitma_cmc\",\"tbname\":\"PLBJzmK1r3Gynd6OW0g2yqAe5wV4vx9bDEqNgYR8\"},\"192.168.1.21@12B\":{\"value\":9795,\"zone\":\"kotolna\",\"tbname\":\"52dD6ZlV1QaOpRBmbAqvyN0KnGzWMLj4eJq38Pgo\"},\"192.168.1.21@4A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"rDbQ84xzwgdqEoPm3kbPKDA9anOZY1RXyBv2LVM6\"},\"192.168.1.21@5A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"E6Kg9oDnLWyzPRMva7vWy9AJxp4VG58qO2w1lZYe\"},\"192.168.1.21@5B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"roKgWqY95V3mXMRzyAjrynAbLjexpJPvaGDBw826\"},\"192.168.1.21@12A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"nJL5lPMwBx23YpqRe0rqybAdamXvWVbOrD4gNzy8\"},\"192.168.1.21@13A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"XMBbew5z4ELrZa2mRAdZ4xk8vPN6gy3DdVYlpKjq\"},\"192.168.1.21@14B\":{\"value\":1151873,\"zone\":\"lithoman_48\",\"tbname\":\"gYbDLqlyZVoRerQpB72Gp4AWJnwM5z24POKa8Exj\"},\"192.168.1.22@2A\":{\"value\":472477,\"zone\":\"lithoman_iv_32\",\"tbname\":\"B5EoxeMVp4zwr8nqW0GeGG7RjvD1PNamOGbLg63Z\"},\"192.168.1.22@2B\":{\"value\":310985,\"zone\":\"lithoman_iv_32\",\"tbname\":\"WlVJBygjDZMeKX3vnAMW6Pk8NqdmG2x1Y69LQ4P5\"},\"192.168.1.22@5B\":{\"value\":74289,\"zone\":\"lithoman_iv_32\",\"tbname\":\"5dBNwRp9graYJxZn409RBvklVov1b2QLPDqGm6XK\"},\"192.168.1.22@3A\":{\"value\":658862,\"zone\":\"lithoman_64\",\"tbname\":\"zrR51V2ajQ9ZLygPKkEPz10YDq38xOJolENBXGnv\"},\"192.168.1.22@3B\":{\"value\":1028852,\"zone\":\"lithoman_64\",\"tbname\":\"BaY3Xpy1EbKGjLq2O7m9N97rx8owgQz9P4dDJRmN\"},\"192.168.1.22@7B\":{\"value\":2764,\"zone\":\"lithoman_64\",\"tbname\":\"DbQY6zyveZRwK5drV0ZlB87joE4XJM83N9xl2nWq\"},\"192.168.1.22@9A\":{\"value\":164848,\"zone\":\"lithoman_64\",\"tbname\":\"apKVJBwOyrP35m2lv7KEpz0YXbeWNd64En9GxRqg\"},\"192.168.1.22@4B\":{\"value\":22614,\"zone\":\"osvetlenie\",\"tbname\":\"o9vbeQlLMVg8j5dq4kedZK0NxZpEmnXzwYKO1ar2\"},\"192.168.1.22@5A\":{\"value\":23214,\"zone\":\"osvetlenie\",\"tbname\":\"gP1eOZVj3Q9lv5aDEk4M4a7rdpqW8yLm2BbKzJxM\"},\"192.168.1.22@7A\":{\"value\":38294,\"zone\":\"expedicia\",\"tbname\":\"2O14VBzl8aDmWdNw3A535GkGyZ5qLJoEMpj6R9ng\"},\"192.168.1.22@6B\":{\"value\":80856,\"zone\":\"vzt\",\"tbname\":\"pE5X8NQPaow6vlOZxk6Y6z0q42ezGBMyWgDVjR3L\"},\"192.168.1.22@8A\":{\"value\":205613,\"zone\":\"lithoman_48_64\",\"tbname\":\"6lQGaY9RDywdVzObj0PZpb7Pg4NBn3exEK51LWZq\"},\"192.168.1.22@8A_48\":{\"value\":102806.5,\"zone\":\"lithoman_48\",\"tbname\":\"nJL5lPMwBx23YpqRe0rq4bAdamXvWVbOrD4gNzy8\"},\"192.168.1.22@8A_64\":{\"value\":102806.5,\"zone\":\"lithoman_64\",\"tbname\":\"ZmRwd93QL4gaezxEbAx1oK01prn2XjlPvGyqJ6BO\"},\"192.168.1.22@8B\":{\"value\":98255,\"zone\":\"muller_martini\",\"tbname\":\"m6EYyZoJ4gWexdjVPARaxV7RDOq9wv2N5XzKGplr\"},\"192.168.1.22@4A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"JzwxZXOvDj1bVrN4nkWe3zA8qdyBl3MRKLpGPgaQ\"},\"192.168.1.22@6A\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"g9OxBZ5KRwNznlY6pApbNOkWXvjdEL4eGQobMDy2\"},\"192.168.1.22@9B\":{\"value\":0,\"zone\":\"rezerva\",\"tbname\":\"OzNMgZ9n43qPbjXmy7zONeA2DKdYvW5e6pxGRrVa\"},\"192.168.1.31@2\":{\"value\":87,\"tbname\":\"RO8rjaBDy21qPQJzW7oKN17pK3xmNleVZg9Ed4Gw\"},\"192.168.1.31@12B\":{\"value\":62785,\"zone\":\"vzt\",\"tbname\":\"3JjOWdylwgNLzxVab7NPpJ0Z2vG64rq8PEB5QmDo\"},\"192.168.1.31@13A\":{\"value\":85138,\"zone\":\"kompresory\",\"tbname\":\"Z5KyJe9nEg1QNbWlX0wmNP7oDjBLdqzR83VGv624\"},\"192.168.1.31@15A\":{\"value\":139599,\"zone\":\"vzt\",\"tbname\":\"1JMYvnx2RzKEo4aWQ7D9pXAL8yZV3m9NBePXbrdj\"},\"192.168.1.31@13B\":{\"value\":0,\"zone\":\"vzt\",\"tbname\":\"PjLblDgRBO6WQqnxmkJwpb7Jv3ewZN4p5a89yKdY\"},\"192.168.1.31@14A\":{\"value\":41020,\"zone\":\"kompresory\",\"tbname\":\"dz4ojlpP85JMgDLZWkQ1p3kaKYqQexEr62GXRV1y\"},\"192.168.1.31@15B\":{\"value\":234994,\"zone\":\"kompresory\",\"tbname\":\"d5xjWYMwEJon6rLlK7ylNxkqgV4DaOeNB9ZX3Gzb\"},\"192.168.1.31@16\":{\"value\":154,\"zone\":\"kompresory\",\"tbname\":\"gRoJEyXVx4qD9er287LwpEkwBzGldaPjLWQKm3Mv\"},\"192.168.1.31@12A\":{\"value\":255624,\"tbname\":\"K94XLav1glVRnyQ6r01VZ3kme3YJwBxM5oOzdP2j\"},\"192.168.1.31@14B\":{\"value\":82571,\"zone\":\"odsav\",\"tbname\":\"d9x2V5LGYBzXp4mMRAOPpV0PloaqJwnQj6DgrNe3\"},\"192.168.1.31@21\":{\"value\":3563,\"zone\":\"chladenie\",\"tbname\":\"3JjOWdylwgNLzxVab7NPyn0Z2vG64rq8PEB5QmDo\"},\"192.168.1.31@22A\":{\"value\":6756,\"zone\":\"kolbus\",\"tbname\":\"Z5KyJe9nEg1QNbWlX0wmEB7oDjBLdqzR83VGv624\"},\"192.168.1.31@22B\":{\"value\":523,\"zone\":\"kolbus_km600\",\"tbname\":\"1JMYvnx2RzKEo4aWQ7D9y5AL8yZV3m9NBePXbrdj\"},\"192.168.1.31@23A\":{\"value\":15906,\"zone\":\"lithoman_32\",\"tbname\":\"PjLblDgRBO6WQqnxmkJwyr7Jv3ewZN4p5a89yKdY\"},\"192.168.1.31@23B\":{\"value\":11326,\"zone\":\"lithoman_32\",\"tbname\":\"dz4ojlpP85JMgDLZWkQ1GGkaKYqQexEr62GXRV1y\"},\"192.168.1.31@24A\":{\"value\":120,\"zone\":\"lithoman_32\",\"tbname\":\"d5xjWYMwEJon6rLlK7ylZmkqgV4DaOeNB9ZX3Gzb\"},\"192.168.1.31@24B\":{\"value\":2,\"zone\":\"lithoman_32\",\"tbname\":\"gRoJEyXVx4qD9er287LwyvkwBzGldaPjLWQKm3Mv\"}}\n\n\nconsole.log(Object.keys(a).length);\nlet counter = 0;\n\nObject.keys(a).map(merac => {\n if(all_data.hasOwnProperty(merac))\n {\n counter++;\n const energy_last_month = a[merac];\n const enery_in_db = all_data[merac].value;\n const tbname = all_data[merac].tbname;\n\n const v = energy_last_month - enery_in_db;\n\n\n const dataToTb = {\n [tbname]: [\n {\n \"ts\": 1659304875000,\n \"values\": {\n energy_last_month_delta: v\n }\n }\n ]\n };\n\n\n\t\t if(tbname == \"PLBJzmK1r3Gynd6OW0g2yqAe5wV4vx9bDEqNgYR8\")\n {\n //! to handle two virtual devices, storing half values of one real device no: \"192.168.1.21@11A\" with tbname \"PLBJzmK1r3Gynd6OW0g2yqAe5wV4vx9bDEqNgYR8\"\n for (let tb_name of [\"E6Kg9oDnLWyzPRMva7vWR9AJxp4VG58qO2w1lZYe\", \"roKgWqY95V3mXMRzyAjrYnAbLjexpJPvaGDBw826\"]) {\n\n const half_value = {\n [tb_name]: [\n {\n \"ts\": date,\n \"values\": {\n energy_last_month_delta: v/2\n }\n }\n\n ]\n };\n\n send(0, half_value);\n }\n }\n\n //all_data[merac].value = energy_last_month;\n send(0, dataToTb)\n send(0, counter)\n }\n})",
|
|
"outputs": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "1659336912698",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Trigger",
|
|
"x": 107,
|
|
"y": 1451,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1659336872711"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1659336919368",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "Debug",
|
|
"x": 464,
|
|
"y": 1451,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1660217538796",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "do produkcie",
|
|
"x": 363,
|
|
"y": 433.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476748555",
|
|
"component": "monitorconsumption",
|
|
"tab": "1660476684351",
|
|
"name": "Consumption",
|
|
"x": 96,
|
|
"y": 75,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476771083"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "4.2% / 67.13 MB",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"monitorfiles": true,
|
|
"monitorconnections": true,
|
|
"monitorsize": true,
|
|
"monitorconsumption": true,
|
|
"enabled": true,
|
|
"interval": 60000
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476751479",
|
|
"component": "monitordisk",
|
|
"tab": "1660476684351",
|
|
"name": "Disk",
|
|
"x": 98,
|
|
"y": 269,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476781009"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "5.71 GB / 7.26 GB",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"enabled": true,
|
|
"path": "/",
|
|
"interval": 8000
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476753629",
|
|
"component": "monitormemory",
|
|
"tab": "1660476684351",
|
|
"name": "Memory",
|
|
"x": 96,
|
|
"y": 169,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476776559"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "818.94 MB / 987.80 MB",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"enabled": true,
|
|
"interval": 60000
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476771083",
|
|
"component": "code",
|
|
"tab": "1660476684351",
|
|
"name": "Code",
|
|
"x": 303,
|
|
"y": 70,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476806139"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#656D78",
|
|
"notes": "",
|
|
"options": {
|
|
"keepmessage": true,
|
|
"code": "let response = {};\nresponse.cpu = value.cpu;\nresponse.uptime = value.uptime;\n\nsend(0, response);",
|
|
"outputs": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476776559",
|
|
"component": "code",
|
|
"tab": "1660476684351",
|
|
"name": "Code",
|
|
"x": 300,
|
|
"y": 164,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476806139"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#656D78",
|
|
"notes": "",
|
|
"options": {
|
|
"keepmessage": true,
|
|
"code": "let response = {};\n\nresponse.memory_total = value.total;\nresponse.memory_free = value.free;\nresponse.memory_used = value.used;\n\nsend(0, response);",
|
|
"outputs": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476781009",
|
|
"component": "code",
|
|
"tab": "1660476684351",
|
|
"name": "Code",
|
|
"x": 297,
|
|
"y": 263,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660476806139"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#656D78",
|
|
"notes": "",
|
|
"options": {
|
|
"keepmessage": true,
|
|
"code": "let response = {};\n\nresponse.hdd_total = value.total;\nresponse.hdd_free = value.free;\nresponse.hdd_used = value.used;\n\nsend(0, response);",
|
|
"outputs": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "1660476806139",
|
|
"component": "virtualwireout",
|
|
"tab": "1660476684351",
|
|
"name": "send-to-services",
|
|
"x": 531,
|
|
"y": 150,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "send-to-services",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "send-to-services"
|
|
}
|
|
},
|
|
{
|
|
"id": "1660477364486",
|
|
"component": "virtualwirein",
|
|
"tab": "1660476684351",
|
|
"name": "send-to-services",
|
|
"x": 51,
|
|
"y": 438,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660477391824"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "send-to-services",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "send-to-services"
|
|
}
|
|
},
|
|
{
|
|
"id": "1660477391824",
|
|
"component": "infosender",
|
|
"tab": "1660476684351",
|
|
"name": "Info sender",
|
|
"x": 272,
|
|
"y": 437,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660477412065"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1660477429580"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#2134B0",
|
|
"notes": "",
|
|
"options": {
|
|
"edge": "undefined"
|
|
}
|
|
},
|
|
{
|
|
"id": "1660477412065",
|
|
"component": "debug",
|
|
"tab": "1660476684351",
|
|
"name": "Debug",
|
|
"x": 492,
|
|
"y": 526,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1660477429580",
|
|
"component": "httprequest",
|
|
"tab": "1660476684351",
|
|
"name": "http://192.168.252.2:8004/sentmessage",
|
|
"x": 488,
|
|
"y": 431,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1685302783627"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {
|
|
"stringify": "json",
|
|
"method": "POST",
|
|
"url": "http://192.168.252.2:8004/sentmessage",
|
|
"type": "json"
|
|
}
|
|
},
|
|
{
|
|
"id": "1660477495564",
|
|
"component": "virtualwireout",
|
|
"tab": "1643281906512",
|
|
"name": "send-to-services",
|
|
"x": 615,
|
|
"y": 688,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "send-to-services",
|
|
"color": "gray"
|
|
},
|
|
"color": "#303E4D",
|
|
"notes": "",
|
|
"options": {
|
|
"wirename": "send-to-services"
|
|
}
|
|
},
|
|
{
|
|
"id": "1661332732945",
|
|
"component": "comment",
|
|
"tab": "1643281906512",
|
|
"name": "wsmqtt qas01 here:",
|
|
"x": 898.75,
|
|
"y": 918.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#704cff",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1661946950339",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "to express",
|
|
"x": 801,
|
|
"y": 435,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [
|
|
0
|
|
],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1661946985452",
|
|
"component": "httprequest",
|
|
"tab": "1643281906512",
|
|
"name": "0.0.0.0:3000/settemperature",
|
|
"x": 771,
|
|
"y": 327,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1661947628241"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "json",
|
|
"stringify": "json",
|
|
"method": "POST",
|
|
"url": "http://0.0.0.0:3000/settemperature"
|
|
}
|
|
},
|
|
{
|
|
"id": "1661947628241",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "request to express",
|
|
"x": 1052,
|
|
"y": 322,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [
|
|
0
|
|
],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1661953414910",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Trigger",
|
|
"x": 526,
|
|
"y": 329,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1661946985452"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"datatype": "object",
|
|
"data": "{temperature: '17.3'}"
|
|
}
|
|
},
|
|
{
|
|
"id": "1669037202449",
|
|
"component": "httprequest",
|
|
"tab": "1668080058538",
|
|
"name": "http://192.168.252.2:8004/getdepartures",
|
|
"x": 356,
|
|
"y": -554,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {
|
|
"stringify": "json",
|
|
"method": "POST",
|
|
"url": "http://192.168.252.2:8004/getdepartures?project_id=30",
|
|
"type": "json"
|
|
}
|
|
},
|
|
{
|
|
"id": "1669037225090",
|
|
"component": "httprequest",
|
|
"tab": "1668080058538",
|
|
"name": "http://192.168.252.2:8004/getdepartures",
|
|
"x": 356,
|
|
"y": -312,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {
|
|
"stringify": "json",
|
|
"method": "POST",
|
|
"url": "http://192.168.252.2:8004/getdepartures?project_id=30",
|
|
"type": "json"
|
|
}
|
|
},
|
|
{
|
|
"id": "1669037987641",
|
|
"component": "httprequest",
|
|
"tab": "1668080058538",
|
|
"name": "http://0.0.0.0:3000/setdepartures",
|
|
"x": 1064,
|
|
"y": 162,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {
|
|
"stringify": "json",
|
|
"method": "POST",
|
|
"url": "http://0.0.0.0:3000/setdepartures",
|
|
"type": "json"
|
|
}
|
|
},
|
|
{
|
|
"id": "1679493041934",
|
|
"component": "wsmqttpublish",
|
|
"tab": "1643281906512",
|
|
"name": "TB PROD01",
|
|
"x": 368.8833312988281,
|
|
"y": 538.3999938964844,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1679573361111"
|
|
}
|
|
],
|
|
"1": [
|
|
{
|
|
"index": "0",
|
|
"id": "1645111384451"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1645111340298"
|
|
}
|
|
],
|
|
"2": [
|
|
{
|
|
"index": "0",
|
|
"id": "1660477495564"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Connected",
|
|
"color": "green"
|
|
},
|
|
"color": "#888600",
|
|
"notes": "",
|
|
"options": {
|
|
"username": "xZfqsV9FjhPiqacsVwr6",
|
|
"clientid": "sokolov_SBS1_10_0_0_30",
|
|
"port": 1883,
|
|
"host": "192.168.252.1"
|
|
}
|
|
},
|
|
{
|
|
"id": "1679573361111",
|
|
"component": "debug",
|
|
"tab": "1643281906512",
|
|
"name": "prod01 debug",
|
|
"x": 603,
|
|
"y": 441,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1679573682640",
|
|
"component": "debug",
|
|
"tab": "1668080058538",
|
|
"name": "newDay",
|
|
"x": 555.5666656494141,
|
|
"y": 37,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1679573709784",
|
|
"component": "debug",
|
|
"tab": "1668080058538",
|
|
"name": "setDepartures debug",
|
|
"x": 1065.566665649414,
|
|
"y": 262,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1685302783627",
|
|
"component": "debug",
|
|
"tab": "1660476684351",
|
|
"name": "Debug",
|
|
"x": 853,
|
|
"y": 429,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1687778068338",
|
|
"component": "checknewday",
|
|
"tab": "1668080058538",
|
|
"name": "Check if new day",
|
|
"x": 289,
|
|
"y": 41,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1687778072229"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1679573682640"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1687778072229",
|
|
"component": "handledepartures",
|
|
"tab": "1668080058538",
|
|
"name": "Handle departures",
|
|
"x": 532,
|
|
"y": 157,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1669037987641"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1679573709784"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [
|
|
0,
|
|
1
|
|
],
|
|
"output": [
|
|
0
|
|
]
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1687778082109",
|
|
"component": "timer",
|
|
"tab": "1668080058538",
|
|
"name": "Timer",
|
|
"x": 120,
|
|
"y": 250,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "1",
|
|
"id": "1687778072229"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"interval": 60000
|
|
}
|
|
},
|
|
{
|
|
"id": "1687778119225",
|
|
"component": "timer",
|
|
"tab": "1668080058538",
|
|
"name": "Timer",
|
|
"x": 115,
|
|
"y": 44,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1687778068338"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"interval": 150000
|
|
}
|
|
},
|
|
{
|
|
"id": "1687794067628",
|
|
"component": "trigger",
|
|
"tab": "1668080058538",
|
|
"name": "Trigger",
|
|
"x": 115.33332824707031,
|
|
"y": 131,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1687778068338"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"restart": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1727349669460",
|
|
"component": "trigger",
|
|
"tab": "1668080058538",
|
|
"name": "Trigger",
|
|
"x": 852.75,
|
|
"y": 103,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1669037987641"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1679573709784"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"data": "[]",
|
|
"datatype": "object",
|
|
"restart": true,
|
|
"COMPONENT": "trigger",
|
|
"NAME": "Trigger"
|
|
}
|
|
},
|
|
{
|
|
"id": "1727349708633",
|
|
"component": "comment",
|
|
"tab": "1668080058538",
|
|
"name": "Kvoli neaktualnosti spojov ich nezobrazujeme na screen, preto posielam prazdny array",
|
|
"x": 850.75,
|
|
"y": 52,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#704cff",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1748264314486",
|
|
"component": "getdepartures",
|
|
"tab": "1643281906512",
|
|
"name": "Get departures",
|
|
"x": 437.75,
|
|
"y": 1647.5,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1748264319313",
|
|
"component": "trigger",
|
|
"tab": "1643281906512",
|
|
"name": "Trigger",
|
|
"x": 127.75,
|
|
"y": 1665.5,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1748264314486"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1752434603801",
|
|
"component": "getdepartures",
|
|
"tab": "1668080058538",
|
|
"name": "Get departures",
|
|
"x": 171.75,
|
|
"y": 501,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1752434626014"
|
|
}
|
|
],
|
|
"1": [
|
|
{
|
|
"index": "0",
|
|
"id": "1752434672386"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1752434612533",
|
|
"component": "timer",
|
|
"tab": "1668080058538",
|
|
"name": "Timer",
|
|
"x": 234.75,
|
|
"y": 669,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "1",
|
|
"id": "1752434672386"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#F6BB42",
|
|
"notes": "",
|
|
"options": {
|
|
"interval": 60000
|
|
}
|
|
},
|
|
{
|
|
"id": "1752434626014",
|
|
"component": "debug",
|
|
"tab": "1668080058538",
|
|
"name": "DeparturesForToday",
|
|
"x": 523.75,
|
|
"y": 444,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"id": "1752434672386",
|
|
"component": "handledepartures",
|
|
"tab": "1668080058538",
|
|
"name": "Handle departures",
|
|
"x": 521.75,
|
|
"y": 571,
|
|
"connections": {
|
|
"0": [
|
|
{
|
|
"index": "0",
|
|
"id": "1752434693873"
|
|
},
|
|
{
|
|
"index": "0",
|
|
"id": "1669037987641"
|
|
}
|
|
]
|
|
},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "",
|
|
"color": "gray"
|
|
},
|
|
"color": "#5D9CEC",
|
|
"notes": "",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "1752434693873",
|
|
"component": "debug",
|
|
"tab": "1668080058538",
|
|
"name": "depToDisplay",
|
|
"x": 820.75,
|
|
"y": 651,
|
|
"connections": {},
|
|
"disabledio": {
|
|
"input": [],
|
|
"output": []
|
|
},
|
|
"state": {
|
|
"text": "Enabled",
|
|
"color": "gray"
|
|
},
|
|
"color": "#967ADC",
|
|
"notes": "",
|
|
"options": {
|
|
"type": "data",
|
|
"repository": false,
|
|
"enabled": true
|
|
}
|
|
}
|
|
],
|
|
"version": 624
|
|
} |