Daemon recorder for nocturnal bird migration
Go to file
Samuel Ortion bf665bbb33 fix: Switch to W64 for night long recording 2024-01-04 17:42:40 +01:00
conf fix: Switch to W64 for night long recording 2024-01-04 17:42:40 +01:00
src fix: Switch to W64 for night long recording 2024-01-04 17:42:40 +01:00
.gitignore Add conf file and better script and installation process 2022-07-01 07:26:09 +02:00
LICENSE Initial commit 2022-06-30 17:53:52 +02:00
Makefile Add conf file and better script and installation process 2022-07-01 07:26:09 +02:00
README.md Update documentation 2022-07-01 07:37:04 +02:00
install.sh fix: Switch to W64 for night long recording 2024-01-04 17:42:40 +01:00
run.sh fix: Switch to W64 for night long recording 2024-01-04 17:42:40 +01:00

README.md

NBMrec

Daemon recorder for nocturnal bird migration

Install

sudo make install

Disable temporary

sudo systemctl disable --now nbmrec.timer

Uninstall

sudo make uninstall

Configuration

In ./usr/local/etc/nbmrec/nbmrec.conf, you can specify a start and end time:

START_TIME=22:00
END_TIME=06:00

If you change the start date, you should update the systemd timer nbmrec.timer accordingly:

#/etc/systemd/system/nbmrec.timer
[...]
OnCalendar=*-*-* 22:00
[...]

Do not forget to reload systemd daemon after that:

sudo systemctl daemon-reload

You could also prefer modify ./conf/nbmrec.conf, and run make install after each modification.

You can set an other output folder for your records:

RECORD_DIR=/mnt/DATA/media/records

Or a filename prefix for your recordings:

PREFIX=nbmrec

This way, the records filename will be in the form nbmrec_20220630_220000.wav.

Enjoy !

Reference