k43D/esphome/deurbel.yml

48 lines
792 B
YAML
Raw Normal View History

2023-09-18 17:23:17 +00:00
esphome:
2023-11-26 13:58:19 +00:00
name: deurbelletje
2023-09-18 17:23:17 +00:00
esp8266:
board: d1_mini
# Enable logging
logger:
2023-11-26 13:58:19 +00:00
time:
- platform: homeassistant
id: homeassistant_time
text_sensor:
- platform: version
name: Doorbell ESPHome version
sensor:
- platform: uptime
name: Doorbell Uptime
2023-09-18 17:23:17 +00:00
# Enable Home Assistant API
api:
password: "ncc1701D"
ota:
password: "ncc1701D"
wifi:
ssid: "BARTANIET"
password: "ncc1701D"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Deurbel Fallback Hotspot"
password: "jeXv60iAylaV"
captive_portal:
binary_sensor:
- platform: gpio
2023-11-26 13:58:19 +00:00
pin:
number: D4
mode: INPUT_PULLUP
inverted: true
filters:
- delayed_off: 3000ms # prevents from re-ringing within 3 seconds
2023-09-18 17:23:17 +00:00
name: "deurbelsignaal"