3cf21cb8523840b9ad88ec9c89fec788ad38e400
[EVA-2020-02.git] / TODO.org
1 * Task List
2 ** TODO Add ~photograph~ (?) logging
3 The Raspberry Pi Zero W has a camera connector that lets certain types
4 of camera devices connect. The ~raspistill~ command permits capturing
5 of photographs and outputting the file to stdout. Therefore, it should
6 be possible to create a script that periodically calls ~raspistill~ to
7 output ~jpg~ stdout to ~age~ for encryption and addition to a ~tar~
8 file. An Arducam IMX219 wide angle camera captures an 8 megapixel
9 image; default settings of ~raspistill~ produces an image of roughly
10 ~4.5~ to ~5~ megabytes.
11
12 Some commands that can be used for creating timelapses via ~ffmpeg~
13 are:
14
15 : ffmpeg -r 60 -f image2 -s 3280x2464 -pattern_type glob -i '*.jpg' -vcodec libx264 -crf 18 "$(date +%Y%m%dT%H%M%S%z)..time_lapse".mp4
16 : cat *.jpg | ffmpeg -f image2pipe -i - output.mp4 # see https://trac.ffmpeg.org/wiki/Slideshow#Pipe
17
18 * Finished Tasks
19 ** DONE ~/doc/time~: Migrate from ~ntpsec~ to ~chrony~
20 CLOSED: [2020-10-19 Mon 03:48]
21 The ~ntpsec~ package is in the ~dfsg~ Debian repository instead of the
22 ~main~ Debian repository. This is likely due to ~ntpsec~ using a mix
23 of ~ntp~'s original "NTP License", ~BSD 2~, and ~MIT~ licenses.
24
25 In contrast, ~chrony~ uses the ~GPLv2~ license which allows it to be
26 in the Debian main repository.
27
28 ~gpsd~ documentation for communicating to ~chrony~ via
29 ~/run/chrony.XXXX.sock~ and ~/run/chrony.YYYY.sock~ sockets (for GPS
30 and PPS data respectively) can be found [[https://gpsd.gitlab.io/gpsd/gpsd-time-service-howto.html#_feeding_chrony_from_gpsd][here]].
31 *** Closing comments (bktei):
32 ~chrony~ seems much simpler to configure. Its method for interfacing
33 with ~gpsd~ seems simpler as well. The fact that it displays time
34 units in its ~chronyc sources~ output means the developers value
35 communicating clearly the values they provide the user.
36 ** DONE ~doc/setup~: Disable bluetooth
37 CLOSED: [2020-10-19 Mon 03:50]
38 *** Closing comments (bktei):
39 Bluetooth is disabled via a ~systemctl~ command and modifications to
40 ~/boot/config.txt~.