From 557be53ba05dd5a50f088722f456b6ed98309cbd Mon Sep 17 00:00:00 2001 From: zuidwijk Date: Tue, 2 Apr 2019 20:58:08 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bf0d775..62702f2 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,9 @@ In Home Assistant you'll need to create a boolean, which in my code is named "in The hardware is quite easy. It's based on a Wemos D1 mini. That's powered on the 5V pin. The doorbell is connected between the 3.3V and the D2 connector. There is a resistor between ground and D2 (this can be anything between 1K and 100K, I've used a 1K here) for a pull-down to ground. So D2 is always low (via the resistor), until the doorbell is presssed, than it's high (3.3V). The D1 is directly connected to the Wemos Relay shield (bought mine via Aliexpress, If you've got another one which requires another connector, change the code for that). +# Automation +I've used the following automation code (automation.yaml): +* If mute is enabled than don't ring the bell, notify via light flashes (I got Hue lights placed in a group) +* If not mute, the bell will ring and there'll be no need for light flashes +* Always send a notification when the doorbell is pushed +* In the future I'll let my camera send a photo or even a short movie clip