Error logging into MyQ server

Posted on
Thu Aug 03, 2023 4:31 pm
hensed offline
Posts: 59
Joined: Feb 01, 2012
Location: Oakland, CA

Error logging into MyQ server

At about 1:20pmPST I got this message:
Code: Select all
   MyQ Warning                     Error logging into MyQ server: Error requesting data from https://partner-identity.myq-cloud.com/connect/token: 401 - Unauthorized

Since that time I have not been able to control the garage door thru Indigo plugin. The app works still, and my credentials are still working for MyQ.

Posted on
Thu Aug 03, 2023 4:33 pm
hensed offline
Posts: 59
Joined: Feb 01, 2012
Location: Oakland, CA

Re: Error logging into MyQ server

...sometimes unable to control with Indigo Plugin. Sometimes it works and i don't see the error in the log.

Posted on
Thu Aug 03, 2023 5:19 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

That's MyQ messing with unauthorized clients again. There's no current open issues on the backend library, and no updates, so there's nothing I can do.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Sep 28, 2023 10:20 pm
JustJack offline
Posts: 53
Joined: Feb 16, 2013
Location: Ca

Re: Error logging into MyQ server

I've started to see that error now. It was working just fine until today.
Code: Select all
Sep 28, 2023 at 9:15:13 PM
   MyQ Warning                     Error logging into MyQ server: Error requesting data from https://partner-identity.myq-cloud.com/connect/token: 401 - Unauthorized

Posted on
Fri Sep 29, 2023 5:56 am
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Error logging into MyQ server

Yep, me too. Unfortunately, it's the cost of doing business with an unauthorized client.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Sep 30, 2023 2:53 pm
JustJack offline
Posts: 53
Joined: Feb 16, 2013
Location: Ca

Re: Error logging into MyQ server

Fortunately it seems to clean itself up :D :D

Posted on
Thu Oct 12, 2023 7:18 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Error logging into MyQ server

I am still getting the Error logging into MyQ server. This is giving me a security issue because I have an action group which closes my garage door every night. This no longer works as of a couple of weeks ago.

John R Patrick
Author of
Home Attitude

Posted on
Thu Oct 12, 2023 7:25 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

wideglidejrp wrote:
I am still getting the Error logging into MyQ server. This is giving me a security issue because I have an action group which closes my garage door every night. This no longer works as of a couple of weeks ago.


MyQ does not have an official API. This plugin works using a reverse-engineered library which MyQ manages to break regularly. I'm monitoring the library development, and it looks like there's a fix coming soon (days, not weeks). Until then, there's nothing I can do about it.

If this is truly a security issue for you, you should install sensors on the door so you can send yourself an alert to manually close the door when needed.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Oct 14, 2023 6:08 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

If you're brave, you can use an unreleased patch to the MyQ library to address this issue. In Terminal on the Indigo server system, do:

Code: Select all
pip3 uninstall pymyq
pip3 install git+https://github.com/arraylabs/pymyq.git@refs/pull/188/head


It seems to work on my system.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Oct 14, 2023 6:17 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

You will also need to update to plugin version 2022.0.4.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Oct 15, 2023 12:39 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Error logging into MyQ server

I got following...

Successfully installed pip-23.3
rivington24:~ jrpatric$ pip3 install git+https://github.com/arraylabs/pymyq. ... l/188/head
Collecting git+https://github.com/arraylabs/pymyq. ... l/188/head
Cloning https://github.com/arraylabs/pymyq.git (to revision refs/pull/188/head) to /private/var/folders/01/xlm443k95x1759h42x6z_mqm0000gn/T/pip-req-build-0k6xmdqk
error: subprocess-exited-with-error

× git version did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

John R Patrick
Author of
Home Attitude

Posted on
Sun Oct 15, 2023 1:32 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

You need the developer tools (Xcode) installed in order to build the library.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Oct 15, 2023 3:34 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Error logging into MyQ server

MyQ plugin now working to open/close garage door. Thanks for the assistance.

John R Patrick
Author of
Home Attitude

Posted on
Mon Oct 16, 2023 11:49 am
yosappy offline
Posts: 28
Joined: Jun 09, 2005

Re: Error logging into MyQ server

Sorry, I updated the Plugin to Version 2022.0.4 & I am still receiving the Error Message. Here's my Indigo Version 2023.1.0 Log:

"Starting plugin "MyQ 2022.0.4" (pid 11919)
Started plugin "MyQ 2022.0.4"
MyQ Starting MyQ
MyQ 1-Car Garage Door Opener LOCKED GREEN ON = CLOSED & UNLOCKED RED OFF = OPEN: Starting myqOpener Device 1501173758
MyQ Garage 3-Car Left Door Opener LOCKED GREEN ON = CLOSED & UNLOCKED RED OFF = OPEN: Starting myqOpener Device 761454836
MyQ Garage 3-Car Right Door Opener LOCKED GREEN ON = CLOSED & UNLOCKED RED OFF = OPEN: Starting myqOpener Device 852342143
MyQ Warning Error logging into MyQ server: Error requesting data from https://partner-identity.myq-cloud.com/connect/token: 401 - Unauthorized"

I did not do the Terminal Commands that were listed above as that looked like it caused additional Errors which I would not know how to fix myself. Please help. Note that MyQ still works fine on my iPhone; so, I know my Login is still working fine.

Yo

Posted on
Mon Oct 16, 2023 11:51 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error logging into MyQ server

2022.0.4 is not enough on it's own. You HAVE to do the terminal commands to get the correct version of the mypyq library.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 4 guests