Author Topic: Don't close window shutters when door is still open  (Read 98 times)

Offline spelzl

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Don't close window shutters when door is still open
« on: November 26, 2017, 12:59:22 pm »
Hello,

I am looking for help to create a scene, which closes the window shutters 2hs after sunset but not when the terrace door is still open, i.e. we are still outside enjoying the evening on the terrace.

The Vera UI provides the opportunity to add a logical and for two triggers via the iOS app interface but it only considers the door sensor status transitions and not the status conditions as such.

Any help is appreciated!

P.S.: I am not a programmer and have no clue about LUUP....

Best regards
Stefan

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 939
  • Karma: +20/-18
    • Worthington Engineering, Inc.
Re: Don't close window shutters when door is still open
« Reply #1 on: November 26, 2017, 08:06:01 pm »
I would suggest trying PLEG, which allows pretty elaborate logic. 

Another option is to use a combination switch. If 2 hours after sunset, it sets one of the switches, and if the door is closed, it sets the other switch. When both are set, a scene can be triggered by the combination switch to close the shutters.
Vera 3, UI7 1.7.947, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs door sensor, Insteon garage control, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual & Multi Switch, Weather, Sys. Mon.