Deurbel: Naar D4
This commit is contained in:
parent
c2c4837654
commit
02a6850909
@ -1,5 +1,5 @@
|
|||||||
esphome:
|
esphome:
|
||||||
name: deurbel
|
name: deurbelletje
|
||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: d1_mini
|
board: d1_mini
|
||||||
@ -7,6 +7,17 @@ esp8266:
|
|||||||
# Enable logging
|
# Enable logging
|
||||||
logger:
|
logger:
|
||||||
|
|
||||||
|
time:
|
||||||
|
- platform: homeassistant
|
||||||
|
id: homeassistant_time
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
- platform: version
|
||||||
|
name: Doorbell ESPHome version
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: uptime
|
||||||
|
name: Doorbell Uptime
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: "ncc1701D"
|
password: "ncc1701D"
|
||||||
@ -27,6 +38,10 @@ captive_portal:
|
|||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
pin: D3
|
pin:
|
||||||
|
number: D4
|
||||||
|
mode: INPUT_PULLUP
|
||||||
|
inverted: true
|
||||||
|
filters:
|
||||||
|
- delayed_off: 3000ms # prevents from re-ringing within 3 seconds
|
||||||
name: "deurbelsignaal"
|
name: "deurbelsignaal"
|
||||||
device_class: opening
|
|
||||||
|
Loading…
Reference in New Issue
Block a user