Have an outside tap that cannot be shut off during the winter months. When it gets cold outside I can plug a heat tape in to prevent it from freezing.
Recently installed the EDS OW-server to monitor temperatures and the vera plugin, works great
Plan is to create a scene when the temperature goes below 3 degrees C. the outlet turns on and the heat tape comes alive. Like wise another scene to turn off the outlet at temperatures above 5 degrees C.
Question is when the temperature reaches the trigger temperature of the scene will the scene keep firing as the temp keeps dropping or rising or do I need to care if it keeps on firing or does it just fire once?
If the trigger only occurs once at the desired temp I was considering of adding this code as the temp toggles between 3 and 3.1 degrees for example. The scene will not refire if active within the last 2 min. Again will the outlet really care if it gets the command to turn on again when it is really on.
local result = true
local now = os.time()
if (LastTime) then
result = now - LastTime > 120
end
LastTime = now
return result
Thinking it just really boils down to saving CPU cycles in my vera lite and reducing RF in the house.
Thanks for any comments or suggestions.