OpenWeatherMap
Hubitat Elevation includes a built-in OpenWeatherMap driver. This allows retriving currently reported weather conditions for your (or any) location for use in automations, display on a dashboard, etc. Additionally a device using the OpenWeatherMap driver on your hub will be used to feed data to the Weather Quick View capsule on the hub home page (a feature introduced in release 2.4.3.149). This gives you an easy, at-a-glance look at the current conditions.
To set up OpenWeatherMap, you'll need to create a virtual device and configure it with your location and a free API key. Here's how:
-
Get your OpenWeather API key:
- This driver requires a free API key from OpenWeather.
- You can sign in or create a new account to get your key here: https://home.openweathermap.org/users/sign_in
-
Add the virtual device:
- Navigate to the Devices page on your hub.
- Select the Add Device button.
- Select Add Virtual Device.
- Search and add OpenWeatherMap
-
Configure the device:
- On the "Add Virtual Device" page:
- Give it a Device Name (e.g., "My Weather").
- Select Save Device.
-
Configure location and API key:
- After saving, you will be on the device's detail page.
- Enter the API Key you got from OpenWeather in the "Update API Key" field.
- Select Refresh to activate the device.
That's it! Once the device is configured and has successfully fetched data from OpenWeather, the new Weather capsule will automatically be added to your Quick View capsules at the top of your hub home page (note that while there are other weather drivers, both built-in and third-party, only OpenWeatherMap can be used for this feature). Additionally, attributes/events from the device will be usable in automations and other apps, the same as any device.