Transform dumb doorbell to smart doorbell and connected to HA

Source: blogs, Home-Assistant, Sonoff Mini, AlexxIT SonoffLAN



Why sonoff mini?

The reason why I used sonoff mini because its cheap, it support pulse mode which allow the switch to be call once and set it back to off using inching settings. Sonoff mini combine with AlexIT SonoffLAN add-on gave me an easy access to the the switch without doing much.

How do I do it:

Combine all the hardware using this schematics
pic 1

The Prototype

This is the prototype before installing the entire project pic 2

Home-Assistant Code

- alias: Notification Doorbell activated
  id: xxxx-xxxx-xxxx
  description: Notification doorbell being pushed
    - platform: state
      entity_id: switch.sonoff_xxxxxxxxxxxxx
      to: 'on'
    - service: tts.google_translate_say
    - service: camera.snapshot
    - service: notify.telegram

The iOS Demo in action

Final touch sending notification to my iOS with text and snapshot from the CCTV.


I hope you like this project and please feel free to let me know how you do yours. Furthermore special thanks for those people who contribute at Home-Assistant. Great work and Great projects.