Commit Graph

66 Commits

Author SHA1 Message Date
Satu Koskinen
32c96fb031
Update docs: reorganize resources.md, add template for setup.md (#27)
Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-09-12 16:11:06 +03:00
Julius Koskela
f2fc58c2ba
Moved hp-cli to it's own reposiotry (#25)
Signed-off-by: Julius Koskela <me@juliuskoskela.dev>
2023-09-12 14:30:07 +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
Julius Koskela
56d6d5ecbd
9 hydrophonitor cli (#14) 2023-03-22 21:58:14 +02:00
Satu Koskinen
44332972f1
Merge pull request #12 from nordic-dev-net:fix-cron-logging
Fix cron job logging, update setup docs
2023-03-18 15:34:02 +02:00
Satu Koskinen
e81e6ad12c Fix cron job logging, update setup docs 2023-03-18 15:33:22 +02:00
Julius Koskela
bc658ac06c
Merge pull request #7 from nordic-dev-net/add-shutdown-button
Merging, pending technical test.
2023-02-21 18:54:25 +02:00
Satu Koskinen
84caea8a96 Remove led display script, clean up scripts, fix gitignore 2023-02-21 18:51:14 +02:00
Satu Koskinen
296e8c245b Improve logging on setup and startup, make setup scripts idempotent 2023-02-18 23:33:19 +02:00
Satu Koskinen
559e449ed1 Add Raspberry Pi 4 wiring setup 2023-02-18 22:29:21 +02:00
Satu Koskinen
727ab9ae83 Add configuration for a shutdown button 2023-02-18 22:29:03 +02:00
Satu Koskinen
c05c4a4183
Merge pull request #6 from nordic-dev-net/switch-i2c-pins
Switch used GPIO i2c pins for RTC module and depth recorder ADC
2022-11-06 21:46:29 +02:00
Satu Koskinen
13254f55c4 Switch used GPIO i2c pins for RTC module for default i2c pins (default bus 1) and depth recorder ADC for pins 23 and 24 (bus 3) 2022-11-06 21:44:28 +02:00
Julius Koskela
aca85ab5e0
Merge pull request #5 from nordic-dev-net/clean-docs
Move docs to their own folder, clean up
2022-10-24 18:38:47 +03:00
Satu Koskinen
3221f1bf74 Move docs to their own folder, clean up 2022-10-24 18:37:56 +03:00
fbc6263c8f Delete redundant files 2022-10-24 18:20:14 +03:00
Julius Koskela
f487e537ed
Merge pull request #4 from nordic-dev-net/add-license-1
Create LICENSE
2022-10-24 18:17:38 +03:00
Julius Koskela
9c7dba2ed3
Create LICENSE 2022-10-24 17:59:33 +03:00
Satu Koskinen
8320019434 Update hydrophonitor-config.txt 2022-10-23 17:04:30 +03:00
Satu Koskinen
48b0028f3d Update setup.md 2022-10-23 17:04:19 +03:00
Satu Koskinen
dc1b522607 Update setup-rtc scripts 2022-10-23 17:04:10 +03:00
Satu Koskinen
41b0f7470c Fix setting and exporting configuration values 2022-10-23 17:03:54 +03:00
Satu Koskinen
48158a6d4d Make setup-rtc scripts executable 2022-10-22 15:56:50 +03:00
Satu Koskinen
7a91d90a7c Add option to pass CONFIG_FILE as parameter to export-config-values.sh 2022-10-22 15:56:41 +03:00
Satu Koskinen
357b227968 Update error print in record-gps.py 2022-10-22 15:55:58 +03:00
Satu Koskinen
10ca1e50d5 Add basic rules to Makefile 2022-10-22 15:55:30 +03:00
Satu Koskinen
ba2275b29e Update README, resources.md, setup.md 2022-10-22 15:55:20 +03:00
Satu Koskinen
e19903bb98 Reorganize config & script files, set HOME_PATH and SCRIPT_PATH in setup-raspberry-pi.sh 2022-10-22 15:54:50 +03:00
Satu Koskinen
81b83f2a14
Merge pull request #3 from nordic-dev-net/real-time-clock
Add setup of the RTC module, fixes to setup and start scripts
2022-10-22 14:43:04 +03:00
Satu Koskinen
d38fd87f17 Print all executed commands in start scripts 2022-10-22 14:41:27 +03:00
Satu Koskinen
acb2159664 Add scripts for setting up RTC module 2022-10-22 14:41:10 +03:00
Satu Koskinen
98909ff51f Fix exporting config values, exit on error & print all commands in setup scripts 2022-10-22 14:40:41 +03:00
Satu Koskinen
a1eccc0c3d Fix datetime prefix setting to pad one-digit values with a zero in audio recording 2022-10-22 14:39:10 +03:00
Satu Koskinen
3a2b209392 Merge branch 'audio-logger' 2022-10-12 08:20:02 +03:00
Satu Koskinen
d5ebffaa89 Update setup.md 2022-10-11 22:06:56 +03:00
Satu Koskinen
1a7bd8c21b Switch python to use gpsd-pip3 module, flush print outputs immediately, add requirements.txt 2022-10-11 22:06:50 +03:00
Satu Koskinen
89701ca893 Switch config export script to get config file as argument 2022-10-11 09:19:50 +03:00
Satu Koskinen
ef5c7d03cc Switch start scripts to use bash, clean up 2022-10-11 09:19:01 +03:00
Satu Koskinen
163e75cccc Add log prints and clean python recording scripts 2022-10-11 09:17:48 +03:00
Satu Koskinen
1e7048717a Update setup scripts 2022-10-11 09:17:13 +03:00
Satu Koskinen
2af755c4fc Update setup.md 2022-10-11 09:16:24 +03:00
Satu Koskinen
31df098fa8 Clean up 2022-10-04 21:24:42 +03:00
Satu Koskinen
a8ebf389fb Fix configuration and scripts 2022-10-04 21:12:00 +03:00
Satu Koskinen
8f398e90de Update start scripts, add scripts for setup and config value exports 2022-10-03 19:37:15 +03:00
Satu Koskinen
f41f6ee2ca Add command line argument parsing for python scripts 2022-10-03 19:34:23 +03:00
Satu Koskinen
4171882bd3 Add sample config 2022-10-03 19:32:46 +03:00
Satu Koskinen
1abe90458a Update Makefile re rule 2022-10-03 19:32:32 +03:00
Satu Koskinen
06e8e063a8 Update scripts 2022-10-02 15:24:51 +03:00
Satu Koskinen
45cc34de3b Add configuration files, update README, first draft of setup documentation, add todo.md 2022-10-02 15:24:26 +03:00
Satu Koskinen
36dea6c9e2 Add matching host platform, max seconds recording, template Makefile 2022-09-25 22:41:09 +03:00