Skip to content

Instantly share code, notes, and snippets.

@peyanski
Last active December 27, 2022 23:54
Embed
What would you like to do?
esphome:
name: temperature-sensor-bme280
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Temperature-Sensor-Bme280"
password: "E19mmSDVlWnt"
captive_portal:
i2c:
sda: 4
scl: 5
scan: True
# Example configuration entry
sensor:
- platform: bme280
temperature:
name: "BME280 Temperature"
oversampling: 16x
pressure:
name: "BME280 Pressure"
humidity:
name: "BME280 Humidity"
address: 0x77
update_interval: 60s
web_server:
port: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment