This commit is contained in:
PaulVua
2025-03-25 16:20:19 +01:00
parent 2129d45ef6
commit 46a8e21e64
5 changed files with 103 additions and 53 deletions

View File

@@ -52,9 +52,7 @@ def load_config(config_file):
return {}
# Load the configuration data
config_file = '/var/www/nebuleair_pro_4g/config.json'
config = load_config(config_file)
npm_solo_port = config.get('NPM_solo_port', '') #port du NPM solo
npm_solo_port = "/dev/ttyAMA5" #port du NPM solo
#GET RTC TIME from SQlite
cursor.execute("SELECT * FROM timestamp_table LIMIT 1")