Closed kfezer closed 2 months ago
Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the contributing guidelines
Hi @kfezer and thanks for reporting the issue. Yes, it seems this needs some improvements as the battery level cannot be read if the PiSugar board is off. Would you be willing to help test this functionality as I do not use the PiSugar on my build? If yes, I'll have a fix ready soon and will provide you with some instructions on how to test the fix. If it works for you, then this can be made public.
Okay, I got a fix ready for this and it's now available. Please run the following to get the patch;
cd ~/Inkycal && source venv/bin/activate
git pull
python inky_run.py
If something shouldn't work as expected, please re-open the issue
Describe the bug When trying to run inky_run.py and pysugar board is off, bet this error:
To Reproduce Steps to reproduce the behavior:
Expected behavior Should handle the error of type better.