trvrnrth / esphome-bsec-bme680

ESPHome component for the Bosch BME680 sensor via BSEC providing temperature, humidity, pressure and indoor air quality measurements.
85 stars 17 forks source link

esp32 reboots sometimes #6

Closed wettermann32 closed 3 years ago

wettermann32 commented 3 years ago

thanks for the code, things a real easy with it. Anyhow between 30 and 60min runtime the esp32 reboots. IAQ then start from 25 again. I never get a stable value. I have deleted everything from yaml beside bme_680 and wifi/web. Are there any known issues with stability?

Best

trvrnrth commented 3 years ago

I've certainly had no stability issues running on a couple of ESP8266 Wemos D1 minis. I don't have any ESP32 boards to test with but am not aware of anything that is likely to cause issues there.

Initial calibration can take a fair bit of time, and state is only saved once calibration is achieved so the behavior you describe is expected if you're getting restarts that soon after first boot.

First thing I'd probably try would be to switch on debug logs and see if there's anything odd around the time of reboot then work from there.

wettermann32 commented 3 years ago

First guess, api was forcing a reboot, since no client was connected. Lets see if it survives the night. Thanks for your quick answer anyhow.