Anyone else having issues with MYQ?

I gave up on MyQ a long time ago due to reliability issues. I tried attaching an ESP8266 to the garage opener, but quickly realized that the terminal wasn’t a simple on/off switch. The end result was hooking the ESP8266 with ESPHome up to a spare remote: it’s been over a year and I’ve had zero issues.

Complete instructions can be found here.

Is it just me, or is MyQ broken again? I’m getting the following in the logs:

2019-10-31 07:46:11 ERROR (MainThread) [homeassistant.components.cover] Error while setting up platform myq
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in_async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/src/homeassistant/homeassistant/components/myq/cover.py", line 53, in async_setup_platform
    myq = await login(username, password, websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 162, in login
    await api.authenticate(username, password)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 117, in authenticate
    login_request=True,
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 85, in request
    data = await resp.json(content_type=None)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1040, 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)

I get the same with 0.100.3 and 0.101.0.

Yes mine too!

I don’t believe the fix got into the 0.101.0 build, I think i saw something about it going into the 0.101.1 build. However in the meantime you may want to try the fix that worked for me posted by @bachya MYQ not working

Thanks! Every time I have a problem like this, I learn a little more about HA and Python. Changing the version in the manifest fixed it, and now I see 0.101.1 is out too.

My Q not working as of this morning @bachya

Yes, mine no longer works after updating to 109.4.

Also not working all of a sudden.

Mine too stopped working. Tried removing and re-adding, now integration throws up an unexpected error when giving it the username and password

Because it’s the API that broke. Nothing you do on your end, short of fixing the pymyq integration is going to do any good.

Same here. Glad I didn’t get too deep into my troubleshooting where I destroy everything else in my config :wink:

Damn, I am glad I scrolled down on this one. I was going through a ton watching it connect for about a min and then drop again each time I restarted HA.

Can second what you said! I just deleted and re-added my garage hub, now shows up as an exclamation mark and unexpected error. I was about to tear through my configs and see what the hell I messed up. Thank you! Guess we wait…or is there a workaround?

I updated to 0.109.6 and the issue is resolved. You can find more info in the below thread.

Is the MyQ API slow for everyone else? I recently installed this garage door opener and in my limited testing it is taking anywhere from 30 seconds to 55 seconds before the state changes from open to closed or closed to open. There is an intermediate state of opening and closing that it never has time to change to. I have automation to flash all my hue lights whenever the garage is open or closed so I know if someone is coming in. This garage door opener is so quiet, that I really need this. Our sensitive dog doesn’t even bark at the garage opening or closing.

If I use the MyQ app to open then the garage generally starts opening within a second or two but it takes HA over 30 seconds before the state is changed from closed to open. If I close from the MyQ app then there is about a 10 second delay along with loud beeps before the garage door actually starts closing. It then takes over 30 seconds (over 40 seconds from button push) before the state is updated in HA and that is a good 20 seconds or more after the garage door is actually closed.

If I use HA to open/close the garage the state almost immediately goes from closed -> opening -> open and vice versa. I’ve set my automation to trigger on the states (opening, open, closing, closed) so at worst there is a 50 second delay. I’m wondering if others have noticed the same performance difference. I should note that using the garage door remote control I see slightly better results at around 25 seconds vs using the MyQ app.

MyQ has always done this for me. In fact I’m pretty sure there are times HA just didn’t pick up on the opening or closing states and in the history it just goes from open to closed or closed to open with no intermediate step. I believe the integration polls the MyQ API and it doesn’t get status updates except when it asks. I could be wrong though.

2 Likes

This has been my experience as well. Status updates from MyQ to HA have been relatively slow.

Mine constantly bounces between the actual state and unavailable in HA.

Screen Shot 2020-05-14 at 10.07.14 AM

1 Like

I was about to post. Seems to be unreliable, it’s not ha devs fault though, it’s MyQ. Maybe I’ll just move to smart relays and contact sensors

It will probably start working again in a few days

It’s just a bad product overall. No official API as far as I am aware