Weather Alert with OpenWeatherMap and SIGNL4

Get weather alerts on your mobile phone via push, SMS or voice call.

Weather Alerts

This flow gets weather information every morning and sends out an alert to your SIGNL4 on-call team.

For example you can send out weather alerts in case of freezing temperatures, snow, rain, hail storms, hot weather, etc. The flow also supports automatic alert resolution. So, for example if the temperature goes up again the alert is closed automatically in the app.

SIGNL4

User Cases

  • Dispatch snow removal teams
  • Inform car dealers to protect the cars outside in case of hail storms
  • Set sails if there are high winds
  • And much more ...

The Flow

The inject / timestamp node triggers in certain intervals during the morning hours. The OpenWeatherMap node then gets the weather information. The switch node checks for certain weather conditions, e.g. freezing temperatures. And then the SIGNL4 node sends out the alert

Flow

Can be adapted easily to other weather warnings, like rain, hail storm, etc.

[{"id":"7adcffc7.97ef","type":"tab","label":"Weather Alert","disabled":false,"info":"Get weather alerts on your mobile phone via push, SMS or voice call.\r\n\r\n## Weather Alerts\r\nThis flow gets weather information every morning and sends out an alert to your [SIGNL4](https://www.signl4.com) on-call team.\r\n\r\nFor example you can send out weather alerts in case of freezing temperatures, snow, rain, hail storms, hot weather, etc. The flow also supports automatic alert resolution. So, for example if the temperature goes up again the alert is closed automatically in the app.\r\n\r\n## User Cases\r\n- Dispatch snow removal teams\r\n- Inform car dealers to protect the cars outside in case of hail storms\r\n- Set sails if there are high winds\r\n- And much more ...\r\n\r\n## The Flow\r\nThe inject / timestamp node triggers in certain intervals during the morning hours. The OpenWeatherMap node then gets the weather information. The switch node checks for certain weather conditions, e.g. freezing temperatures. And then the SIGNL4 node sends out the alert\r\n\r\nCan be adapted easily to other weather warnings, like rain, hail storm, etc.\r\n"},{"id":"2183784b.3c3038","type":"inject","z":"7adcffc7.97ef","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"*/30 6-8 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":300,"wires":[["75194632.ac8548"]]},{"id":"75194632.ac8548","type":"openweathermap","z":"7adcffc7.97ef","name":"OpenWeatherMap","wtype":"current","lon":"","lat":"","city":"Berlin","country":"de","language":"en","x":370,"y":300,"wires":[["129f1776.e04c99"]]},{"id":"129f1776.e04c99","type":"switch","z":"7adcffc7.97ef","name":"Check Temperature","property":"payload.tempc","propertyType":"msg","rules":[{"t":"lt","v":"0","vt":"num"},{"t":"gte","v":"0","vt":"str"}],"checkall":"false","repair":false,"outputs":2,"x":590,"y":300,"wires":[["80b3bf8c.7a339"],["16662782.f1aec8"]]},{"id":"80b3bf8c.7a339","type":"SIGNL4","z":"7adcffc7.97ef","name":"SIGNL4 Alerting","teamSecret":"********","alertSubject":"Weather Alert","alertBody":"Freeze alert.","alertS4Service":"","alertS4Location":"52.5065133,13.1445545","alertS4AlertingScenario":"single_ack","alertS4Filtering":"false","alertS4ExternalID":"nore-red-weather","x":840,"y":260,"wires":[[]]},{"id":"16662782.f1aec8","type":"SIGNL4 Resolve","z":"7adcffc7.97ef","name":"SIGNL4 Resolve","teamSecret":"********","alertS4ExternalID":"nore-red-weather","x":850,"y":340,"wires":[[]]}]

Flow Info

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

Owner

Actions

Rate:

Node Types

Core
  • inject (x1)
  • switch (x1)
Other

Tags

  • weather
  • alert
  • freeze
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option