From 381cf85336986c9ee60fcae8999478b2526c085e Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 27 May 2025 16:42:53 +0200 Subject: [PATCH] update --- README.md | 2 +- html/admin.html | 10 + html/database.html | 21 +- html/launcher.php | 4 + installation_part1.sh | 2 +- services/check_services.sh | 296 ++++++++++++++++-- services/setup_services.sh | 34 +- sound_meter/NSRT_MK4_change_config.py | 39 +++ sound_meter/NSRT_mk4_get_data.py | 69 ++++ sound_meter/{ => old}/sound_meter | Bin sound_meter/{ => old}/sound_meter.c | 0 sound_meter/{ => old}/sound_meter_moving_avg | Bin .../{ => old}/sound_meter_moving_avg.c | 0 sound_meter/{ => old}/sound_meter_nonStop | Bin sound_meter/{ => old}/sound_meter_nonStop.c | 0 sqlite/create_db.py | 8 + sqlite/flush_old_data.py | 218 ++++++++++--- sqlite/set_config.py | 1 + 18 files changed, 626 insertions(+), 78 deletions(-) create mode 100644 sound_meter/NSRT_MK4_change_config.py create mode 100644 sound_meter/NSRT_mk4_get_data.py rename sound_meter/{ => old}/sound_meter (100%) mode change 100755 => 100644 rename sound_meter/{ => old}/sound_meter.c (100%) mode change 100755 => 100644 rename sound_meter/{ => old}/sound_meter_moving_avg (100%) mode change 100755 => 100644 rename sound_meter/{ => old}/sound_meter_moving_avg.c (100%) mode change 100755 => 100644 rename sound_meter/{ => old}/sound_meter_nonStop (100%) mode change 100755 => 100644 rename sound_meter/{ => old}/sound_meter_nonStop.c (100%) mode change 100755 => 100644 diff --git a/README.md b/README.md index a21a3d3..5415150 100755 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Line by line installation. ``` sudo apt update sudo apt install git gh apache2 sqlite3 php php-sqlite3 python3 python3-pip jq autossh i2c-tools python3-smbus -y -sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil ntplib pytz gpiozero adafruit-circuitpython-ads1x15 numpy --break-system-packages +sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil ntplib pytz gpiozero adafruit-circuitpython-ads1x15 numpy nsrt-mk3-dev --break-system-packages sudo mkdir -p /var/www/.ssh sudo ssh-keygen -t rsa -b 4096 -f /var/www/.ssh/id_rsa -N "" sudo ssh-copy-id -i /var/www/.ssh/id_rsa.pub -p 50221 airlab_server1@aircarto.fr diff --git a/html/admin.html b/html/admin.html index 06f04ff..c6873cb 100755 --- a/html/admin.html +++ b/html/admin.html @@ -111,6 +111,13 @@ +
+ + +
+