P1 can't open serial port
Posted: Sunday 25 December 2016 12:14
Since a few updates the P1 port soes not work anymore.
In the logfile :
I have used the serial port AMA0.
If I would read out the p1 data in PuTTy this is the output:
then I did this:
I see the telegrams from the P1 meter ,but after +/- 1min it did stopped .
what can I do to let it work?
Domoticz V3.5877
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