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

MyQ Lite is no longer able to login to MyQ.com #70

Closed
phaldor8 opened this issue Oct 18, 2019 · 58 comments
Closed

MyQ Lite is no longer able to login to MyQ.com #70

phaldor8 opened this issue Oct 18, 2019 · 58 comments

Comments

@phaldor8
Copy link

I had everything setup and working through Smartthings>IFTTT>Google Assistant/Alexa, but today I went to open my front gate and it didn't work. In troubleshooting, I did notice an update to the MyQ SmartApp, so updated it, when I did that, my dummy sensor failed to keep the status of the gate as closed, now the door status is stuck in "unknown" or "opening." So I tried to recreate the device handler and device, but in the Classic SmartThings app the MyQ failed on login. It states that "The username or password you entered is incorrect. Go back and try again." Yet, the login works on both MyQ.com and myliftmaster.com.

@chriseverhart
Copy link

I have the same thing. I think chamberland just started pushing "myQ® Premium Services" free to download and will not open your garage door with verbal commands. I hope they didn't Fix the glitch.

@brbeaird
Copy link
Owner

Yes, MyQ made some changes today that effective broke our link the MyQ's v4 endpoint.

The good news is, it looks like the V5 endpoint is available, so I'm making changes right now to get it working again. Will push out an update hopefully later today.

@adrian97c
Copy link

adrian97c commented Oct 18, 2019 via email

@phaldor8
Copy link
Author

phaldor8 commented Oct 18, 2019 via email

@brbeaird
Copy link
Owner

I have a fixed version running on my end. Working out a few bugs, but I should have an update later tonight.

@phaldor8
Copy link
Author

phaldor8 commented Oct 18, 2019 via email

@phaldor8
Copy link
Author

phaldor8 commented Oct 18, 2019 via email

brbeaird added a commit that referenced this issue Oct 19, 2019
@brbeaird
Copy link
Owner

Version update is out. SmartApp and both door device handlers have been changed.

This is a VERY significant change and may still be a bit buggy, but it should work for most people. I'm sure we'll find stuff to fix over the next few weeks.

A couple important notes here:

  1. After you update the code, you will need to open the MyQ Lite SmartApp config in the SmartThings Classic mobile app and tap on "Modify Devices." Tap all the way through selecting your devices and hit save. This is a very important step as we need to update the door ID's with the new ID's in MyQ.
  2. Lamp module control is not currently working. I can't figure out what the new on/off command is, but hopefully someone will reverse-engineer for me at some point, and I'll update this code.

The biggest change behind the scenes is that with V5, MyQ has changed the door ID to be the door's serial number. I knew this day was coming, so with my previous update, I did my best to prepare the app to be able to automatically detect the change based on door name and simply update your existing devices. However, there's a chance the app ends up creating additional doors instead. If that happens, the easiest thing to do is to try and get your door names to match what they are in MyQ. If you still can't match them up, you may have better luck fully removing/re-setting up the SmartApp.

Let me know how it goes.

@adrian97c
Copy link

adrian97c commented Oct 19, 2019 via email

@jewalla
Copy link

jewalla commented Oct 19, 2019

Updated, works great. Thanks for all of your help!

@phaldor8
Copy link
Author

phaldor8 commented Oct 19, 2019 via email

@atlflyer
Copy link

What a nice world we live in. By the time I had noticed my garage door automations weren't working expected and I found my way here, there was already an issue posted and a comment from the author and Internet hero, brbeaird, that he was spending his time to fix it. Once the patch was out, it didn't work right away (my error, I'm sure). Posting my journey just in case it helps someone else.

I updated the code for the handlers and smartapp. I didn't have this project connected via github prior to today, so I don't know how out of date my previous version was. Following the step of "modify devices" gave me an error that the device already existed and that device still didn't work. Deleted the device, then went into the smart app and chose the "delete everything" (?don't quite remember for sure?) choice at the bottom. Then, went through the IDE for device handlers and smart app and deleted them there as well. Once that was all done, basically followed the steps in the readme to install the handlers and smart app from the github repository as if it were the first time. Added the smartapp from the my apps section, entered the login in credentials, and it all fell in to place from there. Of course, had to redo connecting that device to other smart apps, etc, since it had all been deleted.

Thanks, again, brbeaird. I saw your tip jar at the bottom of the readme. Going to donate and hope others who benefit do as well.

@phaldor8
Copy link
Author

phaldor8 commented Oct 19, 2019 via email

@kc6108
Copy link

kc6108 commented Oct 19, 2019

It’s still not working for me. I am noticing that when using the lock functionality the app doesn’t populate the garage door serial number during setup as it does when not selecting lock.

@richlawson
Copy link

Following the first instruction in #70 (comment) worked for me - thank you for fixing this so quickly!

@brbeaird
Copy link
Owner

brbeaird commented Oct 19, 2019 via email

@kc6108
Copy link

kc6108 commented Oct 19, 2019

We don’t use Alexa. The lock functionality is the only way to ensure no one can open our garage door using Google/Nest devices.

@brbeaird
Copy link
Owner

brbeaird commented Oct 20, 2019 via email

@kc6108
Copy link

kc6108 commented Oct 20, 2019

It’s working. Thanks!

@chriseverhart
Copy link

I don't know if I'm screwing up or if my door is being difficult. I'm getting a "Gateway Brand: null" under my username and "Missing MyQ ID" under the connected devices. I'm also getting a notification that DoorDevice 3.1.0 is available and I have no idea how to update that.

@chriseverhart
Copy link

AND I feel dumb. update the device handlers Chris. I had to install All the parts

@fkenisky
Copy link

I get these emails all the time. I started getting them when I installed the MyQ garage door opening system. That's fine, I think what I'm seeing here is pretty interesting however, I've not yet had a problem with the code I downloaded about a year ore so ago. It's worked fine for me.

I'm not exactly sure maybe because I don't have the problem, what all this is about and weather or not I need to do an upgrade, my feeling is that I shouldn't if it's working and I don't want to screw up anything as long as it is working.

So if someone could easily explain what is going on with the code, what problems did it cause and if the system can be updated automatically via one of the smart system (i.e. Alexa) that I've got it running on?

When I see posts here about the update I'm assuming since there is no other explanation that the update is a manual update that has to be performed on all smart home systems. (i.e. Alexa, smartthings, MyQ)? I noticed the one example of how to update using smartthings but what about the other systems or does one cover everything?

@brbeaird
Copy link
Owner

I noticed the one example of how to update using smartthings but what about the other systems or does one cover everything?

This is a SmartApp that integrates MyQ with SmartThings. If you haven't noticed anything wrong, my guess is you're not really using this with SmartThings but are relying more on the native MyQ app and Alexa to control your door. You're getting the e-mails because you're following this repository on github (look up at the top of this page, and you'll see an eyeball icon where you can choose to watch and receive notifications).

was forced to use the old SmartApp as nothing was showing as new.

Something is definitely not right here. You'll need to install the newest version of everything (should show version 3.1.0 in the code). You may just need to manually copy/paste the code in.

@justintime
Copy link

I haven't had the time to troubleshoot just yet, but I wanted to report that I'm having trouble with the update, and specifically that I have Craftsman openers. My app stopped working a few days back when everyone else's did. I just went and did the update. I will note that I switched from copy/paste code in the IDE to the github integration, but I don't think that's the problem.

In the SmartApp, I'm able to log in, and it detects my Gateway Brand as Craftsman correctly. However, under Connected Devices, it has the old device ID for my two openers. When I click into Modify Devices per the instructions, it says:
Could not find any supported device(s). Please report to author about these devices: []

When I get a little time later I'll dig in a bit more, just wanted to see if anyone else with Craftsman door openers has had success or failure with the upgrade.

@phaldor8
Copy link
Author

phaldor8 commented Oct 21, 2019 via email

@justintime
Copy link

Nope, I'm on 3.1.0, I know I got things updated as it says so in the UI.

I actually found something that makes me think this is a bug in the new version with Craftsman. I'm going to start a new issue for this.

@pup975
Copy link

pup975 commented Oct 21, 2019

I've updated everything to 3.1.0 and logged into MyQ account on the ST app. When I try to modify the devices, I get this error:

There was a problem updating devices: java.lang.NullPointerException: Cannot get property 'MyQDeviceID' on null object.
Line number: unknown
Last successful step: Door device creation.

My Gateway Brand is listed as Liftmaster on the MyQ account.

@pup975
Copy link

pup975 commented Oct 21, 2019

I've updated everything to 3.1.0 and logged into MyQ account on the ST app. When I try to modify the devices, I get this error:

There was a problem updating devices: java.lang.NullPointerException: Cannot get property 'MyQDeviceID' on null object.
Line number: unknown
Last successful step: Door device creation.

My Gateway Brand is listed as Liftmaster on the MyQ account.

Nevermind. When I actually try to use it with SmartThings, the garage still closes and opens, so despite the error message, it's working.

@brbeaird
Copy link
Owner

despite the error message, it's working.

Hopefully it was just a one-time glitch during the conversion. If the error messages continue, let me know.

@brbeaird
Copy link
Owner

brbeaird commented Oct 21, 2019 via email

@montymc1
Copy link

Thanks for the app. Liked it so much, sent some money for it.
Worked over a year just fine. Just stopped.. I did a uninstall and reinstall.

This is my error

There was a problem updating devices:
org.springframework.security.access.AccessDeniedException:Access is denied
Line number: unknown
Last successful step: Sensor Indexing

Any Suggestions?

Thanks

@brbeaird
Copy link
Owner

Something is definitely weird with the install. You might try bringing the updated code over again and then stepping through the setup again.

@junklocken970
Copy link

Hi, jumping in late, here. My Q Lite stopped working with Smartthings. I have been trying to figure out the problem, and as of now, I cannot get logged in to the MyQ Lite SmartApp in Smartthings. It repeatedly tells me after entering the Username and Password that "The username or password you entered is incorrect. Go back and try again." I have tried this multiple times to no avail. I am using the username and password which I use to log in to the MyQ app. I have updated the code of MyQ Lite to version 3.1.1 - as of today. Any ideas why I cannot get logged in?

@phaldor8
Copy link
Author

phaldor8 commented Dec 26, 2019 via email

@phaldor8
Copy link
Author

phaldor8 commented Dec 26, 2019 via email

@ikonis
Copy link

ikonis commented Dec 27, 2019

I can verify that logins stopped working again today.
Uninstalled, and reinstalled... error on login... with correct U/P

@brbeaird
Copy link
Owner

MyQ was having issues across the board on 12/26. They got it fixed, though, so things should be back up and running.

@dinrajr
Copy link

dinrajr commented Jan 4, 2020

I have setup everything per instructions.. the MyQ Lite app installed and configured correctly.. But I'm getting an error 'Can't connect to Device, check device and try again' when I hit Door opener/closer buttons.. thoughts?

@dinrajr
Copy link

dinrajr commented Jan 4, 2020

I installed SmartThings Classic app and it worked to open the garage door. Although the close is not working.

@Memphis1931
Copy link

Ok, I know this is simple, but I haven’t updated any smart apps or device drivers for years and I can’t remember how I add this new MyQLite app and device drivers to my smartthings. Also, how do I get this to update automatically in the future? Thanks

@Memphis1931
Copy link

So I figured out how to add and publish and I even uninstalled and reinstalled the new myQ lite app but the garage still won’t open or close by pushing the smartthings app buttons... what am I missing here?

@DLThompson06
Copy link

DLThompson06 commented Jul 3, 2020

This just happened to me today. Everything was working fine and then I went to close my garage door through Alexa and got a push notification from Smartthings "Warning: MyQ command failed due to bad login." Going into the MyQ Lite app in Smartthings (classic) showed that I wasn't logged in, so I tried multiple times, but it keeps saying "The username or password you entered is incorrect. Go back and try again." even though the same username and password work fine in the Chamberlain MyQ app (outside of Smartthings). Help?

As an aside...I was just Googling ways to disable the annoying beep/alarm this morning...maybe MyQ got wind of it and locked me out....haha #bigbrotheriswatching #notsofunny #actuallykindofscary

@brbeaird
Copy link
Owner

brbeaird commented Jul 3, 2020 via email

@DLThompson06
Copy link

When you say "Update your code" can you be more specific? Sorry if it's obvious...

@junklocken970
Copy link

junklocken970 commented Jul 3, 2020 via email

@atlflyer
Copy link

atlflyer commented Jul 3, 2020

In the SmartThings IDE, go to the My SmartApps page. Click "Update from repo" button. Choose SmartThings_MyQ (master) from the drop down. Click the check box by the smart app name, check "publish" at the bottom and then click "execute update". Go to the My Device Handlers tab and do the same thing (there will be multiple items you need to check this time.

If you don't see SmartThings_MyQ in the drop down, it means you cut and paste the code yourself instead of using the github integration. In this case, you'll need to grab the latest version from the repository and cut & paste replace the old code on the My SmartApps and My Device Handlers page for all of the MyQ items.

@DLThompson06
Copy link

Thank you for taking the time to explain it so clearly. It's been a while since I set everything up, but I guess I must have cut and pasted everything. The only thing that showed up in the dropdown for the SmartThings_MyQ SmartApps was in the Obsolete column, but I updated it anyway. In the Device Handlers dropdown, there wasn't anything. Guess I'll see if I can figure out where to find them! Thanks again for your help. I'll be back to update on my progress in case it helps anyone else.

@atlflyer
Copy link

atlflyer commented Jul 3, 2020

This is the github repository for that project, so you're in the right place. You can find the code and setup instructions here: https://github.com/brbeaird/SmartThings_MyQ

If you have any problems, it might be easiest to delete the smart app and any MyQ-related devices you find on your My Devices tab and start over.

@DLThompson06
Copy link

Yes, it ended up being easier to delete the smart app and reinstall it. This time I used the community installer, so my guess is that it will let me know when an update is available and I can do it more easily next time? Everything's working again, as it was before. Thanks for your help!

@phardy13
Copy link

phardy13 commented Oct 29, 2020

Does not work on my side :( deleted everything reinstalled everything in the new app. I can get in my credentials, see my door, create the virtual switch but then nothing can make my garage move (i do not have any sensor). Everythings work fine directly in the iOS myQ app though. What would you need to look into it?

If I use the virtyual switch on or off, I always get the error : "A network or server error occured. Try again later."

@osborne1248
Copy link

Looks like this just happened again today. When trying to log in through MyQ in SmartThings getting the "The username or password you entered is incorrect. Go back and try again."

@brbeaird - can you work your magic please sir?

@brbeaird
Copy link
Owner

Yep, MyQ changed something, and this is currently broken. I’m not sure at this point if it’s a permanent change - this has happened occasionally in the past where it comes back up the next day.

The good news is there is a newer version of the API login flow that some other integrations (HomeBridge, pymyq) are using successfully. The bad news is it is not a simple change to implement - a couple parts in particular I’m not really sure will work within Groovy. I will see what I can do, but it may be several days before I make any real progress.

@NitWitPea
Copy link

NitWitPea commented Aug 26, 2021

I'm having the same issue, just started 2 days ago, after working fine for over a year:

"MyQ command failed due o a bad login."

If I go to the MyQ app, it opens and closes the door fine. Smarthings just can't do it anymore :(

@brbeaird
Copy link
Owner

Smarthings just can't do it anymore

To be fair, MyQ made a change that broke this, not SmartThings. There is still hope it can be fixed, but it could take awhile.

@benhmin
Copy link

benhmin commented Aug 27, 2021

So sad that myQ doesn’t seem to get the hint that they should have a decent API for their users. I might just move to another brand if I can find one. Between this issue and the fact that the door sensor is very temperamental I’m pretty frustrated.

thanks for all your work on this @brbeaird!

@raccinf
Copy link

raccinf commented Aug 28, 2021

@brbeaird Thanks for your work!

@JimMay3
Copy link

JimMay3 commented Aug 28, 2021

I been told the overall issue with this not being an official part of ST is not myQ/Chamberlian, it's that ST does not want to play by myQ's rules, thus they are not a white listed/trusted vendor.

@john022662
Copy link

john022662 commented Sep 2, 2021

This is still and issue on SmartThings and Hubitat. Any news @brbeaird ?

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