balena-labs-projects / balena-sense

Take readings from a BME680 or similar sensor on a Raspberry Pi, store with InfluxDB and view with Grafana
https://balena.io/blog/balenasense-v2-updated-temperature-pressure-and-humidity-monitoring-for-raspberry-pi/
MIT License
285 stars 99 forks source link

user_i2c_write: Remote I/O error #33

Closed escalateizzy closed 4 years ago

escalateizzy commented 5 years ago

Hi all,

Has anyone has found this problem with sensor reading?

user_i2c_write: Remote I/O error

It starts to happen randomly after some time with device up; and only solves if I reset device.

error

Thank you in advance

danielgreverose commented 5 years ago

I have encountered this issue as well. Has happened twice in the last few days.

chrisys commented 5 years ago

@escalateizzy @danielgreverose is this still happening for you guys? It would be great if you could share what hardware you're using; both what Pi and what sensors.

escalateizzy commented 5 years ago

Hi, have just updated with last commit thanks. I will give you some feedback after a few days. Hardware using: Raspberry Pi Zero WH Generic BME680 sensor https://es.aliexpress.com/item/32961369966.html?spm=a2g0s.9042311.0.0.274263c0VqKpPP

Also tested in the past with Raspberry Pi 3, same error happened.

escalateizzy commented 5 years ago

Unfortunately it happened again with latest commit (after 14 hours running). err

chrisys commented 4 years ago

@escalateizzy I don't think this is going to be a software issue - I'd recommend testing with another sensor. It would be interesting to know if it starts working again if you fully disconnect the sensor and connect it again (without turning the Pi off). I'm wondering if there could be some issue with the power circuitry on-board your sensor. I have heard reports of the generic ones occasionally being problematic, although I personally have the same one as you linked as well as a Pimoroni one and neither have had any issues.

escalateizzy commented 4 years ago

Hi, Disconnecting and connecting again without turning the Pi off, solved the issue. So really seems like a hardware problem. Will try to test with another sensor board. Thanks!

chrisys commented 4 years ago

@escalateizzy ahh at least we're starting to narrow it down. I'll close this for now then but feel free to reopen it if you're having the same trouble with a new sensor!