Installation
AutoLight is easy to install. Follow the steps and AutoLight will be functional in no time!
Before you start
You must meet the minimum requirements
Make sure that you have:
Raspberry Pi OS Bookworm
A Pi4B, Pi3B, Pi3A, PiZero2, or a PiCM4
Installation steps
Install system dependencies
sudo apt install python3-dev python3-venv git libdbus-1-dev libglib2.0-dev build-essentialClone the AutoLight repo
git clone https://github.com/meowmeowahr/AutoLightChange directory into AutoLight
cd AutoLightCreate a new python environment
python -m venv .venvSource environment
source .venv/bin/activateInstall Python dependencies
pip install -r requirements.txt
🚀 AutoLight is now installed
Autostart
To Install AutoLight as a Systemd Service, run the following command
python main.py --systemd-install
To Remove the service, run the following commands
sudo systemctl stop autolight.service
sudo systemctl disable autolight.service
sudo rm /etc/systemd/system/autolight.service
sudo systemctl daemon-reload
Last modified: 27 May 2024