Created
November 10, 2020 17:07
-
-
Save rubenkr/afc47556ffc7b43fc0aea70c0131b8f9 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: esp82_d1_mini_pir_door | |
platform: ESP8266 | |
board: d1_mini | |
wifi: | |
ssid: "XXXX" | |
password: "XXX" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "Esp82 Server Temp" | |
password: "BS8JVvghR5jz" | |
captive_portal: | |
# Example configuration entry | |
binary_sensor: | |
- platform: gpio | |
pin: D5 | |
name: "D1 Mini Door PIR" | |
device_class: motion | |
switch: | |
- platform: restart | |
name: "Reboot D1 Mini" | |
output: | |
- platform: esp8266_pwm | |
id: my_led | |
pin: D2 | |
light: | |
- platform: monochromatic | |
name: "Door Alarm LED" | |
output: my_led | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
#mqtt: | |
#broker: 192.168.1.52 | |
ota: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment