Jump to content

How to hide code, or set variable On Level at the dimmer


JacquesB

Recommended Posts

Posted

Hi,

 

here is a way for choosing different On Level for a light or a scene, directly from the dimmer and without flickering.

 

Components included :

One ISY controller

2 Dimmers in a double gang box in the bathroom.

1st is the light over the mirror

2nd is the light on the ceiling

 

Both of them are responder in a scene : Main Bathroom

 

Each one is usable as a standard dimmer for its own load.

 

Next program is a quick fix for turning both light off when only one is On and the user try to turn off the wrong dimmer, or when any dimmer is switched fast-off :

If
       (
            Status  'Dimmer 1' is not Off
        And Status  'Dimmer 2' is Off
        And Control 'Dimmer 2' is switched Off
       )
    Or (
            Status  'Dimmer 2' is not Off
        And Status  'Dimmer 1' is Off
        And Control 'Dimmer 1' is switched Off
       )
    Or Control 'Dimmer 1' is switched Fast Off
    Or Control 'Dimmer 2' is switched Fast Off

Then
       Set Scene 'Main Bathroom' Fast Off

Else
  - No Actions - (To add one, press 'Action')

 

By using the "Not Off", the program works even when the lights are dimmed.

 

Now, should I wish to have 3 different settings for the scene :

Both 100%

Dimmer 1 at 70% and Dimmer 2 at 60%

Both at 40%

 

It is possible to re-use the fast On and regular Off controls for that :

If
       Status  'Dimmer 1' is Off
   And Status  'Dimmer 2' is Off
   And Control 'Dimmer 1' is switched Off

Then
       Set 'Dimmer 1' 40%
       Set 'Dimmer 2' 40%

Else
  - No Actions - (To add one, press 'Action')

 

If
       Status  'Dimmer 1' is Off
   And Status  'Dimmer 2' is Off
   And Control 'Dimmer 2' is switched Off

Then
       Set 'Dimmer 1' 70%
       Set 'Dimmer 2' 60%

Else
  - No Actions - (To add one, press 'Action')

 

If

      Control 'Dimmer 1' is switched Fast On
   Or Control 'Dimmer 2' is switched Fast On

Then
       Set Scene 'Main Bathroom' Fast On

Else
  - No Actions - (To add one, press 'Action')

 

The Fast-On can be used as a trigger without flickering because the On Level associated with the hidden function is also 100%.

 

The Off control is working normally because the program does not make it a trigger unless both lights are already off.

 

By using the Off as a trigger for turning lights On, these lights will not jump to 100% before going back down.

 

It would even be possible to re-use one or both of the Fast-Off for setting even more "hidden" lights level.

 

The functions are hidden and not very intuitive because the Off control produces a "Turn On" action. Still, it should be fine for every one. For those who can just re-use the dimmer in its "normal" way, it works fine. For the other who know about the hidden functions, they can use it and produce just more flexible combinations, like not turning the light 100% when using the bathroom at night.

 

The only thing is, because the reactions are taken by the controller instead of the dimmer, there is a very small delay between the action and the reaction, as opposed to say a Keypadlinc button that would set the scene at the appropriate level instantly.

 

Have fun hiding more functions in your network,

 

Jacques

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...