/pi_env_disp

Display environmental stats on a SenseHat for the Raspberry Pi 4 in a C4Labs Zebra case.

Primary LanguagePython

Environment Display for Raspberry Pi with Sense Hat

This script was written for a Raspberry Pi 4 with a Sense Hat in a C4Labs Zebra case.

Install

The service file should be installed to ~/.config/systemd/user/environment_stats.service.

mkdir -p ~/.config/systemd/user
cp ./environment_stats.service ~/.config/systemd/user/environment_stats.service

Ensure the script is executable:

chmod +x ./env_report.py

Enable the service:

systemctl --user enable environment_stats.service

Start the service:

systemctl --user start environment_stats.service

Restarting, Stopping, Disabling

Restart:

systemctl --user restart environment_stats.service

Stop:

systemctl --user stop environment_stats.service

Disable:

systemctl --user disable environment_stats.service