this flows can get status from board via api http request
-
-
Save aco7342/071ec99f89a19b63ac07 to your computer and use it in GitHub Desktop.
GetStatus - Denkovi - Web SNMP controlled 8 Relay Board v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"8021a855.7fde58","type":"http in","name":"SensorState","url":"/ioreq","method":"get","x":76,"y":37,"z":"9084dc85.6f7b2","wires":[["dbcc5742.2433a8"]]},{"id":"dbcc5742.2433a8","type":"function","name":"prepara params","func":"//http://admin:admin@172.16.100.2/ioreg.js\nmsg.url = 'http://admin:admin@187.75.228.95:10080/ioreg.js';\nconsole.log('req.url:' + msg.url );\nreturn msg;","outputs":1,"x":241,"y":37,"z":"9084dc85.6f7b2","wires":[["54907.fffab6f9","356f500a.ca90b"]]},{"id":"54907.fffab6f9","type":"http request","name":"","method":"GET","url":"","x":425,"y":39,"z":"9084dc85.6f7b2","wires":[["a22e1518.5dd1e8","356f500a.ca90b"]]},{"id":"a22e1518.5dd1e8","type":"http response","name":"","x":596,"y":43,"z":"9084dc85.6f7b2","wires":[]},{"id":"356f500a.ca90b","type":"debug","name":"","active":true,"console":"false","complete":"false","x":585,"y":92,"z":"9084dc85.6f7b2","wires":[]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment