WeatherXM Home Assistant integration connects WeatherXM weather stations with Home Assistant, providing real-time weather data from around the world to your home automation system.
Note: A WeatherXM account is required, but owning a device is not necessary; you can get data of any followed device.
-
Add Custom Repository:
- Go to HACS in Home Assistant.
- Click on
Integrations
>top three dot menu
>Custom repositories
. - Add
https://github.com/elboletaire/ha-weatherxm
as Repository and selectIntegration
as the Category.
-
Install the Integration:
- Search for "WeatherXM" in HACS and install.
- Clone the Repository:
git clone https://github.com/elboletaire/ha-weatherxm.git
- Copy to Home Assistant: Copy the
custom_components/weatherxm
directory to your Home Assistantcustom_components
directory. - Restart Home Assistant: Restart Home Assistant to load the new integration.
- Go to the Home Assistant web interface.
- Navigate to
Configuration
>Integrations
. - Click on
Add Integration
and search for "WeatherXM". - Follow the on-screen instructions to configure the integration.
Note: A WeatherXM account is required, but owning a device is not necessary; you can follow any WeatherXM device and they will be populating your sensors.
Once configured, you can access WeatherXM data in your Home Assistant dashboard and use it in your automations.
The integration creates the following sensors:
weather.<alias>
, with all the weather and forecast information.sensor.<alias>_battery
, with the battery level of the device.sensor.<alias>_firmware
, with the firmware version of the device.sensor.<alias>_rewards
, with the rewards of the device (also has total_rewards as additional attribute).sensor.<alias>_total_rewards
, with the total rewards generated to date from that device.
<alias>
is the alias of the device defined via the WeatherXM app. If you have not defined an alias, the device ID will be used instead.
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
For support or feature requests, please open an issue on the GitHub repository.