Jump to content

3-Way - Insteon on-level based on time of day


Go to solution Solved by kclenden,

Recommended Posts

Posted

I am a long time ISY / Insteon user that just moved to a new house.  In this house the lights in the master bedroom are controlled by light switches in a 3-way configuration.  I have replaced the two light switches with Insteon Switchlinc Dimmers and created the IoX scene to make them work in a 3-way configuration.

The on-level of both Switchlincs have been set to 30%.  The scene to create the virtual 3-way is also set to turn on the Switchlinc with the load to 30%.  I would like to have the lights turn on to 100% during the day and 30% at night.  As these are Switchlincs, I realize I can double tap the top of either switch and the load will turn on to 100%, but want to make it do this programatically.

I have created the program below to change the on-level based on the time of day.

If
        From     8:00:00AM
        To       9:00:00PM (same day)
 
Then
        Set 'Master Bath Sink Lts - Load' On Level 100%
        Set 'Master Bath Sink Lts - Ctl' On Level 100%
 
Else
        Set 'Master Bath Sink Lts - Load' On Level 30%
        Set 'Master Bath Sink Lts - Ctl' On Level 30%
 

Operating the Switchlinc with the load ("Master Bath Sink Lts - Load" works as expected.  The on-level changes based on the time of day.

Operating the other Switchlinc continues to only turns on the load to 30%, because this how the scene was created.

My question is whether anyone has an good way to have the other Switchlinc turn on the load to 100% during the day.  I have created the program below as a hack, but it is awkward as the light first comes on at 30% and then jumps up to 100% a second later (as expected).

If
        'Master Bath Sink Lts Ctl' is switched On
    And From     8:00:00AM
        To       9:00:00PM (same day)
 
Then
        Set 'Master Bath Sink Lts - Load' On 100%
 
Else
   - No Actions - (To add one, press 'Action')
 

Best I can tell, there is no way to programmatically change a scene, nor is there anything in the REST API that can be used to change a scene.

Anyone have a better solution? 

 

  • Solution
Posted (edited)
3 hours ago, mapeter said:

I have created the program below to change the on-level based on the time of day.

You are adjusting the on-level for each device when it is locally controlled (i.e. when you press the SwitchLinc button).  What you want to do is modify the on-level for the device when it is activated by a scene controller.

image.thumb.png.d3e96edc6e94e96b6aca87e3a81e2394.png

So, in the example above, the on-level for "GR-Built-In Accent #1" would be set to 30% when the scene is activated by the controller "HW-Keypad-Button A".

In your case, you would want "Set" to be "Master Bath Sink Lts - Load" and the "Controller" to be "Master Bath Sink Lts - Ctl".

Edited by kclenden
  • Like 2

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