ds.scan() is unlikely to throw an exception.
In my application I catch oneWire errors on conversion and any type of error on reading:
https://github.com/kevinkk525/pysmartno ... 18.py#L148
https://github.com/kevinkk525/pysmartno ... 18.py#L159
Having issues with trying to catch "OneWireError" exception
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Having issues with trying to catch "OneWireError" exception
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Having issues with trying to catch "OneWireError" exception
Thank you for comment and links to your code.