Rpi-poe-node-red-flow.json

From UNamur InfoSec
Jump to navigation Jump to search

[

   {
       "id": "eba2023cb36825fd",
       "type": "tab",
       "label": "Flow 1",
       "disabled": false,
       "info": "",
       "env": []
   },
   {
       "id": "04fbeb79c524eff7",
       "type": "tab",
       "label": "Flow 2",
       "disabled": false,
       "info": "",
       "env": []
   },
   {
       "id": "e5d2b2f4342cdb1c",
       "type": "tab",
       "label": "Flow 3",
       "disabled": false,
       "info": "",
       "env": []
   },
   {
       "id": "4101d359deb68857",
       "type": "tab",
       "label": "Flow 4",
       "disabled": false,
       "info": "",
       "env": []
   },
   {
       "id": "874cbb5eb9744699",
       "type": "http in",
       "z": "eba2023cb36825fd",
       "name": "port 1 on",
       "url": "/port/1/on",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 340,
       "y": 120,
       "wires": [
           [
               "4be180bb5fda3494",
               "db4c140d050484c9",
               "2fa694de16332fea",
               "f51b504c1d3bb9fd"
           ]
       ]
   },
   {
       "id": "d9ad206a4d78b97a",
       "type": "http response",
       "z": "eba2023cb36825fd",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 1120,
       "y": 120,
       "wires": []
   },
   {
       "id": "e3778df77a331730",
       "type": "http in",
       "z": "eba2023cb36825fd",
       "name": "port 1 status",
       "url": "/port/1/status",
       "method": "get",
       "upload": false,
       "swaggerDoc": "",
       "x": 350,
       "y": 620,
       "wires": [
           [
               "2d4f958707a7afaf"
           ]
       ]
   },
   {
       "id": "685ec2daae6fae6f",
       "type": "http response",
       "z": "eba2023cb36825fd",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 820,
       "y": 620,
       "wires": []
   },
   {
       "id": "90b36330b8dce452",
       "type": "template",
       "z": "eba2023cb36825fd",
       "name": "",
       "field": "payload",
       "fieldType": "msg",
       "format": "handlebars",
       "syntax": "mustache",
       "template": "Template:Payload",
       "output": "str",
       "x": 660,
       "y": 620,
       "wires": [
           [
               "685ec2daae6fae6f"
           ]
       ]
   },
   {
       "id": "21877642cd48f552",
       "type": "file",
       "z": "eba2023cb36825fd",
       "name": "",
       "filename": "port1",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 990,
       "y": 120,
       "wires": [
           [
               "d9ad206a4d78b97a"
           ]
       ]
   },
   {
       "id": "8008a7935d2491c0",
       "type": "change",
       "z": "eba2023cb36825fd",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "on",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 840,
       "y": 120,
       "wires": [
           [
               "21877642cd48f552"
           ]
       ]
   },
   {
       "id": "2d4f958707a7afaf",
       "type": "file in",
       "z": "eba2023cb36825fd",
       "name": "",
       "filename": "port1",
       "format": "utf8",
       "chunk": false,
       "sendError": false,
       "encoding": "none",
       "allProps": false,
       "x": 510,
       "y": 620,
       "wires": [
           [
               "90b36330b8dce452"
           ]
       ]
   },
   {
       "id": "ef9039490841d612",
       "type": "http in",
       "z": "eba2023cb36825fd",
       "name": "port 1 off",
       "url": "/port/1/off",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 180,
       "y": 560,
       "wires": [
           [
               "cf500d6b3c47bfd2",
               "d6adbc35f7506f78",
               "980c1a4981a5cc64"
           ]
       ]
   },
   {
       "id": "8dc092986e6c2487",
       "type": "http response",
       "z": "eba2023cb36825fd",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 800,
       "y": 560,
       "wires": []
   },
   {
       "id": "b884c21a796f8740",
       "type": "file",
       "z": "eba2023cb36825fd",
       "name": "",
       "filename": "port1",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 650,
       "y": 560,
       "wires": [
           [
               "8dc092986e6c2487"
           ]
       ]
   },
   {
       "id": "cf500d6b3c47bfd2",
       "type": "change",
       "z": "eba2023cb36825fd",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "off",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 480,
       "y": 560,
       "wires": [
           [
               "b884c21a796f8740"
           ]
       ]
   },
   {
       "id": "3c48bce15b0a2ad1",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.1&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=2&sel_1=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "10",
       "winHide": false,
       "oldrc": false,
       "name": "port 1 enable poe auto recovery",
       "x": 750,
       "y": 60,
       "wires": [
           [
               "962d97abde377043"
           ],
           [
               "962d97abde377043"
           ],
           [
               "962d97abde377043"
           ]
       ]
   },
   {
       "id": "962d97abde377043",
       "type": "debug",
       "z": "eba2023cb36825fd",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1070,
       "y": 60,
       "wires": []
   },
   {
       "id": "4be180bb5fda3494",
       "type": "delay",
       "z": "eba2023cb36825fd",
       "name": "",
       "pauseType": "delay",
       "timeout": "55",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 680,
       "y": 180,
       "wires": [
           [
               "2e9b6cba16704e8c",
               "8008a7935d2491c0"
           ]
       ]
   },
   {
       "id": "2e9b6cba16704e8c",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.1&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_1=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 1 disable poe auto recovery",
       "x": 910,
       "y": 180,
       "wires": [
           [
               "211210bd602c007e"
           ],
           [
               "211210bd602c007e"
           ],
           [
               "211210bd602c007e"
           ]
       ]
   },
   {
       "id": "211210bd602c007e",
       "type": "debug",
       "z": "eba2023cb36825fd",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1150,
       "y": 180,
       "wires": []
   },
   {
       "id": "db4c140d050484c9",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 460,
       "y": 280,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "2fa694de16332fea",
       "type": "delay",
       "z": "eba2023cb36825fd",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 540,
       "y": 60,
       "wires": [
           [
               "3c48bce15b0a2ad1"
           ]
       ]
   },
   {
       "id": "c695a59fe7de1824",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.1&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_1=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 1 disable poe auto recovery",
       "x": 590,
       "y": 460,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "d6adbc35f7506f78",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 380,
       "y": 380,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "980c1a4981a5cc64",
       "type": "delay",
       "z": "eba2023cb36825fd",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 360,
       "y": 460,
       "wires": [
           [
               "c695a59fe7de1824"
           ]
       ]
   },
   {
       "id": "f51b504c1d3bb9fd",
       "type": "delay",
       "z": "eba2023cb36825fd",
       "name": "",
       "pauseType": "delay",
       "timeout": "52",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 500,
       "y": 220,
       "wires": [
           [
               "d67d2e951330917c"
           ]
       ]
   },
   {
       "id": "d67d2e951330917c",
       "type": "exec",
       "z": "eba2023cb36825fd",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 660,
       "y": 260,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "0b0a403c0733d0d0",
       "type": "http in",
       "z": "04fbeb79c524eff7",
       "name": "port 2 on",
       "url": "/port/2/on",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 250,
       "y": 149,
       "wires": [
           [
               "407127bf5dd02e8e",
               "edc5afad97d2bd98",
               "d0270dbdcc6d1d8b",
               "43cf2b104f2d4d6b"
           ]
       ]
   },
   {
       "id": "6b75e9a4d38dd314",
       "type": "http response",
       "z": "04fbeb79c524eff7",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 1030,
       "y": 149,
       "wires": []
   },
   {
       "id": "955a02c59b82485a",
       "type": "http in",
       "z": "04fbeb79c524eff7",
       "name": "port 2 status",
       "url": "/port/2/status",
       "method": "get",
       "upload": false,
       "swaggerDoc": "",
       "x": 270,
       "y": 649,
       "wires": [
           [
               "cf5bea8ff97631d7"
           ]
       ]
   },
   {
       "id": "88c32145c43ba9a5",
       "type": "http response",
       "z": "04fbeb79c524eff7",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 730,
       "y": 649,
       "wires": []
   },
   {
       "id": "477368d982516a2d",
       "type": "template",
       "z": "04fbeb79c524eff7",
       "name": "",
       "field": "payload",
       "fieldType": "msg",
       "format": "handlebars",
       "syntax": "mustache",
       "template": "Template:Payload",
       "output": "str",
       "x": 570,
       "y": 649,
       "wires": [
           [
               "88c32145c43ba9a5"
           ]
       ]
   },
   {
       "id": "984e58de9207351b",
       "type": "file",
       "z": "04fbeb79c524eff7",
       "name": "",
       "filename": "port2",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 890,
       "y": 149,
       "wires": [
           [
               "6b75e9a4d38dd314"
           ]
       ]
   },
   {
       "id": "77b946765a7d8405",
       "type": "change",
       "z": "04fbeb79c524eff7",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "on",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 770,
       "y": 149,
       "wires": [
           [
               "984e58de9207351b"
           ]
       ]
   },
   {
       "id": "cf5bea8ff97631d7",
       "type": "file in",
       "z": "04fbeb79c524eff7",
       "name": "",
       "filename": "port2",
       "format": "utf8",
       "chunk": false,
       "sendError": false,
       "encoding": "none",
       "allProps": false,
       "x": 410,
       "y": 649,
       "wires": [
           [
               "477368d982516a2d"
           ]
       ]
   },
   {
       "id": "4127e4d3209d6684",
       "type": "http in",
       "z": "04fbeb79c524eff7",
       "name": "port 2 off",
       "url": "/port/2/off",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 90,
       "y": 589,
       "wires": [
           [
               "5f980d2e5facd001",
               "10cd5429072c9e36",
               "a352d4a646e3b326"
           ]
       ]
   },
   {
       "id": "4e23e2f1ec214c5c",
       "type": "http response",
       "z": "04fbeb79c524eff7",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 710,
       "y": 589,
       "wires": []
   },
   {
       "id": "b183f415a208bea9",
       "type": "file",
       "z": "04fbeb79c524eff7",
       "name": "",
       "filename": "port2",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 550,
       "y": 589,
       "wires": [
           [
               "4e23e2f1ec214c5c"
           ]
       ]
   },
   {
       "id": "5f980d2e5facd001",
       "type": "change",
       "z": "04fbeb79c524eff7",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "off",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 410,
       "y": 589,
       "wires": [
           [
               "b183f415a208bea9"
           ]
       ]
   },
   {
       "id": "02519b6a0584791a",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/poe_recovery_port_config.cgi' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.2&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=2&sel_2=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "10",
       "winHide": false,
       "oldrc": false,
       "name": "port 2 enable poe auto recovery",
       "x": 730,
       "y": 89,
       "wires": [
           [
               "78788cec85f65a84"
           ],
           [
               "78788cec85f65a84"
           ],
           [
               "78788cec85f65a84"
           ]
       ]
   },
   {
       "id": "78788cec85f65a84",
       "type": "debug",
       "z": "04fbeb79c524eff7",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 990,
       "y": 89,
       "wires": []
   },
   {
       "id": "407127bf5dd02e8e",
       "type": "delay",
       "z": "04fbeb79c524eff7",
       "name": "",
       "pauseType": "delay",
       "timeout": "55",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 590,
       "y": 209,
       "wires": [
           [
               "695e0862d4f49168",
               "77b946765a7d8405"
           ]
       ]
   },
   {
       "id": "695e0862d4f49168",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.2&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_2=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 2 disable poe auto recovery",
       "x": 890,
       "y": 209,
       "wires": [
           [
               "d886698cd64c1ef8"
           ],
           [
               "d886698cd64c1ef8"
           ],
           [
               "d886698cd64c1ef8"
           ]
       ]
   },
   {
       "id": "d886698cd64c1ef8",
       "type": "debug",
       "z": "04fbeb79c524eff7",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1070,
       "y": 209,
       "wires": []
   },
   {
       "id": "edc5afad97d2bd98",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 390,
       "y": 309,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "d0270dbdcc6d1d8b",
       "type": "delay",
       "z": "04fbeb79c524eff7",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 450,
       "y": 89,
       "wires": [
           [
               "02519b6a0584791a"
           ]
       ]
   },
   {
       "id": "81fb1ad18e4e4cb4",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.2&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_2=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 2 disable poe auto recovery",
       "x": 570,
       "y": 489,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "10cd5429072c9e36",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 310,
       "y": 409,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "a352d4a646e3b326",
       "type": "delay",
       "z": "04fbeb79c524eff7",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 270,
       "y": 489,
       "wires": [
           [
               "81fb1ad18e4e4cb4"
           ]
       ]
   },
   {
       "id": "43cf2b104f2d4d6b",
       "type": "delay",
       "z": "04fbeb79c524eff7",
       "name": "",
       "pauseType": "delay",
       "timeout": "52",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 410,
       "y": 249,
       "wires": [
           [
               "b8714e990a730960"
           ]
       ]
   },
   {
       "id": "b8714e990a730960",
       "type": "exec",
       "z": "04fbeb79c524eff7",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 590,
       "y": 289,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "4deaebe0dd1151c3",
       "type": "http in",
       "z": "e5d2b2f4342cdb1c",
       "name": "port 3 on",
       "url": "/port/3/on",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 390,
       "y": 252,
       "wires": [
           [
               "4739562f7e0414e1",
               "cc8d332812944d17",
               "984295ff16d6e31b",
               "bbeb525524b8e5a4"
           ]
       ]
   },
   {
       "id": "3efd60ab344196ac",
       "type": "http response",
       "z": "e5d2b2f4342cdb1c",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 1170,
       "y": 252,
       "wires": []
   },
   {
       "id": "64ee3947aad1fc71",
       "type": "http in",
       "z": "e5d2b2f4342cdb1c",
       "name": "port 3 status",
       "url": "/port/3/status",
       "method": "get",
       "upload": false,
       "swaggerDoc": "",
       "x": 420,
       "y": 752,
       "wires": [
           [
               "81d2c8f28266db1e"
           ]
       ]
   },
   {
       "id": "1516c1c365066e63",
       "type": "http response",
       "z": "e5d2b2f4342cdb1c",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 870,
       "y": 752,
       "wires": []
   },
   {
       "id": "24c63364b4619662",
       "type": "template",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "field": "payload",
       "fieldType": "msg",
       "format": "handlebars",
       "syntax": "mustache",
       "template": "Template:Payload",
       "output": "str",
       "x": 710,
       "y": 752,
       "wires": [
           [
               "1516c1c365066e63"
           ]
       ]
   },
   {
       "id": "2863dbe1b717bb6d",
       "type": "file",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "filename": "port3",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 1020,
       "y": 252,
       "wires": [
           [
               "3efd60ab344196ac"
           ]
       ]
   },
   {
       "id": "dc329f8586c08feb",
       "type": "change",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "on",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 930,
       "y": 252,
       "wires": [
           [
               "2863dbe1b717bb6d"
           ]
       ]
   },
   {
       "id": "81d2c8f28266db1e",
       "type": "file in",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "filename": "port3",
       "format": "utf8",
       "chunk": false,
       "sendError": false,
       "encoding": "none",
       "allProps": false,
       "x": 540,
       "y": 752,
       "wires": [
           [
               "24c63364b4619662"
           ]
       ]
   },
   {
       "id": "d10827d7eba7eeeb",
       "type": "http in",
       "z": "e5d2b2f4342cdb1c",
       "name": "port 3 off",
       "url": "/port/3/off",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 230,
       "y": 692,
       "wires": [
           [
               "9004ce133621c48d",
               "cce4a877ee812463",
               "5a06062c6a959e3e"
           ]
       ]
   },
   {
       "id": "ca621dc4a9b5fde7",
       "type": "http response",
       "z": "e5d2b2f4342cdb1c",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 850,
       "y": 692,
       "wires": []
   },
   {
       "id": "de2b64b4c6aa0d6d",
       "type": "file",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "filename": "port3",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 680,
       "y": 692,
       "wires": [
           [
               "ca621dc4a9b5fde7"
           ]
       ]
   },
   {
       "id": "9004ce133621c48d",
       "type": "change",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "off",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 570,
       "y": 692,
       "wires": [
           [
               "de2b64b4c6aa0d6d"
           ]
       ]
   },
   {
       "id": "9b95a2283e5bb8fc",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/poe_recovery_port_config.cgi' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.3&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=2&sel_3=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "10",
       "winHide": false,
       "oldrc": false,
       "name": "port 3 enable poe auto recovery",
       "x": 940,
       "y": 192,
       "wires": [
           [
               "a134854b29805339"
           ],
           [
               "a134854b29805339"
           ],
           [
               "a134854b29805339"
           ]
       ]
   },
   {
       "id": "a134854b29805339",
       "type": "debug",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1140,
       "y": 192,
       "wires": []
   },
   {
       "id": "4739562f7e0414e1",
       "type": "delay",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "pauseType": "delay",
       "timeout": "55",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 730,
       "y": 312,
       "wires": [
           [
               "b3c48c457a20f76f",
               "dc329f8586c08feb"
           ]
       ]
   },
   {
       "id": "b3c48c457a20f76f",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/poe_recovery_port_config.cgi' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.3&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_3=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 3 disable poe auto recovery",
       "x": 1100,
       "y": 312,
       "wires": [
           [
               "d647b976c328fdab"
           ],
           [
               "d647b976c328fdab"
           ],
           [
               "d647b976c328fdab"
           ]
       ]
   },
   {
       "id": "d647b976c328fdab",
       "type": "debug",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1220,
       "y": 312,
       "wires": []
   },
   {
       "id": "cc8d332812944d17",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 550,
       "y": 412,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "984295ff16d6e31b",
       "type": "delay",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 590,
       "y": 192,
       "wires": [
           [
               "9b95a2283e5bb8fc"
           ]
       ]
   },
   {
       "id": "2bce705d53f09dfd",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/poe_recovery_port_config.cgi' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.3&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_3=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 3 disable poe auto recovery",
       "x": 780,
       "y": 592,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "cce4a877ee812463",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 470,
       "y": 512,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "5a06062c6a959e3e",
       "type": "delay",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 410,
       "y": 592,
       "wires": [
           [
               "2bce705d53f09dfd"
           ]
       ]
   },
   {
       "id": "bbeb525524b8e5a4",
       "type": "delay",
       "z": "e5d2b2f4342cdb1c",
       "name": "",
       "pauseType": "delay",
       "timeout": "52",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 550,
       "y": 352,
       "wires": [
           [
               "d7672bb4332fcfaa"
           ]
       ]
   },
   {
       "id": "d7672bb4332fcfaa",
       "type": "exec",
       "z": "e5d2b2f4342cdb1c",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 750,
       "y": 392,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "749cfad08eafbc02",
       "type": "http in",
       "z": "4101d359deb68857",
       "name": "port 4 on",
       "url": "/port/4/on",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 360,
       "y": 180,
       "wires": [
           [
               "d322777aebf3aef1",
               "28b6a163b63889a7",
               "41a3f6712e800f59",
               "0b473d1dc2925cda"
           ]
       ]
   },
   {
       "id": "cb28f13aa8eb34f8",
       "type": "http response",
       "z": "4101d359deb68857",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 1140,
       "y": 180,
       "wires": []
   },
   {
       "id": "2b00e65103d4c4f7",
       "type": "http in",
       "z": "4101d359deb68857",
       "name": "port 4 status",
       "url": "/port/4/status",
       "method": "get",
       "upload": false,
       "swaggerDoc": "",
       "x": 390,
       "y": 680,
       "wires": [
           [
               "b00daec6a40917ca"
           ]
       ]
   },
   {
       "id": "8f48a8d67d86fcc0",
       "type": "http response",
       "z": "4101d359deb68857",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 840,
       "y": 680,
       "wires": []
   },
   {
       "id": "a3ba835f002f40ca",
       "type": "template",
       "z": "4101d359deb68857",
       "name": "",
       "field": "payload",
       "fieldType": "msg",
       "format": "handlebars",
       "syntax": "mustache",
       "template": "Template:Payload",
       "output": "str",
       "x": 680,
       "y": 680,
       "wires": [
           [
               "8f48a8d67d86fcc0"
           ]
       ]
   },
   {
       "id": "64cd123a7055bf4f",
       "type": "file",
       "z": "4101d359deb68857",
       "name": "",
       "filename": "port4",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 990,
       "y": 180,
       "wires": [
           [
               "cb28f13aa8eb34f8"
           ]
       ]
   },
   {
       "id": "01a0c39f71896fc1",
       "type": "change",
       "z": "4101d359deb68857",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "on",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 900,
       "y": 180,
       "wires": [
           [
               "64cd123a7055bf4f"
           ]
       ]
   },
   {
       "id": "b00daec6a40917ca",
       "type": "file in",
       "z": "4101d359deb68857",
       "name": "",
       "filename": "port4",
       "format": "utf8",
       "chunk": false,
       "sendError": false,
       "encoding": "none",
       "allProps": false,
       "x": 510,
       "y": 680,
       "wires": [
           [
               "a3ba835f002f40ca"
           ]
       ]
   },
   {
       "id": "43d10723c1616cf4",
       "type": "http in",
       "z": "4101d359deb68857",
       "name": "port 4 off",
       "url": "/port/4/off",
       "method": "post",
       "upload": false,
       "swaggerDoc": "",
       "x": 200,
       "y": 620,
       "wires": [
           [
               "9eef0559bc3a2c05",
               "d64f13456a60f6ec",
               "94fdf16a81f6aee4"
           ]
       ]
   },
   {
       "id": "a6e09f93d784a7ed",
       "type": "http response",
       "z": "4101d359deb68857",
       "name": "success",
       "statusCode": "200",
       "headers": {},
       "x": 820,
       "y": 620,
       "wires": []
   },
   {
       "id": "6ff8dbe9b4273fdb",
       "type": "file",
       "z": "4101d359deb68857",
       "name": "",
       "filename": "port4",
       "appendNewline": false,
       "createDir": false,
       "overwriteFile": "true",
       "encoding": "none",
       "x": 650,
       "y": 620,
       "wires": [
           [
               "a6e09f93d784a7ed"
           ]
       ]
   },
   {
       "id": "9eef0559bc3a2c05",
       "type": "change",
       "z": "4101d359deb68857",
       "name": "",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "off",
               "tot": "str"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 540,
       "y": 620,
       "wires": [
           [
               "6ff8dbe9b4273fdb"
           ]
       ]
   },
   {
       "id": "e764bf4c3850dbfb",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/poe_recovery_port_config.cgi' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.4&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=2&sel_4=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "10",
       "winHide": false,
       "oldrc": false,
       "name": "port 4 enable poe auto recovery",
       "x": 910,
       "y": 120,
       "wires": [
           [
               "0d01f77b7763d285"
           ],
           [
               "0d01f77b7763d285"
           ],
           [
               "0d01f77b7763d285"
           ]
       ]
   },
   {
       "id": "0d01f77b7763d285",
       "type": "debug",
       "z": "4101d359deb68857",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1110,
       "y": 120,
       "wires": []
   },
   {
       "id": "d322777aebf3aef1",
       "type": "delay",
       "z": "4101d359deb68857",
       "name": "",
       "pauseType": "delay",
       "timeout": "55",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 700,
       "y": 240,
       "wires": [
           [
               "4607a0e9608f3b0d",
               "01a0c39f71896fc1"
           ]
       ]
   },
   {
       "id": "4607a0e9608f3b0d",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.4&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_4=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 4 disable poe auto recovery",
       "x": 1070,
       "y": 240,
       "wires": [
           [
               "6f44190d6547bb0a"
           ],
           [
               "6f44190d6547bb0a"
           ],
           [
               "6f44190d6547bb0a"
           ]
       ]
   },
   {
       "id": "6f44190d6547bb0a",
       "type": "debug",
       "z": "4101d359deb68857",
       "name": "",
       "active": true,
       "tosidebar": true,
       "console": false,
       "tostatus": false,
       "complete": "false",
       "statusVal": "",
       "statusType": "auto",
       "x": 1190,
       "y": 240,
       "wires": []
   },
   {
       "id": "28b6a163b63889a7",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 520,
       "y": 340,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "41a3f6712e800f59",
       "type": "delay",
       "z": "4101d359deb68857",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 560,
       "y": 120,
       "wires": [
           [
               "e764bf4c3850dbfb"
           ]
       ]
   },
   {
       "id": "a9ee5dc611e0f4c3",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/poe_recovery_port_config.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/PoeRecoveryRpm.htm?refresh=false' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'name_pIp=192.168.10.4&name_pStartup=30&name_pInterval=10&name_pRetry=1&name_pBreak=3&name_pStatus=1&sel_4=1&applay=Apply'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "port 4 disable poe auto recovery",
       "x": 750,
       "y": 520,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "d64f13456a60f6ec",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 440,
       "y": 440,
       "wires": [
           [],
           [],
           []
       ]
   },
   {
       "id": "94fdf16a81f6aee4",
       "type": "delay",
       "z": "4101d359deb68857",
       "name": "",
       "pauseType": "delay",
       "timeout": "3",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 380,
       "y": 520,
       "wires": [
           [
               "a9ee5dc611e0f4c3"
           ]
       ]
   },
   {
       "id": "0b473d1dc2925cda",
       "type": "delay",
       "z": "4101d359deb68857",
       "name": "",
       "pauseType": "delay",
       "timeout": "52",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": false,
       "allowrate": false,
       "outputs": 1,
       "x": 520,
       "y": 280,
       "wires": [
           [
               "aaa51acb3e7b2a95"
           ]
       ]
   },
   {
       "id": "aaa51acb3e7b2a95",
       "type": "exec",
       "z": "4101d359deb68857",
       "command": "curl 'http://192.168.1.254/logon.cgi' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: http://192.168.1.254' -H 'Connection: keep-alive' -H 'Referer: http://192.168.1.254/' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'username=admin&password=rpiadmin&cpassword=&logon=Login'",
       "addpay": "",
       "append": "",
       "useSpawn": "false",
       "timer": "",
       "winHide": false,
       "oldrc": false,
       "name": "authentication",
       "x": 720,
       "y": 320,
       "wires": [
           [],
           [],
           []
       ]
   }

]