-
Notifications
You must be signed in to change notification settings - Fork 2
Software installation (includes motion)
This guide walks you through setting up Motion and the diel-light-pi repository on a Debian-based ARM64 system (e.g., Raspberry Pi running Bookworm).
Update and upgrade all installed packages:
sudo apt-get update
sudo apt-get upgradeDownload the motion package for ARM64 Bookworm from the official or trusted source.
sudo gdebi <motion-package>.debReplace <motion-package>.deb with the actual filename.
You may need to download gedbi with apt and make sure you use the correct build. For Pi5's it is usually bookworm arm64
sudo apt-get install autoconf automake autopoint build-essential pkgconf libtool libzip-dev libjpeg-dev git libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev libwebp-dev gettext libmicrohttpd-dev libcamera-tools libcamera-dev libcamera-v4l2
Double check the motion page (https://motion-project.github.io/motion_build.html)
Adjust the list based on your build requirements.
- Ensure the USB or CSI camera is connected.
- If not detected, unplug and reconnect it.
sudo libcamerify motion- Motion should start.
- Confirm the camera feed is visible.
git clone https://github.com/yashsondhi/diel-light-pi.git
cd diel-light-pisudo apt-get install python3-yaml
pip install pyyamlmay not work on this platform, so useapt.
You're Done!
- Motion is installed and tested.
-
diel-light-piis cloned. - YAML dependencies are in place.
You can now begin configuring and using the diel-light-pi scripts for light tracking and automation.
🛠 Need help? Open an issue on the GitHub repository or post to the relevant community forums.
Disk images and more guides are available at: https://osf.io/8p5kw/