MyQ API changes

User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

MyQ API changes

Post by FlyingDiver »

MyQ made some changes that broke the plugin. I'm working on fixes now.

Pre-release version for testing: https://github.com/FlyingDiver/Indigo-M ... tag/v7.1.6

Since this is a pre-release, the built-in updater will not work. Please install manually.

For me, this fixes login and get door status, but I am unable to command door changes. But the error code I'm getting is sometimes gateway specific. I need testing of this version to see if it works for other people.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: MyQ API changes

Post by roquej »

version 7.1.6 does the same for me: no errors and status works.

JP
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ API changes

Post by FlyingDiver »

roquej wrote:version 7.1.6 does the same for me: no errors and status works.

JP

But open/close does not?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: MyQ API changes

Post by roquej »

yes, not open nor close

JP
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ API changes

Post by FlyingDiver »

Can you turn on debug logging and see if you're getting the same 217 error I'm getting?

Code: Select all

   MyQ Debug                       changeDevice: Bad return code: Error processing request (217)
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
roquej
Posts: 628
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: MyQ API changes

Post by roquej »

Yes,

MyQ Debug changeDevice: Bad return code: Error processing request (217)

JP
polycron
Posts: 100
Joined: Sun Jan 08, 2006 10:22 am

Re: MyQ API changes

Post by polycron »

I am also getting the (217) error.

Jeff
flakenstein
Posts: 6
Joined: Wed Nov 30, 2016 2:37 pm

Re: MyQ API changes

Post by flakenstein »

Pre-release works for login and status check. No actions work, but send status request did the right thing.
blysik
Posts: 213
Joined: Tue Jan 06, 2015 6:05 pm

Re: MyQ API changes

Post by blysik »

I don't know if it's accurate, but this project supposedly has a fix for the API changes:

https://github.com/Einstein42/myq-garage/pull/10
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ API changes

Post by FlyingDiver »

blysik wrote:I don't know if it's accurate, but this project supposedly has a fix for the API changes:

https://github.com/Einstein42/myq-garage/pull/10
I'm using that code now, and it doesn't work for open/close. Just for login and status. At least in the plugin.

No idea what the issue is.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
blysik
Posts: 213
Joined: Tue Jan 06, 2015 6:05 pm

Re: MyQ API changes

Post by blysik »

Looking at the diff here for another project:
https://github.com/arraylabs/myq/commit ... d1d83dd64f

It looks like some of the urls changed case a bit?

Not sure if it matters.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ API changes

Post by FlyingDiver »

As far as I can tell, I'm using the exact same URLs that project is. But it doesn't work the same.

I'm tired of banging my head on this. I'm taking a break from it for a couple days.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
gskarp
Posts: 156
Joined: Thu Apr 19, 2012 4:50 pm

Re: MyQ API changes

Post by gskarp »

Works like you say.Status but no command. No errors so far.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ API changes

Post by FlyingDiver »

v7.1.7: https://github.com/FlyingDiver/Indigo-M ... tag/v7.1.7

Should fix issues with commands to the doors not working.

Requires that the MyQ devices be recreated.

This is a pre-release, so the plugin updater will not pick it up.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
jay (support)
Site Admin
Posts: 19202
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: MyQ API changes

Post by jay (support) »

Opened then closed the plugin prefs dialog (no changes) and got this:

Code: Select all

   MyQ Error                       Error in plugin execution UiClosed1:

Traceback (most recent call last):
  File "plugin.py", line 222, in closedPrefsConfigUi
  File "plugin.py", line 409, in getDevices
ValueError: invalid literal for int() with base 10: ''
Same for trying to lock/unlock...

Actually, it's just similar:

Code: Select all

   MyQ Error                       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 280, in actionControlDevice
  File "plugin.py", line 491, in changeDevice
ValueError: invalid literal for int() with base 10: ''
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Locked

Return to “MyQ”