first commit

This commit is contained in:
2020-12-27 20:09:29 -08:00
commit 790d1b9c32
8 changed files with 491 additions and 0 deletions

55
attic_2_fan.yaml Normal file
View File

@@ -0,0 +1,55 @@
esphome:
name: attic_2_fan
platform: ESP8266
board: esp01_1m
wifi:
ssid: kungle-ot
password: ThingsWelcomeToKungle
manual_ip:
static_ip: 192.168.37.70
gateway: 192.168.37.1
subnet: 255.255.255.0
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
binary_sensor:
- platform: gpio
pin:
number: GPIO4
mode: INPUT_PULLUP
inverted: True
name: "Attic 2 Fan button"
on_press:
- switch.toggle: relay
switch:
- platform: gpio
name: "Attic 2 Fan relay"
pin: GPIO14
id: relay
status_led:
pin:
number: GPIO12
inverted: yes
sensor:
- platform: wifi_signal
name: "Attic 2 Fan WiFi signal"
update_interval: 60s
- platform: uptime
name: "Attic 2 Fan uptime"
text_sensor:
- platform: version
name: "Attic 2 Fan ESPHome version"