Skip to content

Instantly share code, notes, and snippets.

@edwork
Created March 28, 2019 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwork/fdc4afe2a1aa3212dbb78c7bbed2043e to your computer and use it in GitHub Desktop.
Save edwork/fdc4afe2a1aa3212dbb78c7bbed2043e to your computer and use it in GitHub Desktop.
esphome:
name: opengarage
platform: ESP8266
board: esp_wroom_02
wifi:
ssid: "<SSID>"
password: "<passphrase>"
manual_ip:
static_ip: <IP>
gateway: <Gateway>
subnet: <SubnetMask>
# Enable logging
logger:
# Enable Home Assistant API
api:
password: '<password>'
ota:
password: '<password>'
sensor:
- platform: ultrasonic
trigger_pin: 12
echo_pin: 14
name: "Garage Cover Sensor"
id: ultrasonic
- platform: dht
pin: 5
temperature:
name: "Garage Temperature"
humidity:
name: "Garage Humidity"
update_interval: 60s
model: DHT22
switch:
- platform: gpio
name: "Relay"
pin: 15
id: relay
- platform: gpio
pin: 13
id: buzzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment