skylarstein / bme280-sensor

A Node.js I2C module for the Bosch BME280 Humidity, Barometric Pressure, and Temperature Sensor
MIT License
36 stars 22 forks source link

Sometime result in the EIO error #4

Open yuwzho opened 7 years ago

yuwzho commented 7 years ago

When I use a Raspberry Pi 3 connect a BME280 sensor, it sometimes result in such error: { Error: EIO, Input/output error errno: 5, code: 'EIO', syscall: 'writeByte' }

skylarstein commented 7 years ago

Hi, are these errors persistent once they start occurring until you restart the process or do they occur intermittently within the same instance? Also, any other devices on the i2c bus?

Thanks!

yuwzho commented 7 years ago

HI @skylarstein

No any other device I connect to my Pi, but the BME280. Rebooting the Pi is not working, only re-connecting the wiring sometime help.