Low battery with Homeseer

Forum over Homeseer scripts (DUTCH forum)

Moderators: TANE, Ruud

Post Reply
johndoe2011
Starting Member
Starting Member
Posts: 14
Joined: Wed May 09, 2012 6:55 am

Low battery with Homeseer

Post 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
geert-jan
Member
Member
Posts: 126
Joined: Sat Nov 27, 2010 7:23 pm

Re: Low battery with Homeseer

Post 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
kriz83
Member
Member
Posts: 200
Joined: Thu Oct 18, 2012 7:37 am
Location: Belgium

Re: Low battery with Homeseer

Post by kriz83 »

Geert-Jan,

If RFXCom sets your (virtual) temperature sensor to 'off', doesn't that mean that the battery is completely empty ?
HomeSeer - PlugWise - RFXComm - Philips Pronto TSU9800/9600/9300
geert-jan
Member
Member
Posts: 126
Joined: Sat Nov 27, 2010 7:23 pm

Re: Low battery with Homeseer

Post 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
johndoe2011
Starting Member
Starting Member
Posts: 14
Joined: Wed May 09, 2012 6:55 am

Re: Low battery with Homeseer

Post 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
AshaiRey
Senior Member
Senior Member
Posts: 1310
Joined: Mon Feb 02, 2009 5:27 pm
Location: Netherlands
Contact:

Re: Low battery with Homeseer

Post 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.
Bram
Post Reply

Return to “Homeseer Scripts Forum”