Sign inSign up

waazaafr/turing-smart-screen

By waazaafr

•Updated 11 months ago

Docker version of project turing-smart-screen-python

Image
Monitoring & observability
0

7.3K

waazaafr/turing-smart-screen repository overview

Source code: https://codeberg.org/waazaa/turing-smart-screen⁠

⁠🧠 Turing Smart Screen Dockerized

This repository provides a Docker image to easily run the turing-smart-screen-python project without installing Python or dependencies on the host system. The application displays various system information (temperature, CPU load, weather, etc.) on a Turing Smart Screen connected via USB.

ā šŸš€ Running the container
⁠🧩 Example with docker run
docker run --name turing-smart-screen \
    -e VERSION="3.9.0"
    -e COM_PORT="AUTO" \
    -e THEME="3.5inchTheme2" \
    -e HW_SENSORS="AUTO" \
    -e ETHERNET_INTERFACE="eth0" \
    -e WLO="" \
    -e CPU_FAN="AUTO" \
    -e PING="8.8.8.8" \
    -e WEATHER_API_KEY="" \
    -e WEATHER_LATITUDE=45.75 \
    -e WEATHER_LONGITUDE=4.85 \
    -e WEATHER_UNITS="metrics" \
    -e WEATHER_LANGUAGE="en" \
    -e REVISION="A" \
    -e BRIGHTNESS="20" \
    -e DISPLAY_REVERSE="false" \
    --device="/dev/ttyACM0" \
    -v $PWD:/app \
    waazaafr/turing-smart-screen:latest
⁠🧩 Example with docker-compose.yml
services:
  turing-smart-screen:
    image: waazaafr/turing-smart-screen:latest
    container_name: turing-smart-screen
    environment:
      VERSION: "3.9.0"
      COM_PORT: "AUTO"
      THEME: "3.5inchTheme2"
      HW_SENSORS: "AUTO"
      ETHERNET_INTERFACE: "eth0"
      WLO: ""
      CPU_FAN: "AUTO"
      PING: "8.8.8.8"
      WEATHER_API_KEY: ""
      WEATHER_LATITUDE: 45.75
      WEATHER_LONGITUDE: 4.85
      WEATHER_UNITS: "metric"
      WEATHER_LANGUAGE: "en"
      REVISION: "A"
      BRIGHTNESS: "20"
      DISPLAY_REVERSE: "false"
    devices:
      - "/dev/ttyACM0:/dev/ttyACM0"
    volumes:
      - ./app:/app
    restart: unless-stopped
ā āš™ļø Environment variables
VariableDescriptionDefault / Example
VERSIONDefines which version of the project to run.
Can be:
• a version number (e.g. 3.9.0)
• the keyword source to use the GitHub source directly
• branch:<branch-name> to use a specific branch from the original repository
3.9.0
COM_PORTSerial port for the Turing Smart Screen (AUTO for auto-detect)AUTO
THEMEGraphic theme used by the display3.5inchTheme2
HW_SENSORSEnables hardware sensors (temperature, fans, etc.)AUTO
ETHERNET_INTERFACEName of the Ethernet network interfaceeth0
WLOName of the Wi-Fi interface (if used)(empty)
CPU_FANCPU fan sensor to useAUTO
PINGIP or domain used for connectivity test8.8.8.8
WEATHER_API_KEYOpenWeather API key(required for weather)
WEATHER_LATITUDELatitude for weather location45.75
WEATHER_LONGITUDELongitude for weather location4.85
WEATHER_UNITSWeather units (metric or imperial)metric
WEATHER_LANGUAGELanguage for weather descriptionsen
REVISIONHardware revision of the screen (A, B, etc.)A
BRIGHTNESSScreen brightness (0–100)20
DISPLAY_REVERSERotate display 180°
                                                                                | `false`                  |
⁠🧩 About VERSION

Fixed version VERSION="3.9.0" → Downloads and runs version 3.9.0 of the official project.

GitHub source VERSION="source" → Clones and runs the original repository source code: https://github.com/mathoudebine/turing-smart-screen-python⁠

Specific branch VERSION="branch:dev" → Clones the dev branch from the official repository.

ā šŸ”Œ Serial device

The screen must be accessible by the container via /dev/ttyACM0.

Ensure your Docker user has the required permissions, or run the command with sudo.

ā šŸ’¾ Volumes

The mounted volume (-v $PWD:/app) allows:

Saving local configuration

Accessing logs and generated files

You can change the path as needed.

⁠🧰 Original repository

This Docker project is not the official source code repository. The original project can be found here: šŸ‘‰ https://github.com/mathoudebine/turing-smart-screen-python⁠

ā šŸ“œ License
  • Docker-specific files in this image (Dockerfile, configuration scripts) are licensed under MIT.
  • The original source code included or used (turing-smart-screen-python) remains under GPLv3.

✦ Docker Maintainer: Waazaa

Made with ā¤ļø for Docker community

================================================================

Discord: https://discord.gg/p9xkjEw8ts⁠

Buy me coffee:

https://buymeacoffee.com/waazaa⁠

https://ko-fi.com/waazaa⁠

UnRAID: https://unraid.net/pricing?via=4c3f80⁠

Tag summary

Content type

Image

Digest

sha256:e754c7390…

Size

180.6 MB

Last updated

11 months ago

docker pull waazaafr/turing-smart-screen