Pison Execute One Time


#1

This is a very simple piston, I just want to make sure I have it right.

If my house gets too warm, I want to fire up the ceiling fans upstairs. However, I don’t want that condition to override someone turning them off.

So I changed the TPE to only execute on Piston change.

Am I correct?


#2

you can change the if to “Thermostat’s temperature rises above 22C”.

then the piston will only fire (and turn on fans) the first time temperature rises above the setpoint. if fans are turned off after, they wont automatically be turned on by the piston again unless the temp drops below the setpoint, and rises above it again.

with “rises above”, you can also use “rises above and stays for xx time” to make sure the temperature stays above 22C before triggering in case your temperature sensor is too sensitive and hovers between 21C and 22C.

the other option i would try is if you only want the piston to fire at most 1 time per day/hour, you could set a timestamp variable when the piston fires, and check that variable doesnt match the current day/hour of day before triggering again.


#3

Thank you

I think rises above should be a good trigger for this simple purpose.