This commit is contained in:
PaulVua
2025-02-07 15:04:11 +01:00
parent fb44b57ac1
commit 7cac769795
4 changed files with 279 additions and 195 deletions

View File

@@ -44,6 +44,12 @@ if ($type == "update_config") {
echo "Config updated!";
}
if ($type == "getModem_busy") {
$command = '/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/check_running.py';
$output = shell_exec($command);
echo $output;
}
if ($type == "RTC_time") {
$time = shell_exec("date '+%d/%m/%Y %H:%M:%S'");
echo $time;