[RPi5] OLED Display Support

  • Hello, I am running LibreELEC v12.2 on a Raspberry Pi 5 mounted in a case with OLED display (as media support for a non-smart TV), for monitoring CPU/GPU temps, memory load etc. I am trying to install and deploy certain scripts and dependencies for programming the display and I intend to follow the steps in the below link - section "Programming The OLED Stats Display" -, but in LE (and not Pi OS):

    Add an OLED Stats Display to Raspberry Pi OS Bookworm - The DIY Life
    In this tutorial, I'll show you how to install and program an I2C OLED stats display on your Raspberry Pi 5 running Pi OS Bookworm
    www.the-diy-life.com

    However, as LE does not have apt, I cannot download and install the scripts/dependencies mentioned in the link (which otherwise runs flawlessly in a Pi OS environment). I connect to LE through SSH using web SSH add-on (installed from LE repository).

    Is there another way I could make the commands work in LE? If yes, can anyone please kindly guide me through? I really want to make the display work on LE as well, as it my go-to environment for my media library. I am somehow familiar with console/shell commands but I am far from being an expert, so any help would me much appreciated!

    Thank a lot in advance!;)

  • LuRu
    April 25, 2022 at 5:02 PM
  • Thanks Da Flex ! However, my display chip is SSD1306, different than the ones tested in the respective link you shared. I have asked in that thread for guidance with respect to my chip - hopefully, OP or anyone else will answer.

  • SSD1306 is part of the Luma.OLED API:

    Import your SSD1306 driver into your Python script:

    Raspberry Pi: OLED-Display 128x64 mit Python ansteuern (I2C) - indiBit.de
    Dieser Beitrag zeigt die Grundlagen, wie man ein Display am Raspberry Pi mit Python steuern kann. Im konkreten Fall wird ein 0,96 Zoll großes OLED-Display mit…
    indibit.de