* Ethan's Notes ** Pi Camera sources: https://github.com/MichaIng/DietPi/issues/8032#issuecomment-4103452624 https://vladimir-vinarsky.me/raspberry-pi/ (follow this one to create a service for motion) #+begin_src bash /boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d /boot/dietpi/func/dietpi-set_hardware rpi-codec enable G_SUDO G_CONFIG_INJECT 'camera_auto_detect=' 'camera_auto_detect=1' /boot/firmware/config.txt sudo reboot #+end_src in `dietpi-config`: turn on pi camera install these with apt: libcamera-tools v4l2loopback-dkms in /etc/motion/motion.conf set: stream_motion on stream_maxrate 10 width 1920 height 1080 ** Grafana on FreeBSD - update pkg so we have the right version command to run: doas grafana server --config=/usr/local/etc/grafana/grafana.ini --homepath /usr/local/share/grafana