Daemon recorder for nocturnal bird migration
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Samuel ORTION 5cf0864b75 Update documentation 11 months ago
conf Add conf file and better script and installation process 11 months ago
src Add conf file and better script and installation process 11 months ago
.gitignore Add conf file and better script and installation process 11 months ago
LICENSE Initial commit 11 months ago
Makefile Add conf file and better script and installation process 11 months ago
README.md Update documentation 11 months ago
install.sh Add conf file and better script and installation process 11 months ago

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