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

W1Sensor sometimes gets stuck #6

Open
michaelcadilhac opened this issue Mar 8, 2021 · 0 comments
Open

W1Sensor sometimes gets stuck #6

michaelcadilhac opened this issue Mar 8, 2021 · 0 comments

Comments

@michaelcadilhac
Copy link

First off, what a brilliant piece of software; I love the coding style and the architecture of the project.

I've been running tfbrew for a few hours now, extending it as I needed. At some point, the W1Sensor got stuck at 4°, and the hysteresis logic had my kegerator run to -11°C before I realized. Looking at /sys/bus/w1/devices/ID/w1_slave, the temperature was correctly listed at -11°C, but it seems that for one probe, the file wasn't there.

As a result, the asyncio task crashed from the pattern matching done in readTemp.

I've modified the function like this, and haven't had a problem since.

@michaelcadilhac michaelcadilhac changed the title W1Sensor sometimes get stuck W1Sensor sometimes gets stuck Mar 8, 2021
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