beckenc / homie-dht

ESP8266 MQTT Sensor Node (in deep sleep) based on homie-esp8266. Support DHT11, DHT22, BME280, SHT30, SHT31.
MIT License
12 stars 2 forks source link

If sensor fails in running system, endless loop occurs #2

Closed MTJoker closed 6 years ago

MTJoker commented 6 years ago

If the sensor fails during normal system operation (tested with BME280), an endless loop occurs during BME280_Impl::readSensor(). Here, bme.takeForcedMeasurement() is called, which loops forever until a successful readout. This kills the system, as it seems like no watchdog is triggered (maybe disabled in Homie?).

beckenc commented 6 years ago

fixed with 1c487b0