Lowering my AC electric bill the hard way...
As part of making my home smarter, I wanted a way to manage the temperature in my apartment during the hot Pasadena summers. The code monitors the indoor and outdoor temperatures using two temperature probes and controls a window fan using IFTTT webhooks. This is the culmination of ~20 hours of work.
I also added a bunch of completely unnecessary functionality that was nevertheless pretty cool to do
Because perf board is ugly and PCBs are cheap:
Checkout the hardware: https://circuitmaker.com/Projects/Details/Devin-Cody/Raspberry-Pi-Zero-Hat-Temperature-probe
I just don't want to ssh onto the raspberrypi every time I want to check the temperature. The temperatures are continuously displayed on an I2C OLED display module. OLED was controlled using Adafruit's adafruit_ssd1306 libary which made diplaying text an absolute cake-walk.
Because I'm a data nerd. The temperature data is stored and periodically plotted and sent to my desktop. The data window is selectable. The plotting code is included in this dirctory. See the example cron file for setting up automatic plotting and copying.
- Temperature Probes:
- Display:
- Fan: