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

failure mode handling could generally be more graceful #22

Open
DocSunset opened this issue Nov 2, 2022 · 0 comments
Open

failure mode handling could generally be more graceful #22

DocSunset opened this issue Nov 2, 2022 · 0 comments

Comments

@DocSunset
Copy link
Contributor

When one of the I2C sensors is having connection difficulties, the entire device becomes inoperable, without any indication of what's wrong. This makes it difficult to tell when something is amiss, since the behavior is almost the same as a dead battery.

Ideally, when one of the sensors in inaccessible, the firmware should detect this, report it in some fashion (e.g. set all the sensor values to NaN? Or perhaps there should be status signals that can be set appropriately if a problem is detected?), and move on to trying to do the rest of the work that the T-Stick usually does, like reading all the other sensors.

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

No branches or pull requests

1 participant