RPi multipurpose display
Go to file
Mike Cifelli fc77feedb2 Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00
.gitignore Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00
.tool-versions Add application code and install script 2022-12-23 11:26:50 -05:00
README.md Initial commit 2022-12-21 18:36:48 -05:00
character_display.py Handle weather connection errors 2022-12-24 19:10:15 -05:00
chutney.py Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00
chutney.sample.cfg Show temperature 2022-12-24 10:59:04 -05:00
chutney.service Update service user 2022-12-23 12:37:27 -05:00
colors.py Show temperature 2022-12-24 10:59:04 -05:00
install Update service user 2022-12-23 12:37:27 -05:00
time_display.py Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00
weather_display.py Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00
weather_updater.py Run weather updates in a separate thread 2022-12-25 11:01:48 -05:00

README.md

chutney

Dependencies

sudo raspi-config nonint do_spi 0
sudo apt install python3-pip python3-dev python3-spidev
sudo pip3 install unicornhathd

Configuration

TODO

Installation

sudo ./install

Output

By default output will be in /var/log/syslog. A separate log file can be used by creating /etc/rsyslog.d/30-chutney.conf containing:

if $programname == 'chutney' then /var/log/chutney.log
& stop

and then restart the rsyslog service:

sudo systemctl restart rsyslog

This log file can be rotated by creating /etc/logrotate.d/chutney containing:

/var/log/chutney.log
{
        rotate 14
        daily
        create
        missingok
        notifempty
        compress
        delaycompress
        postrotate
                /usr/lib/rsyslog/rsyslog-rotate
        endscript
}