Turn off motion sensor for x seconds

Moderator: leecollings

Post Reply
User avatar
Deforcer
Posts: 3
Joined: Sunday 16 August 2015 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Turn off motion sensor for x seconds

Post by Deforcer »

Hello,

Is it possible to turn off a motion sensor for x seconds? I tried a few things with scenes, but I will not get it done.

I want to use this function for my "Sleep"-scene. When I activate this scene, it turns off all my lights in my livingroom. But I have a motion sensor in my livingroom and a Blockly script for turning on the lights when there is motion detected.
So when I activate the sleep-scene, the motion detector is on. I want to turn the motion sensor off for x seconds, so the lights won't turn on immediately.

Does anyone know how to do this? :mrgreen:

Greetings,

Melvin
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Turn off motion sensor for x seconds

Post by StanHD »

I always have a virtual Auto/Manual switch working with my motion sensors. Then in my Blockly I check the status of that switch to determine if the light comes on or not. So could you work with that by perhaps putting a delay on the switch, and turning it off in your scene?
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
User avatar
Deforcer
Posts: 3
Joined: Sunday 16 August 2015 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Turn off motion sensor for x seconds

Post by Deforcer »

Thanks for your answer, that did the trick! :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest