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
Low battery with Homeseer
-
- Starting Member
- Posts: 14
- Joined: Wed May 09, 2012 6:55 am
Re: Low battery with Homeseer
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
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
Geert-Jan,
If RFXCom sets your (virtual) temperature sensor to 'off', doesn't that mean that the battery is completely empty ?
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
Re: Low battery with Homeseer
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
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
-
- Starting Member
- Posts: 14
- Joined: Wed May 09, 2012 6:55 am
Re: Low battery with Homeseer
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
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
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.
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