Author Topic: Adding two triggers, AND option needed.  (Read 629 times)

Offline HarryB

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
Adding two triggers, AND option needed.
« on: August 13, 2017, 07:22:57 pm »
The iOS version of Vera has an "and" option so two or more triggers must be happening at the same time, e.g. door sensor is open AND at 10pm. Reminds me to close the door at night if open. Would like to see it in GUI web version.

Offline akbooer

  • Master Member
  • *******
  • Posts: 5277
  • Karma: +229/-67
  • "Less is more"
Re: Adding two triggers, AND option needed.
« Reply #1 on: August 14, 2017, 03:24:19 am »
If you try the Alternative AltUI interface, it supports this trigger mode.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P.
Razberry, MySensors Arduino, HomeWave, AltUI, DataYours, openLuup, ZWay, ZeroBrane Studio.

Offline RichardTSchaefer

  • Master Member
  • *******
  • Posts: 9811
  • Karma: +741/-136
    • RTS Services Plugins
Re: Adding two triggers, AND option needed.
« Reply #2 on: August 26, 2017, 02:02:05 pm »
Or use PLEG then you can mix  AND and OR in the same expression of triggers and device variable states, with appropriate parenthesis.

Offline xo

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Adding two triggers, AND option needed.
« Reply #3 on: October 10, 2017, 02:21:20 pm »
Well it is a basic thing so an "AND" option, so it would be nice to have it also in the basic interface.

Offline Sorin M.

  • Administrator
  • Master Member
  • *****
  • Posts: I am a geek!!
  • Karma: +47/-4
    • getvera.com
Re: Adding two triggers, AND option needed.
« Reply #4 on: October 12, 2017, 05:55:28 am »
Indeed, the option is already visible on the mobile apps but had not made it's way yet in the firmware side of the Vera. So this will not work yet, but it will be a feature, that will be added later on.
Sorin M. ▾ Community Manager
Vera Control, Ltd. ▾ Smarter Home Control  ▾ support@getvera.com ▾www.getvera.com ▾ +1 (866) 966-2272

HOURS OF OPERATION (Pacific Time Zone, UTC -8 )
Monday - Friday   12:00 am ? 06:00 pm
Saturday - Sunday   04:00 am ? 06:00 pm

Offline Priest

  • Full Member
  • ***
  • Posts: 174
  • Karma: +6/-0
Re: Adding two triggers, AND option needed.
« Reply #5 on: December 06, 2017, 11:47:00 am »
I know this is in development, but may I make a suggestion for when you do get it moving in the future...

See the attached picture, it is from a reporting system I use, but it has the right type of interface for what we should be able to do.  where each line is a trigger or condition, each line can be selected to be in a bracket you can hit "and" or "or" between lines, and outside of the captured area you can click to add more lines.  It cant go as complex a PLEG, but would be fairly intuitive....especially if when you hit "validate" that it will stop you if you dont have a closing bracket for one that is open.