Jump to content

Making a single button device multi functional


Mark Sanctuary

Recommended Posts

Posted

Making a single button device multi functional; so I got here a single button device that I want to add more functionality too, how do I do that? Easy for how many ways you can think of that button can be clicked you have options.

 

Double click off

 

If
       Control 'Master Read Mark' is switched Fast Off

Then
       Set  Scene 'Inside All Scene' Off

Single click off (if device is already off)

 

If
       Status  'Master Read Mark' is Off
   And Control 'Master Read Mark' is switched Off

Then
       Set  Scene 'Master Bed Scene' Off

Double click on

 

If
       Control 'Master Read Mark' is switched Fast On

Then
       Set  Scene 'Inside All Scene' On

Single click on (if device is already on)

 

Used ‘not’s for the ‘Single click on’ program to avoid having to guess the percent on level.

 

If
       Status  'Master Read Mark' is not Off
   And Control 'Master Read Mark' is not switched Off
   And Control 'Master Read Mark' is not switched Fast On

Then
       Set  Scene 'Master Bed Scene' On

Posted

Click ons - are trickier than off ones because the device is going to want to do its default behavior and toggle between its “On Level†and “Full On Levelâ€. So “click on†programs will work but the light is going to first change, then it’s going to change again a half a second later when the program changes it.

  • 3 months later...
Posted

Here's a neat trick I stumbled upon recently:

 

My Kitchen has a small eating bar, and a computer desk nearby. So there is a large fluorescent light in the ceiling and a desk lamp, very close together. I rarely use both at the same time.

 

I created a scene with the fluorescent (ApplianceLinc) and desk lamp (LampLinc) and a KPL button (controller) in it. The "On level" for the Applinc is ON, and for the LampLinc, OFF.

 

Now I can TAP the KPL button to turn on the fluorescent light, or HOLD it to turn on the desk lamp - the Applinc doesn't respond to brightness levels!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...