OpenWeather
Last updated
Was this helpful?
Last updated
Was this helpful?
The OpenWeather integration allows you to fetch real-time weather data for your devices based on their approximate location. This data can be used to enhance your IoT applications with weather-based automation, monitoring, and analytics.
This feature is currently available only for Enterprise customers.
Device location sources by priority:
Location data from the device (Location datastream)
Location metadata
IP location
Press on your username at the top-right of the OpenWeather dashboard.
Select API keys.
Copy the provided API key for use in the integration.
Make sure your OpenWeather subscription is active.
Connect your Blynk Template datastreams with OpenWeather data.
Map each field to individual datastreams. The following fields are supported:
Sunrise Time — Unix, UTC. Example: 1645853361
For polar areas during midnight sun or polar night periods, this field may not be returned.
Sunset Time — Unix, UTC. Example: 1645891727
For polar areas during midnight sun or polar night periods, this field may not be returned.
Temperature — Units are defined by the datastream; defaults to °C if undefined.
Feels Like Temperature — Units are defined by the datastream; defaults to °C if undefined.
Atmospheric Pressure (hPa).
Humidity (%).
Dew Point Temperature — Units are defined by the datastream; defaults to °C if undefined.
UV Index.
Cloudiness (%).
Visibility — Units are defined by the datastream; defaults to meters if undefined.
Wind Speed — Units are defined by the datastream; defaults to m/s if undefined.
Wind Direction (degrees).
Wind Gust — Units are defined by the datastream; defaults to m/s if undefined.
Weather Type — e.g “Drizzle”.
Weather Description — e.g “Light intensity drizzle”.
JSON Payload — Retrieve all fields as a single JSON string to one datastream. Example:
Select the desired frequency for the data being pulled from OpenWeather to Blynk.
Ensure you’ve selected the correct units. If the units are incorrect or left empty, data will be sent in the default metric system.