Mise à jour capteur bruit: ancien I2C → NSRT MK4 USB
- Nouveau script sound_meter/read.py pour lecture à la demande (JSON) - launcher.php: appel du script Python au lieu de l'ancien binaire C - sensors.html: carte USB, suppression boutons start/stop, affichage JSON - Traductions fr/en: I2C → USB, NSRT MK4 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -832,7 +832,7 @@ if ($type == "envea_debug") {
|
||||
}
|
||||
|
||||
if ($type == "noise") {
|
||||
$command = '/var/www/nebuleair_pro_4g/sound_meter/sound_meter';
|
||||
$command = 'sudo /usr/bin/python3 /var/www/nebuleair_pro_4g/sound_meter/read.py';
|
||||
$output = shell_exec($command);
|
||||
echo $output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user