Toggle switch based on temperature


#1

Is there a way to turn on a switch when temp is above x, and turn off when temp is below y? I have a vent fan in a closet I would like to turn on automatically based on temperature. Thanks


( I hate Mondays) #2

There may be some specialized apps out there. CoRE can do that too, using a latching piston - it was designed with histeresys in mind :wink:

IF
    Sensor temperature is greater than 80 degrees
THEN
    Using switch...
        > Turn on

BUT IF
    Sensor temperature is less than 75
THEN
    Using switch...
        > Turn off

If you need the same tempearature threshold for on and off, then a Simple piston is enough:

IF
    Sensor temperature is greater than 80
THEN
    Using switch...
        > Turn on
ELSE
    Using switch...
        > Turn off

There is a thread for assistance with CoRE if you go the dark CoRE path and need more help.


(Paul Haskins) #3

There is a thermostat app - called Virtual Thermostat.

Search the forum for it as not sure where I found it. I’m using a motion sensor’s temp. reading to turn on/off a fan i my garage.


#4

Can you confirm it works with an on/off switch? In the settings I just see outlet. Thanks


( I hate Mondays) #5

They share the same capability (Switch) so outlet or switch, same thing. Give it a try :wink:


(Brian) #6

I think one of the keep me cozy apps would do this. I recommend an app for this, unless you like logic. :slight_smile: