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.
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.
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?
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?
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.