Skip to content

freddy2312/SH1106-PiHole-Statistics

Repository files navigation

SH1106-PiHole-Statistics

A Statistics Display for the SH1106 I2C Display

Enable I2C Interface

  • sudo raspi-config --> Interfacing Options --> I2C --> Yes --> OK --> Yes

Installing the dependencies

  • sudo apt update

  • sudo apt upgrade

  • sudo apt-get install -y python3 python3-dev python3-smbus i2c-tools python3-pil python3-pip python3-setuptools python3-rpi.gpio libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5 git python3-gpiozero python3-pil

  • sudo -H pip3 install luma.oled

  • sudo usermod -a -G spi,gpio,i2c pi

Downloading the fonts/scripts

Make it run at startup

  • sudo crontab –e

  • Add at the bottom:

  • @reboot /stats/launcher.sh > /stats/launcher.log 2>&1

About

A Statistics Display for the SH1106 I2C Display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages