Control a wall outlet using an Arduino using this DIY solid state relay outlet.
I bought a GE smart outlet because it was on sale @Lowes really cheap. Well their app stinks and its not HomeKit compatible. I fixed that!
This device allows a heater [or any other outlet-powered device] to activate and deactivate based upon user-set temperature triggers.
As with anything that you build, you have to test it, most of the tests are relatively safe and harmless. This test is an actual attempt.
A small and easy-to-make solar-powered Square Emergency Light