qo-100-dashboard/esphome.yaml

79 lines
1.3 KiB
YAML
Raw Normal View History

2021-12-11 10:44:46 +00:00
esphome:
name: qo-100
platform: ESP8266
board: nodemcuv2
# Enable logging
logger:
web_server: # Aktivierung Webserver
port: 80 # Port für Webserver
# Enable Home Assistant API
api:
# Activates prometheus /metrics endpoint
prometheus:
id: esp3
mqtt:
broker: mqtt.broker.de
username: esp3
password: esp3
time: # Zeitmodul für NTP
- platform: sntp # NTP Server
id: sntp_time # Wird als Variablenname benötigt
i2c: # Aktivierung des I2C Bus
sda: D2 # Port des SDA I2C Bus
scl: D1 # Port des SCL I2C Bus
ads1115:
- address: 0x48
sensor:
- platform: bme280
temperature:
name: "BME280 Temperature"
oversampling: 16x
pressure:
name: "BME280 Pressure"
humidity:
name: "BME280 Humidity"
address: 0x76
update_interval: 10s
- platform: ads1115
multiplexer: 'A0_GND'
gain: 2.048
update_interval: 2s
name: "ADS1115 Channel A0-GND"
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s
switch:
- platform: gpio
pin: D6
name: "Remote Relais"
icon: "mdi:gate"
ota:
password: "626622a15689825aa83e58887c9bae22"
wifi:
ssid: "XXXXX"
password: "XXXXXXXXXXXXXXXXXXX"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp1 Fallback Hotspot"
password: "VTd3g4aZJJKw"
captive_portal: