summaryrefslogtreecommitdiff
path: root/ethan-notes.org
diff options
context:
space:
mode:
authorEthan Sue <[email protected]>2026-05-11 19:47:30 -0400
committerEthan Sue <[email protected]>2026-05-11 19:47:30 -0400
commit950e8b9081b850f30a27f6a0da1398f63b29e8f6 (patch)
tree8438f97c75adaf75405d74f64d07b3f663752ea3 /ethan-notes.org
parent9f442a576052d555a073c3b228f3b2711c7638aa (diff)
docs: add Ethan's notes
Diffstat (limited to 'ethan-notes.org')
-rw-r--r--ethan-notes.org33
1 files changed, 33 insertions, 0 deletions
diff --git a/ethan-notes.org b/ethan-notes.org
new file mode 100644
index 0000000..668f7b4
--- /dev/null
+++ b/ethan-notes.org
@@ -0,0 +1,33 @@
+* 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