ESP32 Projects
Start a build

Reed Switch Door Sensor for ESP32

Send a door’s open or closed state to Home Assistant.

Classic ESP32 development boardESPHomeBeginner
Parts and source

Before you start

Use the linked ESPHome component on a classic ESP32 carrier with the listed interfaces. Match voltage and GPIO to the board’s pinout.

Getting started

  1. Start with a working ESPHome device configured for your carrier, Wi-Fi and the native API. Add the linked component and validate the configuration.
  2. Choose a GPIO and pull-up suited to the wiring. Verify that close and open states agree with the installed magnet position.
  3. Check the result locally and in Home Assistant before adding automations.

Upstream documentation

Read the original documentation ↗