Files
esphome/weather-out-n.yaml
2022-02-21 09:33:24 -08:00

49 lines
781 B
YAML

esphome:
name: weather-out-n
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.244
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: "TempOutN"
oversampling: 16x
pressure:
name: "PressOutN"
humidity:
name: "HumidityOutN"
address: 0x76
update_interval: 60s