iot-camp-001-full-example

iot-camp-001-full-example

[{"id":"fb5a25ec.04a5d8","type":"netpie-out","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"cccc","targetGearName":"door001","x":379,"y":770,"wires":[]},{"id":"8e3659db.71c9a8","type":"netpie-out","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"cccc","targetGearName":"def","x":590,"y":80,"wires":[]},{"id":"505b4692.afa4b8","type":"netpie-out","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"cccc","targetGearName":"abc","x":590,"y":20,"wires":[]},{"id":"8d6d4f49.7292b","type":"debug","z":"e43f6dbf.1bc09","name":"","active":true,"console":"false","complete":"payload","x":530,"y":520,"wires":[]},{"id":"2391dba4.dc6e24","type":"http in","z":"e43f6dbf.1bc09","name":"","url":"/test","method":"get","swaggerDoc":"","x":140,"y":280,"wires":[["505b4692.afa4b8","8e3659db.71c9a8","18c54ac5.e73ab5"]]},{"id":"18c54ac5.e73ab5","type":"netpie-out","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"cccc","targetGearName":"plug001","x":600,"y":140,"wires":[]},{"id":"2ee2dad1.d11d26","type":"netpie-in","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"lab1/#","x":170,"y":80,"wires":[["505b4692.afa4b8","8e3659db.71c9a8","edd1cbbf.122e38","dbedf448.241208","8d6d4f49.7292b","bf8e3da.f4071c"]]},{"id":"edd1cbbf.122e38","type":"netpie-out","z":"e43f6dbf.1bc09","appId":"HelloNETPIE","appKey":"8FvId4QlaKadDe1","appSecret":"JXcGkxZjcFV3Y1GlGQsKJ2KTs","name":"","gearName":"cccc","targetGearName":"light001","x":600,"y":200,"wires":[]},{"id":"23d28b9b.dc2d74","type":"http request","z":"e43f6dbf.1bc09","name":"","method":"GET","ret":"txt","url":"http://www.espert.io/MySmartphone/send?key=5683828555251712&message={{{payload}}}","tls":"","x":290,"y":460,"wires":[[]]},{"id":"1e5744c0.e1a8bb","type":"inject","z":"e43f6dbf.1bc09","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":140,"y":380,"wires":[["23d28b9b.dc2d74"]]},{"id":"dbedf448.241208","type":"function","z":"e43f6dbf.1bc09","name":"","func":"msg.payload = parseFloat(msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":370,"y":320,"wires":[[]]},{"id":"c11b112f.3ee4f","type":"http request","z":"e43f6dbf.1bc09","name":"","method":"GET","ret":"txt","url":"http://www.espert.io/MySmartphone/send?key=5683828555251712&message=TOO_HOT","tls":"","x":530,"y":680,"wires":[[]]},{"id":"bf8e3da.f4071c","type":"file","z":"e43f6dbf.1bc09","name":"","filename":"/Users/Nat/out.txt","appendNewline":true,"createDir":false,"overwriteFile":"false","x":310,"y":600,"wires":[]}]
NAzT

Flow Info

created 1 year, 2 months ago

Node Types

Core
  • debug (x1)
  • file (x1)
  • function (x1)
  • http in (x1)
  • http request (x2)
  • inject (x1)
Other
  • netpie-in (x1)
  • netpie-out (x5)

Tags

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