Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More fixes #95

Merged
merged 5 commits into from
Jan 17, 2022
Merged

More fixes #95

merged 5 commits into from
Jan 17, 2022

Conversation

CarsonF
Copy link
Collaborator

@CarsonF CarsonF commented Jan 17, 2022

  • 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.

- Account for the library shifting address to right
- Change wait for boot to have configurable timeout and to call our watch dog
- Handle 255 from device state as unknown.
  - This is an undocumented result and shouldn't be considered a valid boot
For several subsequent reads, like in calibration, this call is unnecessary.
@Lyr3x Lyr3x merged commit dec419a into Lyr3x:dev Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants