Everywhere you go, always take the weather with you… kinda. Anyway … ahm… it’s possible to show your local Weather Information in Apple Home without additional Hardware. All you need is a Raspberry Pi and Homebridge – Let’s go…
You should have Homebridge running already to follow the Setup. You can find a Guide how to Setup this here.
Requirements
OpenWeather API Access
- Raspberry Pi (3B or newer)*
- Micro SD Card*
- Working Homebridge Installation (See our Portainer + Homebridge Installation Guide)
- OpenWeather Account (free)
Register a free Account at OpenWeather (click here) – this will take only a Minute. Confirm your E-Mail and you’ll automatically receive an E-Mail containing your personal API Key.
Weather Plugin Installation
We’ll first login to our Homebridge Installation. From the top Menu, go to Plugins. Search for the Plugin “homebridge-openweathermap” from Author “@rpleum” and click on “INSTALL”.

Click on “SAVE” to create the displayed Config Lines in your Config File.

Now go to your Config File Menu and look for these Lines:
{
"accessory": "OpenWeatherMap-Humidity",
"name": "OpenWeatherMap-Humidity"
}
We’ll change these Lines now to two Blocks. The first Block will be for our Temperature, the second Block will be for the Humidity. To get the Information from OpenWeather, you’ll need the Geo coordinates of your Location. You can get these here (https://openweathermap.org/find). The Latitude Value is the first entry, the Longitude Value is the second. between the comma.
Example New York City:
Geo coords [40.7143, -74.006]
Now change the Block and customise the fields for “latitude”, “longitude” and “apiKey”. Please note to add a comma “,” between multiple Blocks. The last block never has a comma “,” at the end.
"accessories": [
{
"accessory": "OpenWeatherMap-Temperature",
"name": "Temperature",
"latitude": "YOUR_LOCATION_LATITUDE",
"longitude": "YOUR_LOCATION_LONGITUDE",
"apiKey": "YOUR_API_KEY"
},
{
"accessory": "OpenWeatherMap-Humidity",
"name": "Humidity",
"latitude": "YOUR_LOCATION_LATITUDE",
"longitude": "YOUR_LOCATION_LONGITUDE",
"apiKey": "YOUR_API_KEY"
}
],
Save and restart your Homebridge now. You should see “Retrieving Temperature and Humidity” in your Status Logs now, if the Plugin is working correct:
[2/18/2022, 11:40:11 AM] [Temperature] Initializing OpenWeatherMap-Temperature accessory...
[2/18/2022, 11:40:11 AM] [Humidity] Initializing OpenWeatherMap-Humidity accessory...
[2/18/2022, 11:40:12 AM] [Temperature] Retrieving temperature from OpenWeatherMap
[2/18/2022, 11:40:12 AM] [Humidity] Retrieving humidity from OpenWeatherMap
[2/18/2022, 11:40:12 AM] [Temperature] Temperature is: 11.32'C
[2/18/2022, 11:40:12 AM] [Humidity] Humidity is: 88%
You’ll find the Sensors now in the Accessories Tab and in your Home App.

*Amazon Affiliate Link