ayeks / bme680_to_influxdb

Simple script that sends your BME680 temp, pressure, humidity and gas sensor data to InfluxDB.
MIT License
23 stars 16 forks source link

get_sensor_data() error management #14

Closed romton843 closed 3 years ago

romton843 commented 3 years ago

Added five attempts before the break in case of a get_sensor_data() failure

romton843 commented 3 years ago

Hi, I added five attempts before breaking in case of an get_sensor_data() failure. I hope you'll be ok with the way I did it. Best regards. Romain

ayeks commented 3 years ago

Hey @romton843 !

Thanks a lot for your contribution to this little script! Your edit looks good to me.

Closes: https://github.com/ayeks/bme680_to_influxdb/issues/13