Announcement

Collapse
No announcement yet.

Easy Trigger plug-in - Feature Requests

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • spud
    replied
    in version 3.0.0.45 available here I have added 4 global variables (ETDeviceRef, ETDeviceName, ETDeviceValue and ETDeviceStatus) which are set with the triggering device when a group triggers.

    This allows to do some things like the following:

    Click image for larger version

Name:	globalvar3.png
Views:	2
Size:	17.9 KB
ID:	1196145

    Click image for larger version

Name:	globalvar2.png
Views:	1
Size:	115.0 KB
ID:	1196144

    Click image for larger version

Name:	globalvars.jpg
Views:	2
Size:	56.3 KB
ID:	1196146

    Leave a comment:


  • sirmeili
    replied
    Originally posted by spud View Post
    You can do it using a recurring trigger and the ET condiion "A device's value has Not changed for at least"
    Good idea. I've never used recurring triggers so didn't think to use it here Thanks for the heads up.

    Leave a comment:


  • spud
    replied
    Originally posted by sirmeili View Post
    @spud, I see we have the option of "A device's value has NOT changed for exactly...". Can we get "A device's value has NOT changed for at least..."?

    I ask because I want to monitor a device to see if it has not changed in 24 hours. I also want to be notified on an hourly basis after that. If I use the trigger that's in there, I only get the first alert. If you can add the one for "at least", then I can set the event option "Cannot Re-run for XXXX" to 1 hour.


    Would this be simple to add?
    You can do it using a recurring trigger and the ET condiion "A device's value has Not changed for at least"

    Leave a comment:


  • sirmeili
    replied
    @spud, I see we have the option of "A device's value has NOT changed for exactly...". Can we get "A device's value has NOT changed for at least..."?

    I ask because I want to monitor a device to see if it has not changed in 24 hours. I also want to be notified on an hourly basis after that. If I use the trigger that's in there, I only get the first alert. If you can add the one for "at least", then I can set the event option "Cannot Re-run for XXXX" to 1 hour.


    Would this be simple to add?

    Leave a comment:


  • kideon
    replied
    Would this allow us to piece together long messages? I’ve been working on my announcements and thinking of creative ways to do that dynamically without chained events.

    Leave a comment:


  • bebaldin
    replied
    Originally posted by spud View Post
    Yep that's a good idea, will do it.
    Excellent! I am really looking forward to seeing what I can do with this new feature.

    Leave a comment:


  • kideon
    replied
    Originally posted by spud View Post
    I could add conditions based on "last change date" like "last change date for device X is within Y minutes from now"
    That would be great! With that, rock solid occupancy detection will be in my reach. Would it be possible to include the potential values like door sensor changed to “open” within the last xxx minutes/hours/days/seconds?

    Leave a comment:


  • spud
    replied
    Originally posted by kideon View Post
    Could you add the trigger for if a device has changed within the last xxx? I was planning on using this specifically for some occupancy scenarios like if the phone status changes to online and if the location has changed to near home within the last five minutes then change to home. Another scenario would be if motion is detected and the doors have changed status in the last xxx then xxx.
    I could add conditions based on "last change date" like "last change date for device X is within Y minutes from now"

    Leave a comment:


  • spud
    replied
    Originally posted by rprade View Post
    This is a good idea. Maybe the plug-in could create three global variables based on the triggering device when a group triggers: ETDeviceName, ETDeviceValue, ETDeviceStatus. Then replacement variables $$GLOBALVAR:ETDeviceName:, $$GLOBALVAR:ETDeviceValue: and $$GLOBALVAR:ETDeviceStatus: could be used in messages. This should be possible with a device group Trigger. A Condition would be problematic, since it is possible that more than one device in a group might be true for the Condition.
    Yep that's a good idea, will do it.

    Leave a comment:


  • kideon
    replied
    Originally posted by kideon View Post
    Could you add the trigger for if a device has changed within the last xxx? I was planning on using this specifically for some occupancy scenarios like if the phone status changes to online and if the location has changed to near home within the last five minutes then change to home. Another scenario would be if motion is detected and the doors have changed status in the last xxx then xxx.
    This possible?

    Leave a comment:


  • rprade
    replied
    Originally posted by jlrichar View Post
    OK I am in front of an actual computer so I can reply properly now. The idea I put forth to the Pushover plugin author (Adam?) was that he add a mechanism to create a console device for a user specified group of devices. What I imagined was to create a console device for say Temperature sensors for example. Within a tab for this console device it would be possible to select all of the homeseer devices whose status you want reflected in the console device status. I thought the pushover plugin was a good place for this since the intention was to then send a notification.

    Perhaps the easyTrigger is a better fit though since it is more along the theme of the plugin, and could make use of the grouping already present. The console devices would be useful for HSTouch type visual notifications, text, pushover, email. Hopefully I have done a little better describing it this time.
    I understand what you are saying. we are in an Easy Trigger feature request thread I think you have a very good suggestion.

    I use the PHLocation message panel in messages. I think it would be handy to have that on any group of devices we might select. I think that is something Spud could do in Easy Trigger instead of or in addition to my suggestion of global variables.

    Just like PHLocation's message panel, this would have to be generated by the triggering devices, which it would naturally fall into the realm of Easy Trigger. If we build a group in Easy Trigger, the message panel virtual device and/or global variables assigned to that group could be updated with the device name, the value it changed to and possibly the time of change any time a device in the group changes. The message panel device you are suggesting is a good idea and would be very useful in messages (Pushover, email or other) triggered by a Easy Trigger group. It could even be formatted such that it could be delivered as text or TTS.

    Leave a comment:


  • jlrichar
    replied
    Originally posted by rprade View Post
    I don't think this could be done within the Pushover plug-in as the plug-in would not know what device triggered the event launching the message. It could be done within Easy Trigger.
    OK I am in front of an actual computer so I can reply properly now. The idea I put forth to the Pushover plugin author (Adam?) was that he add a mechanism to create a console device for a user specified group of devices. What I imagined was to create a console device for say Temperature sensors for example. Within a tab for this console device it would be possible to select all of the homeseer devices whose status you want reflected in the console device status. I thought the pushover plugin was a good place for this since the intention was to then send a notification.

    Perhaps the easyTrigger is a better fit though since it is more along the theme of the plugin, and could make use of the grouping already present. The console devices would be useful for HSTouch type visual notifications, text, pushover, email. Hopefully I have done a little better describing it this time.

    Leave a comment:


  • jlrichar
    replied

    Leave a comment:


  • rprade
    replied
    I don't think this could be done within the Pushover plug-in as the plug-in would not know what device triggered the event launching the message. It could be done within Easy Trigger.

    Leave a comment:


  • jlrichar
    replied
    Originally posted by bebaldin View Post
    I am looking for a way to take a group of devices (lets use temperature sensors as an example) and if any of the devices reach a threshold, to trigger an output (Pushover, e-mail, etc.) using a single event.



    Right now, I literally have hundreds of events tasked with notifying me of various conditions of the house (temperature, motion, doors, windows, tamper, glass break, etc.). I am looking for a way to greatly simplify this. For example, I have 21 Aeotec temperature sensors. Each will send me a notification if the temperature in the area exceeds a certain value, and again if that value falls below the threshold. Right now, I have 21 events above, and 21 events below. The same is true for my locks, doors, windows, etc.



    I can group all of the devices together in EasyTrigger, but I cannot figure out a way to take the input from one device and plug its information into output with Pushover. What I want is something like this for the message:



    Message Title: HIGH TEMPERATURE ALARM at <device name>.

    Message Body: High Temperature detected at <device name>. Temperature is currently <value for specific device>. Please investigate ASAP.

    Message Priority: Emergency

    Message Sound: Siren

    Application: Homeseer (Alerts).



    The variables would be substituted by the specific device that triggered the alarm, chosen from the list of devices defined by the ET group. This would reduce the events just for temperature from 42 to 1 or 2, depending on whether you wanted different wording for alarm or normal in the message.



    This would seem to be something that everyone would benefit from, but I just don't know how to make it work. It really only requires a couple of pieces of information to be plugged into the template message, but I am stumped how to make it happen. I am actually surprised that HomeSeer itself does not have this functionality built right in, since it would make huge differences in the numbers of events you would have to create and maintain. I would think that would help to reduce overhead at least a little bit if you could reduce as many of these repetitive template-like events down to a single one.



    I envision using ET groups to greatly simplify maintenance on my Homeseer setup, especially where making a single device change such as removing and adding a new device would not result in having to find and make changes to a dozen events. Instead, I could just open up the group, remove the old device and add the new one, and everything connected to that group would be updated in one action.

    Leave a comment:

Working...
X