www.homeseer.com

Go Back   HomeSeer Message Board > HomeSeer > Home Automation Software > HomeSeer HS2™ Specific

HomeSeer HS2™ Specific General discussion about HomeSeer HS2.

Reply
 
Thread Tools Display Modes
  #1  
Old August 25th, 2009, 05:34 AM
nslmanu nslmanu is offline
Seer Deluxe
 
Join Date: Feb 2009
Location: France
Posts: 178
Red face Multiple conditions in HS2

Hello,

After trying many ways to put more than one conditions without results, i post some questions :

In fact i'd like to check this :

- If temp sensor value X is higher OR lower of Y at least of Z mins , sent an email.

- If temp sensor value X is higher than W AND lower than Y at least of Z mins , sent an email.

- If Sensor X is On AND Sensor Y is Off AND value Z is higher than W AND lower than V ( or just value Z is higher OR lower than W ) at least of B mins, sent an email.

The only thing i can do it only
one condition as the screenshot.

There is some possibilities to put more than conditions as these one ?

Thanks a lot in advance ...

Regards
Attached Images
 
Reply With Quote
  #2  
Old August 25th, 2009, 06:49 AM
kaldoon's Avatar
kaldoon kaldoon is online now
Seer Master
 
Join Date: Apr 2007
Location: Florida
Posts: 593
Default

Checkmark the Apply conditions box this will allow for multiple conditions - another option is script
Reply With Quote
  #3  
Old August 25th, 2009, 06:53 AM
nslmanu nslmanu is offline
Seer Deluxe
 
Join Date: Feb 2009
Location: France
Posts: 178
Default

Thanks,

Yes i know for the Apply check box ... but i can't do them for the others conditions.

With scripts : i don't know vb.
Reply With Quote
  #4  
Old August 25th, 2009, 09:35 AM
Uncle Michael's Avatar
Uncle Michael Uncle Michael is offline
Super Seer
 
Join Date: Feb 2006
Location: Rochester, NY
Posts: 1,508
Default

Quote:
Originally Posted by nslmanu View Post
Yes i know for the Apply check box ... but i can't do them for the others conditions.
I'm not sure I understand what you mean. For reference see below.

Each time you click on the 'Submit' box you can add an additional condition. All conditions within a group are connected by 'And'. Groups are connected by 'Or'.

That said, although the interaction of the conditions is limited only by your ingenuity, the conditions you describe are complex. They will take some careful thought to get right. A script would be more straightforward, but will require some learning.
Attached Images
 
__________________
Mike
____________________________________________________________ __________________
HS 2.3.0.19 || Stargate 2.2 | ACRF2 1.0.3226.27426 | VWSCSV 2.2 | Ultrastatus 1.1.3172.37875 | BLRFID 1.0.35.0 | PowerTrigger 1.3 | NetCam 1.1 | ActiveBackup 2.0.0.26 || Scripts: Weather XML | PerfMon | VDGraph || HW: EeeBox | JDS Stargate | NetworX NX-8E | CAV6.6 w ABUS | Slink-e / CDJ | Compose switches, keypads, firewalls | WGL800 | RFXCOM LAN2 | LaCrosse 2310
Reply With Quote
  #5  
Old August 25th, 2009, 10:41 AM
Wadenut's Avatar
Wadenut Wadenut is offline
Super Seer
 
Join Date: May 2007
Location: Nova Scotia, Canada
Posts: 1,760
Default

Even scripting all this would be complex. Without resorting to scripting, your time requirements are going to necessitate the creation of a couple of extra devices to track the True time, and you'll need multiple events as well to accomplish all this.
First, apply some Boolean Algebra to your condition set. As you've described the requirements, they can be reduced to:

1. X not equal to Y
2. X greater than W
3. X On and Y Off, AND Z greater than W, AND Z less than V

Create events:
1. Set new device M ON if one of the first two conditions are true.
2. Set device N ON if the third set of conditions is true.
3. Test M for "has been on for at least" Z minutes. The action here would be send the email and reset M to Off.
4. Test N for "has been on for at least" B minutes. The action here would be send the email and reset N to Off.

If Rick or Rich are listening, a "Group has been true for x seconds" option would be nice.
__________________
Location: 45° 5' 49.27" N 64° 24' 49.96" W

Automate everything, modify the rest... but remember... For every action, there is an equal and unexpected reaction.
Reply With Quote
  #6  
Old August 25th, 2009, 12:54 PM
nslmanu nslmanu is offline
Seer Deluxe
 
Join Date: Feb 2009
Location: France
Posts: 178
Default

Thanks a lot very much,

So i need to use a Virtual device ?

Set On in the actual condition in not true ... and if the Virtual device is ON at least 5 minutes so send an email ....

correct ?

( in fact i search how to put ALL IN ONE event ) but it's impossible.
Reply With Quote
  #7  
Old August 25th, 2009, 01:33 PM
Uncle Michael's Avatar
Uncle Michael Uncle Michael is offline
Super Seer
 
Join Date: Feb 2006
Location: Rochester, NY
Posts: 1,508
Default

Quote:
So i need to use a Virtual device ?

Set On in the actual condition in not true ... and if the Virtual device is ON at least 5 minutes so send an email ....

correct ?
That's how I'd do it.
In fact, I'd try to break the task into several events and devices. That makes the logic easier to understand and the code easier to maintain if you want to change it. Although there is a tendency in human nature to try to minimize devices and events, I don't think there is any real advantage and probably it just makes the task harder.
__________________
Mike
____________________________________________________________ __________________
HS 2.3.0.19 || Stargate 2.2 | ACRF2 1.0.3226.27426 | VWSCSV 2.2 | Ultrastatus 1.1.3172.37875 | BLRFID 1.0.35.0 | PowerTrigger 1.3 | NetCam 1.1 | ActiveBackup 2.0.0.26 || Scripts: Weather XML | PerfMon | VDGraph || HW: EeeBox | JDS Stargate | NetworX NX-8E | CAV6.6 w ABUS | Slink-e / CDJ | Compose switches, keypads, firewalls | WGL800 | RFXCOM LAN2 | LaCrosse 2310
Reply With Quote
  #8  
Old August 25th, 2009, 01:56 PM
nslmanu nslmanu is offline
Seer Deluxe
 
Join Date: Feb 2009
Location: France
Posts: 178
Default

Mike,

it's just it becomes really boring to try to find anything when you have a lot of conditions, sensors etc etc ....

After, you'll do much errors ... so it's for that .... minimizing all to have something more clear.

But now i realize that i have 3 events, 1 virtual more just to check if my Gaz sensor is ON for at least few minutes ... or my Temp Frige is highr or lower for at least few minutes ....

But this is the way to follow to make it running !

( sorry for my bad english ... i'm french )
Reply With Quote
  #9  
Old August 25th, 2009, 07:18 PM
Uncle Michael's Avatar
Uncle Michael Uncle Michael is offline
Super Seer
 
Join Date: Feb 2006
Location: Rochester, NY
Posts: 1,508
Default

If you assign all the related events to a single group you can call them up together when you want to review the logic.

PS. Your English is way better than my French!
__________________
Mike
____________________________________________________________ __________________
HS 2.3.0.19 || Stargate 2.2 | ACRF2 1.0.3226.27426 | VWSCSV 2.2 | Ultrastatus 1.1.3172.37875 | BLRFID 1.0.35.0 | PowerTrigger 1.3 | NetCam 1.1 | ActiveBackup 2.0.0.26 || Scripts: Weather XML | PerfMon | VDGraph || HW: EeeBox | JDS Stargate | NetworX NX-8E | CAV6.6 w ABUS | Slink-e / CDJ | Compose switches, keypads, firewalls | WGL800 | RFXCOM LAN2 | LaCrosse 2310
Reply With Quote
  #10  
Old August 26th, 2009, 01:55 AM
nslmanu nslmanu is offline
Seer Deluxe
 
Join Date: Feb 2009
Location: France
Posts: 178
Default

Oki Doki , good tip/trick

Thanks a lot guys for all !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:43 AM.


Copyright 1998-2008 HomeSeer Technologies, LLC