The Things Network IFTTT Example (refactor)

This is the IFTTT Example found in the documentation for refactored version of The Things Network Node-RED Node.

Example

[{"id":"f2d6214.9aaa5e","type":"ttn","z":"9c80be64.f9b6c8","appId":"hello-world","accessKey":"your-key","region":"eu","name":"","x":153.5,"y":77,"wires":[["a10ae79b.61739","d7c924de.b02c"],["a10ae79b.61739"]]},{"id":"d7c924de.b02c","type":"function","z":"9c80be64.f9b6c8","name":"create request","func":"return {\n    payload: {\n        value1: msg.payload.led ? 'on' : 'off'\n    }\n};","outputs":1,"noerr":0,"x":316.5,"y":169,"wires":[["7a3ab7f4.d769b"]]},{"id":"7a3ab7f4.d769b","type":"http request","z":"9c80be64.f9b6c8","name":"","method":"POST","ret":"txt","url":"https://maker.ifttt.com/trigger/hello/with/key/your-key","tls":"","x":399.5,"y":241,"wires":[["11ab257b.51ee03"]]},{"id":"11ab257b.51ee03","type":"debug","z":"9c80be64.f9b6c8","name":"","active":true,"console":"false","complete":"payload","x":480.5,"y":308,"wires":[]},{"id":"a10ae79b.61739","type":"debug","z":"9c80be64.f9b6c8","name":"","active":true,"console":"false","complete":"payload","x":327.5,"y":77,"wires":[]}]

Flow Info

Created 8 years, 4 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x2)
  • function (x1)
  • http request (x1)
Other
  • ttn (x1)

Tags

  • ttn
  • the-things-network
  • lora
  • iot
  • ifttt
  • example
  • refactor
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option