Last active
July 13, 2025 12:53
-
-
Save peyanski/cec1e7d1c08d52ffeceda792f2a72422 to your computer and use it in GitHub Desktop.
This file contains hidden or 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-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
Thanks!