HestiaPi / hestia-touch-openhab

OpenHAB2 files for HestiaPi Touch model
GNU General Public License v3.0
63 stars 17 forks source link

Add support for SEN-13905 temp/humidity sensor #70

Closed hestiahacker closed 2 years ago

hestiahacker commented 2 years ago

The Sparkfun SEN-13905 (BME280) sensor has an i2c address of 0x77 by default. Changing this to 0x76 is possible, but it requires cutting a trace and shorting out a couple pads. Rather than force people to do that, I thought it'd be nice to detect where the sensor is located and just use whatever address works.

Code has been tested using multiple different sensors with default IDs of 0x77 and 0x76.

hestiahacker commented 2 years ago

Forgot to link to the documentation showing the default address is 0x77: https://learn.sparkfun.com/tutorials/sparkfun-bme280-breakout-hookup-guide