Open troelde opened 1 year ago
same problem
[vl53l0x:265]: Sensor 1 - update called before prior reading complete - initiated:0 waiting_for_interrupt:1
increase update_interval: 200ms and timeout to 500ms
Also having the same problem. Is there a way it can ignore the bad readings and continue once the condition clears?
` [13:25:19][W][vl53l0x:266]: VL53L0x Bottom - update called before prior reading complete - initiated:0 waiting_for_interrupt:1
thanks !
With the help of user 'ssieb' on Discord:
on_message: level: WARN then:
It's crude, but does the trick on some of my applications.
With the help of user 'ssieb' on Discord:
on_message: level: WARN then: - lambda: if (std::string(tag) == "vl53l0x") id(restart_button).press();
It's crude, but does the trick on some of my applications.
A few month later and still the same issue with the sensor, but restarting on Warn message does the job. I can exclude the fault on the sensor side because I ran the sensor for over a year before now i switched to ESPHome.
After all this time they not able to fix it. installed espeasy and all runs fine.
I have the same issue. After restarting the device, I get some good readings, but then this error appears. I observed that if I disconnect the SLC pin, the same error also occurs. After reconnecting the SLC pin, the error persists until I restart the device.
The problem
The sensor works fine for distances within its max range. But with every configuration I have tried including those here https://www.esphome.io/components/sensor/vl53l0x.html, the sensor often runs into a state waiting for interrupt often when distance is out of range. The log says: Warning in log: "_update called before prior reading complete - initiated:0 waiting_forinterrupt:1". It is impossible to recover without rebooting device.
The sensor state is set to unknown, the same as if distance is out of range. Therefore impossible to detect if sensor actually has stopped working or distance out of range.
Which version of ESPHome has the issue?
2023.2.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.2.5
What platform are you using?
ESP8266
Board
Wemos D1 Mini compatible
Component causing the issue
VL53L0X Time Of Flight Distance Sensor
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response