#Auto fan control based on nozzle temp - best approach?

1 messages · Page 1 of 1 (latest)

inner ingot
#

Hey everyone! Need some help with an automation for my 3D printer setup.
I've got a nozzle temperature sensor and want to automatically control my cooling fans based on the temp. Pretty straightforward - turn the fans ON when the nozzle heats up above 1°C, and turn them back OFF when it cools down below 1°C.
I've already got the first automation set up (fans ON when temp > 1°C), but I'm wondering what's the best way to handle turning them back off? Should I just make a second automation that's basically the same but with below: 1 and turn_off instead? Or is there some cleaner way to do this in one automation?

Thanks!

#

I made the first automation, and can just duplicate it with "above" and "off" basically just swapped, but i thought there might be a cleaner way to do this in one automation.

#

Another small consideration is that the automation should specifically turn off or on in the when statement, that way I can control them independently as well with buttons in my dashboard