We implemented a new feature for our PASSDORA Box. Passdora is a Raspberry Pi based system which hosts the Sequry password-manager.
The Passdora-system has multiple scripts running in the background. These scripts need to write information to a small connected display.
When a foreground script, which needs the user's attention, outputs text to the display, the background scripts running in intervals, overwrite the foreground script's output which causes confusion.
A central instance is required which makes sure that only one script at a time is able to output text, without overwriting another scripts content. It should also take care of a uniform output formatting (e.g. centering the output text and placing the Passdora-logo in the first row). To indicate that a script is busy it should also provide functions that display a loading animation and/or a countdown. It should also be possible to clear the displays content completely or to show the default content.
Thanks for reading
Jan, for PCSG Developers