[Eric] has a problem with his new house, there was no heat in the attic space that had been converted into a loft. Facing no way to tap into the ductwork and wanting to use the space as a bedroom he did what most of us would, and just got a little space heater. Anyone who has lived with a space heater knows you have to be around to turn them on, and they usually dont have decent temperature control. These problems were quickly fixed by making a thermostat controlled plug box.
A quick trip to the hardware store resulted in a 2 gang metal junction box, faceplate with GFCI cutout, receptacle and a Honeywell baseboard heater thermostat. The thermostat is then wired to mains and its output connects to the receptacle.
He gives instructions on wiring which focuses on his parts, but you should follow the instructions to your specific thermostat, and error on the side of caution if working with mains current. The end story is a bedroom with a more constant temperature and doesn’t need a 3 hour burn to get there.