#WakeDino Make a Dino move and roar to a tweet or email.

This flow makes the dino nod and roar when you receive an email or #wakedino is tweeted by anyone.

Use with a Maplin Connex Action Dino http://www.maplin.co.uk/p/connex-action-dino-electronic-kit-a28jt and Open Collector Driver (Thingatron), and mplayer and a roar.mp3 file.

[{"id":"793597e.f86ca68","type":"twitter in","z":"58745bd4.a78ba4","twitter":"","tags":"#wakedino,wakedino","user":"false","name":"","topic":"tweets","x":105,"y":354,"wires":[["3687da3c.c97826","cd0621b.f32f9e"]]},{"id":"cd0621b.f32f9e","type":"debug","z":"58745bd4.a78ba4","name":"","active":true,"console":"false","complete":"false","x":361.5,"y":341,"wires":[]},{"id":"223dc973.ddc236","type":"inject","z":"58745bd4.a78ba4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":178.5,"y":43,"wires":[["3687da3c.c97826"]]},{"id":"abd3a853.542c58","type":"rpi-gpio out","z":"58745bd4.a78ba4","name":"Dino","pin":"37","set":true,"level":"0","out":"out","x":604.5,"y":131,"wires":[]},{"id":"3687da3c.c97826","type":"change","z":"58745bd4.a78ba4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":320.5,"y":188,"wires":[["abd3a853.542c58","9ef83f2c.6107c","ed5ed17a.12a13"]]},{"id":"9ef83f2c.6107c","type":"delay","z":"58745bd4.a78ba4","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":336.5,"y":254,"wires":[["a2e0e6c9.5d1f18"]]},{"id":"a2e0e6c9.5d1f18","type":"change","z":"58745bd4.a78ba4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":519,"y":254,"wires":[["abd3a853.542c58"]]},{"id":"ed5ed17a.12a13","type":"exec","z":"58745bd4.a78ba4","command":"mplayer -really-quiet /home/pi/.node-red/roar.mp3","addpay":false,"append":"","useSpawn":"","name":"","x":525.5,"y":60.5,"wires":[[],[],[]]},{"id":"4035c126.bfca4","type":"e-mail in","z":"58745bd4.a78ba4","name":"","server":"mail.makertorium.com","port":"993","box":"INBOX","repeat":"30","x":81.5,"y":254,"wires":[["3687da3c.c97826","7b520e99.84adf"]]},{"id":"7b520e99.84adf","type":"debug","z":"58745bd4.a78ba4","name":"","active":true,"console":"false","complete":"false","x":131.5,"y":123,"wires":[]}]

Flow Info

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

Owner

Actions

Rate:

Node Types

Core
  • change (x2)
  • debug (x2)
  • delay (x1)
  • exec (x1)
  • inject (x1)
Other

Tags

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