initial commit of my esphome devices
This commit is contained in:
commit
dd284d7c78
2 changed files with 64 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Gitignore settings for ESPHome
|
||||||
|
# This is an example and may include too much for your use-case.
|
||||||
|
# You can modify this file to suit your needs.
|
||||||
|
/.esphome/
|
||||||
|
/secrets.yaml
|
59
thermostat.yml
Normal file
59
thermostat.yml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
esphome:
|
||||||
|
name: thermostat
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: upesy_wroom
|
||||||
|
framework:
|
||||||
|
type: arduino
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
ota:
|
||||||
|
password: ""
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: "Cochrun"
|
||||||
|
password: "GreasyChicken784"
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: "Thermostat Fallback Hotspot"
|
||||||
|
password: "RUfAhbEfZmOU"
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
sda: GPIO21
|
||||||
|
scl: GPIO22
|
||||||
|
scan: true
|
||||||
|
id: bus_a
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: bme280_i2c
|
||||||
|
temperature:
|
||||||
|
name: "Temperature"
|
||||||
|
id: temperature
|
||||||
|
pressure:
|
||||||
|
name: "Pressure"
|
||||||
|
humidity:
|
||||||
|
name: "Humidity"
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x76
|
||||||
|
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
pin: 15
|
||||||
|
id: heater
|
||||||
|
- platform: gpio
|
||||||
|
pin: 16
|
||||||
|
id: ac
|
||||||
|
- platform: gpio
|
||||||
|
pin: 17
|
||||||
|
id: fan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue