Menu

RS485 communication freezes after logging in Raspi with Windows Desktop (xrdp)

Frits
2019-02-03
2019-05-05
  • Frits

    Frits - 2019-02-03

    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

     
  • Jasper

    Jasper - 2019-05-05

    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!

     
    • Frits

      Frits - 2019-05-05

      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 :

      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!


      RS485 communication freezes after logging in Raspi with Windows
      Desktop (xrdp)
      https://sourceforge.net/p/auroramonitor/discussion/general/thread/eceefdf796/?limit=25#8136


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/auroramonitor/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.