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

No devices after adding successfully #66

Open BloodSeaker opened 3 months ago

BloodSeaker commented 3 months ago

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 commented 1 month ago

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 commented 2 weeks ago

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

BloodSeaker commented 2 weeks ago

No, unfortunately no sensors are added

On Tue, 17 Sept 2024, 20:37 barleybobs, @.***> wrote:

@BloodSeaker https://github.com/BloodSeaker did you manage to get the device to add successfully?

— Reply to this email directly, view it on GitHub https://github.com/barleybobs/homeassistant-ecowater-softener/issues/66#issuecomment-2356635742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPD6U2RI3EYHJ5LBP524W3ZXBZFRAVCNFSM6AAAAABKBRZSOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGYZTKNZUGI . You are receiving this because you were mentioned.Message ID: @.*** com>

barleybobs commented 2 weeks ago

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

BloodSeaker commented 2 weeks ago

I have everything running on latest version. I removed the device, took the plug out for several minutes, re-added it. It was then re-added without warnings but no sensors are showing up

On Wed, 18 Sept 2024, 22:15 barleybobs, @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/barleybobs/homeassistant-ecowater-softener/issues/66#issuecomment-2359325136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPD6UYQYC6EXV4V633AE23ZXHNNVAVCNFSM6AAAAABKBRZSOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGMZDKMJTGY . You are receiving this because you were mentioned.Message ID: @.*** com>

barleybobs commented 2 weeks ago

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

srempfer commented 23 hours ago

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