MYQ not working

No, sorry. I saw a picture of a lady saying, “OK Google, close the garage door.” And assumed it would go both ways! Definitely a bit strange that it only closes…

Perhaps an attempt at security. A tech savvy burglar can’t open the door.

Anyway, why’d you guys go cloud service anyway? Garage door stuff is easy to do without the cloud, it us diy home autonation 101.

Garage stopped functioning last night after midnight. So I am assuming that Chamberlain updated their api.
My Q Error from Log:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 216, in async_setup
hass, self
File “/usr/src/homeassistant/homeassistant/components/myq/init.py”, line 36, in async_setup_entry
myq = await pymyq.login(conf[CONF_USERNAME], conf[CONF_PASSWORD], websession)
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 167, in login
await api.authenticate(username, password)
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 124, in authenticate
await self.update_device_info()
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 140, in update_device_info
“get”, “Accounts/{0}/Devices”.format(self.account_id)
File “/usr/local/lib/python3.7/site-packages/pymyq/api.py”, line 83, 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)

Yeah, myQ garage went unavailable yesterday afternoon for me…
Checked and there is already an open issue for it:
https://github.com/home-assistant/core/issues/35257

… and it looks like they have already fixed it… so probably will be in next release:
https://github.com/arraylabs/pymyq/pull/35

Upgraded to 109.5 and same error message as in my earlier post.

Nothing has been merged yet; upstream pymyq needs to merge that PR first.

Cool Thanks for the update!

As over version 0.111 MyQ is showing unavailable.

Anyone interested in fixing it manually can follow this to fix the User-Agent that pymyq uses:

For those who want to wait for the update, looks like the fix will be applied to 0.111.1:

0.111.1 confirmed fixed MYQ. Great job guys it’s very appreciated from all of us that get the benefits of your hard work!!! :pray: :+1:

After not working for several days, the MyQ Integration worked again yesterday, but off again this morning,
The MyQ App on my Iphone works.

US West (CA), maybe there is a pattern indeed.

Reply to:

@djonk what region are you in? I’m just collecting regional info that might help us understand if there is a pattern. I am in US East and it’s the same (not working).

EDIT: Taking the conversation here: MYQ not working - #52 by EndUser - suggest others do as well.

Originally posted by @amaisano in MyQ fails with 403 forbidden error after recent cloud changes · Issue #99947 · home-assistant/core · GitHub

Still experiencing this issue unlike some of you above who have seen it resolved. Removed the integration and setting it up again allows me to login but doesn’t load any entities.


Logger: homeassistant.config_entries
Source: config_entries.py:951
First occurred: 1:23:52 PM (1 occurrences)
Last logged: 1:23:52 PM

Config entry '[[email protected]](mailto:[email protected])' for myq integration not ready yet: Error requesting data from https://accounts.myq-cloud.com/api/v6.0/accounts: 403 - Forbidden; Retrying in background
1 Like

FYI the “fix” (the one with the few lines you paste into the Advanced SSH Add-On) did not work for me. I will try again tonight and update this comment if it starts working.

Darn it. It looks like i chose the wrong discussion here. Not wrong, per-say, but there is another thread here that has more relevant comments.

See MYQ not working again - #259 by EndUser

It just started working for me also without any changes on my side.

I just tried this from here, and it works:

cd config
wget https://github.com/Lash-L/pymyq/archive/refs/heads/useragent_fix.zip
unzip useragent_fix.zip
mv pymyq-useragent_fix/pymyq .
rm -fr useragent_fix.zip pymyq-useragent_fix

not for me

I tried the rewriting the user-agent string in request.py and the code above; I can connect to MYQ but the actual gateway shows disconnected.

It works via the app.

Anyone else with the same result? I just updated core 2023.9.2

It stopped working again today.

Any news on this? Mine isn’t working, tried to remove integration and add again but it simply fails.
I tried the wget command to fix in terminal but it returns a 404 error itself.