Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No devices after adding successfully #66

Open
BloodSeaker opened this issue Jun 28, 2024 · 10 comments
Open

No devices after adding successfully #66

BloodSeaker opened this issue Jun 28, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@BloodSeaker
Copy link

BloodSeaker commented Jun 28, 2024

Hi

I just added my ecowater system using this plugin.
Adding it went fine and it said it was added successfully.
However it states 'no devices or entities' in the detail screen.
I checked the logs but it seems not easy to know what logs are for which p'ugin actually. I see a network unreachable but that is unrelated to the setup as it occurred before as well and is relating to dlna stuff. Don't see any other errors

Update, saw passing by 'sensor taking longer then 10 seconds'.
Any ideas on fixing, already pulled out power for a while to reset the ecowater appliance

@NickBottelare
Copy link

Hi Bloodseaker and all,

I have exactly the same issue since I had to re-install the integration, no devices or entities.

I observed that I get the success message even when I fill in the wrong password. So now I make sure the password I fill in is the one I use to login at wifi.ecowater.com, but still no devices/entities.

Anyone has a clue what's going wrong?

Cheers,

Nick

@barleybobs
Copy link
Owner

@BloodSeaker did you manage to get the device to add successfully?

@BloodSeaker
Copy link
Author

BloodSeaker commented Sep 18, 2024 via email

@barleybobs
Copy link
Owner

Have you updated to v3.4.1 and if the error is still occurring are there any issues in the log?

@BloodSeaker
Copy link
Author

BloodSeaker commented Sep 19, 2024 via email

@barleybobs
Copy link
Owner

Odd, it's hard to decipher why the issue is occurring. My device is working and there are no errors.

@barleybobs barleybobs added the bug Something isn't working label Sep 29, 2024
@srempfer
Copy link

srempfer commented Oct 3, 2024

I've the same issue with the version 4.1.0 running on HA 2024.10.0
Found the following error in the logs:

2024-10-03 16:16:03.096 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up ecowater_softener platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 369, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 628, in async_add_entities
    for entity in new_entities:
  File "/config/custom_components/ecowater_softener/sensor.py", line 162, in <genexpr>
    EcowaterSensor(coordinator, description, config['device_serial_number'])
  File "/config/custom_components/ecowater_softener/sensor.py", line 188, in __init__
    self._attr_native_value = getattr(self.coordinator.data, self.entity_description.key)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ecowater_softener/ecowater.py", line 62, in current_water_flow
    return self.get_property_value("current_water_flow_gpm") / 10
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Maybe that helps to find the root cause

@srempfer
Copy link

Update:
After some days I reloaded the integration and now it works. My guess is that the API was not yet ready to or not yet served the 'current_water_flow_gpm' property.

image

@andygatenby
Copy link

I installed the integration today, put in my user and password and it also told me I have no available devices to configure, yet I can attach using their android app and see data just fine. I loogged out of the android app and tried again thinking maybe they only allowed one login but it still didn't work. I'm using homeassistant green. I couldn't see anything in the logs. The only visible device or service is under the HACS device and it is an ecowater configuration update thing. Have no idea how to proceed.

@eg0170
Copy link

eg0170 commented Feb 21, 2025

See #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants