walking upstairs,,, if top of stairs becomes motion and if bottom of stairs motion has changed in the last 5 seconds then .....
Stuart
Announcement
Collapse
No announcement yet.
Easy Trigger plug-in - Feature Requests
Collapse
This is a sticky topic.
X
X
-
spud would it be possible to add a condition that compares the Last Change time of two devices, such as: "And If <device 1> Last Change time was before <device 2> Last Change time" ?
I think this would make it really easy to condition triggering events based on things like the direction of motion or a car coming home vs. leaving etc., for example:
"Car Arriving Home" event:
If Driveway Gate changes and becomes Open
And If Garage Door has a value equal to Open
And if Driveway Gate changed before Garage Door
And if Garage Door changed before Garage Motion Sensor
Then
etc.
"Walking Upstairs" event:
If Bottom of Stairs Motion Sensor changes and becomes Motion
And If Top of Stairs Motion Sensor changes and becomes MotionAnd if Bottom of Stairs Motion Sensor changed before Top of Stairs Motion SensorThen
etc.
Or, if it's already possible to compare two devices' Last Change times with An Expression, would you mind letting me know how?
Thanks!
- Likes 1
Leave a comment:
-
I agree with jvm's suggestion - I had an occurrence this evening where the event triggered (to turn on a light) but for some reason the Z-wave light did not turn on. I'd like the event to be able to re-trigger in a short time so the light will go on.
Regards,
BBB
Leave a comment:
-
I have a suggestion / clarification for the "for exactly" triggers which is to also allow them to function as a repeating "at least" trigger.
My suggestion is that there be an "at least" trigger with parameters to specify a "min. repeat time" and "maximum repeats" such the trigger continues to fire, but no two firings are closer than the "Minimum Time Between Re-Trigger" and the total number of firings won't exceed "Maximum Triggers"" (which could be set as "No maximum").
So, for example, you could have an event that starts firing after some "at least" time period has been exceeded for a device, and as long as that time period is exceeded, would re-trigger but at a time interval no less than ""Minimum Time Between Re-Trigger" (which should be some non-zero value with a pre-set minimum, to prevent run-away triggers) and would re-trigger no more than "Maximum Triggers" The "Maximum Triggers" would reset if the device went out of the trigger range.
For the "Any Device's Value in Group" there would be some further refinements / options - (Option 1) Once triggered, Re-Trigger as long as the same device that originally caused the trigger remains in the "at least" trigger range; and (Option 2) Once triggered, Re-Trigger as long as any device in the group remains in the "at least" trigger range - Thus, if the original triggering device triggers due to being in the trigger range for the "at least" time period, a second device enters the time period and then the first device exits it, you would "bridge" the time periods as if they were continuous.
- Likes 1
Leave a comment:
-
Originally posted by Stuart View PostSince easytrigger can enable and disable events, is it possible to check the status of and event as a condition (enabled, disabled) ?
Thanks,
--Barry
- Likes 1
Leave a comment:
-
Since easytrigger can enable and disable events, is it possible to check the status of and event as a condition (enabled, disabled) ?
Thanks,
- Likes 2
Leave a comment:
-
Thanks. can you confirm - do these new group functions set all of the standard "ET..." Global Variables to indicate which of the devices in the group caused the trigger to fire?
Leave a comment:
-
Originally posted by logman View Post
That will work. But it would also work just as well if your Trigger (the "IF") was simply "on" rather than "on for 2 minutes". The Condition "AND IF" can only be true if the virtual switch is on and the wattage indicates the physical dryer has been off for 2 minutes, so the time condition for the Trigger is not necessary.
I'm not a processor engineer, but I believe using a simple Trigger will also lower the complexity (CPU clocks) of the event by several fold.
--Barry
Leave a comment:
-
Guest repliedThanks spud ! Just updated. No errors.
That will be a passive test for me since I will have less time in the next weeks. will let you know.
Leave a comment:
-
Originally posted by teladog01 View Post
spud, any chance these Device triggers will be implemented for Groups? I'd appreciate some commentary either way...
If there is no plan to implement these triggers for goups, then I will start planning an alternate design for my events. But it they might be implemented in the near future then I will hold out for that since these missing group triggers would dramatically simplify some of the events I'm planning to implement.
I also did quite a bit of refactoring so let me know if I broke something.
- Likes 1
Leave a comment:
-
Originally posted by gmitch64 View Post
Hopefully this will work...
I'm not a processor engineer, but I believe using a simple Trigger will also lower the complexity (CPU clocks) of the event by several fold.
--Barry
Leave a comment:
-
Originally posted by gmitch64 View PostThere are options in EasyTrigger for a devices value has been in the range {X,Y] for exactly... (and NOT been in range). Would it be possible to also add so that a device can be in the range for "at least"... Standard HS allows for the "at least", but only for a single value, not ranges.
I'm trying to add some automation to my drier and washer, and the ranges work fine, but it doesn't always run when I chose "exactly 2 mins", and I'd like to be able to chose "at least 2 mins" so that it doesn't trigger when the washer and drier are on the low power part of their cycles.
Thanks
G
Leave a comment:
-
There are options in EasyTrigger for a devices value has been in the range {X,Y] for exactly... (and NOT been in range). Would it be possible to also add so that a device can be in the range for "at least"... Standard HS allows for the "at least", but only for a single value, not ranges.
I'm trying to add some automation to my drier and washer, and the ranges work fine, but it doesn't always run when I chose "exactly 2 mins", and I'd like to be able to chose "at least 2 mins" so that it doesn't trigger when the washer and drier are on the low power part of their cycles.
Thanks
G
Leave a comment:
Leave a comment: