-
Notifications
You must be signed in to change notification settings - Fork 84
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
Lm75b support and script updates #103
Lm75b support and script updates #103
Conversation
Use whiptail dialogs throughout.
…rror_status During initial installation force the user to select his/her screen size before starting epd_fuse. Add minimal temperature sensor (LM75B) support, so the actual temperature is taken into account with the display updates. Make /dev/epd/error accessible from python: error_status() function.
The only thing I'm worried about is that the temperature sensor is not actually really reading the ambient temperature in the locality of the display. It's underneath the board and therefore reading really high (as the CPU is warming it up). I'm not entirely sure how to handle this, without a hardware update? What do you think @tvoverbeek @francesco-vannini ? |
papirus-buttons has an indent on the part:
But the other scripts do not. Is that intentional? |
No, the indent should not be there. Fixed. |
Regarding the temperature. Agreed the LM75B does not measure the screen temperature. I would guess it is a few degrees higher than the actual screen temperature.
For normal use (temp between 20 and 40) the routine returns 10, above 40 it returns 7. |
Looks good. Will test and merge next week but agreed on the temperature. Will aim to put a smaller chip temp sensor on top of a future hardware revision so it's more accurate |
-Updated papirus-config using whiptail dialogs throughout.
-Update papirus-setup to force user to specify screen size before starting the epd-fuse service.
-Added LM75B support in epd.py, so the display updates use the actual temperature.
-Added python read access to /dev/epd/error in epd.py