Max Holthaus

Smart Switch

A 3D-printed servo-actuated wall switch controller that integrates seamlessly with Home Assistant via MQTT. This project transforms any standard wall switch into a smart switch that can be controlled remotely while maintaining the ability to operate it manually.

Servo Render

Overview

The SmartSwitch is designed to retrofit existing wall switches without requiring electrical modifications. The device consists of a 3D-printed enclosure that mounts over a standard wall switch and houses an ESP8266 microcontroller and a servo motor. The servo physically actuates the switch lever, providing both remote control and manual operation capabilities.

Key Features

Home Assistant Integration

The device automatically registers with Home Assistant using MQTT discovery, providing:

How It Works

  1. Physical Mounting: The 3D-printed bracket mounts securely over your existing wall switch
  2. Servo Actuation: A servo motor physically moves the switch lever up or down
  3. MQTT Communication: The ESP8266 connects to your WiFi and communicates via MQTT
  4. Home Assistant Discovery: The device automatically appears in Home Assistant without manual configuration
  5. Dual Operation: Use Home Assistant for remote control or operate the switch manually as normal

Use Cases

Technical Highlights

Project Structure

This project provides a complete solution including:

Perfect for makers who want to add smart home functionality to existing switches without rewiring or electrical work.