Using a computer or an app on a tablet is a good way to control all the things in your Smart Home, but sometimes it is overkill. So what if we had a small touchscreen device that would let you control just a few things that you need quick access to? Something like a super smart, but not too smart, light switch that uses much less power than a smartphone or tablet. Even better if it also had some sensors on it and could display some simple data on the screen like the weather forecast.

The PyPortal is perfect for this kind of work with its built-in 3.2″ TFT Touchscreen, ESP32 WiFi controller, plenty of storage, and a SAMD51 M4 processor chip at its core. So we will be using the PyPortal to build out a user interface that will talk to our Smart Home system using MQTT.

When finished, the PyPortal will read the temperature, light level, detect motion, and use virtual buttons to send data via MQTT to Home Assistant, so it can be used in Automations. Along with the sensors, we will be able to display data from Home Assistant on the PyPortal screen for quick updates.

Parts

Adafruit PyPortal - CircuitPython Powered Internet Display

PRODUCT ID: 4116
PyPortal, our easy-to-use IoT device that allows you to create all the things for the “Internet of Things” in minutes. Make custom touch screen interface...
OUT OF STOCK

PIR (motion) sensor

PRODUCT ID: 189
PIR sensors are used to detect motion from pets/humanoids from about 20 feet away (possibly works on zombies, not guaranteed). This one has an adjustable delay before firing (approx...
$9.95
IN STOCK

STEMMA JST PH 3-Pin to Female Socket Cable - 200mm

PRODUCT ID: 3894
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" female header sockets on the end. We're carrying these to match up with...
OUT OF STOCK

USB cable - USB A to Micro-B

PRODUCT ID: 592
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or...
$2.95
IN STOCK
This guide was first published on Jan 08, 2020. It was last updated on Jan 08, 2020.
This page (Overview) was last updated on Aug 02, 2020.