RPi multipurpose display
Go to file
Mike Cifelli 3053b8650a
Update readme
2023-07-08 08:30:14 -04:00
chutney Add authentication to ntfy 2023-07-03 12:23:15 -04:00
data Refactor code into packages 2023-01-05 19:11:30 -05:00
.gitignore Handle missing network on start/refactor code 2023-01-14 14:48:36 -05:00
.tool-versions Add application code and install script 2022-12-23 11:26:50 -05:00
LICENSE Update readme 2023-07-08 08:30:14 -04:00
README.md Update readme 2023-07-08 08:30:14 -04:00
chutney.py Refactor code into packages 2023-01-05 19:11:30 -05:00
chutney.sample.cfg Add authentication to ntfy 2023-07-03 12:23:15 -04:00
chutney.service Switch to multiprocessing 2022-12-25 13:55:08 -05:00
install Update service user 2022-12-23 12:37:27 -05:00

README.md

chutney

A Raspberry Pi project for displaying the time, temperature and garage door status. A Unicorn HAT HD is used for a simple display.

Dependencies

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

Configuration

cp chutney.sample.cfg chutney.cfg

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
}