Announcement

Collapse
No announcement yet.

How to turn off a light after motion not detected for some time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to turn off a light after motion not detected for some time

    I have added the following code in doo_motion_custom:

    Select Case aDevName
    Case "Napco Panel Wireless PIR"
    NewNoMotionDelayedEvent "<Office>", "B9ff", 5

    I have the device set up as an MS and HS is correctly detecting motion as well as setting the status as occupied when motion is detected and it increments the no motion time correctly, but I am not getting the above event to fire. Do I have to set up an event somewhere else? Is there an event supposed to be created by the doo_motion_custom script? ( if so it is not happening)
    Any help?

    Joe

    jjsmd@yahoo.com
    jjsmd@yahoo.com

    #2
    Do the fail safe events never fire. I have my motion sensors set up to send an off signal X number of minutes later. If this signal doesn't get picked up then the scripts initiate a fail safe shut off based on the fail safe value in the ini file.

    -Rupp
    ...One Nation Under GOD, Indivisible, With Liberty And Justice For All.
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment

    Working...
    X