Our IoT device is using an OLED screen through i2C to display information to the user about its current working configuration and displays realtime statistics helping the user determine the state of the device.
We are using 2 containers. One for the main application which runs Node.JS, and one for simple file access. Everything works as expected once the device has booted up, but we have a small problem of “user perception”. It takes 3 minutes for the OLED screen to appear with content, where as normally it would take 6 seconds if we run the app normally.
The first thing our Node.JS code does is load a splash-screen onto the OLED, but this take 3 minutes to appear if we cold boot the device.
What we would like to do is load an image (Splash or text) that informs the user that the device is loading.
- Can we run a startup script in the HOST-OS that simply puts content on the OLED (Python Etc)?
- Is there a way to speed up the cold boot.
- Can we prioritise the containers and load the main container with the Node.JS first.
- Any other ideas how to display a splash screen on the OLED module quickly.
Our IoT is headless, except for the OLED screen, so we want to show the user a message as quickly as possible, as 3 minutes, is a long time to wait with a blank screen.