SHARE
TWEET

Zyxel7460 Monitor Node Red

a guest Aug 2nd, 2019 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"1d57a7e.4bf3f58","type":"tab","label":"Zyxel Monitor","disabled":false,"info":""},{"id":"9a6c8873.4ee528","type":"http request","z":"1d57a7e.4bf3f58","name":"zyxel","method":"POST","ret":"obj","paytoqs":false,"url":"https://192.168.7.1/cgi-bin/gui.cgi?_=0.5773941713384309","tls":"","proxy":"","authType":"","x":490,"y":40,"wires":[["93bc5f2d.29f94"]]},{"id":"dca985fc.346658","type":"inject","z":"1d57a7e.4bf3f58","name":"autologin","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":100,"y":40,"wires":[["1432f9e9.59a7c6"]]},{"id":"93bc5f2d.29f94","type":"debug","z":"1d57a7e.4bf3f58","name":"retour","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.set_system_user_login","targetType":"msg","x":610,"y":40,"wires":[]},{"id":"1432f9e9.59a7c6","type":"change","z":"1d57a7e.4bf3f58","name":"login json","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"action\":\"set_system_user_login\",\"args\":{\"name\":\"admin\",\"password\":\"password\"}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":240,"y":40,"wires":[["2d24bd81.8137f2"]]},{"id":"2d24bd81.8137f2","type":"change","z":"1d57a7e.4bf3f58","name":"!verify","rules":[{"t":"set","p":"rejectUnauthorized","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":40,"wires":[["9a6c8873.4ee528"]]},{"id":"7053f21c.9b10ec","type":"http request","z":"1d57a7e.4bf3f58","name":"zyxel","method":"POST","ret":"obj","paytoqs":false,"url":"https://192.168.7.1/cgi-bin/gui.cgi?_=0.5773941713384309","tls":"","proxy":"","authType":"","x":530,"y":100,"wires":[["6810eeab.9827b"]]},{"id":"4dc31e3c.b9a32","type":"inject","z":"1d57a7e.4bf3f58","name":"Manual logout","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":100,"wires":[["d90589f9.d3d1a8"]]},{"id":"6810eeab.9827b","type":"debug","z":"1d57a7e.4bf3f58","name":"retour","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.set_system_user_logout","targetType":"msg","x":650,"y":100,"wires":[]},{"id":"d90589f9.d3d1a8","type":"change","z":"1d57a7e.4bf3f58","name":"logout json","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"action\":\"set_system_user_logout\",\"args\":{}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":270,"y":100,"wires":[["f1540280.9126d"]]},{"id":"f1540280.9126d","type":"change","z":"1d57a7e.4bf3f58","name":"!verify","rules":[{"t":"set","p":"rejectUnauthorized","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":410,"y":100,"wires":[["7053f21c.9b10ec"]]},{"id":"bbaceeeb.85144","type":"http request","z":"1d57a7e.4bf3f58","name":"zyxel","method":"POST","ret":"obj","paytoqs":false,"url":"https://192.168.7.1/cgi-bin/gui.cgi?_=0.5773941713384309","tls":"","proxy":"","authType":"","x":510,"y":160,"wires":[["1c9580d4.b6539f"]]},{"id":"cb5a8b0e.5bbcc8","type":"change","z":"1d57a7e.4bf3f58","name":"!verify","rules":[{"t":"set","p":"rejectUnauthorized","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":160,"wires":[["bbaceeeb.85144"]]},{"id":"1efd8cdc.f8a553","type":"change","z":"1d57a7e.4bf3f58","name":"get wwan","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"action\":\"get_wwan_network_internet_status\",\"args\":{}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":240,"y":160,"wires":[["cb5a8b0e.5bbcc8"]]},{"id":"30f887cb.8edd08","type":"inject","z":"1d57a7e.4bf3f58","name":"Loop 1s","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":true,"onceDelay":"1","x":100,"y":160,"wires":[["1efd8cdc.f8a553"]]},{"id":"1c9580d4.b6539f","type":"change","z":"1d57a7e.4bf3f58","name":"extract","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.get_wwan_network_internet_status.lte","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":130,"y":220,"wires":[["9b8038ba.b8c5e8","2c1f44d5.69b58c","a2ad5fde.d306a","bf1f24b1.5b0528"]]},{"id":"9b8038ba.b8c5e8","type":"change","z":"1d57a7e.4bf3f58","name":"rsrp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.rsrp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":220,"wires":[["97b0afdf.48feb","22a1cce5.26b3d4"]]},{"id":"2c1f44d5.69b58c","type":"change","z":"1d57a7e.4bf3f58","name":"rsrq","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.rsrq","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":280,"wires":[["9e0480.b2f95b8","64f7540b.93699c"]]},{"id":"a2ad5fde.d306a","type":"change","z":"1d57a7e.4bf3f58","name":"snr","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.snr","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":270,"y":340,"wires":[["36aaf07b.d0566","dfc61db8.f2844"]]},{"id":"bf1f24b1.5b0528","type":"change","z":"1d57a7e.4bf3f58","name":"rssi","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.rssi","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":230,"y":400,"wires":[["2258603f.69a79","9240ac6.a87c55"]]},{"id":"97b0afdf.48feb","type":"ui_chart","z":"1d57a7e.4bf3f58","name":"","group":"5aa8f4b0.f4707c","order":1,"width":"0","height":"0","label":"rsrp","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":430,"y":220,"wires":[[]]},{"id":"9e0480.b2f95b8","type":"ui_chart","z":"1d57a7e.4bf3f58","name":"","group":"5aa8f4b0.f4707c","order":3,"width":"0","height":"0","label":"rsrq","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":410,"y":280,"wires":[[]]},{"id":"36aaf07b.d0566","type":"ui_chart","z":"1d57a7e.4bf3f58","name":"","group":"5aa8f4b0.f4707c","order":2,"width":0,"height":0,"label":"snr","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":390,"y":340,"wires":[[]]},{"id":"2258603f.69a79","type":"ui_chart","z":"1d57a7e.4bf3f58","name":"","group":"5aa8f4b0.f4707c","order":4,"width":0,"height":0,"label":"rssi","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":350,"y":400,"wires":[[]]},{"id":"64f7540b.93699c","type":"ui_gauge","z":"1d57a7e.4bf3f58","name":"","group":"bd927dd6.18f0e","order":3,"width":0,"height":0,"gtype":"gage","title":"rsrq","label":"units","format":"{{value}}","min":"-20","max":"5","colors":["#ff2600","#e6e600","#00f900"],"seg1":"","seg2":"","x":530,"y":340,"wires":[]},{"id":"dfc61db8.f2844","type":"ui_gauge","z":"1d57a7e.4bf3f58","name":"","group":"bd927dd6.18f0e","order":2,"width":0,"height":0,"gtype":"gage","title":"snr","label":"units","format":"{{value}}","min":"-10","max":"30","colors":["#ff2600","#e6e600","#00f900"],"seg1":"","seg2":"","x":510,"y":400,"wires":[]},{"id":"9240ac6.a87c55","type":"ui_gauge","z":"1d57a7e.4bf3f58","name":"","group":"bd927dd6.18f0e","order":4,"width":0,"height":0,"gtype":"gage","title":"rssi","label":"units","format":"{{value}}","min":"-100","max":"-50","colors":["#ff2600","#e6e600","#00f900"],"seg1":"","seg2":"","x":490,"y":460,"wires":[]},{"id":"22a1cce5.26b3d4","type":"ui_gauge","z":"1d57a7e.4bf3f58","name":"","group":"bd927dd6.18f0e","order":1,"width":0,"height":0,"gtype":"gage","title":"rsrp","label":"units","format":"{{value}}","min":"-120","max":"-80","colors":["#ff2600","#e6e600","#00f900"],"seg1":"","seg2":"","x":570,"y":280,"wires":[]},{"id":"5aa8f4b0.f4707c","type":"ui_group","z":"","name":"Historique","tab":"f866bc20.95933","order":2,"disp":true,"width":"6","collapse":false},{"id":"bd927dd6.18f0e","type":"ui_group","z":"","name":"Réception actuelle","tab":"f866bc20.95933","order":1,"disp":true,"width":"6","collapse":false},{"id":"f866bc20.95933","type":"ui_tab","z":"","name":"Zyxel Monitor","icon":"dashboard","disabled":false,"hidden":false}]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top