GetStatus - Denkovi - Web SNMP controlled 8 Relay Board v2

this flows can get status from board via api http request

[{"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:[email protected]/ioreg.js\nmsg.url = 'http://admin:[email protected]: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":[]}]

Flow Info

Created 10 years, 3 months ago
Updated 9 years, 4 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • function (x1)
  • http in (x1)
  • http request (x1)
  • http response (x1)

Tags

  • iot
  • /m2m
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option