bme280-python
bme280-python copied to clipboard
Python library for the BME280 temperature, pressure and humidity sensor
* install.sh: drop symlink warning for /boot/config.txt. * install.sh: drop quotes around apt packages.
The closing square bracket on line 64 of the install.sh script needs a preceding space. ``` Done! ./install.sh: line 64: [: missing `]' Using config.txt in /boot ```
ImportError
Trying to run some examples, but not working real well `pi@Grow4:~/bme280-python/examples $ ls all-values.py dump-calibration.py relative-altitude.py temperature-forced-mode.py compensated-temperature.py local_altitude.py temperature-compare.py pi@Grow4:~/bme280-python/examples $ python compensated-temperature.py Traceback (most recent call last): File...
I'm finding that when I'm using the library in forced mode after a number of sensor reads, the Raspberry Pi hangs. Is there a known issue with repeatedly reading the...
Not submitting this as a PR to the documentation as I'm not confident in it at all, but wanted to capture this atrocity I've just cooked up, to read a...
Hi, I noticed that `update_sensor()` appears to be called twice in a row when calling `get_altitude`. First `self.update_sensor()` is called followed by `self.get_pressure()`, https://github.com/pimoroni/bme280-python/blob/97c80ced20b02caa129e98c8801b31f1468ee4b0/library/bme280/__init__.py#L275-L279 However, the first line of `get_pressure`...
First set of readings from BME280 driver are incorrect, and always the same. If you wait a bit they're correct (and they do fluctuate). `pi@crouton:~ $ python3` `Python 3.9.2 (default,...
I couldn't find where the code has the SCK and SDI pins wired to so I went with the default and wired them in the raspberry pi 4b to the...