Created
February 25, 2020 14:00
-
-
Save mplinuxgeek/b87bcf83970a65d417ca4d50920a6f14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: alarm | |
platform: ESP8266 | |
board: d1_mini | |
wifi: | |
ssid: '' | |
password: '' | |
web_server: | |
port: 80 | |
mqtt: | |
broker: 192.168.1.60 | |
logger: | |
# Enable Home Assistant API | |
#api: | |
# password: '' | |
ota: | |
password: '' | |
status_led: | |
pin: | |
number: GPIO2 | |
inverted: True | |
sensor: | |
- platform: dht | |
model: dht22 | |
pin: GPIO12 | |
temperature: | |
name: "Dining Room Temperature" | |
humidity: | |
name: "Dining Room Humidity" | |
update_interval: 60s | |
binary_sensor: | |
- platform: gpio | |
pin: GPIO14 | |
name: "Zone1" | |
filters: | |
- delayed_on: 250ms | |
- delayed_off: 5s | |
device_class: motion | |
- platform: gpio | |
pin: GPIO15 | |
name: "Zone2" | |
filters: | |
- delayed_on: 250ms | |
- delayed_off: 5s | |
device_class: motion | |
- platform: gpio | |
pin: GPIO0 | |
name: "Zone3" | |
filters: | |
- delayed_on: 250ms | |
- delayed_off: 5s | |
device_class: motion | |
- platform: gpio | |
pin: GPIO2 | |
name: "Doorbell" | |
filters: | |
- delayed_on: 250ms | |
- delayed_off: 5s | |
switch: | |
- platform: restart | |
name: "Alarm Restart" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment