This commit is contained in:
Your Name
2025-02-20 15:55:04 +01:00
parent 725ee971c7
commit cf9e373ea8
2 changed files with 72 additions and 26 deletions

View File

@@ -177,6 +177,12 @@ if ($type == "npm") {
echo $output;
}
if ($type == "mhz19") {
$command = '/usr/bin/python3 /var/www/moduleair_pro_4g/MH-Z19/get_data.py ttyAMA4';
$output = shell_exec($command);
echo $output;
}
if ($type == "envea") {
$port=$_GET['port'];
$name=$_GET['name'];