WeatherFlow2MQTT for Home Assistant

I watched it yesterday. Very good video and thanks for the kind words :clap:t2:

FYI, the latest release now has a Zambretti forecaster.
It also estimates what Solar Radiation if no clouds are present based on station location.

There are some breaking changes in that Lat, Long, Min and Max all time Pressure. See github ReadMe for details.

The Solar Insolation (estimated Solar Radiation) will be used in a future release for calculating ā€˜localā€™ current conditions; specifically cloudy and partly cloudy.

Thanks for your work on this project. I set it up very quickly and it works great. Before I was relying on going out to the Weatherflow API over the internet, so any of my automations involving the Tempest would fail if the internet didnā€™t work, or they had an outage. This is so much better, especially given than reliable, powered LUX sensors seem far and few between

I did have a question, I noticed that I never had to create the Tempest weather station, it just showed up all on its own. Will it disappear all on its own if the Tempest is off?

My reason for asking is that I am using all of my Home Assistant devices in HomeKit, and all my automations are in Homekit. When I removed my old Tempest config (It came through HomeBridge) I watched all of my automations disappear in HomeKit

My concern is that one day the Tempest has an issue, or the AP it connects to has an issue, and it just disappears from Home Assistant, and then all my automations in HomeKit will just vanish

Thanks!

1 Like

Glad youā€™ve been enjoying it! The integration does not auto delete devices when they go offline. Youā€™ll just stop seeing updates until it comes back online. There is a section of code that removes old deprecated entities, but those will be announced in breaking changes when they happen.

1 Like

Thank you! That is perfect

One more question, I assume it does not impact anything if the device IP changes?

Correct. The Hub broadcasts the data using UDP, so we donā€™t use the IP address.

Thanks for all the great work with this integration. It works great, I just have one question. Some of the entities, like Temperature, keep attributes of max values. Is there any way I can add that to daily rain total? Itā€™d be nice to see monthly totals and all-time high records.

You can make your own sensors for now to do that. Rain is not currently in the SQL database, there is a possibility that those stats to go away within the integration in favor of using long term stats in HA. There are some things that an alternative will need to be figured out like pressure to get trend (which in turn is used for Zambretti) but getting rid of it would simplify thingsā€¦that being saidā€¦I have managed to complicate it by adding more sensors. It is possible that @bjarne does add rain to the SQL but as said the last thought was to remove that data in favor of long term stats within Home Assistant.

Does the Zambretti forecast account for the Southern Hemisphere?

Yes, Zambretti takes into account Southern Hemisphere. New environment variables are needed so read the ReadMe if using Docker. If using the add-on it should pull the info from HA or you can provide it.

Thanks Glenn, Iā€™m using the add-on.

I think earlier where I was discussing what happens when one went offline spoke it into existence! Last week my Tempest died and the new one comes today

Do I need to manually delete the devices/entities before turning the new one or will it figure itself out? As expected the entries did not delete themselves when the hub went offline, which is nice as it kept my automations in HomeKit

Sad the device died, but support from WeatherFlow as normally great, and you have already a new device under way.

If you look in the MQTT Integration, you will have two devices related to this Integration: One called HUB-xxxxxxxx and one called TEMPEST-xxxxxxxx. Attached to these two devices, are all the entities.
When you attach your new Tempest device, this has another serial number so you will get a new device called TEMPEST-yyyyyyyyy and all new entities including the samme serial number. To delete the old sensors, just delete the TEMPEST-xxxxxxxx device and all sensors will be auto deleted.

1 Like

Fantastic, thatā€™s easy!

1 Like

Thanks, worked just like you said! Iā€™m back in business. Really a fan of how this functions

1 Like

Iā€™ve noticed something with the ā€œRain Stateā€ sensor in Home Assistant - on very windy days it registers the gusts as rain on the Home Assistant integration, but in the normal Tempest interface, it seems to correctly not attribute the gusts as rain. Am I using the wrong sensor or is this something that needs tweaking? Screen shots for clarification:

Home Assistant Rain Rate sensor showing itā€™s raining around noon on 24 Sep
Rain State 1

Wouldnā€™t let me post multiple attachmentsā€¦

Here is the Tempest interface - showing no rain during that same period:

Last one:

Tempest interface showing it was very windy during that time:

That is ā€˜normalā€™. If not securely mounted you can get false rain readings. The reason the app does not report is that it goes though the WeatherFlow servers to compare with stations near you to see if it is actual rain or not. This integration uses local only (except forecast) so there is no filtering of false rain.