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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.