WeatherXM integration. Get free data (and forecast) from weather stations around the world

WeatherXM is a huge network of weather stations powered by community members (who then get rewarded by it).

You can see a full map of the entire network here: https://explorer.weatherxm.com/

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

This integration creates multiple sensor for all the devices you follow using your WeatherXM account.

Entities

For now*, this 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.

Finally, all entities are grouped into their own device:
imatge

* I say “for now”, because I’m thinking in some more sensors and features, like the hability to manage your follows directly from the integration.

How to use it

  • Create your weatherXM account via the weatherXM app.
  • With that same app, follow any station you want to grab data from. No need to own them!
  • Define custom alias to your stations if you want them have custom sensor names.
  • Install the integration
  • On HACS, search for WeatherXM and add the integration
  • When configuring it, define your WeatherXM account username and password. Chose if you want to only show your devices by selecting “Filter owned devices”.
  • Enjoy!

imatge

4 Likes

@elboletaire thanks for sharing.
For some reason, this didn’t come up when I was searching for a WeatherXM integration recently, and I’ve just found it when I was looking to add logos into the brands repo for my own integration which I’ve been working on for the past couple of weeks.

The two integrations appear to have similar functionality. It seems unnecessary to maintain both, so I’m wondering how you feel about merging the two integrations?
I’m happy to either incorporate additional features into my integration or help submit some pull requests to yours.

I’ve also just found this recently created integration as well: Weatherxm.com Integration
Although that seems much less feature complete.

Hi Benjamin, thank you for reaching out and for your interest in my integration! I’m glad to see there’s so much enthusiasm around WeatherXM and its potential in Home Assistant ^^

I’ve been working on my integration since June 2024, and it’s been well-received by the community (with over 50 downloads so far). Given that, I think it makes sense to continue developing and maintaining it. However, I completely agree that collaboration can improve the quality and features of any project.

Feel free to open any PRs you think could enhance the integration. I’m still fairly new to Home Assistant development, so there might be areas where my implementation could be refined or optimized. That said, we’ve taken somewhat different approaches in our work, so merging might require careful consideration to preserve compatibility and ensure we maintain the best of both versions.

I look forward to seeing what ideas you’d like to contribute and exploring how we can make this integration even better together!

Best regards!

Sounds good. Even though it’s a custom integration, I like to set my integrations up following the Home Assistant architecture by using a separate library for all external comms. So they are indeed quite a different structure.

I’ll take a more in-depth look at features on the Home Assistant side and open some pull requests for you to consider when I get a chance.

1 Like

Just installed the integration, is it scheduled to add the other data provided on the WeatherXM app?

Which integration did you try?
Is there any specific missing data you’d like to see entities for as a priority?

My integration provides all weather observation data, but currently no rewards data. I think Òscar’s provides less weather observation sensors but does include some of the rewards data.

My Christmas break is over now, but when I get a chance I’m planning to submit PRs to help build up the feature set of Òscar’s integration since he published his first.

In the meantime you may be able to pick one of the two that provides the most data you are interested in.