update
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user