At the end of a long proces my Raspberry Pi is sending data from my ABB (power one) PV 3.0 outd. to pvoutput.org.
But when I try to login into the Raspi with Windows desktop ( sudo apt-get install xrdp installed on my Raspi) the RS485 port stops communicating. At the monent the screen of Aurora Monitor opens.
Who is reconizing this problem ,
FRITS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have a cheap RS485 to USB convertor, and if I start auroramon with port TTYUSB0 as the communication channel it works for a day or so then the port goes completely dead.
The solution is to use socat to make a virtual USB port mirroring the real one, with this command:
sudo socat /dev/ttyUSB0,raw,echo=0,b19200 pty,link=/dev/ttyAUR0,raw,echo=0 &
then link to the virtual port ttyAUR0. Runs for years at a time!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am now on Holiday, and the monitoring stopped after a week. shit
When I am back this is the first I will do.
Regards
Frits
Op 5-5-2019 om 12:22 schreef Jasper :
Hi, I have a cheap RS485 to USB convertor, and if I start auroramon
with port TTYUSB0 as the communication channel it works for a day or
so then the port goes completely dead.
The solution is to use socat to make a virtual USB port mirroring the
real one, with this command:
sudo socat /dev/ttyUSB0,raw,echo=0,b19200
pty,link=/dev/ttyAUR0,raw,echo=0 &
then link to the virtual port ttyAUR0. Runs for years at a time!
At the end of a long proces my Raspberry Pi is sending data from my ABB (power one) PV 3.0 outd. to pvoutput.org.
But when I try to login into the Raspi with Windows desktop ( sudo apt-get install xrdp installed on my Raspi) the RS485 port stops communicating. At the monent the screen of Aurora Monitor opens.
Who is reconizing this problem ,
FRITS
Hi, I have a cheap RS485 to USB convertor, and if I start auroramon with port TTYUSB0 as the communication channel it works for a day or so then the port goes completely dead.
The solution is to use socat to make a virtual USB port mirroring the real one, with this command:
sudo socat /dev/ttyUSB0,raw,echo=0,b19200 pty,link=/dev/ttyAUR0,raw,echo=0 &
then link to the virtual port ttyAUR0. Runs for years at a time!
Thanks for this advice
I am now on Holiday, and the monitoring stopped after a week. shit
When I am back this is the first I will do.
Regards
Frits
Op 5-5-2019 om 12:22 schreef Jasper :