Announcement

Collapse
No announcement yet.

One event to warn when any battery falls below 15%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    One event to warn when any battery falls below 15%

    I'm very new to HomeSeer, so forgive me if this is a basic question. Also, I tried searching, but am unsure if what the right terms are for what I'm trying to do.

    That said, I have a number of battery-operated devices on my 100% z-wave network. I can set up individual events that warn me if a particular battery falls below 15%, but that seems cumbersome.

    In Device Management, I can filter on "Device Type" to show me all z-wave battery devices. Is there some way I can use this grouping in a single event? One that basically says "any time any battery in the z-wave battery device type group falls below 15%, send an email"?

    thanks.

    #2
    Originally posted by klieber View Post
    I'm very new to HomeSeer, so forgive me if this is a basic question. Also, I tried searching, but am unsure if what the right terms are for what I'm trying to do.

    That said, I have a number of battery-operated devices on my 100% z-wave network. I can set up individual events that warn me if a particular battery falls below 15%, but that seems cumbersome.

    In Device Management, I can filter on "Device Type" to show me all z-wave battery devices. Is there some way I can use this grouping in a single event? One that basically says "any time any battery in the z-wave battery device type group falls below 15%, send an email"?

    thanks.
    No, there isn't. You will have to resort to scripting or put up with cumbersome. I use individual events on device groups in addition to monthly emails that alert me to the values of all batteries using replacement variables. The email gives me sufficient warning to preemptively replace any batteries nearing need for replacement. The emails are generated at 8:00PM on the first Friday of each month so that I can use the weekentd to replace any failing batteries. The body of the emails is structured like this

    Code:
    $date- $time
    
    Door Sensor battery levels
    
    Back Porch - $$DSR:1899:
    Master Bedroom - $$DSR:1911:
    Dining Room - $$DSR:1903:
    Living Room- $$DSR:1907:
    Garage Side Door - $$DSR:1422:
    Garage Door - $$DSR:1915:
    Mailbox - $$DSR:1406:
    Shed Back Door - $$DSR:1552:
    Shed Front Door - $$DSR:1549:
    Workshop Back Door - $$DSR:1544:
    Workshop Front Door - $$DSR:1540:
    ~~~
    
    Window Sensor battery levels
    
    Workshop 1 - $$DSR:2561:
    Workshop 2 - $$DSR:2599:
    Back Porch 1 - $$DSR:2226:
    Back Porch 2 - $$DSR:2230:
    Back Porch 3 - $$DSR:2234:
    Back Porch 4 - $$DSR:2284:
    Back Porch 5 - $$DSR:2618:
    Dining Room - $$DSR:2595:
    Kitchen - $$DSR:2591:
    Upstairs Bathroom - $$DSR:2672:
    Master Bedroom - $$DSR:2206:
    Spare Room - $$DSR:2218:
    Michelle's Office - $$DSR:2214:
    Living Room - $$DSR:2210:
    Laundry - $$DSR:2610:
    Randy's Office - $$DSR:2606:
    Downstairs Bathroom - $$DSR:2614:
    ~~~
    The body of the email using replacement variables looks like this:

    Sunday, July 19 2015- 12:01 PM

    Door Sensor battery levels

    Back Porch - 80%
    Master Bedroom - 80%
    Dining Room - 80%
    Living Room- 80%
    Garage Side Door - 100%
    Garage Door - 80%
    Mailbox - 100%
    Shed Back Door - 80%
    Shed Front Door - 60%
    Workshop Back Door - 80%
    Workshop Front Door - 70%
    ~~~

    Window Sensor battery levels

    Workshop 1 - 90%
    Workshop 2 - 70%
    Back Porch 1 - 80%
    Back Porch 2 - 80%
    Back Porch 3 - 80%
    Back Porch 4 - 80%
    Back Porch 5 - 80%
    Dining Room - 80%
    Kitchen - 80%
    Upstairs Bathroom - 80%
    Master Bedroom - 80%
    Spare Room - 90%
    Michelle's Office - 80%
    Living Room - 80%
    Laundry - 80%
    Randy's Office - 80%
    Downstairs Bathroom - 80%
    ~~~


    For my events, I use multiple triggers with a single message and combine them by groups of similar devices. You could use a battery percentage as a trigger instead of Low Battery if you want.
    Attached Files
    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

    Comment


      #3
      This is one area that I thought that Group Actions would be useful. You have a ton of devices to check the conditions, then fire the group action, but there is not way to know the "triggering device". In my case, my event looks a lot like Randy's except I just have a group action that sends me an email that says "A battery is low". Then I have to go to the device view, filter by batteries, etc.
      HS4Pro on a Raspberry Pi4
      54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
      Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

      HSTouch Clients: 1 Android

      Comment


        #4
        I've got a bunch of battery devices here, some of which just report a low battery condition and others a percentage remaining so I created a script that runs once a day and iterates all my battery devices and sends me a pushover notification if there's anything to report.

        I also have a variation on this script that's triggered from a spare button on our alarm key fob's and speaks the status of the alarm system including any security sensors that have a low battery condition.

        Being a reasonably competent scripter I'm guilty of not always looking at the "event" way of doing things.

        Paul..

        Comment


          #5
          Thanks for the replies. What's the proper protocol to submit a feature request for a future version? This seems like something lots of folks would benefit from.

          Comment


            #6
            Originally posted by klieber View Post
            Thanks for the replies. What's the proper protocol to submit a feature request for a future version? This seems like something lots of folks would benefit from.
            Enhancement requests can be made through Bugzilla. Just register a username and password then you can "File a bug" under HS3/Base Application and use "Severity": "enhancement".
            HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

            Comment

            Working...
            X