Author Topic: Close blinds at certain time and the door isnt open  (Read 195 times)

Offline Ansu2723

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Close blinds at certain time and the door isnt open
« on: June 24, 2018, 01:46:55 pm »
I want to close my blinds at a certian time. I have created a scene for that and it is working great, BUT I only want the blinds to close if my doorswitch is closed.
I got PLEG but I dont use it yet. So if anyone can tell me how to do this in PLEG Im very greatful.

How I want it to work. Between 20:00 and 7:00 the blinds should be closed, but if the door is open I dont want it to close. BUT if I close the door between these times I also want the blinds to close.

Thanks in advance.

Offline zedrally

  • Hero Member
  • *****
  • Posts: 1081
  • Karma: +8/-4
  • Black Cat Control Systems
Re: Close blinds at certain time and the door isnt open
« Reply #1 on: June 24, 2018, 07:20:26 pm »
The condition I use is:



tNight and (tNight;Now>00:15:00) and tRearDoorClosed

Replace   tNight;;Now>00:15:00)  with your schedule time
Living in the Land of Oz, give me a vegemite sandwich. Home Seer, Vera Lite & Edge, Popp, Black Cat Smart Hub & Vera G, Black Cat Lite 1 & 2's a Black Cat Dimmer or 2, Fantem Tec and then some  Black Cat Cat's Eye PIR's & Door-Window Sensors, RFXComm, Broadlink RMPro & Mini plus a Z-UNO or 2.