ECOWITT Weatherstation integration for Home Assistant

Hi all,
I’ve been looking into migrating my Ecowitt integration (HACS) to the official one to get rid of the warnings which will become breaking changes soon. Unfortunately it seems that the HACS version is not maintained anymore.
I just have a few doubts before doing the migration.

  1. Are all sensors from the Wittboy (WS90) supported? I also have soil sensors (WH51) and internal sensors (WH31), plus an air quality sensor (WH45): they all worked out of the box with the HACS integration.
  2. The station is in the same network as the home assistant server. From what I understand this shouldn’t be an issue when migrating to the official integration which uses webhooks, as it should still be able to reach the home assistant instance on whatever port it needs. I have homeassistant running on docker so all ports should be reachable. Am I wrong?
  3. Is there a way to migrate without losing all history up to now by matching the newly created entities to the old ones? Do I need to manually rename all entities to match the old names once I install the new integration?

Thanks!

1 Like

Just wanted to say thanks - lifesaver - this works perfectly and brilliant suggestion - nicely done. Added benefit I should now be able to feed the data off to non-ha containers on other machines like Influx/Grafana.

All sensors on the WS90 work for me on the official integration. As does the lightening sensor - so I suspect pretty much anything the WS2000 gateway creates gets correctly interpreted and instantiated in HA.
I run HA in a docker container. Just fired up the official integration, let it create a webhook (and wrote that bit down), and ignored the host and port it suggested as I run my HA with https enabled locally and also (obviously) with Nabu Casa.
Then with NodeRed used the flow given earlier in this thread Post 288 to create an http port with just a path of ‘/ecowitt’ on the nodered container and pointed the ecowitt at that. Then pointed the https node from the nodered flow at the local https address for Ha with the appropriate webhook. All works perfectly.
Not sure on the migration point - but I suspect that won’t work nicely without a lot of wrangling in HA - but I may be wrong on that.

I ended up correcting all the deprecation issues by myself in the code.
I find this easier than having to migrate to a new integration with the risk of having to connfigure the entities from scratch.
For the moment I’ll continue doing that. If I have time maybe I’ll fork the ecowitt repo, use that in HACS and continue manually fixing the code whenever something new breaks down.

2 Likes

Is this integration still being maintained?

There is a code that someone kindly provided in November for the maintainer to be merged to add support for rain detection but despite several requests, none of the devs bothered to even reply. @pvizeli - would you mind responding?

I had an issue after rebuilding my HA system with more meory and a bigger hard drive. NO Ecowitt data was being seen.
I waited for a few uypdates to HA Core and Supervisor and now everthering is working fune.
Not sure about who is maintaining as had no help from support but it works now.
Hope this helps.

Didn’t it switch from being an add-on to a full integration?

It did but it isn’t maintained either as it seems, the person in charge deosn’t even bother to reply. I find it baffling especially because someone did the work for him, all he needs to do is just merge it. But yea AI and other stuff gets more attention.

Really, this a simple change.

1 Like

Bump, anyone could be kind enough to do it?

It is coming in 2025.4.

I’ve noticed that the newer firmwares (console) have native MQTT support. If this doesn’t get updated in April I’ll look to build out my own MQTT based sensor set. Will share findings here if that happens.

The piezo rain sensor is coming in 2025.4.

And for your information, it is quite unreliable as some people noted before on Github. It picks up mist or fog as rain.

That’s good news. Any rain sensor can be susceptible to fog/mist/dew as it’s all moisture. I notice the latest FW for the WS90 specifically mentions improvements for that issue, so fingers crossed.

Look here for some early feedback on how the rain sensor works:

And the following few comments…

Did U managed it?

See my previous message. This is not possible so I ended up manually maintaining the ecowitt package to fix the deprecations

Has anybody gotten news on whether we can get the WittFlow WFC01 integrated into home assistant. Would be great if we can toggle the water flow via HA

1 Like

Try this:

1 Like

Mmm, not getting the integration installed! When I want to add the Ecowitt IoT integration and type my Ecowitt local IP I get the following error

See below the log details

Any ideas? Thanks!

Hi,

I am running a GW1200 with some soil sensors and the HA smart irrigation integration to get data how much and when to irrigate. The problem is that HA smart irrigation uses data from Open Weather Map History, which is incorrect for my location.

I saw on the Ecowitt weather map that there are 2 weather stations very near my home.
Is there a way I can “grab” there data (especially rain) and integrate it into HA? This would be awesome.

I searched but couldn’t find useful info (or I searched for the wrong thing…)

Any help to point me in the right direction is much appreciated!