MyQ error message

0.79.3

2018-10-03 15:07:51 ERROR (SyncWorker_5) [pymyq] MyQ - API Error[get_devices] 500 Server Error: Internal Server Error for url: https://myqexternal.myqdevice.com/api/v4/UserDeviceDetails/Get
2018-10-03 15:07:51 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 234, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/cover/__init__.py", line 231, in state
    if self.is_opening:
  File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/cover/myq.py", line 109, in is_opening
    return MYQ_TO_HASS[self._status] == STATE_OPENING
KeyError: False

Resurrecting this thread, its visible in 0.88.2, has the fix ever got pushed upstream?

Iā€™be started to get a lot of these. Any suggestions?

Wed Mar 06 2019 12:47:26 GMT-0700 (Mountain Standard Time)

12:47:26.002653 Error requesting from api/v4/UserDeviceDetails/Get; retrying: 500, message=ā€˜Internal Server Errorā€™

Has anyone elseā€™s MyQ stopped working? I can still trigger opening and closing via the MyQ app. Hereā€™s whatā€™s in my error log.

Tue Apr 30 2019 17:39:26 GMT-0400 (Eastern Daylight Time)
Error while setting up platform myq
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/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/local/lib/python3.7/site-packages/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)

Yes, same exact error logs. Just stopped about an hour ago (while I was adding somethingā€¦so I undid everything I added). Definitely MyQ issue. Readded everything and my new items work, but MyQ still does not.

i am now getting the same thing

Stopped working for me also. Similar errors. native app has a end of support notice. Asking to download new version.

Mine stopped working as well

Mine as well. Is there a new API that we just havenā€™t built a fix for or something like that?

Mine stopped working as well. Getting the following message.

ā€œError: Expecting value: line 1 column 1. You will need to restart hass after fixing.ā€

And there has been no change to my config which has been working for over a year

Same error here. 92.1

Similar issue here. Worked this morning, not working now.

Same issue here

Same here but had problems in previous version where I lost control of the door via a manual google assistant setup with cover. Hoping for a fix so updated but no joy. Probably a change in myq api. Feeling to make a dumb wifi relay switch to open a close chamberlains stupid charge to open my door in google assistant, intensifies lol

Ya. I slapped a shelly 1 on my door today and just incorporated that into a template with my wired alarm sensor for my door.

broke for me too

Yepp, used HA to open my MyQ garage cover about 15 hours ago. Now I get the above-mentioned error message and HA cannot control it. I did nothing with my setup in the mean time (during those 15 hours), so for once, Iā€™m pretty sure I am not to blame. :wink:

Same issue here

Itā€™s been fixed in 0.92.2. See discussion below for more info. Cheers!

https://community.home-assistant.io/t/solved-myq-cover-stoped-working-fixed-in-update-0-92-2/114154

1 Like

Confirmed. Working for me in 0.92.2