Page modem: section tests Miotiq UDP + masquer tests HTTP si SIM Miotiq

- Nouveau script SARA/sara_test_udp.py (test socket UDP vers 192.168.0.20:4242)
- Section "Tests Miotiq (UDP)" avec PSD setup, test socket, placeholder aller-retour
- Masque les tests HTTP/Send message quand send_miotiq est actif
- Endpoint launcher.php sara_test_udp

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-04-27 15:54:39 +02:00
parent a68af89612
commit b8b70a5a54
3 changed files with 257 additions and 0 deletions

View File

@@ -389,6 +389,12 @@ if ($type == "sara_psd_setup") {
echo $output;
}
if ($type == "sara_test_udp") {
$command = 'sudo /usr/bin/python3 -u /var/www/nebuleair_pro_4g/SARA/sara_test_udp.py';
$output = shell_exec($command);
echo $output;
}
if ($type == "git_pull") {
$command = 'sudo git pull';