Shows the CPU Temperature and CPU Load with Pimoroni Blinkt or LED SHIM
534

The following commands runs the CPU-Info Docker container.
docker run -d \
--name blinkt-cpu-info \
--privileged \
--restart=unless-stopped \
-e Device=Blinkt \
cisecke/blinkt-cpu-info
docker run -d \
--name blinkt-cpu-info \
--privileged \
--restart=unless-stopped \
-e Mode=Mixed \
-e Brightness=0.05 \
-e Interval=0.05 \
-e Smooth=True \
-e Direction=LTR \
-e Device=Blinkt \
-e Marker=False \
-e Segmented=False \
cisecke/blinkt-cpu-info
Privileged mode is needed to access the GPIO Header.
When running the client, the following parameters are available
-e Mode=Mixed The Mode can be chosen between Mixed(default), Temp and Load.
-e Mode=Temp shows the temperature in red, it is divided in 10°C steps. As example for Blinkt 4 red LEDs means 40°C.-e Mode=Load shows the CPU Load in blue, it is divided by the device LED count (Blinkt has 8 and SHIM has 28). As example for Blinkt 4 blue LEDs mean 50% CPU Load.-e Mode=Mixed combines the other 2 modes and mixes the colors as purple.-e Brightness=0.05 sets the brightness of the LEDs from 0.0 to 1.0 (default 0.05 for BLINKT and 1.0 for LED SHIM).-e Interval=0.05 sets the interval in which the values are updated (default 0.05).-e Smooth=True smoothens the colors of the LEDs, set False to deactivate (default True).-e Direction=LTR sets the orientation of the LEDs to left-to-right (LTR) or right-to-left (RTL) (default LTR).-e Device=Blinkt The Device can be chosen between Blinkt (default) and Shim
-e Marker=True shows 3 markers on the device for a better segment recognition, especially useful for the LED SHIM with it's 28 LEDs (default False for Blinkt and True for LED SHIM).-e Segmented=True shows the load of all 4 CPU Cores separated (default False for Blinkt and True for LED SHIM).All parameters are optional and the values are case-insensitive, the default values are used if they are omitted.
If LED SHIM is used as Device, a higher Brightness than the Blinkt value should be used because Blinkt is much brighter than LED SHIM.
balenalib/rpi-raspbianContent type
Image
Digest
Size
78.6 MB
Last updated
over 7 years ago
docker pull cisecke/blinkt-cpu-info