[Help]No move in 30 min then power off device

Moderator: leecollings

Post Reply
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

[Help]No move in 30 min then power off device

Post by DAVIZINHO »

Hello,

firstly sorry for my poor english, is not my natural languaje and is very bad :-(

Im a new user of domoticz and im configure recently a xiaomiy devices with domotic and a air purifier.
All works perfect and now i m trying to create scenes with blocky.

Im trying to do the next scene:
- Device 1: Move detector ("on" when detect a move, and "off" when no detect move)
- Device 2: Air purifier ("0" is off, "10" is on. I power on with scripts, Works perfect)
- Scene objetive: when the purifier is on and move detector not detect move in 30 minutes, then purifier off

conceptually is easy but in blocky i can´t find the way

can someone help me?

thanks a lot
-David-
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: [Help]No move in 30 min then power off device

Post by jannl »

You could also do that in a script and check for the last_update of the move detector
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest