Skip to content

Instantly share code, notes, and snippets.

@glennlopez
Created February 4, 2017 01:55
Show Gist options
  • Save glennlopez/cd1002d77d97326c8cbecf03bdf97fb5 to your computer and use it in GitHub Desktop.
Save glennlopez/cd1002d77d97326c8cbecf03bdf97fb5 to your computer and use it in GitHub Desktop.
Node-RED: Twitter to LED/GPIO
[{"id":"510535b.362dfcc","type":"twitter in","z":"7e0c8120.747af","twitter":"","tags":"#led_on","user":"false","name":"Turn on LED","topic":"tweets","inputs":1,"x":210,"y":240,"wires":[["321abbf.2756544","e276dc38.61ca8"]]},{"id":"321abbf.2756544","type":"debug","z":"7e0c8120.747af","name":"","active":true,"console":"false","complete":"payload","x":430,"y":200,"wires":[]},{"id":"94e3eba9.439568","type":"rpi-gpio out","z":"7e0c8120.747af","name":"GPIO_24","pin":"18","set":"","level":"0","out":"out","x":620,"y":240,"wires":[]},{"id":"e276dc38.61ca8","type":"trigger","z":"7e0c8120.747af","op1":"1","op2":"","op1type":"str","op2type":"nul","duration":"250","extend":false,"units":"ms","reset":"","name":"","x":440,"y":240,"wires":[["94e3eba9.439568"]]},{"id":"69c10cd7.373124","type":"twitter in","z":"7e0c8120.747af","twitter":"","tags":"#led_off","user":"false","name":"Turn off LED","topic":"tweets","inputs":1,"x":210,"y":360,"wires":[["5490063a.910e58","8cdab111.93f54"]]},{"id":"5490063a.910e58","type":"debug","z":"7e0c8120.747af","name":"","active":true,"console":"false","complete":"payload","x":430,"y":320,"wires":[]},{"id":"783abf46.b24a7","type":"rpi-gpio out","z":"7e0c8120.747af","name":"GPIO_24","pin":"18","set":"","level":"0","out":"out","x":620,"y":360,"wires":[]},{"id":"8cdab111.93f54","type":"trigger","z":"7e0c8120.747af","op1":"0","op2":"","op1type":"str","op2type":"nul","duration":"250","extend":false,"units":"ms","reset":"","name":"","x":440,"y":360,"wires":[["783abf46.b24a7"]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment