[SOLVED]Myq cover stoped working (fixed in update 0.92.2)

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)

3 Likes

Same issue here

Same here, I wonder if Chamberlain / liftmaster changed something. Not a happy camper here

Down here as well. It probably has a lot to do with their app updates. Hopefully @arraylabs will be able to take a look at it and update pymyq soon.

same. this seems to happen every couple months…it wil prolly come back in a few hours or tommorrow…

I have not had any issues with this integration since it was first made available. Hope it can be fixed

Mine went down around around just after 3pm EST as I was in the middle of using in testing via node red…

Same issue. Went down at same time.

That is the same time frame for me.

Digging around, it looks like they’ve rolled out their new API (v5), while pymyq is still on v4.

Thanks for digging! I am instead sitting here panicking and crying…your method seems to be more reliable.

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…

Make note to self: check forum before configs.

1 Like

Same here. Wish I checked the forums before pulling my hair out for 2 hours with the config.

1 Like

checking in to also report this issue. Have a liftmaster myq. I assume being this widespread someone will find a way to fix this soon. Hopefully!

Same issue here. Noticed it right after I updated from .91 to .92.

Same issue here…Any help?

My best guess is that we need to wait for the integration to be updated.

Chamberlain probably did it just to be jerks.

1 Like

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.