Monitoring temp in my attic

This is what I use. The relay turns on and off the fireplace via a switch or ST. I use the temperature sensor to then have ST turn on a fan to pull heat from the fire place into the air ducting in the house.

Works well