Skip to content

Commit

Permalink
new default conf and eneable hwclock
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Lampe committed Jul 13, 2021
1 parent 4b86bb6 commit 818b4af
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
3 changes: 3 additions & 0 deletions BatRack.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ RUN systemctl enable systemd-time-wait-sync.service
# Reboot on kernel panic
RUN bash -c "echo kernel.panic=10 | tee -a /etc/sysctl.conf"

# use hwclock
RUN systemctl enable hwclock

#################################################
### network configuration

Expand Down
22 changes: 17 additions & 5 deletions boot/BatRack.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use_trigger_camera = False
[CameraAnalysisUnit]
light_pin = 14


[AudioAnalysisUnit]
threshold_dbfs = 40
highpass_hz = 15000
Expand All @@ -27,6 +28,7 @@ quiet_threshold_s = 1.0
noise_threshold_s = 0.15
sampling_rate = 384000


[VHFAnalysisUnit]
freq_bw_hz = 8000
untrigger_duration_s = 10
Expand All @@ -42,12 +44,22 @@ freq_active_var = 2.0
freq_active_count = 10


# define scheduled instances with start and stop parameters
# variables defined in [run.*]-sections override those of [BatRack]
[TimedInsectTrapAnalysesUnit]
light_pin = 26
uv_light_pin = 21
hourly = True
uv_light_start_time = 00
uv_light_end_time = 50
adjust_time_in_seconds = 2
take_photo_every_seconds = 10


; define scheduled instances with start and stop parameters
; variables defined in [run.*]-sections override those of [BatRack]
[run.1]
start = 20:30
stop = 23:59
start = 21:10
stop = 23:59:59

[run.2]
start = 00:00
stop = 06:00
stop = 05:50
2 changes: 1 addition & 1 deletion home/pi/BatRack
Submodule BatRack updated 1 files
+31 −8 etc/BatRack.conf

0 comments on commit 818b4af

Please sign in to comment.