pimoroni / bme280-python

Python library for the BME280 temperature, pressure and humidity sensor
https://shop.pimoroni.com/products/bme280-breakout
MIT License
64 stars 25 forks source link

Raspberry Pi hangs in forced mode #25

Open mbcoder opened 1 year ago

mbcoder commented 1 year ago

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 sensor in forced mode? I'm reading the sensor every minute, but after a while something is locking up the Raspberry Pi.

Gadgetoid commented 11 months ago

Not super helpful, I know, but it seems to be running continuously for me here. Is it still locking up?

mbcoder commented 11 months ago

Yes it does lock up - I never did resolve the issue.

I'm using a Raspberry Pi 3b+ and a 64bit Debian OS.

Gadgetoid commented 11 months ago

I've managed to dig up a 3B v1.2. Do you have a link to your OS image?

mbcoder commented 11 months ago

Using the MacOS imaging software this is what I've been selecting image

Gadgetoid commented 10 months ago

Okay, I've set up a Pi 3B running the same OS and the "all-values.py" example. I ran an overnight test on the Pi 5, but it was still running this morning.

I suspect there might be some other factor at play I'm not recreating here, though.