update
This commit is contained in:
@@ -202,6 +202,17 @@ if ($type == "BME280") {
|
||||
echo $output;
|
||||
}
|
||||
|
||||
|
||||
if ($type == "table_mesurePM") {
|
||||
$table=$_GET['table'];
|
||||
$limit=$_GET['limit'];
|
||||
$download=$_GET['download'];
|
||||
|
||||
$command = 'sudo /usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/read.py '.$table.' '.$limit;
|
||||
$output = shell_exec($command);
|
||||
echo $output;
|
||||
}
|
||||
|
||||
# SARA R4 COMMANDS
|
||||
if ($type == "sara") {
|
||||
$port=$_GET['port'];
|
||||
|
||||
Reference in New Issue
Block a user