Created
March 28, 2019 04:17
-
-
Save edwork/fdc4afe2a1aa3212dbb78c7bbed2043e 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: 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