Long vs Short Switch Press Trigger;

Posted on
Sat Feb 04, 2017 9:39 pm
Craig_H offline
Posts: 20
Joined: Jan 25, 2009
Location: Berkeley, CA

Long vs Short Switch Press Trigger;

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

Posted on
Mon Feb 06, 2017 10:13 am
jay (support) offline
Site Admin
User avatar
Posts: 15683
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Long vs Short Switch Press Trigger;

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).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Oct 28, 2017 4:55 pm
Colly offline
Posts: 283
Joined: Jan 16, 2016
Location: Ireland

Re: Long vs Short Switch Press Trigger;

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?

Posted on
Sun Oct 29, 2017 2:03 am
howartp offline
Posts: 3664
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Long vs Short Switch Press Trigger;

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

Posted on
Sun Oct 29, 2017 2:08 am
howartp offline
Posts: 3664
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Long vs Short Switch Press Trigger;

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

Posted on
Sun Oct 29, 2017 3:11 am
Colly offline
Posts: 283
Joined: Jan 16, 2016
Location: Ireland

Re: Long vs Short Switch Press Trigger;

Thanks howartp.
As a now retired colleague of mine once said RTFM! (read the f***ing manual) :oops:

Posted on
Sun Oct 29, 2017 3:26 am
howartp offline
Posts: 3664
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Long vs Short Switch Press Trigger;

Yep, reading the FLIPPING manual is always useful. :p


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest