Last active
March 30, 2024 13:08
-
-
Save jungervin/e23a41062fd1b1190775e8b7f807e9f1 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
esphomeyaml: | |
name: test | |
platform: ESP8266 | |
board: d1_mini | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
manual_ip: | |
static_ip: 192.168.1.31 | |
gateway: 192.168.1.254 | |
subnet: 255.255.255.0 | |
# Example configuration entry | |
i2c: | |
sda: D2 | |
scl: D1 | |
scan: False | |
# Example configuration entry | |
sensor: | |
- platform: bme280 | |
temperature: | |
name: "BME280-1 Temperature" | |
oversampling: 16x | |
pressure: | |
name: "BME280-1 Pressure" | |
humidity: | |
name: "BME280-1 Humidity" | |
# Address is not default! | |
address: 0x76 | |
update_interval: 60s | |
# Example configuration entry | |
mqtt: | |
broker: !secret mqtt_addr | |
username: !secret mqtt_user | |
password: !secret mqtt_password | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
ota: |
Thanks very much for the configuration! It helped me too.
Thanks!. same here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This helped me get the BME280 working on my D1 Mini. Thanks for posting it!