Passing mini screen control

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.

I agree that a way to support notifications onto the miniscreen would be great. This has been discussed several times internally, but we were never able to come up with a design pattern that we liked - plus, it’s never really been explicitly asked for (before now).

There’s a lot that needs to be addressed with the miniscreen - things I hope to be able to focus on in the next few weeks. However, we are improving our onboarding process right now, so this is a lower priority consideration for me.

I am quite sure that we will be discussing a lot of ways in which the miniscreen can be improved in the near future, so it’s great that ideas like this are surfacing - it proves that I might actually have been onto something :wink:

1 Like

Look forward to it, @pi-topMIKE ave you seen the work we have done looking into the system menu?, we finally worked out how to make our own things and starting to look into revamping the stuff that where not enabled :stuck_out_tongue:

1 Like

I had a cursory glance but wanted to give it some proper attention before commenting. Will try and take a look in the next couple of days and offer some input!

1 Like

also i only thought about notifications on the OLED when i seen that in the daemon log :slight_smile:

1 Like

Is this due to the python script running the service?

Sorry, not sure what you’re asking?