Page 1 of 1
Low battery with Homeseer
Posted: Tue Oct 15, 2013 6:38 am
by johndoe2011
Hello,
I am a beginner for Homeseer scripts and I would appreciate some help for the following:
I have several Oregon temperature sensors and would like to test once a week if the battery are low and then send me an Email .
Could someone give me some help writing a script ?
Many thanks
Re: Low battery with Homeseer
Posted: Tue Oct 15, 2013 7:23 am
by geert-jan
Hi,
Are you using rfxcom?
If so, a script is not necessary. The rfxcom plugin sets the device 'off', when there is no communication with that device.
Create an event:
- trigger type: Device status change
- Device: the temperature sensor, NOT the battery status for that sensor
- Status: changed to off
- Action: whatever you want to do when the battery is low.
I use this mechanism, since the battery low warning when using rechargable batteries comes way too early.
Regards,
Geert-Jan van den Hurk
Re: Low battery with Homeseer
Posted: Tue Oct 15, 2013 8:00 am
by kriz83
Geert-Jan,
If RFXCom sets your (virtual) temperature sensor to 'off', doesn't that mean that the battery is completely empty ?
Re: Low battery with Homeseer
Posted: Tue Oct 15, 2013 9:41 am
by geert-jan
Yes, indeed I get the message when the battery is completely empty.
I use rechargeable batteries in the Oregon sensors, and I get quite quick a battery low warning. I kept replacing the batteries at the battery low warning, but the sensors can run with a 'low battery' warning for several months. I am just too lazy to replace the batteries directly.
Regards,
Geert-Jan
Re: Low battery with Homeseer
Posted: Wed Oct 16, 2013 7:30 am
by johndoe2011
Hello,
Unfortunately, I do not use the RFXCOM but a Zibase unit which transmits the battery info either with OK or LOW to Homeseer.
There is no option in Homeseer to make a direct check with the LOW indication, therefore my desire to have a dedicated script , where for example we could add a delay (a few weeks..) because the LOW warning appears much too early.
I found this link:
http://www.domoticaworld.com/projects/h ... viceStatus
but I am missing the Email notice ...
Anyhow , thanks a LOT for all replies hoping that someone could help me
Re: Low battery with Homeseer
Posted: Wed Oct 16, 2013 8:47 am
by AshaiRey
You can use the script from the link you mention and add email functionality to it
Example :
http://www.paulsadowski.com/wsh/cdo.htm
Or put an event on the device that holds the LOW state and send an email with a trigger on battery low. For this HS must be able to send an email. You must have configured HS for that.