www.homeseer.com    
 

Go Back   HomeSeer Message Board > Ultilities (Plug-ins) > Utilities Discussion > SDJ-Health Plug-in (3P)

Reply
 
Thread Tools Display Modes
  #1  
Old May 30th, 2018, 07:20 PM
Ltek Ltek is offline
Seer Master
 
Join Date: Dec 2010
Location: earth
Posts: 643
Question 'Clever' Scripts or Events to send Low Battery Notifications?

Anyone using using anything clever to send email or PushOver notifications when 'low battery' is detected? I know I can make several, separate events, but I have 22 devices... trying to avoid that!


thx
Reply With Quote
  #2  
Old May 31st, 2018, 03:31 AM
SteveMSJ SteveMSJ is online now
Seer Master
 
Join Date: Jan 2012
Location: UK
Posts: 797
Quote:
Originally Posted by Ltek View Post
Anyone using using anything clever to send email or PushOver notifications when 'low battery' is detected? I know I can make several, separate events, but I have 22 devices... trying to avoid that!


thx
I don't know about 'clever' but using SDJ-Health you only need 1 event to send Pushover or email alerts when any of your monitored battery devices has an issue. All reporting is through the root device which reports the nature of the alert and the device raising the alert. The root can also show a short report of all devices that have issues or a full report of the status of all the monitored devices. Including the root device string in your message shows whichever report is selected.

Page 3 of the guide shows examples. I actually use 2 events for convenience although you can wrap them into one. The main event is triggered any time an issue is raised and sends a pushover message with the nature of the event and the name of the device that raised the alert. The second event then sends me an email with a full report of the status of all my monitored devices.

Name:  1st Event.JPG
Views: 59
Size:  55.1 KB
Name:  2nd Event.JPG
Views: 59
Size:  59.5 KB

In the messages 1597 is the RefID of the SDH-Health root device so needs to be set to your particular ID.

The alert may be a missed wake-up, low battery, high discharge rate, or battery life exceeded. By splitting into two events like this you could give the second event a time trigger so that you also get an email every day or week with a full report of the status (battery levels etc) of your monitored devices.

One other advantage is that if you add or remove battery devices you don't have to reconfigure events because they are all handled through the single SDJ-Health root device.

Steve
Reply With Quote
  #3  
Old May 31st, 2018, 09:03 AM
rmasonjr's Avatar
rmasonjr rmasonjr is offline
OverSeer
 
Join Date: May 2001
Location: Brookhaven, MS USA
Posts: 6,489
There is a script floating around the board that will go through all of your battery devices and email you a report. I have mine to run every Friday at 4p and it's pretty handy.
__________________

HS3Pro Running on a Raspberry Pi2 (Raspbian)
64 Z-Wave Nodes, 162 Events, 293 Devices
UPB modules via OMNI plugin/panel
Plugins: Z-Wave, BLRF, OMNI, HSTouch, weatherXML, EasyTrigger
HSTouch Clients: 3 Android, 1 Joggler
Reply With Quote
  #4  
Old May 31st, 2018, 09:19 AM
SteveMSJ SteveMSJ is online now
Seer Master
 
Join Date: Jan 2012
Location: UK
Posts: 797
Quote:
Originally Posted by rmasonjr View Post
There is a script floating around the board that will go through all of your battery devices and email you a report. I have mine to run every Friday at 4p and it's pretty handy.
A script like that is generally a good solution and obviously lighter weight than a plugin.

However, the main advantage of SDJ-Health is it can alert you as soon as a device stops waking up, indicating the batteries have died. So, you aren’t just reliant on reported battery levels.
I have devices that only ever report 0% and others that die with percentages as high as 70 or 80.

It can also do a lot of other things like monitor activity and keep a database of battery values so you can see how individual devices perform. All these things are interesting but certainly not essential.

Steve
Reply With Quote
  #5  
Old May 31st, 2018, 09:31 AM
Ltek Ltek is offline
Seer Master
 
Join Date: Dec 2010
Location: earth
Posts: 643
@Steve
I agree that the built-in status functions you have are nice. Since I have 22 devices (and growing) I'd like to have the info on ONLY the ones that need attention.


Example:
Once a Day the reporting events (events I build) would send me a list of 'only' the devices that have issues I care about. Thus separate emails for

5 devices with low batteries
2 devices that haven't reported in in the past 24 hours
etc


@rmasonjr
Thanks I didnt know one existed. You talking about this script? ... https://forums.homeseer.com/showpost...75&postcount=6
Reply With Quote
  #6  
Old May 31st, 2018, 09:44 AM
rmasonjr's Avatar
rmasonjr rmasonjr is offline
OverSeer
 
Join Date: May 2001
Location: Brookhaven, MS USA
Posts: 6,489
Quote:
Originally Posted by Ltek View Post
@rmasonjr
Thanks I didnt know one existed. You talking about this script? ... https://forums.homeseer.com/showpost...75&postcount=6
Yep - thats the one.
__________________

HS3Pro Running on a Raspberry Pi2 (Raspbian)
64 Z-Wave Nodes, 162 Events, 293 Devices
UPB modules via OMNI plugin/panel
Plugins: Z-Wave, BLRF, OMNI, HSTouch, weatherXML, EasyTrigger
HSTouch Clients: 3 Android, 1 Joggler
Reply With Quote
  #7  
Old May 31st, 2018, 11:16 AM
SteveMSJ SteveMSJ is online now
Seer Master
 
Join Date: Jan 2012
Location: UK
Posts: 797
Quote:
Originally Posted by Ltek View Post
@Steve
I agree that the built-in status functions you have are nice. Since I have 22 devices (and growing) I'd like to have the info on ONLY the ones that need attention.


Example:
Once a Day the reporting events (events I build) would send me a list of 'only' the devices that have issues I care about. Thus separate emails for

5 devices with low batteries
2 devices that haven't reported in in the past 24 hours
etc
[/url]
You can configure global parameters but also override them as necessary for individual monitored devices. This includes what type of alerts as well as what values trigger alerts.
You can disable some devices or turn off alerts if you aren’t interested in them.
In an event you can switch the reporting between three levels before sending an email to format the message you receive.

Status – will just report something like:

Monitoring 22 devices
2 Missed, 5 Low, 15 OK
Last Alert: Wakeup Missed
Living Room Multisensor Battery


Short – will add detailed information but only for the devices that have issues. Typically Last Wakeup Date and Time, Last Sleep Period, Battery Level, Battery Discharge Rate, Battery Life and Status.

Full – will include the detailed information for all devices whether they have issues or not.

Steve
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to send out Notifications cpearson88 Message Board Issues, Suggestion, Problems 6 February 6th, 2017 06:40 PM
RF Devices Low Battery Notifications PJJPtx Vista Alarm Plug-in (3P) 2 August 26th, 2016 07:57 AM
Low battery notifications electron ACRF Processor (3P) 10 December 30th, 2010 02:13 PM
Can I get events notifications of events? rolanday Script & Plug-In Development 0 January 18th, 2010 02:03 AM
For all you clever people out there!! lancenorton HomeSeer General Discussion Area 5 March 31st, 2006 10:06 AM


All times are GMT -4. The time now is 12:19 PM.


Copyright HomeSeer Technologies, LLC