Fire Place triggering fans


#1

**1) The reverting back of my HVAC system to auto is not happening.

2) What is the expected behavior?
If my fireplace makes the temperature in the room 75 degrees then my main floor zone and upstairs zone (in my HVAC system) fans will turn on through ecobee. This works. After the fireplace turns off I want the house fans to revert back to auto after an hour.

3) What is happening/not happening?
stated above

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach logs after turning logging level to Full


#2

I suspect the problem may be that your local variable is being initialised to ‘false’ whenever the piston is fired.


#3

@orangebucket is correct. To clarify, whenever you set a value in the define section of your piston, that value is set every time the piston runs. This makes it impossible for your piston to ever get into the second if group. You need to remove any value from the definition of your Boolean variable.


#4

wouldn’t the variable then be set to true after it runs and then it would be stuck in the on position as well? Unless I turn it to false after the waiting.

Something like this:


#5

Essentially, “yes”, but this is a good thing. Anytime I am working with a variable that changes often, I always leave it (no value set) up top in the “define” section:

pic

This way, the variable will only change when MY code tells it to.
(down in the “execute” section of the piston)


#6

Thanks what did you think of my updated piston? I’ll test it out today as well


#7

If you want both Thermostats to return to normal at the same time, then I would change lines 43-54 to:

Wait 1 hour
Set fan mode to auto
Wait 5 seconds
Set other fan mode to auto

The way it is currently written, Thermostat 5 will take 2 hours to return to auto.