Initial commit - ip 10.0.0.76

This commit is contained in:
rasta5man 2025-08-14 22:59:29 +02:00
parent e189e5334b
commit cd65481ac4
5 changed files with 608 additions and 460 deletions

View file

@ -10,7 +10,7 @@
{
"name": "Time setter",
"linker": "time-setter",
"id": "1667235000217",
"id": "1667233810390",
"index": 1
}
],
@ -19,9 +19,9 @@
"id": "1636110851291",
"component": "socomec",
"tab": "1636110831878",
"name": "IP - 192.168.1.11 & 12",
"x": 53,
"y": 145,
"name": "IP - 192.168.1.31 & 32",
"x": 34,
"y": 124,
"connections": {
"0": [
{
@ -40,17 +40,17 @@
},
{
"index": "0",
"id": "1643023439891"
"id": "1643021318333"
}
],
"2": [
{
"index": "0",
"id": "1640097360601"
"id": "1640011795746"
},
{
"index": "0",
"id": "1669850052514"
"id": "1645452856681"
}
]
},
@ -65,8 +65,8 @@
"color": "#2134B0",
"notes": "",
"options": {
"host": "192.168.1.11",
"port": 502
"port": 502,
"host": "192.168.1.11"
}
},
{
@ -74,8 +74,8 @@
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 376,
"y": 32,
"x": 389,
"y": 45,
"connections": {},
"disabledio": {
"input": [
@ -100,13 +100,11 @@
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 377,
"y": 113,
"x": 553,
"y": 83,
"connections": {},
"disabledio": {
"input": [
0
],
"input": [],
"output": []
},
"state": {
@ -126,13 +124,13 @@
"component": "virtualwirein",
"tab": "1636110831878",
"name": "tb-prod01-push",
"x": 23,
"y": 586,
"x": 30,
"y": 587,
"connections": {
"0": [
{
"index": "0",
"id": "1694077414274"
"id": "1694075854662"
}
]
},
@ -155,8 +153,8 @@
"component": "virtualwireout",
"tab": "1636110831878",
"name": "tb-prod01-push",
"x": 383,
"y": 234,
"x": 446,
"y": 194,
"connections": {},
"disabledio": {
"input": [],
@ -177,13 +175,13 @@
"component": "monitormemory",
"tab": "1636110831878",
"name": "Memory",
"x": 37,
"y": 945,
"x": 47,
"y": 987,
"connections": {
"0": [
{
"index": "0",
"id": "1641906774515"
"id": "1641214032469"
}
]
},
@ -192,14 +190,14 @@
"output": []
},
"state": {
"text": "804.16 MB / 987.80 MB",
"text": "847.58 MB / 987.80 MB",
"color": "gray"
},
"color": "#F6BB42",
"notes": "",
"options": {
"enabled": true,
"interval": 30000
"interval": 60000
}
},
{
@ -207,8 +205,8 @@
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 395,
"y": 984,
"x": 397,
"y": 1056,
"connections": {},
"disabledio": {
"input": [
@ -233,13 +231,13 @@
"component": "monitorconsumption",
"tab": "1636110831878",
"name": "CPU",
"x": 35,
"y": 850,
"x": 43,
"y": 890,
"connections": {
"0": [
{
"index": "0",
"id": "1641906812467"
"id": "1641213956795"
}
]
},
@ -248,7 +246,7 @@
"output": []
},
"state": {
"text": "3.1% / 57.85 MB",
"text": "0.3% / 64.51 MB",
"color": "gray"
},
"color": "#967ADC",
@ -259,7 +257,7 @@
"monitorsize": true,
"monitorconsumption": true,
"enabled": true,
"interval": 30000
"interval": 60000
}
},
{
@ -267,8 +265,8 @@
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 396,
"y": 808,
"x": 397,
"y": 868,
"connections": {},
"disabledio": {
"input": [
@ -289,17 +287,17 @@
}
},
{
"id": "1640097360601",
"id": "1640011795746",
"component": "httprequest",
"tab": "1636110831878",
"name": "grafia-prod01.worksys.io",
"x": 380,
"y": 317,
"name": "grafia-prod01.worksys.io/total_energy",
"x": 443,
"y": 284,
"connections": {
"0": [
{
"index": "0",
"id": "1640097392518"
"id": "1640011891453"
}
]
},
@ -314,19 +312,19 @@
"color": "#5D9CEC",
"notes": "",
"options": {
"stringify": "json",
"method": "POST",
"stringify": "json",
"url": "http://192.168.252.2:8005/total_energy",
"type": "json"
}
},
{
"id": "1640097392518",
"id": "1640011891453",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 697,
"y": 317,
"x": 794,
"y": 279,
"connections": {},
"disabledio": {
"input": [
@ -347,17 +345,17 @@
}
},
{
"id": "1641906699312",
"component": "monitordisk",
"id": "1640013180066",
"component": "trigger",
"tab": "1636110831878",
"name": "Disk",
"x": 35,
"y": 1036,
"name": "Trigger",
"x": 186,
"y": 292,
"connections": {
"0": [
{
"index": "0",
"id": "1641906732272"
"id": "1640011795746"
}
]
},
@ -366,122 +364,23 @@
"output": []
},
"state": {
"text": "5.67 GB / 7.26 GB",
"text": "",
"color": "gray"
},
"color": "#F6BB42",
"notes": "",
"options": {
"enabled": true,
"path": "/",
"interval": 30000
"data": "{s:3}",
"datatype": "object"
}
},
{
"id": "1641906703877",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 396,
"y": 1073,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1641906732272",
"id": "1641213956795",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 196,
"y": 1034,
"connections": {
"0": [
{
"index": "0",
"id": "1641906703877"
},
{
"index": "0",
"id": "1641907044563"
}
]
},
"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,
"COMPONENT": "code",
"NAME": "Code"
}
},
{
"id": "1641906774515",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 197,
"y": 941,
"connections": {
"0": [
{
"index": "0",
"id": "1636971491099"
},
{
"index": "0",
"id": "1641907044563"
}
]
},
"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": "1641906812467",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 202,
"y": 845,
"x": 214,
"y": 889,
"connections": {
"0": [
{
@ -490,7 +389,7 @@
},
{
"index": "0",
"id": "1641907044563"
"id": "1641214092460"
}
]
},
@ -511,12 +410,47 @@
}
},
{
"id": "1641907044563",
"id": "1641214032469",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 214,
"y": 983,
"connections": {
"0": [
{
"index": "0",
"id": "1636971491099"
},
{
"index": "0",
"id": "1641214092460"
}
]
},
"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": "1641214092460",
"component": "virtualwireout",
"tab": "1636110831878",
"name": "send-to-services",
"x": 398,
"y": 892,
"x": 414,
"y": 965,
"connections": {},
"disabledio": {
"input": [],
@ -533,17 +467,113 @@
}
},
{
"id": "1641907104812",
"component": "virtualwirein",
"id": "1641214696139",
"component": "monitordisk",
"tab": "1636110831878",
"name": "send-to-services",
"x": 65,
"y": 1232,
"name": "Disk",
"x": 52,
"y": 1088,
"connections": {
"0": [
{
"index": "0",
"id": "1641907121073"
"id": "1641214703623"
}
]
},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "5.78 GB / 7.26 GB",
"color": "gray"
},
"color": "#F6BB42",
"notes": "",
"options": {
"enabled": true,
"path": "/",
"interval": 60000
}
},
{
"id": "1641214703610",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 399,
"y": 1146,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1641214703623",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 219,
"y": 1090,
"connections": {
"0": [
{
"index": "0",
"id": "1641214703610"
},
{
"index": "0",
"id": "1641214092460"
}
]
},
"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": "1641214819493",
"component": "virtualwirein",
"tab": "1636110831878",
"name": "send-to-services",
"x": 57,
"y": 1349,
"connections": {
"0": [
{
"index": "0",
"id": "1641214853420"
},
{
"index": "0",
"id": "1641214870492"
}
]
},
@ -562,21 +592,47 @@
}
},
{
"id": "1641907121073",
"id": "1641214853420",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 343,
"y": 1306,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1641214870492",
"component": "infosender",
"tab": "1636110831878",
"name": "Info sender",
"x": 304,
"y": 1227,
"x": 322,
"y": 1395,
"connections": {
"0": [
{
"index": "0",
"id": "1641907134719"
"id": "1641214879162"
},
{
"index": "0",
"id": "1641907182409"
"id": "1641214887643"
}
]
},
@ -595,17 +651,43 @@
}
},
{
"id": "1641907134719",
"id": "1641214879162",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 543,
"y": 1470,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1641214887643",
"component": "httprequest",
"tab": "1636110831878",
"name": "http://192.168.252.2:8004/sentmessage",
"x": 533,
"y": 1191,
"x": 535,
"y": 1363,
"connections": {
"0": [
{
"index": "0",
"id": "1641907188601"
"id": "1641214960946"
}
]
},
@ -620,19 +702,19 @@
"color": "#5D9CEC",
"notes": "",
"options": {
"stringify": "json",
"method": "POST",
"type": "json",
"url": "http://192.168.252.2:8004/sentmessage",
"type": "json"
"method": "POST",
"stringify": "json"
}
},
{
"id": "1641907182409",
"id": "1641214960946",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 536,
"y": 1295,
"x": 911,
"y": 1359,
"connections": {},
"disabledio": {
"input": [
@ -653,43 +735,17 @@
}
},
{
"id": "1641907188601",
"component": "debug",
"tab": "1636110831878",
"name": "Debug",
"x": 906,
"y": 1189,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1643023439891",
"id": "1643021318333",
"component": "code",
"tab": "1636110831878",
"name": "Code",
"x": 569,
"y": 176,
"x": 705.8833312988281,
"y": 130.53334045410156,
"connections": {
"0": [
{
"index": "0",
"id": "1643023495930"
"id": "1643021403079"
}
]
},
@ -707,17 +763,17 @@
"notes": "",
"options": {
"keepmessage": true,
"code": "//if(value.hasOwnProperty('1JMYvnx2RzKEo4aWQ7D93vAL8yZV3m9NBePXbrdj'))\n//{\n\t//send(0, value);\n//}\n//if(value.hasOwnProperty('1559') || value.hasOwnProperty('1558'))\nif(value.hasOwnProperty('1559'))\n{\n\tif(value[\"1559\"][0].values.hasOwnProperty(\"total_energy\"))\n\t\t{\n\t\t\tsend(0, value);\n\t\t}\n\n}\n\nif(value.hasOwnProperty('1558'))\n{\n\tif(value[\"1558\"][0].values.hasOwnProperty(\"total_energy\"))\n\t\t{\n\t\t\tsend(0, value);\n\t\t}\n\n}",
"code": "//if(value.hasOwnProperty('RO8rjaBDy21qPQJzW7oKN17pK3xmNleVZg9Ed4Gw') || value.hasOwnProperty('K94XLav1glVRnyQ6r01VZ3kme3YJwBxM5oOzdP2j'))\n\tif(value.hasOwnProperty('K94XLav1glVRnyQ6r01VZ3kme3YJwBxM5oOzdP2j'))\n\t{\n\t\tsend(0, value);\n\t}",
"outputs": 1
}
},
{
"id": "1643023495930",
"id": "1643021403079",
"component": "debug",
"tab": "1636110831878",
"name": "Just 1 module",
"x": 719,
"y": 169,
"name": "just 1 module",
"x": 882.8833312988281,
"y": 127.53334045410156,
"connections": {},
"disabledio": {
"input": [],
@ -736,12 +792,36 @@
}
},
{
"id": "1660058310860",
"id": "1645452856681",
"component": "debug",
"tab": "1636110831878",
"name": "Http req data",
"x": 449.8833312988281,
"y": 381.51666259765625,
"connections": {},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1660045438935",
"component": "virtualwireout",
"tab": "1636110831878",
"name": "send-to-services",
"x": 590.5,
"y": 633.4166870117188,
"x": 582.8833312988281,
"y": 652,
"connections": {},
"disabledio": {
"input": [],
@ -758,17 +838,17 @@
}
},
{
"id": "1667235009598",
"id": "1667233820282",
"component": "timesetter",
"tab": "1667235000217",
"tab": "1667233810390",
"name": "Timesetter",
"x": 245.0833282470703,
"y": 166,
"x": 333.8833312988281,
"y": 136,
"connections": {
"0": [
{
"index": "0",
"id": "1667235037440"
"id": "1667233834272"
}
]
},
@ -785,17 +865,17 @@
"options": {}
},
{
"id": "1667235012156",
"id": "1667233826092",
"component": "timer",
"tab": "1667235000217",
"tab": "1667233810390",
"name": "Timer",
"x": 38.08332824707031,
"y": 249,
"x": 115.88333129882812,
"y": 227,
"connections": {
"0": [
{
"index": "0",
"id": "1667235009598"
"id": "1667233820282"
}
]
},
@ -814,17 +894,61 @@
}
},
{
"id": "1667235031667",
"id": "1667233834272",
"component": "debug",
"tab": "1667233810390",
"name": "Debug",
"x": 554.8833312988281,
"y": 133,
"connections": {},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1667233843489",
"component": "comment",
"tab": "1667233810390",
"name": "Getting actual time once a day from service-prod01.worksys.io",
"x": 163.88333129882812,
"y": 38,
"connections": {},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "",
"color": "gray"
},
"color": "#704cff",
"notes": "",
"options": {}
},
{
"id": "1667233894816",
"component": "trigger",
"tab": "1667235000217",
"tab": "1667233810390",
"name": "Trigger",
"x": 41.08332824707031,
"y": 168,
"x": 118.88333129882812,
"y": 138,
"connections": {
"0": [
{
"index": "0",
"id": "1667235009598"
"id": "1667233820282"
}
]
},
@ -841,67 +965,17 @@
"options": {}
},
{
"id": "1667235037440",
"component": "debug",
"tab": "1667235000217",
"name": "Debug",
"x": 441.0833282470703,
"y": 162,
"connections": {},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1669850052514",
"component": "debug",
"tab": "1636110831878",
"name": "Http req data",
"x": 372.0833282470703,
"y": 422,
"connections": {},
"disabledio": {
"input": [
0
],
"output": []
},
"state": {
"text": "Enabled",
"color": "gray"
},
"color": "#967ADC",
"notes": "",
"options": {
"type": "data",
"repository": false,
"enabled": true
}
},
{
"id": "1694077414274",
"id": "1694075854662",
"component": "httprequest",
"tab": "1636110831878",
"name": "grafia-prod01.worksys.io/rerouting74",
"x": 224,
"y": 584,
"name": "grafia-prod01.worksys.io/rerouting76",
"x": 263,
"y": 586,
"connections": {
"0": [
{
"index": "0",
"id": "1694077451207"
"id": "1694075957040"
}
]
},
@ -916,19 +990,19 @@
"color": "#5D9CEC",
"notes": "",
"options": {
"type": "json",
"url": "http://192.168.252.2:8005/rerouting74",
"stringify": "json",
"method": "POST",
"stringify": "json"
"url": "http://192.168.252.2:8005/rerouting76",
"type": "json"
}
},
{
"id": "1694077451207",
"id": "1694075957040",
"component": "debug",
"tab": "1636110831878",
"name": "rerouting",
"x": 591.0833282470703,
"y": 529,
"name": "To rerouting76",
"x": 599,
"y": 541,
"connections": {},
"disabledio": {
"input": [