π A ESPHome ESP32 Doorbell with OLED display π
This is the code for a ESP32 doorbell with a display and camera that works with ESPHome and HomeAssistant. Example: https://youtu.be/QuBe9cWIcqs
The code for the ESP32 doorbell, of course, provides the code for ESPHome and the configuration for HomeAssistant. Additionally, it comes also with these features:
- ...
- Easy to change the configuration
- Only have to change the definitions at the top in the ESPHome config.
- Comes with all needed configurations.
- Integrated camera module.
- Ring to three different locations.
- One button control design.
- GUI displayed with a SH1106 128x64 OLED display.
- Touch & push button compatibility.
- HTML5 notifications with captured image from the camera module.
- alarm state displayed.
- Temperature and humidity text_sensor.
- DarkSky weather displayed on the screen. (later with symbols and animations)
- Ringtone on media_player device.
Install ESPHome by following this guide: https://esphome.io/guides/getting_started_hassio.html.
Copy the Folder ESPHome
into /config/
from HomeAssistant. Next you have to add the code in the following files into your HomeAssistant configuration: automations.yaml
, scripts.yaml
, input_boolean.yaml
, input_select.yaml
and input_text.yaml
.
Now adjust the esp32 doorbell.yaml
via the ESPHome editor. Do that also with your other configuration files.
Now youΒ΄re ready to flash. Now you have to click on validate
and if you got "esp32 doorbell.yaml is valid π" you can flash the ESP32 camera module via an FTDI USB flash adapter. If your configuration fails, check it again, fix the error and flash it.
Now check the serial console of the ESPHome flasher tool and wait for the module to successfully connect to the wifi. Next you have to go to the integrations page in HomeAssistand and add the ESPHome flashed chip via its ip address you saw in the serial console of the ESPHome flasher
.
Restart HomeAssistant and youΒ΄re ready to test it.
FEEL FREE TO POST ISSUES
The original setup of this repository is by Marlon.
For a full list of all authors and contributors, check the contributor's page.