
Con comandi reqsdm non andava nulla. Percio mi sono arrangiato cosi.

Codice: Seleziona tutto
29/08/2018 08:44:39 Stopping meterN (27473)
29/08/2018 08:44:45 Starting meterN debug (5826)
30/08/2018 05:07:28 Starting meterN on boot debug (608)
cat: /dev/shm/boiler6.txt: No such file or directory
cat: /dev/shm/boiler6.txt: No such file or directory
cat: /dev/shm/boiler6.txt: No such file or directory
cat: /dev/shm/boiler6.txt: No such file or directory
cat: /dev/shm/boiler6.txt: No such file or directory
cat: /dev/shm/boiler6.txt: No such file or directory
PHP Notice: Undefined index: KWHT1 in /var/www/comapps/pool123s.php on line 45


Codice: Seleziona tutto
pi@raspberrypi:~ $ sdm120c -a 2 -P N -b 9600 -w 10 /dev/ttyUSB0
Voltage: 230.00 V
Current: 2.08 A
Power: 439.30 W
Active Apparent Power: 479.20 VA
Reactive Apparent Power: 191.20 VAR
Power Factor: 0.92
Phase Angle: 0.00 Degree
Frequency: 50.00 Hz
Import Active Energy: 355286880 Wh
Export Active Energy: 442158912 Wh
Total Active Energy: 502478496 Wh
Import Reactive Energy: 332700384 VARh
Export Reactive Energy: 641269824 VARh
Total Reactive Energy: 973970176 VARh
OK
pi@raspberrypi:~ $
Visitano il forum: Nessuno e 1 ospite