so i noticed while making a reboot script, in the daemon.log that when a script takes control it shows this
Mar 12 19:59:35 pi-top pt-sys-oled[673]: [19:59:35.444347 I] User has taken control of the OLED[19:59:35.444800 I] User has taken control of the OLED
Mar 12 19:59:35 pi-top pt-sys-oled[673]: [19:59:35.513663 I] User has control. Waiting for user to give control back…
and when the program ends and gives control back to the system the daemon log shows this
Mar 12 19:59:43 pi-top pt-sys-oled[673]: [19:59:43.155476 I] User has given back control of the OLED
Mar 12 19:59:43 pi-top pt-sys-oled[673]: [19:59:43.323527 I] Forcing full state refresh…
Mar 12 19:59:43 pi-top pt-device-manager[485]: [19:59:43.330923 I] Setting OLED Pi control state to 1
Mar 12 19:59:43 pi-top pt-device-manager[485]: [19:59:43.352040 I] Recv: REQ_SET_OLED_CONTROL 1 - Send: RSP_SET_OLED_CONTROL
Mar 12 19:59:43 pi-top pt-sys-oled[673]: [19:59:43.402152 I] OLED control restored
@duwudi @pi-topMIKE is there a way, to pass control and take it back while a python script is active, maybe something like a notification type script, lets say for email, have it show a notification for a set time then pass control back to the system till a new email arrives?
it could have quite a few applications of having something like this be it for email notifications, alarms, maybe if you have a fitbit script you can use it to do notifications etc.