Can you post screenshot of how you configured your weather station and integration?
Is this a screenshot from the add-on UI? Does it have the same UI as NGINX Proxy Manager?
LE: Sorry, didn’t notice that NGINX Proxy Manager is also available as and add-on.
It’s all working again. My issue was that I had SSL enabled in Home Assistant itself. Ecowitt doesn’t like this. Using the proxy manager in this way meant that the traffic from the ecowitt was still being sent via SSL (redirected by the proxy). Since the ecowitt integration cannot use SSL, this failed. What I ended up doing was disabling SSL entries on HA itself, pointing the ecowitt directly to port 8123 of HA and it started working. I still use Nginx Proxy to point to HA, but changed from https to http. I go to an SSL URL for HA in my browser/app that hits the proxy over SSL and then goes to HA via non-ssl. Is this the best method security-wise…maybe not. But since the proxy and HA are in my local network, the attack vectors are mitigated somewhat.
You did this to me! /teasing I used your video to set it up. lol I do not look forward to updating to the built in version but that’s the right path. Better to do it before the HACS version is deprecated. I may have even more sensors and automatons by then.
I wonder if people not realizing there are two versions has something to do with some not being able to set it up correctly in the first place. Seems setup is a bit different because of ports.
I don’t believe there was an “official” integration when I first set mine up more than a year ago (or longer). There wasn’t any reason to change it until it broke. Now I’m all good on the official integration.
Same here!
Thanks. Not only did it fix the integration I learned something new in the process!
Hello, I’ve done that, and it did not work.
When I try on my local network http://IP:8123 I dont have any answer.
I use duckdns for generating the certificate and I only managed to copy the certificate and import to NPM, so it was supposed to work, I dont know if there is any other easy way to do it…
I’ve been using the custom integration without any issue, now after the updated installed the new one, and I cannot get this working… Thanks!
Indeed that helped, but now I have “The device is disabled by Config entry.”, on the added integration…
I’ve deleted the old from HACS, I’ve removed the official, and added again, and it’s the same…
Any ideias?
Finally it’s working. I had 1 integration disable.
Thanks for the suggestion. Comment changed.
I read through all of this and I ended up finding out that the Ecowitt app on Android was arbitrarily failing the custom server setup. I had to use the gateway’s web interface to get the gateway to take the settings and start sending data to HA.
Just in case anyone else follows all of this and still can’t seem to get it working.
Additional details: No SSL on my HA, gateway is GW1100, Android 13, built-in integration with a brand new Ecowitt setup.
Did you accidentally unpin the comment? It’s not at the top.
Does anyone know if the built-in integration and the HACS integration can be installed/work simultaneously? I have two Ecowitt weather stations, both using the HACS integration and I am tempted to migrate one of them to the built-in integration just for testing, to see how it works before deciding what to do next.
The migration wasn’t too bad and in my opinion it’s necessary because who knows how long the HACS version will be supported. I was afraid I might lose prior data an mess up automations but that wasn’t an issue. All my entities had the exact same names except they were prepended. I just clicked each one and removed the text that the new integration adds. All records were intact and all automation worked except for one entity. For that entity(barometric pressure) I also had to change the unit of measurement.
Just a few notes that may help.
I used the setup url found on the HA support page for the official plug in after I deleted the old plug in.
https://my.home-assistant.io/redirect/config_flow_start?domain=ecowitt
There is some important info shown during setup. I copied that into a draft email so I could easily copy and paste it into the app later.
Server IP: ha.your-domain.org
Path: /api/webhook/random_web_hook_url
Port: 8123
Instead of the server ip that was shown I used a local IP address. The next tip may save you some headaches later.
Check that you can access Home Assistant without https.
Type the IP address and port into a web browser from a local computer on the same network as Home Assistant. If you don’t get a log in page or you aren’t presented with the dashboard the Ecowitt addon won’t work. Click the browser url and make sure it doesn’t show https:// at the beginning to make sure you didn’t get switched to https automatically. If you can’t access HA without using https the Ecowitt gateway can’t and it does not support https.
Bad. Is there no way to use ecowitt with homeassistant and https? I think most will have https…
I enabled https using traefik. I just set the ip of the HA server and port 8123 in the ecowitt device instead of what the integration told me, and now it’s working for me.
Maybe just give it a try?
That was my problem because I enabled https it in home Assistant. To get around that I enabled it in the “Cloudflared” addon instead. NOTE: “Cloudflare” and “Cloudflared” are entirely different addons with different purposes. You could instead use the nginx addon to handle https. This can leave local http access but only https access from the internet. “cloudflared” also gives the bonus of no open ports to the internet and nice features like filters. For instance I only allow access from within my country. A setting I could easily change if I were on vacation.
There is another way but it isn’t local only. A guy wrote a template for grabbing his own data from Ecowitt’s cloud api.