MyQ API down again

Posted on
Mon Oct 21, 2019 11:26 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: MyQ API down again

This is what I'm getting when trying to open the door (with the new version of the plugin):

Code: Select all
   MyQ Debug                       actionControlDevice: Unlock Garage Door
   MyQ Debug                       Garage Door: changeDevice: new state = open
   MyQ Error                       Garage Door: changeDevice failure, Request error code: 400


I can email you the debugging information for the status request call if that would be useful.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Oct 21, 2019 11:29 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: MyQ API down again

BTW, I'm running the latest plugin version on Indigo 7.3 - would that make any difference?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Oct 21, 2019 11:36 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

jay (support) wrote:
This is what I'm getting when trying to open the door (with the new version of the plugin):

Code: Select all
   MyQ Debug                       actionControlDevice: Unlock Garage Door
   MyQ Debug                       Garage Door: changeDevice: new state = open
   MyQ Error                       Garage Door: changeDevice failure, Request error code: 400


I can email you the debugging information for the status request call if that would be useful.


Yes please. 400 is bad request, so there's something going wrong in there.

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

Posted on
Mon Oct 21, 2019 11:36 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

jay (support) wrote:
BTW, I'm running the latest plugin version on Indigo 7.3 - would that make any difference?


Can't think of any reason why it would.

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

Posted on
Mon Oct 21, 2019 12:26 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: MyQ API down again

FlyingDiver wrote:
Yes please. 400 is bad request, so there's something going wrong in there.


Sent.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 22, 2019 11:43 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

Pre-release 7.4.1 now available - https://github.com/FlyingDiver/Indigo-M ... /tag/7.4.1

Note to all users: When you switch to the newer plugins, you will need to edit your door opener devices and re-select which door (as MyQ knows them) it is. The change in API changed the identifiers for the doors and the plugin has no way of knowing which is which. Yes, for single door installations I could have just used whatever I found, but that wouldn't work for more than one door and I didn't want to code that anyway. ;)

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

Posted on
Tue Oct 22, 2019 4:09 pm
MKuchnic offline
Posts: 21
Joined: Feb 08, 2016

Re: MyQ API down again

I downloaded the new plugin and once I configured the device again this is the error I received:

Error cannot update device state for key doorStatus to value closed (invalid enumeration value)

My IOLinc is setup up for open/closed instead of true/false.
Thanks
Mark

Posted on
Tue Oct 22, 2019 4:13 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

MKuchnic wrote:
I downloaded the new plugin and once I configured the device again this is the error I received:

Code: Select all
 Error                           cannot update device state for key doorStatus to value closed (invalid enumeration value)

My IOLinc is setup up for open/closed instead of true/false.


That error has nothing to do with your sensor.

Redownload the plugin. I pulled the release and re-uploaded it this afternoon. You might have gotten the first version.

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

Posted on
Thu Oct 24, 2019 4:37 pm
colovin offline
Posts: 173
Joined: Oct 27, 2009

Re: MyQ API down again

It hasn't been working for a few days now. I've updated to 7.4.0. Here is the error message

Trigger Running test
MyQ Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 428, in changeDeviceAction
File "plugin.py", line 439, in changeDevice
File "plugin.py", line 67, in account_id
KeyError: ('Account',)

Is there something that needs to be changed in the config file? Has the sign in changed? I'm using the sign in for the Craftsman's app which is still working. There's a notice that I need to move to myQ at the bottom but Craftsman is still working.

Indigo 7.1.1, OS 10.14.6, MacMini .3.2 GHz 6 Intel Core i7, 64 GB ram

Posted on
Thu Oct 24, 2019 4:40 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

Is the Account device authenticating properly? Did you edit the opener devices to re-select the devices as mentioned above? And you should be using 7.4.1 (also above).

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

Posted on
Thu Oct 24, 2019 4:50 pm
colovin offline
Posts: 173
Joined: Oct 27, 2009

Re: MyQ API down again

Wow, I thought I had read the latest posts to this thread which was the 7.4.0 update. Not sure how I missed the followups. Will follow those directions. Thanks!

Indigo 7.1.1, OS 10.14.6, MacMini .3.2 GHz 6 Intel Core i7, 64 GB ram

Posted on
Fri Oct 25, 2019 10:46 am
colovin offline
Posts: 173
Joined: Oct 27, 2009

Re: MyQ API down again

When I go into device settings the MyQ Opener Device: "- select an item - " is ghosted with nothing available to be selected.

I was looking for setup directions but can't find any. It's been so long since I've done anything with this other than updating the plugin I've forgotten how to set it up.

Indigo 7.1.1, OS 10.14.6, MacMini .3.2 GHz 6 Intel Core i7, 64 GB ram

Posted on
Fri Oct 25, 2019 10:55 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

First go into the plugin config dialog and check the login information. And set the logging level to "Debugging Messages". Then restart the plugin and post the log entries here.

If that doesn't work, you might need to switch to the MyQ site login info. If you can use the MyQ app to control the door, then that's the login info you should use.

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

Posted on
Fri Oct 25, 2019 2:53 pm
colovin offline
Posts: 173
Joined: Oct 27, 2009

Re: MyQ API down again

OK, for anyone having trouble you have to update to the New myQ app. That took care of all my log in problems. I'm still having trouble getting the plugin to work. Now the Garage Door is showing up as an option in the device setting. I select it and hit save but it doesn't save. When I close the setting box and reopen it, nothing is saved in the MyQ Opener Device. Here is the plugin loading messages.

Code: Select all
 MyQ                             Starting MyQ
   MyQ Debug                       statusFrequency = 86400.0
   MyQ Debug                       deviceStartComm: Garage Door Opener (CG0810197CD1): Device Version is up to date
   MyQ Debug                       deviceStartComm: Adding Device Garage Door Opener (CG0810197CD1) (1079833865) to MyQ device list
   MyQ Debug                       myqLogin response = {"SecurityToken":"94c392ed-8043-45a7-b3f9-6ccfd9b9f380"}
   MyQ Debug                       myqLogin successful
   MyQ Debug                       getDevices: 2 Devices
   MyQ Debug                       getDevices: device_family = garagedoor, name = Garage Door Opener, serial_number = CG0810197CD1
   MyQ Debug                       Checking Opener Device: Garage Door Opener (CG0810197CD1) (0) against CG0810197CD1
   MyQ Debug                       getDevices: device_family = gateway, name = Oro Grande, serial_number = GW0200016E50

Here is messages when testing the action

Code: Select all
 Trigger                         Running test
   MyQ Debug                       changeDeviceAction, deviceId = 1079833865, actionId = openDoor
   MyQ Debug                       Garage Door Opener (CG0810197CD1): changeDevice: new state = open
   MyQ Error                       Garage Door Opener (CG0810197CD1): changeDevice failure, code: 500, response: {"code":"500.000","message

Indigo 7.1.1, OS 10.14.6, MacMini .3.2 GHz 6 Intel Core i7, 64 GB ram

Posted on
Fri Oct 25, 2019 3:00 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ API down again

What's the address of the opener device in the Indigo UI? I'll bet it's 0 or none. That's the same bug Jay was having and I thought I fixed.

Try editing the device config and saving it again. See if the address changes.

And please show the complete log after a plugin restart.

One more thing - are you actually running Indigo 7.1.1 as your signature says?

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

Who is online

Users browsing this forum: No registered users and 1 guest