oh and I can’t even downgrade to 58.1, I get Could not find a version that satisfies the requirement aiohttp==2.3.2 (from homeassistant==0.58.1) from versions: 0.1 [...] 2.3.1, 2.3.2b2) when executing sudo pip install homeassistant==0.58.1
Argh.
Hope someone can help
I adjusted and used sudo pip3 install homeassistant==0.58.1 which completed successfully however the vacuum is still unavailable. Not sure if Xiaomi changed anything, so I’m off to perform a full backup of my iPhone and retrieve the token…
Gosh this is painful
It’s unlikely the app update would have this effect - checking my phone the app updated on the 5th, however 58.0 was still working for me until I updated hass on the 9th from 58.0. As far as I’m aware, the app serves no purpose within hass except to facitilitate the initial wifi connection of the device to the network (from my experience with the bulbs). From there the hass component is communicating the the device directly.
Hi @arnie580, check the link I posted just before your comment. It appears to be something on the Python side, which would potentially explain why downgrading doesn’t fix it. Doesn’t explain why it used to work and stopped with the 0.59 upgrade though…
I have had issues with Construct the last couple of releases or three. Now (with 63) I get this error:
Log Details (ERROR)
Sun Feb 11 2018 18:17:14 GMT+0100 (CET)
Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/asyncio/tasks.py”, line 180, in _step
result = coro.send(None)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 210, in coro
res = func(*args, **kw)
File “/usr/lib/python3.6/site-packages/homeassistant/components/vacuum/xiaomi_miio.py”, line 90, in async_setup_platform
from miio import Vacuum
File “/usr/lib/python3.6/site-packages/miio/init.py”, line 2, in
from miio.protocol import Message, Utils
File “/usr/lib/python3.6/site-packages/miio/protocol.py”, line 179, in
Const(0x2131, Int16ub),
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 1894, in init
super(Const, self).init(subcon)
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 291, in init
raise TypeError(“subcon should be a Construct field”)
TypeError: subcon should be a Construct field