Skip to content

devincody/raspitemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Temperature monitor

Lowering my AC electric bill the hard way...

Device in operation

What does it do?

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.

Temperature Plot

What it really didn't need to do

I also added a bunch of completely unnecessary functionality that was nevertheless pretty cool to do

Custom hardware

Because perf board is ugly and PCBs are cheap:

PCB

Shitty Schematic

Checkout the hardware: https://circuitmaker.com/Projects/Details/Devin-Cody/Raspberry-Pi-Zero-Hat-Temperature-probe

OLED

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.

PCB OLED

Data Collection

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 Plot with week's worth of data

Parts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages