If you've ever tried to locate circuits in your house by flipping the breakers and have someone yell "it's off!", this project is for you.
Traditionally, identifying which circuit a particular outlet or appliance is on often involves tedious trial-and-error and usually requires another person to manually turn off breakers in the breaker box while you check if the target device is still powered.
This project aims to simplify the process of finding specific circuits within a home's electrical system.
This system utilizes inexpensive ESP WiFi microcontrollers (ESP8266 or ESP32 such as the Wemos D1 Mini, costing around $2 each) to monitor the status of different circuits.
You can use any existing IoT devices already installed and connected to the same WiFi network, as long as they have a web interface (HTTP).
If you don't have existing IoT devices, you can buy & flash your own by following step #1.
If you don't have an existing WiFi network to use, you can use your phone's mobile hotspot, but all of the circuits you wish to monitor will have to be within range of your mobile hotspot!
ESPHome is used, since it has an web flasher that makes it easy to get the firmware running and to connect the devices to your Wi-Fi.
-
Flash ESPs:
- Flash each ESP with the generic ESPHome image using the ESP Web Flasher @ https://web.esphome.io/
- Configure each ESP to your home's Wi-Fi network using the ESP Web Flasher. Record the hostname of each of the ESPs by using the Web Flasher's 3-dot menu (select ).
-
Connect ESPs to circuits:
- Plug each ESP into the outlet you want to monitor, or use alligator clips between live/neutral and your USB power bricks. The polarity should not matter for most USB chargers, but check the charger blades for different sizes. In the United States the large blade is neutral, and the narrower blade is live.
-
Open circuitFinder.html in a browser:
- Open
circuitFinder.html
in a web browser connected to the same Wi-Fi network as the ESPHome devices. - Enter the hostname or IP of each ESP into the input box, each on a newline.
- Click the "Scan" button to begin monitoring the status of each ESP.
- Open
-
Toggle Breakers:
- Toggle the breakers in your electrical panel one by one, waiting for about 5 seconds between each toggle.
- Observe the status of the devices on the web page. A device connected to a circuit that was just turned off will become unresponsive and turn RED, indicating which circuit it was on.
- No extra power Devices are powered directly on the suspect circuits through USB chargers (110v or 220v AC mains)
- Efficient circuit identification: Streamlines the circuit finding process, saving time and effort.
- Cost-effective: Utilizes inexpensive and readily available ESP microcontrollers.
- Easy to Set Up: Simple to flash and configure ESP devices.
- User-Friendly: Provides a convenient web interface for monitoring and identifying circuits.
- Not compatible with 240v (US circuits), since there aren't(?) 240v USB bricks
- Obviously can't be used to test the circuit that your Wi-Fi access points are running from
- Requires live circuits Can't be used on non-live circuits since the ESPs are powered from the circuit you are trying to find.
- Always exercise caution when working with mains power / electricity. The ESP devices never have mains power on them directly, they are operated off of 5v USB power.
- Ensure you have the necessary knowledge and experience before attempting any electrical work.