Chapter 3 A Temperature Notifier and Fan Control

Do you hate to come home to a hot house? Or do you just want to know what the temperature is in your office so you can dress appropriately?

In this project, you’ll set up your Pi to monitor the temperature and make it available via Twitter. The Pi can even turn on a fan or an air conditioner before you get home, based on temperature limits you set or a Twitter message you send it.

Hardware Requirements

Here’s a list of what you need for this chapter:

  • An I2C temperature sensor, such as the Si7021, MCP9808, or BME280
  • Four hookup wires
  • A PowerSwitch Tail (optional, for switching on a fan or ...

Get Jumpstarting the Raspberry Pi Zero W now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.