display current linux/network info on a 16x2 LCD via I2C
Go to file
Hendrik Schutter b67ed823c2 display current time on default screen 2022-10-17 17:46:42 +02:00
.gitignore Initial commit 2022-05-23 18:03:18 +02:00
LICENSE Initial commit 2022-05-23 18:03:18 +02:00
README.md inital version 2022-05-23 22:55:43 +02:00
pyLCDinfo.py display current time on default screen 2022-10-17 17:46:42 +02:00

README.md

pyLCDInfo

display current linux/network info on a 16x2 LCD via I2C

Install

apt-get install i2c-tools pip python3-dev

pip3 install rpi_lcd

search I2C LCD Controller on Bus X (0, 1, 2, 3, ...) and note address of device i2cdetect -y X

nano /lib/systemd/system/LCDinfo.service

[Unit]
Description=LCD info
After=syslog.target
After=network.target

[Service]
Type=simple
User=root
Group=root
Restart=on-failure
RestartSec=5s
ExecStart=sudo /usr/bin/nice -n 19 sudo -u root /usr/bin/python3 /root/pyLCDinfo.py eth0 wg0 /mnt/hdd/backups

[Install]
WantedBy=multi-user.target

systemctl daemon-reload

systemctl enable /lib/systemd/system/LCDinfo.service