This morning when I asked Alexa to open the garage door, I got an acknowledgment but nothing happened. I figured it was an Amazon issue that would correct itself at some point. I tried later in the day and it didn't work so I logged into my hub and hit Open from the Devices page and nothing happened. When I tell Alexa to open the door or click open on the device page, an error is written to the log but don't understand what it means. I can open the garage door from the Key app so the issues appears to be with either Hubitat or the HE MyQ app. I haven't updated anything in many months so I'm flummoxed.
Can someone smarter than me look at the error message and offer suggestions as to what the issue might be? TIA.
Your MyQ App on HE is not able to log in (getting a 403 forbidden http error). It is possible that MyQ has changed something and broke the app. I think it is using an unofficial API so can break at any time without warning.
Forbidden aka you login credentials are not accepted. Maybe their authenticator is broken (rebooting), maybe you caused the id or pw to be wrong. "Token expired" is another form of the same. In other words, you login, successfully, and receive a token back. From then on, your token becomes the authentication. But, they expire. Need a new one...however that's done with this app.
I thought that was happenning only to me! It started yesterday at 2023-09-06 20:48:28 EDT and ended after rebooting (by removing and restoring power to) the 828LM Internet Gateway device at 2023-09-07 15:48:33, but AFAIK that could just be a coincidence of MYQ fixing their system.
Should your door openner have builtin internet, try turning its power off then back on.
Update: Removing then repowering the 828LM or door opener does not fix the problem, a code change is required, scroll down for the solution.
Just failed here again with no response and the 403 error in the log. Unplugging then repowering the MyQ 828LM gave an immediate fix. No idea what is going on,
Sorry about that. Try changing that code around line 1067-1070 to
headers: [
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0",
"Cookie": cookie
],
Not sure what the Oauth status of the app should be.
In a worst case scenario do a Hubitat Package manager REPAIR for the MyQLite app, then redo the changes.
I'm having garage door issues but seems to be a different issue than these posts(?). I don't see a 403 error anywhere.
Perfectly functioning: MyQ iphone app and in Hubitat> Devices, I can open/close the garage door.
NOT functioning: I have a Basic Rule that when I arrive home (Locative presence sensor), the garage door should open. It's not. Also have Basic Rule for when I leave, the garage door should close. It's not. (All other actions triggered by the Locative presence sensor are fine, so that doesn't appear to be the problem)
In Hubitat> Apps> MyQ Lite, it appears as though I'm logged in to MyQ, but if I tap 'Modify account' I'm asked for my username/password and I'm told that my uname/password is incorrect.
I have not made the 'Header' changes in the code as described above.
@MichaelB , thanks so much - I installed & configured the 2023 community version... I now have 2 instances of MyQ app. The first one is the new and the 2nd is brbeird. Should I be uninstalling the 2nd, or do they need eachother to function properly?
So I am a new Hubitat user, switching over from ST.
I have HPM installed and the 2023 MyQ app installed, but in the setup phase the login fails to authenticate. I logged out of the actual MyQ app and back in so I know my credentials are correct. Are others experiencing this or any suggestions?
I will say, my username for MyQ app is xxxx+myq@gmail.com (xxxx replaced with my normal gmail username, but I wouldn’t think that causes any issues since it does log in via their app fine)
There are two MyQ packages in HPM, be sure to select the 2023 Hubitat Community one:
Dominic is the author and has left the community and isn't being updated. When a breaking change occurred on the MyQ end, the fix had to be made to a branch/fork of the code... and has that 2023 Hubitat Community phrase.
Yes I installed the 2023 version. After install I used HPM to Match Up, and then Update. Still when I go to Apps, and +User to select MyQ Lite 3.2 my credentials do not log in successfully.
(Trying to figure out how to add screenshots and will if I can)