Skip to content

Instantly share code, notes, and snippets.

@mokargas
Last active August 29, 2015 14:27
Show Gist options
  • Save mokargas/feb3c6ffacedf940c6f4 to your computer and use it in GitHub Desktop.
Save mokargas/feb3c6ffacedf940c6f4 to your computer and use it in GitHub Desktop.

You'll need your own WeatherUnderground API Key, and a PiLite (or any LED matrix/Screen) on Serial

[{"id":"1ef38d5a.e10c73","type":"serial-port","serialport":"/dev/ttyAMA0","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","newline":"\\n","bin":"false","out":"char","addchar":false},{"id":"b704de85.48fb2","type":"serial out","name":"PiLite LED Matrix","serial":"1ef38d5a.e10c73","x":729,"y":196,"z":"ebdce6bb.142318","wires":[]},{"id":"3e9eeed.fc16112","type":"debug","name":"","active":true,"console":"false","complete":"payload","x":486,"y":72,"z":"ebdce6bb.142318","wires":[]},{"id":"9df92786.6206d8","type":"wunderground in","name":"Poll WeatherUnderground API","lon":"","lat":"","city":"Melbourne","country":"Australia","x":179,"y":177,"z":"ebdce6bb.142318","wires":[["3e9eeed.fc16112","87a30496.785cf8"]]},{"id":"87a30496.785cf8","type":"function","name":"Filtering","func":"var payload = {payload: msg.payload.weather + \" - \" + msg.payload.tempc +\" C\"} ;\nreturn payload;","outputs":"1","noerr":0,"x":460,"y":268,"z":"ebdce6bb.142318","wires":[["b704de85.48fb2"]]}]```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment