Repeat node request 3x; fix rsPort and ws connection after close

This commit is contained in:
rasta5man 2025-06-12 11:34:03 +02:00
parent 0876e73c68
commit 0c993f50b1
6 changed files with 144 additions and 98 deletions

View file

@ -449,8 +449,8 @@
"color": "gray"
},
"options": {
"datatype": "object",
"data": "{line: 3, command: \"turnOff\", force: true}"
"data": "{line: 3, command: \"turnOff\", force: true}",
"datatype": "object"
},
"color": "#F6BB42",
"notes": ""
@ -501,8 +501,8 @@
"color": "gray"
},
"options": {
"data": "profile_nodes",
"datatype": "string"
"datatype": "string",
"data": "profile_nodes"
},
"color": "#F6BB42",
"notes": ""
@ -712,8 +712,8 @@
"color": "gray"
},
"options": {
"data": "{line: 1, command: \"turnOn\", force: true}",
"datatype": "object"
"datatype": "object",
"data": "{line: 1, command: \"turnOn\", force: true}"
},
"color": "#F6BB42",
"notes": ""
@ -842,8 +842,8 @@
"color": "gray"
},
"options": {
"datatype": "object",
"data": "{command: \"turnOnAlarm\"}"
"data": "{command: \"turnOnAlarm\"}",
"datatype": "object"
},
"color": "#F6BB42",
"notes": ""
@ -872,8 +872,8 @@
"color": "gray"
},
"options": {
"datatype": "object",
"data": "{command: \"turnOffAlarm\"}"
"data": "{command: \"turnOffAlarm\"}",
"datatype": "object"
},
"color": "#F6BB42",
"notes": ""
@ -1009,7 +1009,7 @@
"output": []
},
"state": {
"text": "843.78 MB / 985.68 MB",
"text": "840.05 MB / 985.68 MB",
"color": "gray"
},
"options": {
@ -1039,7 +1039,7 @@
"output": []
},
"state": {
"text": "5.68 GB / 7.26 GB",
"text": "5.78 GB / 7.26 GB",
"color": "gray"
},
"options": {
@ -1152,9 +1152,9 @@
"color": "gray"
},
"options": {
"url": "http://192.168.252.2:8004/sentmessage",
"stringify": "json",
"method": "POST",
"stringify": "json"
"url": "http://192.168.252.2:8004/sentmessage"
},
"color": "#5D9CEC",
"notes": ""
@ -1495,7 +1495,7 @@
"output": []
},
"state": {
"text": "2% / 86.44 MB",
"text": "2.4% / 74.33 MB",
"color": "gray"
},
"options": {
@ -2018,7 +2018,7 @@
"tag_on_include": "[{\"user_id\":\"U072JE5JUQG\", \"includes\":[\"Electrometer\", \"Twilight sensor\"]}]",
"message_includes": "[\"is responding again\", \"Flow has been restarted\", \"Node db has changed\"]",
"types": "[\"emergency\", \"critical\", \"error\", \"alert\"]",
"name": ""
"name": "rvo_senica_33_10.0.0.127"
},
"color": "#30E193",
"notes": ""
@ -2047,9 +2047,9 @@
"color": "gray"
},
"options": {
"url": "http://192.168.252.2:8004/slack",
"stringify": "json",
"method": "POST",
"stringify": "json"
"url": "http://192.168.252.2:8004/slack"
},
"color": "#5D9CEC",
"notes": ""
@ -2104,8 +2104,8 @@
"color": "gray"
},
"options": {
"data": "{ \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\": [ { \"ts\": 1716289039281, \"values\": { \"_event\": { \"type\": \"alert\", \"status\": \"new\", \"source\": { \"func\": \"CMD Manager: process cmd\", \"component\": \"1619515097737\", \"component_name\": \"CMD Manager\", \"edge\": \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\" }, \"message\": \"NOW CONNECTED TO SLACK !\", \"message_data\": \"\" } } } ] }",
"datatype": "object"
"datatype": "object",
"data": "{ \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\": [ { \"ts\": 1716289039281, \"values\": { \"_event\": { \"type\": \"alert\", \"status\": \"new\", \"source\": { \"func\": \"CMD Manager: process cmd\", \"component\": \"1619515097737\", \"component_name\": \"CMD Manager\", \"edge\": \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\" }, \"message\": \"NOW CONNECTED TO SLACK !\", \"message_data\": \"\" } } } ] }"
},
"color": "#F6BB42",
"notes": ""
@ -2282,8 +2282,8 @@
"component": "showdb",
"tab": "1612772287426",
"name": "Show db data",
"x": 1121.75,
"y": 814.25,
"x": 1186.75,
"y": 821.25,
"connections": {
"0": [
{
@ -2309,8 +2309,8 @@
"component": "debug",
"tab": "1612772287426",
"name": "dbData",
"x": 1315.75,
"y": 853.25,
"x": 1390.75,
"y": 870.25,
"connections": {},
"disabledio": {
"input": [],
@ -2333,8 +2333,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "settings",
"x": 911.75,
"y": 710.75,
"x": 934.75,
"y": 669.75,
"connections": {
"0": [
{
@ -2360,8 +2360,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "relaysData",
"x": 832.75,
"y": 775.75,
"x": 876.75,
"y": 733.75,
"connections": {
"0": [
{
@ -2387,8 +2387,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "nodesData",
"x": 747.75,
"y": 840.75,
"x": 852.75,
"y": 794.75,
"connections": {
"0": [
{
@ -2414,8 +2414,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "pinsData",
"x": 803.75,
"y": 899.75,
"x": 850.75,
"y": 861.75,
"connections": {
"0": [
{
@ -2441,8 +2441,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "sample data",
"x": 858.75,
"y": 959.75,
"x": 857.75,
"y": 928.75,
"connections": {
"0": [
{
@ -2613,8 +2613,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "monitor.txt",
"x": 915.75,
"y": 1017.75,
"x": 882.75,
"y": 991.75,
"connections": {
"0": [
{
@ -2640,8 +2640,8 @@
"component": "trigger",
"tab": "1612772287426",
"name": "err.txt",
"x": 966.75,
"y": 1080.75,
"x": 904.75,
"y": 1053.75,
"connections": {
"0": [
{
@ -2862,6 +2862,33 @@
"options": {},
"color": "#704cff",
"notes": ""
},
{
"id": "1749211698385",
"component": "trigger",
"tab": "1612772287426",
"name": "deviceStatus",
"x": 911.75,
"y": 1116.75,
"connections": {
"0": [
{
"index": "7",
"id": "1731069059135"
}
]
},
"disabledio": {
"input": [],
"output": []
},
"state": {
"text": "",
"color": "gray"
},
"options": {},
"color": "#F6BB42",
"notes": ""
}
],
"version": 615