sokolov-sbs-flowserver/flow/designer.json_oorig.txt

1905 lines
52 KiB
Text
Raw Permalink Normal View History

2025-08-07 21:49:01 +02:00
{
"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\"
"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
}