Skip to content

Instantly share code, notes, and snippets.

@dmpop
Created December 22, 2015 09:27
Show Gist options
  • Save dmpop/47c04738a8695fa96ebd to your computer and use it in GitHub Desktop.
Save dmpop/47c04738a8695fa96ebd to your computer and use it in GitHub Desktop.
Weather Report flow for Node-RED
[{"id":"5b09f655.d78988","type":"openweathermap","z":"8312dc32.974a3","name":"","lon":"","lat":"","city":"Aarhus","country":"Denmark","x":363,"y":168,"wires":[["ffe6ef68.f37e"]]},{"id":"9f9af6b7.3f75e","type":"inject","z":"8312dc32.974a3","name":"Weather Today","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"00 10 * * *","once":false,"x":147,"y":118,"wires":[["5b09f655.d78988"]]},{"id":"71938e7e.a647a","type":"e-mail","z":"8312dc32.974a3","server":"smtp.foobar.com","port":"465","name":"[email protected]","dname":"","x":778,"y":294,"wires":[]},{"id":"ffe6ef68.f37e","type":"function","z":"8312dc32.974a3","name":"Process Weather Data","func":"msg.payload = \"Weather: \" + msg.payload.detail + \", Temperature: \" + msg.payload.tempc + \"°C\" + \" Wind Speed: \" + msg.payload.windspeed + \"m/s\"\nreturn msg;","outputs":1,"noerr":0,"x":562,"y":226,"wires":[["71938e7e.a647a"]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment