In the logfile :
Code: Select all
2016-12-25 13:02:00.676 P1 Smart Meter: Serial Worker stopped...
2016-12-25 13:02:00.677 P1 Smart Meter: Using serial port: /dev/ttyAMA0
2016-12-25 13:02:18.723 Error: Serial Port closed!... Error: End of file
If I would read out the p1 data in PuTTy this is the output:
Code: Select all
root@raspberrypi:~# cu -l /dev/ttyAMA0 -s 9600 --parity=none
cu: open (/dev/ttyAMA0): Permission denied
cu: /dev/ttyAMA0: Line in use
Code: Select all
sudo chmod a+rw /dev/ttyAMA0
cu -l /dev/ttyAMA0 -s 9600 --parity=none
what can I do to let it work?
Domoticz V3.5877