Skip to content

Instantly share code, notes, and snippets.

@peyanski
Created December 27, 2022 20:45
Embed
What would you like to do?
esphome:
name: temperature-sensor-bmp280
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-Bmp280"
password: "E19mmSDVlWnt"
captive_portal:
i2c:
sda: 4
scl: 5
scan: True
sensor:
- platform: bmp280
temperature:
name: "BMP280 Temperature"
oversampling: 16x
pressure:
name: "BMP280 Pressure"
address: 0x76
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