This commit is contained in:
Your Name
2025-02-21 11:02:21 +01:00
parent cf9e373ea8
commit 105e439199
17 changed files with 477 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ import sqlite3
import time
# Connect to the SQLite database
conn = sqlite3.connect("/var/www/nebuleair_pro_4g/sqlite/sensors.db")
conn = sqlite3.connect("/var/www/moduleair_pro_4g/sqlite/sensors.db")
cursor = conn.cursor()
def load_config(config_file):
@@ -52,7 +52,7 @@ def load_config(config_file):
return {}
# Load the configuration data
config_file = '/var/www/nebuleair_pro_4g/config.json'
config_file = '/var/www/moduleair_pro_4g/config.json'
config = load_config(config_file)
npm_solo_port = config.get('NPM_solo_port', '') #port du NPM solo