---BME280 Notes ---- I believe that I had to add myself to the I2C group in order for my user to run the BME280 code. Also make sure that the I2C is cofigured on! Via sudo raspi-config. Examples show the device coming up as 77 on the i2c but I came up with 76. I had to change the value in the file... http://erick.mynetgear.com/code/BME280/Adafruit_BME280.py # BME280 default address. BME280_I2CADDR = 0x76 The Adafruit_BME280.py file gets imported into all of the py file that do the work so setting up the address here is important. Then the Adafruit example will run. The original egg file that I used wasAdafruit_GPIO-0.9.3-py2.7.egg, this created the directory structure. When in doubt run i2detect to see if it detected... erick@raspberrypi ~/Adafruit_Python_GPIO/Adafruit_Python_BME280 $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- 76 -- NOTE: The (SPI) SDO line needs to be strapped to ground for I2C address 0x76 and 3V3 for address 0x77. This is a fairly easy to follow example on setting up the BME280... https://xdevs.com/guide/thp_rpi/