Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ms_sensing_during_specific_times [2010/09/28 19:22] jayms_sensing_during_specific_times [2026/04/07 18:27] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Motion sensing only during a specific time ======
 +So, you have this cool motion sensing light. But, what if you only want the light motion sensing to work between 10pm and dawn? The easiest way is to make a couple Time Date Trigger actions that will enable/disable the **//Front Porch Motion Detected//** that were created in the [[ms_porch_light|Motion Triggered Porch Light]] scenario. **NOTE**: this technique only works with the [[ms_porch_light|Motion Triggered Porch Light]] scenario - if you have directly linked your Motion Sensor to your switch via Insteon links it will always work because Indigo won't be involved with the action. If you have **Indigo** triggering off of various device events, then you probably have something similar.
 +
 +=== Defining the Enable Front Porch Motion Trigger ===
 +  - Select ''**Time/Date Action List**'' from the ''**View**'' menu
 +  - Press the ''**New...**'' button at the top of the main window
 +  - Name the trigger ''**Enable Front Porch Motion Trigger**''
 +  - Enter ''**10:00 PM**'' from the first time selector in the ''**Time**'' section
 +  - Choose the ''**Actions**'' tab
 +  - Select ''**Enable Trigger Action**'' from the action ''**Type**'' popup
 +  - Select ''** Front Porch Motion Detected**'' from the ''**Enable:**'' popup
 +
 +=== Defining the Disable Front Porch Motion Trigger ===
 +  - Press the ''**New...**'' button at the top of the main window
 +  - Name the trigger ''**Disable Front Porch Motion Trigger**''
 +  - Select ''**Sunrise**'' in the ''**Time**'' section
 +  - Choose the ''**Actions**'' tab
 +  - Select ''**Disable Trigger Action**'' from the action ''**Type**'' popup
 +  - Select ''** Front Porch Motion Detected**'' from the ''**Disable:**'' popup
 +
 +That's it! Now, the motion sensing will only happen between 10pm and sunrise.
 +
 +In Indigo 5 and greater, we significantly enhanced the condition editor and added a bunch of new conditions. One new condition is the ability to specify time ranges. So, rather than making two triggers as above, simply define the triggers as specified in the [[ms_porch_light|Motion Triggered Porch Light]] scenario - except on the Conditions tab specify "If time" "is between" "10:00pm" and "6:00am" (not exactly dawn, but close). This makes the solution much simpler.