From 4bc05091bea131bf633a4d375588f21916c7dd4a Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 25 Mar 2025 21:18:12 +0100 Subject: [PATCH] update --- installation_part1.sh | 2 +- loop/SARA_send_data_v2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installation_part1.sh b/installation_part1.sh index 400912a..b801278 100644 --- a/installation_part1.sh +++ b/installation_part1.sh @@ -27,7 +27,7 @@ sudo apt update && sudo apt install -y git gh apache2 sqlite3 php php-sqlite3 py # Install Python libraries info "Installing Python libraries..." -sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil ntplib pytz --break-system-packages || error "Failed to install Python libraries." +sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil gpiozero ntplib pytz --break-system-packages || error "Failed to install Python libraries." # Ask user if they want to set up SSH keys read -p "Do you want to set up an SSH key for /var/www? (y/n): " answer diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index e14a140..ee1c245 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -232,7 +232,7 @@ device_latitude_raw = config.get('latitude_raw', 0) device_longitude_raw = config.get('longitude_raw', 0) modem_version=config.get('modem_version', "") Sara_baudrate = config.get('SaraR4_baudrate', 115200) -npm_5channel = config.get('NextPM_5channels', False) #5 canaux du NPM +npm_5channel = config.get('npm_5channel', False) #5 canaux du NPM selected_networkID = int(config.get('SARA_R4_neworkID', 0)) send_uSpot = config.get('send_uSpot', False) #envoi sur MicroSpot () reset_uSpot_url = False