Page modem Miotiq: script check PDP user-friendly avec logs raw en collapse

- Nouveau script SARA/sara_check_pdp.py: vérifie si PDP est déjà actif avant d'agir
- Si PDP actif: affiche OK + IP sans toucher à la config
- Si PDP inactif: active automatiquement + affiche résultat
- Logs AT bruts accessibles via bouton collapse
- Endpoint launcher.php sara_check_pdp

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

View File

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