Set up a weather alert from YR.no

Here's how to use the weather forecast app in Evolo to retrieve weather data from YR.no. The app can write temperature, precipitation, wind speed, and wind direction to data points in the system. It updates the data every hour.

Written By Evolo Support

Last updated 2 days ago

Here's how to do it

  1. Go to Settings and select Apps.

  2. Click Add Application.

  3. Enter a name, a description if desired, and select a gateway.

  4. Enter the latitude and longitude for the location.

  5. Enter the elevation above sea level.

  6. Enter your identification, such as your company name or other identifier, and an email address.

  7. Select how many hours in advance the weather forecast should be retrieved.

  8. Select which data points to use for temperature, precipitation, wind speed, and wind direction.

  9. If applicable, select valid hours.

  10. Select a data point for the timestamp.

  11. Click Create.

Fields you must fill in

  • Latitude and longitude are normally retrieved from the building’s address, if available.

  • Elevation is specified in meters above sea level.

  • Identification is required by YR’s API, and incorrect information may result in the gateway or IP address being blocked. The identification must include a company name or other identifier and a contact email address.

Select weather data

You can enter these values as data points:

  • temperature in °C

  • precipitation in mm

  • wind speed in m/s

  • wind direction in degrees

Important to know

The "Time Ahead" field determines which weather forecast is written to the data points.
If you select 6, you’ll get the weather forecast for six hours from now.
If you select 1, you’ll get the weather forecast for the current hour. The

gateway then automatically retrieves new weather data every hour and stores it in the selected data points.