49 lines
777 B
YAML
49 lines
777 B
YAML
esphome:
|
|
name: weather-in-1
|
|
|
|
esp8266:
|
|
board: esp01_1m
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
ota:
|
|
# password: "38fdad38872738fe7c08f77643ed5d56"
|
|
|
|
wifi:
|
|
ssid: !secret wifi_oss_ssid
|
|
password: !secret wifi_oss_password
|
|
|
|
manual_ip:
|
|
static_ip: 192.168.35.246
|
|
gateway: 192.168.35.1
|
|
subnet: 255.255.255.0
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Weather-Out-S Fallback Hotspot"
|
|
password: "0xINHxW0IbSK"
|
|
|
|
captive_portal:
|
|
|
|
i2c:
|
|
sda: 4
|
|
scl: 5
|
|
scan: true
|
|
id: bus_a
|
|
|
|
sensor:
|
|
- platform: bme280
|
|
temperature:
|
|
name: "TempIn1"
|
|
oversampling: 16x
|
|
pressure:
|
|
name: "PressIn1"
|
|
humidity:
|
|
name: "HumidityIn1"
|
|
address: 0x76
|
|
update_interval: 60s
|