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

Front view of a Adafruit PyPortal - CircuitPython Powered Internet Display with a pyportal logo image on the display.
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...
$54.95
In Stock
PIR (motion) sensor with a cable around it.
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
Angled shot of STEMMA JST PH 3-Pin to Female Header Cable - 200mm.
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...
$1.25
In Stock
USB cable - USB A to Micro-B - 3 foot long
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 Nov 27, 2023.

This page (Overview) was last updated on Dec 14, 2019.

Text editor powered by tinymce.