barleybobs / homeassistant-ecowater-softener

A Homeassistant custom component to integrate Ecowater water softeners
https://github.com/barleybobs/homeassistant-ecowater-softener
MIT License
33 stars 10 forks source link

Status is unavailable #14

Closed jcarlson04 closed 2 years ago

jcarlson04 commented 2 years ago

Good afternoon!

I am having a problem with getting my entity to work. It keeps stating it is unavailable in the status. I can successfully log in to their website using the username/password. Any ideas?

image

jcarlson04 commented 2 years ago

The status is now online, but I can't access any settings. I only see what is shown below; what else am I missing?

image

barleybobs commented 2 years ago

The status is now online, but I can't access any settings. I only see what is shown below; what else am I missing?

All of the data is in the attributes of that sensor. Accessing these attributes is explained in #13. I hope this solves your issue.

If it does then if you could close it, that would be appreciated.

Thanks 👍

barleybobs commented 2 years ago

I saw your post in #13. Could you update the integration in HACS to v2.0.0 as ecowater changed their domain. v2.0.0 fixes this issue. If that fail to work couuld you check the log please @jcarlson04.

Thanks :+1:

jcarlson04 commented 2 years ago

Good morning,

In the log I am getting the below messages.

Error: local variable 'website_data' referenced before assignment 8:43:30 AM – (ERROR) Ecowater Softener (custom integration) - message first occurred at July 1, 2022 at 1:50:26 PM and shows up 183 times Error connecting to "www.wifi.ecowater.com": HTTPSConnectionPool(host='www.wifi.ecowater.com', port=443): Max retries exceeded with url: /Site/Login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f71aa0880>: Failed to establish a new connection: [Errno -2] Name does not resolve')) 8:43:30 AM – (ERROR) /usr/local/lib/python3.9/site-packages/ecowater_softener/ecowater.py - message first occurred at July 1, 2022 at 1:50:26 PM and shows up 183 times

barleybobs commented 2 years ago

Hey!

This error is fixed with v2.0.0. Could you please install this update through HACS and see if you still get the error.

Thanks 👍

jcarlson04 commented 2 years ago

That worked! Thank you! I see the entity now with all of the attributes.