Skip to content

Instantly share code, notes, and snippets.

@rootiest
Created August 2, 2021 03:53
Show Gist options
  • Save rootiest/b55f6686ca72b57c07f965d38bcfb3a4 to your computer and use it in GitHub Desktop.
Save rootiest/b55f6686ca72b57c07f965d38bcfb3a4 to your computer and use it in GitHub Desktop.
sensor:
- platform: bme680_bsec
temperature:
# Temperature in °C
name: "BME680 Temperature"
id: bme680_temp
sample_rate: lp
filters:
- median
font:
- file: 'ps2p.ttf'
id: font1
size: 7
display:
- platform: ssd1306_i2c
model: "SH1106 128x64"
id: oled_smart_display
reset_pin: 16
address: 0x3C
lambda: |-
it.printf(0, 0, id(font2), "Temp: %.2f F", id(bme680_temp).state);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment