issues
search
Lyr3x
/
Roode
A reliable smart home people counter based on VL53L1X and ESPHome
The Unlicense
149
stars
41
forks
source link
More fixes
#95
Closed
CarsonF
closed
2 years ago
CarsonF
commented
2 years ago
Fix ranging override being ignored
Add more data to Roode's dump config call: ROI, Thresholds, Sample size
Account for VL53L1X_ULD library shifting address to right
Change wait for boot logic to have configurable timeout and to call ESPHome's watch dog
Handle 255 from device state as "unknown" (device state
98
).
This is an undocumented result and was previously considered to be a valid boot
It was previously considered valid, because
255 & 1 == 1
, yet the subsequent Init call to ULD library would hang ESPHome, causing a panic loop.
Only set ROI to sensor if it's different from before. For several subsequent reads, like in calibration, this call is unnecessary.
98
).255 & 1 == 1
, yet the subsequent Init call to ULD library would hang ESPHome, causing a panic loop.