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

Not working on a fresh install on HA 2021.1.4 #28

Open
wberrazeg opened this issue Jan 23, 2021 · 5 comments
Open

Not working on a fresh install on HA 2021.1.4 #28

wberrazeg opened this issue Jan 23, 2021 · 5 comments

Comments

@wberrazeg
Copy link

HA 2021.1.4 on a NAS (Docker), getting this error message

Logger: frontend.js.latest.202012291
Source: components/system_log/__init__.py:193 
First occurred: 1:00:41 PM (1 occurrences) 
Last logged: 1:00:41 PM

:0:0 Script error.
@benimotive
Copy link

Same on 2021.1.5.
Not reacting to commands

@dolohow
Copy link

dolohow commented Apr 8, 2021

Can't reproduce it. Can you attach your config?

@chris24walsh
Copy link

It's also not working for me, I'm on version 2021.3.4. I get errors like this in the logs:

2021-04-13 08:11:41 WARNING (SyncWorker_0) [custom_components.miio2.vacuum] Got exception while fetching the state: Unable to discover the device 192.168.68.157
2021-04-13 08:11:43 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration xiaomi_miio: cannot import name 'GatewayException' from 'miio.gateway' (/usr/local/lib/python3.8/site-packages/miio/gateway/__init__.py)

My configuration.yaml looks like this:

vacuum:
  - platform: miio2
    host: 192.168.68.157
    token: <token>
    name: VacuumMop

In the UI, the vacuum entity card shows as unavailable.

I've tried updating python-miio to 0.5.5.2 (latest) and even altering the vacuum.py code to use the ViomiVacuum module from miio, I get the same errors.
I tried using @dolohow repo instead of @nqkdev but still no joy :/ That's actually what gives me the Gateway error shown above.

@chris24walsh
Copy link

By the way, I have issues using miiocli to get the state too - it always times out. Looking at the debug output, seems the seq id's used are always the same, and seem to be dropped by the device. When I try to use the viomivacuum subcommand instead, it works - although its slow, has to retry a lot to find a new unused seq id.

JoaquinBeceiro added a commit to JoaquinBeceiro/home-assistant-vacuum-styj02ym that referenced this issue Apr 22, 2021
@JoaquinBeceiro
Copy link
Contributor

Solved on #36 .
New HA demands version on manifest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants