Skip to content
Allen Derusha edited this page Jan 9, 2021 · 2 revisions

HA SwitchPlate

The HA SwitchPlate is a user-programmable LCD touchscreen you can mount into a standard North American work box in place of a light switch. It connects to your home automation system over WiFi to send and receive MQTT messages in response to user interactions on the screen or events happening in your home. The result is an attractive and highly-customizable controller for your home automation system which you can build yourself!

HA SwitchPlate Models

The HA SwitchPlate ("HASP") utilizes a Nextion 2.4" LCD Touchscreen display mounted in a 3D-printed enclosure as a touchscreen panel for home control and information display. An ESP8266-based microcontroller provides WiFi connectivity and system control. The project has been developed to integrate with Home Assistant and OpenHAB but should be compatible with any other MQTT-enabled automation platform such as Domoticz, Node-Red, Wink, SmartThings, Vera, HomeKit, etc.

The Arduino code for the ESP8266 provides a generic gateway between MQTT and the Nextion instruction set. A basic Nextion HMI display file has been included with several pages of various layouts to provide user controls or to present information in response to MQTT messages sent to the device.

Demo screens

Scene controller Status display Media control Alarm Panel Slider/Dimmer Controls HVAC Controls Light toggles Fan controller WiFi Setup

Purchase an assembled unit

As this build requires some specialist skills and tools, I will occasionally be offering assembled devices for sale here.

Buy me a coffee

Buy me a coffee

This project is powered by coffee. I might get a little weird about it at times, but it's not much of a stretch to suggest that coffee both powers and consumes a fair portion of my mental energy. Hook me up if you think HASP is cool. Thanks!

Bill of Materials

To build a simple version of this project you will minimally need the Nextion display and the WeMos D1 Mini, 4 jumper wires, and a USB cable to power both devices.

A complete build that's ready to install will require the following components:

Get Started!

Check out the documentation to get started building your own HA SwitchPlate.

Clone this wiki locally