Skip to content

misch2/Smart-doorbell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart doorbell

A simple-yet-effective upgrade for an ordinary analog doorbell with 12 V control signals like this one. The original doorbell is very simple: it can ring (using a mechanical vibrating ringer), it allows two way voice communication and it can open the building door using a solenoid.

This project has following goals (with a minimal changes to the existing system):

  • Pass the ring signal to the Home Assistant for further automations
  • Distinguish between two sources of signal (appartment door vs building door)
  • Activate the solenoid to open the door

I wanted this automation because I'm often wearing noise cancelling headphones at home and I then don't hear when package delivery man is trying to reach us. With HA automation I now receive a Telegram notification on my phone and smart watch in such situations. And I can now open the building door by a touch of virtual HA button, without grabbing my keys, which is cool.

The implementation consists of 4 parts:

HW module

alt text alt text

BOM

PCB

ESPHome software

See this YAML for ESPHome. It uses "pulse meter" component to detect any possible ring signal. If the result is around 50 Hz then it's what we are looking for. It also uses a GPIO switch with a fixed 1.5 second timer to activate the door solenoid on demand.

HomeAssistant automations

Because the ESPHome creates a frequency meter component which returns ringing frequency in Hz, I used a simple detector which triggers anywhere between 20 and 70 Hz:

trigger:
  - type: value
    platform: device
    device_id: 894a6a762568ffbca8de77be8d6eb37f
    entity_id: 4d5f46038aa4e5b3f17040b8f8039a05
    domain: sensor
    above: 20
    below: 70

Nothing more should be needed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published