Please help… my myq cover was working briliantly, and then it just stopped…I have tried restarting HA but that did not work; I don’t know what to do. the error message is as follows:
Error while setting up platform myq
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/usr/src/app/homeassistant/components/myq/cover.py”, line 48, in async_setup_platform
myq = await login(username, password, brand, websession)
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 253, in login
await api.authenticate(username, password)
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 188, in authenticate
await self._get_security_token()
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 204, in _get_security_token
login_request=True,
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 113, in _request
return await resp.json(content_type=None)
File “/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py”, line 1036, in json
return loads(stripped.decode(encoding))
File “/usr/local/lib/python3.7/json/init.py”, line 348, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/local/lib/python3.7/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
For anyone curious, here’s the actual error. It’s not MyQ’s typical Error 500…
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/src/app/homeassistant/components/myq/cover.py", line 43, in async_setup_platform
myq = await login(username, password, brand, websession)
File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 291, in login
await api.authenticate(username, password)
File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 226, in authenticate
await self._get_security_token()
File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 242, in _get_security_token
login_request=True,
File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 151, in _request
return await resp.json(content_type=None)
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1036, in json
return loads(stripped.decode(encoding))
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Connection lost. Reconnecting…
Same here. Worked fine yesterday morning. Went to work and when I came home the garage door did not open. Command fails when calling manually. Same exact log entry as above. I did notice when I opened the MyQ app, the old one is no longer supported and they pointed me to a new one. Not sure if that makes a difference. I can still use the garage door via the app just fine. Hopefully, they get this fixed soon.