Created
December 27, 2022 20:45
-
-
Save peyanski/5a0dd74ff1bca4df2367ad14f7c321b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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