diff --git a/config.json.dist b/config.json.dist index 150b131..db51d2c 100755 --- a/config.json.dist +++ b/config.json.dist @@ -2,9 +2,11 @@ "loop_activation": true, "loop_log": true, "boot_log": true, + "modem_config_mode": false, "NPM/get_data_v2.py": true, "loop/SARA_send_data_v2.py": true, "RTC/save_to_db.py": true, + "BME280/get_data_v2.py": true, "deviceID": "XXXX", "deviceName": "NebuleAir-proXXX", "SaraR4_baudrate": 115200, diff --git a/html/database.html b/html/database.html index eecdc60..568bf15 100644 --- a/html/database.html +++ b/html/database.html @@ -57,12 +57,9 @@
General information.
- -Scan des réseaux WIFI disponibles.
- -| Timestamp | +PM1 | +PM2.5 | +PM10 | +Temperature (°C) | +Humidity (%) | + `; + } else if (table === "data_BME280") { + tableHTML += ` +Timestamp | +Temperature (°C) | +Humidity (%) | +Pressure (hPa) | + `; + } + + tableHTML += `
|---|---|---|---|---|---|---|---|---|---|
| ${columns[0]} | +${columns[1]} | +${columns[2]} | +${columns[3]} | +${columns[4]} | +${columns[5]} | + `; + } else if (table === "data_BME280") { + tableHTML += ` +${columns[0]} | +${columns[1]} | +${columns[2]} | +${columns[3]} | + `; + } + + tableHTML += "