Hi @tulanowski To address the issue, you might try enabling or disabling some debug nodes to activate the “Deploy” button. This will allow you to redeploy the flow and prompt the “Wireless Gateway” node to retry its connection. Please refer to the following GIF for clarification.
Additionally, I’m sharing this flow to verify if the “error” occurs. If it does, you can use an exec node to execute the “pm2 restart all” command on the Enterprise IIoT Gateway.
[{"id":"2c50ba050fa9135e","type":"change","z":"f908487c97b77286","name":"check code status","rules":[{"t":"set","p":"payload.code","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":3210,"y":480,"wires":[["107bfe0f308343c4"]]},{"id":"107bfe0f308343c4","type":"exec","z":"f908487c97b77286","command":"pm2 restart all","addpay":"","append":"","useSpawn":"false","timer":"10","winHide":false,"oldrc":false,"name":"Reboot Gateway","x":3410,"y":480,"wires":[["b077d71995900bfb"],["b077d71995900bfb"],["b077d71995900bfb"]]},{"id":"decab05940cc52e0","type":"switch","z":"f908487c97b77286","name":"filter error","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"error","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":3040,"y":480,"wires":[["2c50ba050fa9135e"]]},{"id":"b077d71995900bfb","type":"debug","z":"f908487c97b77286","name":"debug 6","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":3600,"y":480,"wires":[]}]
Take a look and let us know if you have any questions.
Thank you,
Eduardo M.