What is the problem?
There is a fan for cooling my octoprint system which has touch screen relay for controlling printer psu etc. but I am anoyed by its noise
I connected it to printers relay this way it is working when printer gets on since there is psu which is powered with 220v also 220v inlet and outlet while printer is working temp goes up but today I noticed passive cooling isnt enough box was hot
so I want to control one of my relays according to raspberries temp
like if temp >40 activate the relay
if temp < 35 deactivate the relay
I know its possible but I dont know how to code it
What did you already try to solve it?
I found few articles on the web but I didnt manage to make them work