Pironman 5 man Oled to display date / time

Hello !

How is it possible to display date / time on the oled display ?

(Raspi 5 8Gb with HAOS)

Thanks in advance.

GK

For Raspberry Pi OS, the operation is as follows:

The program controlling the OLED display is in the pm_auto.py file inside the pm_auto directory. To modify the OLED display content:

Clone the code:
cd ~
git clone GitHub - sunfounder/pm_auto: Pironman Auto Script
Modify the OLED display content in the handle_oled() function located in pm_auto/pm_auto.py:

Enter the virtual environment, reinstall pm_auto, and restart the pironman5 service:
source /opt/pironman5/venv/bin/activate
cd ~/pm_auto
/opt/pironman5/venv/bin/pip3 install ./
sudo systemctl restart pironman5.service
If you are using HAOS (Home Assistant OS), the configuration process might be very complex, and the method above may not work for you.

Thank you for your really detailed answer.

Unfortunately, as I am working under the HAOS, I will forget this improvement. But I keep it for the future, on a pure RaspiOS implementation.

Best regards.

GK