Thursday, March 2, 2017

Quasi Nested Ifs

It seems basic nested IFs are something that still alludes most home automation without programming. Funny considering the Time Commander Plus did it way back in the X10 days about 2 decades ago. Though granted some might call that interface programming. Anyway one of the reasons I wanted to start this blog was to post about how Homeseer almost does it via WYSIWYG and that requires some space and preferabley at least one picture. While Homeseer still can not do something as simple as
IF alarm armed and IF door opens OR motion detected then trigger alarm
They can fake it with
IF alarm armed and IF door opens OR IF alarm armed and IF motion detected then trigger alarm
Which looks something like this
The closest you can come on most is to use a "mode" like "Away". On a Vera hub for example you would create a "Scene" that IF door opens OR IF motion detected then trigger alarm and tell it to only run in the "Away" or "Night" modes. No big deal you might say but if you are dealing with something that does not match one of the state modes (Away, Home, Night and Vacation) like for example soil moisture and rain forecasts when controlling a watering system it can get complex real quick on the systems I've tried if you are not a programmer.

No comments:

Post a Comment