Toggle action?

Ramias
Posts: 272
Joined: Tue Nov 24, 2015 5:21 pm

Toggle action?

Post by Ramias »

I am starting to finally get into Control Pages and a good toggle button with my garage door would be pretty cool.

I know I could do a virtual device and variable and triggers to set this up, but that gets messy.

Any chance you can add a toggle action to the MyQ plugin?

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

Re: Toggle action?

Post by FlyingDiver »

The MyQ device is now based on the Indigo Lock device class, which does not support the Toggle action.

Also, a toggle action is a little unsafe for my tastes. I think it's too easy for the Indigo representation of the door to get out of sync with the actual door, if there's an issue with the MyQ servers. Using a linked sensor helps with that, but I'm still leery of adding it to the plugin.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Toggle action?

Post by FlyingDiver »

If you're going to do it yourself, an Action Group with a short Python script would be the easiest way to do it.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Ramias
Posts: 272
Joined: Tue Nov 24, 2015 5:21 pm

Re: Toggle action?

Post by Ramias »

Ok. Thanks for the quick response. I can do it with Python script that does the toggle. I have that with some other virtual devices.
User avatar
jay (support)
Site Admin
Posts: 19202
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Toggle action?

Post by jay (support) »

FlyingDiver wrote:Also, a toggle action is a little unsafe for my tastes. I think it's too easy for the Indigo representation of the door to get out of sync with the actual door, if there's an issue with the MyQ servers.
I'd second this. It always takes a LONG time (i.e. multiple minutes) before the plugin seems to get in sync with the door. Not sure where the issue is, but I did have a KeypadLinc button synced up to open/close the door, but honestly it was just too slow to be useful.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Toggle action?

Post by FlyingDiver »

jay (support) wrote:I'd second this. It always takes a LONG time (i.e. multiple minutes) before the plugin seems to get in sync with the door. Not sure where the issue is, but I did have a KeypadLinc button synced up to open/close the door, but honestly it was just too slow to be useful.
Can you explain this a little more, Jay? Unless there's an issue with the request to the MyQ servers, the plugin does an update 30 seconds after it commands the door to open/close. So the states should sync up then. The newer version with the linked sensors will be almost immediate, but the logic for the out of sync trigger needs some work.
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: Toggle action?

Post by jay (support) »

It's when the door is operated manually (using the button on the wall, the remote, or Houselink buttons in the car). We rarely actually control the door from Indigo but rather like to have Indigo know the state. Seems like it's a good 5 minutes before it gets updated (and it seems like it sometimes never gets in sync if left on it's own). I haven't upgraded to the latest plugin though so it may be better now.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Toggle action?

Post by FlyingDiver »

jay (support) wrote:It's when the door is operated manually (using the button on the wall, the remote, or Houselink buttons in the car). We rarely actually control the door from Indigo but rather like to have Indigo know the state. Seems like it's a good 5 minutes before it gets updated (and it seems like it sometimes never gets in sync if left on it's own). I haven't upgraded to the latest plugin though so it may be better now.
OK, that makes sense. If you're not using a linked sensor, it's a simple poll of the MyQ server. Which is 10 minutes by default.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Locked

Return to “MyQ”