- Create a new device in ESPHome, use the contents from
esphome.yml
as template - Create a new automation in your homeassistant, use
buzz-open.automation.yml
as template
Connect a transistor / relais controlling your intercom buzzer line to GPIO D2 of your esp.
Look into https://www.home-assistant.io/docs/automation/trigger/#webhook-trigger for documentation.
Tl;dr: Call https://<your-home-assistant>:8123/api/webhook/door-buzzer
if your instance is reachable by your device directly (e.g. using wireguard / tailscale or dyndns), or use the unique Nabu Casa Webhook URL like on https://www.nabucasa.com/config/webhooks/#triggering-automation-with-a-webhook