Conditional Event Actions

Homeseer Forum in het Nederlands (DUTCH forum)

Moderator: Ruud

Post Reply
kriz83
Member
Member
Posts: 200
Joined: Thu Oct 18, 2012 7:37 am
Location: Belgium

Conditional Event Actions

Post by kriz83 »

Hi,

I have quite a few events which share a great amount of same conditions.
e.g.:
- Send AutoRemote notification when Alarm is turned off
- Turn on radio if Alarm is turned off between 6 and 21
- Turn on lights if Alarm is turned off and it is dark outside.

At the moment, this causes me to have 3 events for the scenarios described above.
I have quite a few more (other) scenarios, and this clutters my event view because I have tons of events in it.

Now I want to clean up this mess and 'group' as much events as possible (e.g. all 'Alarm turned off' events -> 1 event).
However, HS does not allow for 'conditional' actions.

I tried writing multiline vb script in the 'run script' window, but it seems to only allow for 1 action ? (a '&' is prepended).
Create a custom script, but then I need a 'script' for every event, which seems like a bit of waiste.
Also, by using 'scripting', things brake if I change the name of a 'referenced' event.
Hiding events is also not possible :-(

How do you guys cope with this ?
Will there be an improvement with HS3?

Thx !
Kriz
HomeSeer - PlugWise - RFXComm - Philips Pronto TSU9800/9600/9300
AshaiRey
Senior Member
Senior Member
Posts: 1310
Joined: Mon Feb 02, 2009 5:27 pm
Location: Netherlands
Contact:

Re: Conditional Event Actions

Post by AshaiRey »

You can't hide events but you can store them away in a seperate group.

If you want multiple script commands on one line then seperate them with a semicolon :

You can put all the conditions in one script let that do the triggering. You can parameterize the script too so you can trigger parts depending on the parameter you pass. This way you only need to call just one script.
Bram
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: Conditional Event Actions

Post by raymonvdm »

I have some issue with conditional Events

I have created an event bases on condition "when device x usages is between 0...4000 poweroff device y but only when device A has been on for at least 1 hour and device B has been of for at least 30 minutes

Now when device x updates Its status to 0 homeseer seems to be waithing for some time before even running the event. And when it is running the event it is ignoring its dependencies (it looks like a bug to me)

I have grouped all my events based on there functions

- All events for opentherm are under the group opentherm (temp settings / status updates)
- All events for ventilation are in the ventilation group and so on

I think homeseer events could be more SMART to setup. I think Fibaro is much better at this
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
Post Reply

Return to “Homeseer algemeen Forum”