I recently upgraded my pool timer to the GE ZWave timer (12726). All I can say is that in the past month it has worked like a charm and I can’t believe I didn’t pull the trigger earlier.
Anyway, I am trying to set up some rules for when the cold weather hits in about seven months or so. I have two jobs that turn the pump on in the morning and turn it off at night, basic cron jobs. But what I would like to do is whenever the temperature drops below 35F/1.7C to have the pump turn on to protect the pipes and equipment.
I created this rule but wanted to know if there was a better way to do it.
rule "Pool Pump On"
when
//Check time to see if 6:30 to turn on pump
Time cron "0 30 6 * * ?"
then
logInfo("Pool","Pool pump turned on.")
PoolPumpStatus.sendCommand(ON)
end
rule "Pool Pump Off"
when
//Check time to see if 19:00 to turn off pump
Time cron "0 0 19 * * ?"
then
logInfo("Pool","Pool pump turned off.")
PoolPumpStatus.sendCommand(OFF)
end
rule "Pool Cold Temps"
when
//Check weather temperature, when drops below 1.7C or 35F pool pump turns on.
Item Weather_Temperature < 1.7
then
logInfo("Weather","Cold temps turned the pool pump on.")
PoolPumpStatus.sendCommand(ON)
end
The pump should run until the next OFF cycle hits. I would like to modify the Off rule so that it would check the time and the temperature. The temperature rule would stay separate in case the temps fell overnight and the pool pump was off.
Thanks.