Always check your input history

I have a fan in my office that I have automated to switch on when it gets over 25C. Ideally I’d like it lower but read on.

I spent a whole week trying to debug it, automation created to start the fan when the temperature goes above 25 & the light is on (there’s no windows in here so light on == occupied)

I could trigger it with all sorts of other triggers, just not the temperature above 25C. I started it lower, at 21C then lowered and upped the temperature in a vain attempt to make it work because I knew it was warm in here.

In the end I was browsing the temperature in my office and I just happened to notice that the temperature never actually dipped below 25C!

Now, I know that a numeric trigger like that only fires when the value crosses the boundary, that’s why I kept upping the temperature, I just never figured that even in the middle of the night it never got cool enough to let the trigger fire :joy:

Tip to make this work in the situation that you enter and it’s already >25:

  • Add light turning on to the triggers as well
  • Add temperature being above 25C to the conditions as well

Then the fan will turn on when you enter a warm room or when the room gets warm when you’re already working.

1 Like