MH Embedded Systems Engineer

Smart Thermostat

Summary

The smart thermostat was an attempt to use the raspberry pi for home automation. I sidestepped the app development by using Google Calendar to control the temperature. It displays weather, time, and indoor temperature on a 3.5" LCD. Development is in Python.

This project was difficult to debug. Due to the application refusing to access the screenbuffer over ssh, I had to run it as a systemd task. It would occasionally refuse to grab the weather or the calendar info, and did not handle hard resets gracefully. (The Raspberry Pi is known for corrupting the SD card when it is shut down improperly). I think if I were to do this project again, I would use an RTOS on more predicatable hardware such as ESP32.

Source Code

You can find the source code on GitHub at https://github.com/kamocat/Thermostat/