How to turn off the screen on shutdown? #123
-
The screen is staying on after my PC has shut down (displaying the last frame). I've set it up to run at start-up via the task scheduler as recommended in the setup guide. Also, there is no tray icon as mentioned in the guide so cannot try exiting that way. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
On Win11, the tray icon appears as it should to me, but even when I close it, the screen remains on, last frame as for you. |
Beta Was this translation helpful? Give feedback.
-
For the screen to turn off when the program stops, you can do this manually in display.lcd.ScreenOff() Add the following code at the beginning of the You display should be turned off when the program exits cleanly: this is the case when stopped from the tray icon, but I don't know if this works when stopped on computer shutdown. If the screen does not turn on automatically when program restarts, you can add: self.lcd.ScreenOn() here: https://github.com/mathoudebine/turing-smart-screen-python/blob/main/library/display.py#L68 |
Beta Was this translation helpful? Give feedback.
-
Hello all, this feature has now been included in Release 2.3.1 |
Beta Was this translation helpful? Give feedback.
Hello all, this feature has now been included in Release 2.3.1
The screen will turn off automatically when program stops, or on computer logoff/shutdown