I tried to rig one up once and it didn't work very well. Fortunately, it was just an experimental enclosure that I was trying it on. In addition to what Kitedemon said, keep in mind, that some of the cheaper home thermostats are battery powered, and I don't know if they have some type of auto-shutoff circuit should the batteries fail.