Schedule

Moderator: leecollings

Post Reply
PatrickGoosen
Posts: 10
Joined: Wednesday 24 October 2018 15:27
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Purmerend
Contact:

Schedule

Post by PatrickGoosen »

Hi everybody, I would like to schedule a lamp with two modes. The first during daytime it should be set to normal operation. At night (after 23:00) it should go to nightmode. The the scripts. It does not work. What am I doing wrong...

The script goes:

if movement on 1st floor and it's am set milight to nightmode.
else if movement on 1st floor and it's pm set milight to normal mode.
else if movement off on first floor set light off after 60 seconds.

Please help.

Image
Joep123
Posts: 56
Joined: Monday 26 March 2018 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Schedule

Post by Joep123 »

It should work if you use OR between the times at the first line.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest