Page 1 of 1

Long vs Short Switch Press Trigger;

PostPosted: Sat Feb 04, 2017 9:39 pm
by Craig_H
Hello,

Does anyone know how to implement a long push / slow push trigger with a ToggleLinc?

I'd like to be able to turn ON or OFF a light with a ToggleLinc by pushing it ON or OFF in a short push.

If I push it ON and hold it, I'd like it to increase brightness in increments , likewise if I push and hold OFF, decrement brightness.

I tried a couple searches, but don't really know what to search for.

Thanks,

Craig

Re: Long vs Short Switch Press Trigger;

PostPosted: Mon Feb 06, 2017 10:13 am
by jay (support)
The 3rd party Dimmer Extender plugin may do part of what you're looking for - it provides trigger events for start/stop brightening/dimming. The only trouble might be (you'd have to try) if the UI in the plugin only shows dimmer type devices. The ToggleLinc is an on/off device (it doesn't dim) in how it controls the load attached so Indigo treats it as such. However, it does send out the start/stop brighten/dim commands if you hold it up or down (even though it's load will never dim/brighten).

Re: Long vs Short Switch Press Trigger;

PostPosted: Sat Oct 28, 2017 4:55 pm
by Colly
I'm looking at doing something similar only it is with a Fibaro universal sensor. Can I trigger different actions based on a long/short or even double press within a short period? If so how is this best achieved?

Re: Long vs Short Switch Press Trigger;

PostPosted: Sun Oct 29, 2017 2:03 am
by howartp
If you go to Triggers > New > ZWave command received* > (Select your universal Sensor), do you get Click/Double Click/Hold/Release?

(*Cant remember the exact wording or if it’s under a submenu such as Device actions)

If you don’t have those options, try my Scene Controller Plugin and see if you get any response in debug mode.


Sent from my iPhone using Tapatalk Pro

Re: Long vs Short Switch Press Trigger;

PostPosted: Sun Oct 29, 2017 2:08 am
by howartp
Ah, just read manual.

Parameter 14 is your friend.

It does send Scene commands and thus will definitely work with my Scene Controller Plugin if it doesn’t natively.


Sent from my iPhone using Tapatalk Pro

Re: Long vs Short Switch Press Trigger;

PostPosted: Sun Oct 29, 2017 3:11 am
by Colly
Thanks howartp.
As a now retired colleague of mine once said RTFM! (read the f***ing manual) :oops:

Re: Long vs Short Switch Press Trigger;

PostPosted: Sun Oct 29, 2017 3:26 am
by howartp
Yep, reading the FLIPPING manual is always useful. :p


Sent from my iPhone using Tapatalk Pro