This Python script reads the CPU temperature and displays it on the Boreas B53AII display. It supports Celsius and Fahrenheit modes, customizable update intervals, and a debug option.
- Python 3.8+
psutilPython packagehidPython package- Access to
/dev/hidraw*devices (udev rule or sudo)
- Clone or copy the project:
cd /path/to/ZeusCast- Create a virtual environment (optional but recommended):
python3 -m venv .venv
source .venv/bin/activate- Install required Python packages:
pip install --upgrade pip
pip install psutil hid- Set device permissions (so Python can access the display without sudo):
sudo bash -c 'cat > /etc/udev/rules.d/99-boreas.rules <<EOF
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="b53a", MODE="0666"
EOF'
sudo udevadm control --reload
sudo udevadm triggerFrom the project root directory:
source .venv/bin/activate # if using virtual environment
python ZeusCast.py [OPTIONS]| Option | Description | Default |
|---|---|---|
--mode c |
Temperature unit: Celsius (c) or Fahrenheit (f) |
c |
--interval <seconds> |
Update interval in seconds | 0.25 |
--debug |
Enable debug logs | Disabled |
Example:
python ZeusCast.py --mode f --interval 1.0 --debugYou can run the script in the background using nohup or &:
nohup python ZeusCast.py --mode c --interval 0.25 > zeuscast.log 2>&1 &Check logs:
tail -f zeuscast.logStop the process:
pkill -f ZeusCast.py- Make sure your user has read/write access to
/dev/hidraw*(udev rule recommended). - For systemd integration, make sure the
ExecStartpoints to the absolute path of the script and that the script is executable.
USDT(Binance Blockchain)
0x72F18129A47EA26176B9338E7Dd6A17434aABC8a