MyQ API changes
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
MyQ API changes
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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MyQ API changes
version 7.1.6 does the same for me: no errors and status works.
JP
JP
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MyQ API changes
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MyQ API changes
yes, not open nor close
JP
JP
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MyQ API changes
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MyQ API changes
Yes,
MyQ Debug changeDevice: Bad return code: Error processing request (217)
JP
MyQ Debug changeDevice: Bad return code: Error processing request (217)
JP
Re: MyQ API changes
I am also getting the (217) error.
Jeff
Jeff
-
flakenstein
- Posts: 6
- Joined: Wed Nov 30, 2016 2:37 pm
Re: MyQ API changes
Pre-release works for login and status check. No actions work, but send status request did the right thing.
Re: MyQ API changes
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
https://github.com/Einstein42/myq-garage/pull/10
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MyQ API changes
I'm using that code now, and it doesn't work for open/close. Just for login and status. At least in the plugin.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
No idea what the issue is.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MyQ API changes
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.
https://github.com/arraylabs/myq/commit ... d1d83dd64f
It looks like some of the urls changed case a bit?
Not sure if it matters.
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MyQ API changes
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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MyQ API changes
Works like you say.Status but no command. No errors so far.
- FlyingDiver
- Posts: 7823
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MyQ API changes
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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- jay (support)
- Site Admin
- Posts: 19202
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: MyQ API changes
Opened then closed the plugin prefs dialog (no changes) and got this:
Same for trying to lock/unlock...
Actually, it's just similar:
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: ''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: ''