Re: Problemi nell'aggiornamento da 0.8.3.2 a 0.8.5
Inviato: 04/06/2018, 18:29
E' rigoroso vai tranquillo .... almeno fino a quando non cambi una chiavetta....
Il Forum NON UFFICIALE per raccogliere le novità riguardo ai software 123Solar e MeterN per il monitoraggio energetico e non solo ....
https://www.flanesi.it:443/forum/
Codice: Seleziona tutto
sdm120c -a1 -b9600 -PN -z3 -j10 -w10 /dev/fv
Codice: Seleziona tutto
sdm120c -a2 -b9600 -PN -z3 -j10 -w10 /dev/nofv
Codice: Seleziona tutto
<?php
if(!defined('checkaccess')){die('Direct access not permitted');}
// Manage com. apps daemon as 'http' user if needed
if (!is_null($PID)) { // Start Daemon
$output = shell_exec('pooler485 1,2 9600 /dev/fv > /dev/null 2>/dev/null &');
$output = shell_exec('pooler485 6,7 9600 /dev/nofv > /dev/null 2>/dev/null &');
//$output = shell_exec('poolSDM485 1 9600 /dev/sdm > /dev/null 2>/dev/null &');
//$output = shell_exec('/usr/bin/curl http://192.168.1.12/startsdm.php');
//$output = shell_exec("/srv/http/comapps/poolmeters.py live > /dev/null 2>&1 &");
} else { //Stop
$output = shell_exec('pkill -f pooler485 > /dev/null 2>&1 &');
//$output = shell_exec('pkill -f poolSDM485 > /dev/null 2>&1 &');
}
?>
Codice: Seleziona tutto
pi@raspberrypi:~ $ ls -l /dev/fv
lrwxrwxrwx 1 root root 7 dic 3 23:36 /dev/fv -> ttyUSB1
pi@raspberrypi:~ $ ls -l /dev/nofv
lrwxrwxrwx 1 root root 7 dic 3 23:36 /dev/nofv -> ttyUSB0