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

Offline spelzl

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

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

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1443
  • Karma: +39/-36
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, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa