Announcement
Collapse
No announcement yet.
Easy Trigger plug-in - Feature Requests
Collapse
This is a sticky topic.
X
X
-
Originally posted by spud View Post
Are you talking about nested groups?
If so would that be ok for you if I add a group type called "Super Group" in which you can only select other groups (dynamic or static) ?
The idea there was that if you have a group of devices used in a trigger, there should be an easy way to act on just the triggering device without having to use CAPI.
I've given a few ideas of how this could be implemented depending on which you think is easiest.
I also have thought of a third mechanism which is to have an Easy Trigger Action that acts on a device identified by its HomeSeer Reference number.:
For example, if you have a group of 50 devices (say all your lights), and you want to make sure that no light was ever set below 5%, you would have a Event that triggered on any of the lights in the group changing, and then in the body, you could have an action like:
Easy Trigger Set Device device identified by Reference Number ______ to expression _____________
Where the first blank can be $ETDeviceRef, a fixed number, or a simple expression using $ETDeviceRef
and the second blank can be any expression that you normally use in Easy Trigger Set Device to Expression. In this case, the expression to make sure you don't set any device to less than 5% (but still allow 0 for off) might be something like ( $NEWVALUE > 0 && $NEWVALUE < 5) ? 5 : $NEWVALUE
As a second use case, you could have a group of all of your Central Scene devices where, if any central scene device is set to triple tap (value 1004) you would set the related light value to 99%. So, for that, you would get ETDeviceRef as the triggering device, but you would want to control the light which HomeSeer typically assigns the next reference number, or ETDeviceRef + 1, thus
Trigger: Any Device in Group [Central Scene Group1] set to 1004
Then
Easy Trigger Set Device identified by Reference Number ($ETDeviceRef+1) to expression: 99
Thanks for your consideration of these ideas.
- Likes 1
Comment
-
Set Group of Devices to expression.
Add $DEVICECHANGE. It would return the number of seconds since the device has changed.
I'm guessing if i knew scripting well enough I could make this happen with the current version of the plug-in.
I have about 35 switches I would like to turn off if they have been on for a certain amount of time and within a schedule. There are a bunch of ways I could do this. Right now I just have a separate event for each device.
I was thinking it would be nice to use a group and set group to expression as a shortcut to create just one event.
If any value in Group X has not changed for exactly 15 minutes
then
set Group X to if ($DEVICEVALUE > 0 && $DEVICECHANGE > 899, 0, $DEVICEVALUE)
check the option not to send if the value has not changed.
Comment
-
Originally posted by ryanoly View PostSet Group of Devices to expression.
Add $DEVICECHANGE. It would return the number of seconds since the device has changed.
I'm guessing if i knew scripting well enough I could make this happen with the current version of the plug-in.
I have about 35 switches I would like to turn off if they have been on for a certain amount of time and within a schedule. There are a bunch of ways I could do this. Right now I just have a separate event for each device.
I was thinking it would be nice to use a group and set group to expression as a shortcut to create just one event.
If any value in Group X has not changed for exactly 15 minutes
then
set Group X to if ($DEVICEVALUE > 0 && $DEVICECHANGE > 899, 0, $DEVICEVALUE)
check the option not to send if the value has not changed.
Of course, you can also add in your schedule requirements as additional "and if" conditions.
To avoid the scripting part, I've suggested that spud add a new feature which would eliminate the need for the scripting (see Posts # 574, 587) - I suspect he's tied up with other work on HS4 for now, but hopefully we'll see something in the future to simplify these scenarios where you want to control the device that caused the group trigger to trigger.
Comment
-
Guest
Feature request :
hi spud .
For the group condition, you can choose any or all. What I would like is away to set a number of device in the group that match the condition.
ex:
if any device is the group change.
and if 3 devices in the group is set to 100 ( open).
Then turn off the heat mode of the termostat.
the number of devices in the condition would be user configurable
Edit: having the possibility to have a condition = ,<=, >=, <, >, range, to the number would be nice too.
The workaround for now is to use a counter , but it is not as reliable as setting a condition. It would be really nice if in all the group conditons, the option to dynamically catch the number of device that match the condition be added as easytrigger conditions
Comment
-
Originally posted by spud View Post
I will add that in the HS4 version of the plugin (no ETA yet)
I am about to buy the plugin, but I just read you will be/are working on a "4" version. Will the license which I am about to buy for version 3 also work for V4? Or is this than money thrown away?
Thanks.
Cor
Comment
-
Originally posted by Corvl1 View Post
Hello,
I am about to buy the plugin, but I just read you will be/are working on a "4" version. Will the license which I am about to buy for version 3 also work for V4? Or is this than money thrown away?
Thanks.
Cor
Comment
-
Hi spud
Is it possible to generate a trigger based on a timer that can be compared to a device value or expression. I wanted to implement a user interface to allow the user to control the interval for a certain set of events. I had hoped to set a device as a slider for a suitable range of time but I can find no way, short of code, to use the device's value in a test condition for the timer.
Thanks
Andy
Comment
Comment