Commit Graph

5 Commits

Author SHA1 Message Date
Satu Koskinen
d8c26fe804
Add depth-recorder service (#32)
- Update hydrophonitor-gps

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-10-19 11:34:22 +03:00
Satu Koskinen
8f98117aee
Implement configuration options for shutdown-button service (#33)
- GPIO pin
- button press duration in seconds to trigger shutdown
- add logging

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-10-16 15:10:32 +03:00
Satu Koskinen
e39008b0cc
Set audio-recorder service to start after sound.target reached (#34)
- disable i2c-rtc-start, not functioning correctly currently

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-10-16 15:08:14 +03:00
Satu Koskinen
150749feae
Enable recording with four channels with Behringer UMC404HD sound card (#30)
* Enable recording with four channels with Behringer UMC404HD sound card

- Add udev rule to enable capture on 4 channels and set volume to max
- Move audio-recorder.nix to modules/audio-recorder/
- Update flake inputs

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>

* Rename modules/audio-recorder/audio-recorder.nix to default.nix

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>

---------

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-10-14 13:09:30 +03:00
Satu Koskinen
b5e34360a7
Rewrite hydrophonitor as a NixOS RPi SD image (#19)
- Initially tested on Raspberry Pi 4B & Raspberry Pi 3B
- Create user + password, enable SSH, connect to local network
- Implemented modules: audio-recorder, gps-recorder, real-time-clock,
shutdown-button
- Deployment option with deploy-rs

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-09-12 13:40:22 +03:00