Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: bridge server failed to login to MyQ: Unauthorized #50

Open
briandmiller opened this issue Oct 27, 2023 · 21 comments
Open

error: bridge server failed to login to MyQ: Unauthorized #50

briandmiller opened this issue Oct 27, 2023 · 21 comments

Comments

@briandmiller
Copy link

Been getting this error today after having things working quite well with lan bridge on rPi. Do you believe that this could be the issue that you reported yesterday with MyQ server that you are working on or should I pursue something further on my end.
Thanks for the great work on this.

@trippcat
Copy link

It definitely looks like there are authorization issues again... This was solved a few weeks back, but another windows update and a reboot, and now the authentication issues are back. I wonder if MyQ reverted their code or made additional changes.... Here are my logs... After failing credentials, I get 401 errors until 429 errors start occuring as the 401 errors start flooding the API...
2023-10-29 10:36:02 10/29/2023, 2:36:02 PM | SmartThings MyQ Bridge server: Version: 1.0.6
2023-10-29 10:36:02 10/29/2023, 2:36:02 PM | HTTP server listening on port 8090
2023-10-29 10:36:02 10/29/2023, 2:36:02 PM | Auto-discovery module listening for SmartThings hub requests
2023-10-29 10:36:06 10/29/2023, 2:36:06 PM | Got new username/password from hub.
2023-10-29 10:36:08 myQ API error: Invalid myQ credentials given: Check your username and password. If they are correct, the myQ API may be experiencing temporary issues.
2023-10-29 10:36:08 10/29/2023, 2:36:08 PM | MyQ login failed: 401
2023-10-29 10:36:08 10/29/2023, 2:36:08 PM | MyQ login failed: 401

@samuelskwong
Copy link

Back to this error as well after a restart.. Bummer..

Multiples 401 for 3 mins (60 secs apart) and got a 429 login failed

@Gatewayclipper
Copy link

Gatewayclipper commented Oct 31, 2023

Ditto here. Seems it won't login after a recent restart ...

I have the exact same trail as reported by trippcat above 2 days ago.

@jaas666
Copy link

jaas666 commented Nov 1, 2023

The API changed on their side. Well, technically they are using Cloudflare bot protection in front of their API logon. They are purposefully making it harder for us to use the API. Gotta love corporate greed.

@OneOfOneGH
Copy link

how is it 'corporate greed' when they are charging nothing for the service? that just a typical stupid comment about business with zero credibility

@slynnmurphy
Copy link

Mine has worked perfectly since I upgraded to 1.0.6 in Docker. But, I'm signed-up with multiple myQ partners. I wonder if my being signed up for the others is allowing the MyQ Edge connection to work as well. I have the Amazon Key, IFTTT and Ring integrations enabled in MyQ. I get a notification from Amazon when the door opens and closes (but it isn't actually enabled for Amazon to open and close my door as they don't support it in my area). The others have the connection enabled to MyQ, but I don't use them for anything. I can open and close the door from the Ring app, but I can also use the MyQ app for that so not sure the purpose of the Ring integration. Well, it looks Ring can integrate with Amazon Key Delivery, but why not just use the AmazonKey->MyQ integration. And it doesn't look like Ring or Amazon Key exposes the connected MyQ device to SmartThings. IFTTT only lets me close the door,

So, it looks like I have multiple "Works With MyQ" integrations that I have no use for, but the one that I use (MyQ Edge/SmartThings) is probably going to stop working soon (unless the other connections being enabled is really allowing it to work).

@Gatewayclipper
Copy link

I think you should count on it to stop working soon. I have all of those same apps integrated, and mine stopped following a reboot.

@lukectracy
Copy link

What are folks thinking about doing in light of this? I've found this integration valuable. I ride a motorcycle and do have a place for garage door opener on my bike, so I have smartthings open the garage door for me when my phone comes within range of the house. It also closes it for me when I leave. Sounds like this beloved integration is essentially dead thanks to chamberlain. :(

Looking for ideas.

@jaas666
Copy link

jaas666 commented Nov 2, 2023

What are folks thinking about doing in light of this? I've found this integration valuable. I ride a motorcycle and do have a place for garage door opener on my bike, so I have smartthings open the garage door for me when my phone comes within range of the house. It also closes it for me when I leave. Sounds like this beloved integration is essentially dead thanks to chamberlain. :(

Looking for ideas.

Some developers are trying to find a way around it but as long as MyQ won't cooperate this will be a giant cat and mouse game. There are other devices that work with Smartthings. You don't even have to remove the MyQ device if you don't want to. Most of these devices are fancy relays hooked to the wall opener wires which would work for your use.

@TTVert
Copy link

TTVert commented Nov 3, 2023

What are folks thinking about doing in light of this? I've found this integration valuable. I ride a motorcycle and do have a place for garage door opener on my bike, so I have smartthings open the garage door for me when my phone comes within range of the house. It also closes it for me when I leave. Sounds like this beloved integration is essentially dead thanks to chamberlain. :(

Looking for ideas.

Take an old garage door opener and wire a switch to it. Mount garage door opener near battery somewhere and the switch in an accessible place. I 3D printed a mount to attach to my frame on left side where i can press the button and it basically emulated pressing the garage door opener button.

@trippcat
Copy link

trippcat commented Nov 3, 2023

What are folks thinking about doing in light of this? I've found this integration valuable. I ride a motorcycle and do have a place for garage door opener on my bike, so I have smartthings open the garage door for me when my phone comes within range of the house. It also closes it for me when I leave. Sounds like this beloved integration is essentially dead thanks to chamberlain. :(

Looking for ideas.

In researching this issue, I stumbled across RATGDO devices (~$40 each)... It connects to your garage door opener and gives you local access to all the info you want from your door (along with control)... I'm not finding SmartThings integration for it yet, but it seems very straight forward using MQTT for a pub/sub interface... @brbeaird - I'm open to buying you a device if you are up to building the smartthings integration :-)

@jsalh
Copy link

jsalh commented Nov 3, 2023

There's also this gizzmo .. it does support ST .. was thinking of playing around with it (was looking to automate my "regular" blinds and found this button thing on their site as well.

https://ca.switch-bot.com/products/switchbot-bot

@Gatewayclipper
Copy link

Gatewayclipper commented Nov 3, 2023 via email

@TTVert
Copy link

TTVert commented Nov 3, 2023

Same here, i'll wait it out and hope for the best right now.

@johnlinehan
Copy link

This integration is/was great but I don’t understand why Chamberlain can’t just embrace this and even offer it themselves. They’d be better off embracing it so they can control it.

@TTVert
Copy link

TTVert commented Nov 6, 2023

This integration is/was great but I don’t understand why Chamberlain can’t just embrace this and even offer it themselves. They’d be better off embracing it so they can control it.

Unfortunately due to the litigation happy people of the world IMO. That's why they would allow IFTTT to close but not open the doors. They don't want to get sued for illegal entry.

@trippcat
Copy link

trippcat commented Nov 6, 2023

This integration is/was great but I don’t understand why Chamberlain can’t just embrace this and even offer it themselves. They’d be better off embracing it so they can control it.

Unfortunately due to the litigation happy people of the world IMO. That's why they would allow IFTTT to close but not open the doors. They don't want to get sued for illegal entry.

My guess is now folks will need to setup work-arounds (for example a remote relay to activate the door)... This won't activate the warning siren or flashing lights prior to closing. By not allowing access to the API's isn't MyQ making their systems more un-safe?

@briandmiller
Copy link
Author

I consider myself fortunate to have had use of SmartThings-MyQ-Edge for the few weeks that I did before it was taken away from us. What a brilliant piece of work.

My first effort was to order the Meross from Amazon for $30. I submitted the form on their website to request their device to connect to my yellow button Chamberlain and received it in less than a week. Installation and setup was pretty easy. Easily connected it to Alexa for voice control. No pin needed. Opener beeps a warning when closing and no delay which is fine. There may be a setting to adjust delay. Also connected to SmartThings. I can control it with a SmartThings button that I use for locking and unlocking the deadbolt on the man door. Still haven't figured out how to control the garage door as a result of my leaving or returning so jury still out on that. If anyone has any suggestions I'd love to hear about them.

My brother uses the GoTailWind controller and has it open and close when he arrives and leaves. He does that without SmartThings or any other hub.

@jaas666
Copy link

jaas666 commented Nov 7, 2023

I consider myself fortunate to have had use of SmartThings-MyQ-Edge for the few weeks that I did before it was taken away from us. What a brilliant piece of work.

My first effort was to order the Meross from Amazon for $30. I submitted the form on their website to request their device to connect to my yellow button Chamberlain and received it in less than a week. Installation and setup was pretty easy. Easily connected it to Alexa for voice control. No pin needed. Opener beeps a warning when closing and no delay which is fine. There may be a setting to adjust delay. Also connected to SmartThings. I can control it with a SmartThings button that I use for locking and unlocking the deadbolt on the man door. Still haven't figured out how to control the garage door as a result of my leaving or returning so jury still out on that. If anyone has any suggestions I'd love to hear about them.

My brother uses the GoTailWind controller and has it open and close when he arrives and leaves. He does that without SmartThings or any other hub.

This works if you use Android Auto.

On the Smartthings app go to Menu (bottom right), select Android Auto and at the bottom select "run routine when arriving". If you are connected to Android Auto while arriving that routine will be triggered.

Be warned that for me it triggers when aim still 2 streets away from home and I haven't found a way to change that trigger radius, but it works.

Same with the leaving one.. it won't trigger as soon as you leave the house.

@brbeaird
Copy link
Owner

brbeaird commented Nov 8, 2023

I am sorry to say this is officially dead, at least for the time being. The API changes by MyQ are dramatic and are not possible to overcome at this point. I suggest looking at alternatives like Meross. I also have a Ratgdo device on order - once I get my hands on it, I may see if I can get that integrated with SmartThings as a replacement.

More details here - https://www.theverge.com/23949612/chamberlain-myq-smart-garage-door-controller-homebridge-integrations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests