Modbus Gateway

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • ogrimo30
    Extension Master
    • 27.03.2017
    • 174

    #31
    Hello,
    first thank you for the Plugin. It works great!!

    Ist it possbile to auto start the modbus plugin after reboot?

    Best regards,
    Ogrimo30

    Kommentar


    • ROLE
      ROLE kommentierte
      Kommentar bearbeiten
      Das habe ich hier : https://www.loxwiki.eu/pages/viewpag...ageId=31457382 gefunden.

      Tomas Zmatlik sagt:
      Hello,
      I've found solution. Change "RestartSec" in file /lib/systemd/system/mbusd@.service from 1 to 10.
      I use Loxberry on the virtual, so I can't check, if 10 is enough for RPi.
      Can anybody test it on RPi and let me know, please?
      Then I'll prepare new version with correction.


      Hello Tomas, thank you very much for your very quick help. With this change the MODBUS Gateway now starts by itself. Only the status of the USB to MODBUS converter is not updated in the web interface. It is at START although the device is working.
      But that is not so important. Thanks again for your help.


      LG, Roman
  • ROLE
    Smart Home'r
    • 21.10.2018
    • 56

    #32
    ogrimo30 ich glaube bei Kommentaren bekommt man nichts mit. Siehe meine Antwort.

    Kommentar

    • ogrimo30
      Extension Master
      • 27.03.2017
      • 174

      #33
      Danke für die Info.
      Wo genau finde ich die Datei?
      Im File manager finde ich leider nichts.

      Kommentar

      • ogrimo30
        Extension Master
        • 27.03.2017
        • 174

        #34
        Ist das Verzeichnis direkt über den Loxberry erreichbar oder muss man mit Root arbeiten?
        Leider finde ich es nicht.

        Kommentar


        • ROLE
          ROLE kommentierte
          Kommentar bearbeiten
          ogrimo30 bist du weitergekommen? Der Entwickler meldet sich bei mir auch nicht, da ich das Modbus Gateway gar nicht zum Laufen bekomme. ;-(
      • svethi
        Lebende Foren Legende
        • 25.08.2015
        • 6302

        #35
        Gast spricht kein deutsch und das hat er auch geschrieben, wenn Ihr Probleme hat, müsst Ihr das in english machen. Es handelt sich um ein service dile und das muss man mit root bearbeiten. Wo es zu finden ist?? Nun, das hat er ja nun geschrieben:
        /lib/systemd/system/mbusd@.service
        Miniserver; KNX; Vitogate; EnOcean (EnOceanPi); Loxone Air; Caldav-Kalenderanbindung; RaspberryPi und für keine Frickellösung zu schade :-)

        Kommentar

      • AlexAn
        Lebende Foren Legende
        • 25.08.2015
        • 4280

        #36
        ROLE ich hatte damals ähnliche Probleme mit MQTT und nachdem ich das GPIO Plugin entfernt habe ging es. Eventuell vertragen sich bei dir auch verschiedene Plugins nicht und verhindern den Start/Update.
        Notfalls musst du dich mit NodeRed abhelfen: https://flows.nodered.org/node/node-...-serial-modbus
        Grüße Alex

        Kommentar


        • ROLE
          ROLE kommentierte
          Kommentar bearbeiten
          @AlexAn

          Hast du da Erfahrung gemacht oder eventuell schon ein lauffähiges Modbus Ding in Node Red implementiert? Das ist ja auch nicht so einfach....

        • AlexAn
          AlexAn kommentierte
          Kommentar bearbeiten
          Noch nicht weil ich jetzt GPIO über NodeRed mache. Ich selber hab eine ModbusExtension

        • ROLE
          ROLE kommentierte
          Kommentar bearbeiten
          Schade. Ich hab auch eine Modbus Extension. Aber für einen abgesetzten Zähler würde sich die Loxberry WLAN Variante anbieten anstatt eines Kabels das ich erst verlegen müsste....
      • ROLE
        Smart Home'r
        • 21.10.2018
        • 56

        #37
        Hier der Link zu einer anderen Lösung als das Modbus Gateway. Falls es mal bei jemand anderen auch nicht funktioniert.

        Sehe ich das richtig das ich mit diesen Pugin und einen USB-RS485-Konverter die 5sec. Beschränkung von Modbus RTU umhehen könnte? Also: IO Modul mit Modbus RTU an USB-RS485-Konverter an Raspi mit Modbus Gateway Plugin . In der loxone config wird dannn das IO Modul über Modbus TCP ausgelesen (da gibt es so

        Kommentar

        • ogrimo30
          Extension Master
          • 27.03.2017
          • 174

          #38
          Hallo,
          ich habe seit einiger Zeit das Problem das ich keine Werte mehr von meiner Klimaanlage via ModBus erhalte.
          Das senden von Befehlen z.B. Ein und Aus funktioniert problemlos.

          Ich habe das Plugin auch schon Neuinstalliert. Leider hilft es nichts.

          An meiner Config habe ich nichts verändert. Liegt es am Plugin?

          Hat noch jemand das gleiche oder ähnliche Probleme?

          Kommentar


          • ogrimo30
            ogrimo30 kommentierte
            Kommentar bearbeiten
            Ein Auszug aus dem Log:
            07 Oct 2019 10:47:43 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:43 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:43 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:43 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:43 conn[10.0.0.200]: request: [01][04][00][16][00][01][29][d9][00][00][00][06][01][04][00][05][00][01]
            07 Oct 2019 10:47:43 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:43 tty: state now is TTY_RQST
            07 Oct 2019 10:47:43 tty: state now is TTY_RESP
            07 Oct 2019 10:47:43 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:43 tty: response timeout
            07 Oct 2019 10:47:43 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:43 tty: state now is TTY_RQST
            07 Oct 2019 10:47:43 tty: state now is TTY_RESP
            07 Oct 2019 10:47:43 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:44 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:44 conn[10.0.0.200]: request: [01][04][00][17][00][01]
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:44 tty: state now is TTY_RQST
            07 Oct 2019 10:47:44 tty: state now is TTY_RESP
            07 Oct 2019 10:47:44 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:44 tty: response timeout
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:44 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:44 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:44 tty: state now is TTY_READY
            07 Oct 2019 10:47:46 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:46 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:46 conn[10.0.0.200]: request: [01][04][00][02][00][01]
            07 Oct 2019 10:47:46 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:46 tty: state now is TTY_RQST
            07 Oct 2019 10:47:46 tty: state now is TTY_RESP
            07 Oct 2019 10:47:46 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:47 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:47 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:47 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:47 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:47 conn[10.0.0.200]: request: [01][04][00][01][00][01][29][dd][00][00][00][06][01][04][00][03][00][01][29][de][00][00][00][06][01][04][00][04][00][01]
            07 Oct 2019 10:47:47 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:47 tty: response timeout
            07 Oct 2019 10:47:47 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:47 tty: state now is TTY_RQST
            07 Oct 2019 10:47:47 tty: state now is TTY_RESP
            07 Oct 2019 10:47:47 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:48 tty: response timeout
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:48 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:48 conn[10.0.0.200]: request: [01][04][00][00][00][01]
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:48 tty: state now is TTY_RQST
            07 Oct 2019 10:47:48 tty: state now is TTY_RESP
            07 Oct 2019 10:47:48 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:48 tty: response timeout
            07 Oct 2019 10:47:48 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:48 tty: state now is TTY_RQST
            07 Oct 2019 10:47:48 tty: state now is TTY_RESP
            07 Oct 2019 10:47:48 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:48 tty: response timeout
            07 Oct 2019 10:47:48 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:48 tty: state now is TTY_RQST
            07 Oct 2019 10:47:48 tty: state now is TTY_RESP
            07 Oct 2019 10:47:48 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:48 tty: response timeout
            07 Oct 2019 10:47:48 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:48 tty: state now is TTY_RQST
            07 Oct 2019 10:47:48 tty: state now is TTY_RESP
            07 Oct 2019 10:47:48 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:48 tty: response timeout
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:48 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:48 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 10:47:48 tty: state now is TTY_READY
            07 Oct 2019 10:47:49 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 10:47:49 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 10:47:49 conn[10.0.0.200]: request: [01][04][00][17][00][01]
            07 Oct 2019 10:47:49 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 10:47:49 tty: state now is TTY_RQST
            07 Oct 2019 10:47:49 tty: state now is TTY_RESP
            07 Oct 2019 10:47:49 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:49 tty: response timeout
            07 Oct 2019 10:47:49 tty: attempt to retry request (1 of 3)
            07 Oct 2019 10:47:49 tty: state now is TTY_RQST
            07 Oct 2019 10:47:49 tty: state now is TTY_RESP
            07 Oct 2019 10:47:49 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:49 tty: response timeout
            07 Oct 2019 10:47:49 tty: attempt to retry request (2 of 3)
            07 Oct 2019 10:47:49 tty: state now is TTY_RQST
            07 Oct 2019 10:47:49 tty: state now is TTY_RESP
            07 Oct 2019 10:47:49 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:49 tty: response timeout
            07 Oct 2019 10:47:49 tty: attempt to retry request (3 of 3)
            07 Oct 2019 10:47:49 tty: state now is TTY_RQST
            07 Oct 2019 10:47:49 tty: state now is TTY_RESP
            07 Oct 2019 10:47:49 tty: estimated 7 bytes, waiting 115624 usec
            07 Oct 2019 10:47:49 tty: response timeout
            07 Oct 2019 10:47:49 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 10:47:49 tty: state now is TTY_PAUSE
            07 Oct 2019 10:47:49 conn[10.0.0.200]: state now is CONN_HEADER
        • Gagi
          LoxBus Spammer
          • 20.01.2018
          • 290

          #39
          Stell dich mal das log level hoch und paste das log hier, ich hatte ähnliche Probleme und hab es mit ner neueren mbusd Version lösen können.


          Gesendet von iPhone mit Tapatalk

          Kommentar

          • ogrimo30
            Extension Master
            • 27.03.2017
            • 174

            #40
            Log Level 9
            Ich hoffe das reicht?

            Bei meine zweiten Loxberry läuft das Plugin mit zwei Energiezählern problemlos.
            Danke schon einmal im Voraus


            07 Oct 2019 22:12:33 mbusd-0.3.1 started...
            07 Oct 2019 22:12:33 conn_open(): accepting connection from 10.0.0.200
            07 Oct 2019 22:12:56 Terminated by signal: SIGTERM
            07 Oct 2019 22:12:56 mbusd-0.3.1 started...
            07 Oct 2019 22:12:56 tty: state now is TTY_PAUSE
            07 Oct 2019 22:12:56 conn_loop(): select(): max_sd = 4, t_out = 000000:100000
            07 Oct 2019 22:12:56 conn_loop(): select() returns 1
            07 Oct 2019 22:12:56 conn_open(): accepting connection from 10.0.0.200
            07 Oct 2019 22:12:56 queue_new_elem(): length now is 1
            07 Oct 2019 22:12:56 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:12:56 conn_loop(): select(): max_sd = 5, t_out = 000000:061542
            07 Oct 2019 22:12:56 conn_loop(): select() returns 0
            07 Oct 2019 22:12:56 tty: state now is TTY_READY
            07 Oct 2019 22:12:56 conn_loop(): select(): max_sd = 5, t_out = 000060:000000
            07 Oct 2019 22:12:58 conn_loop(): select() returns 1
            07 Oct 2019 22:12:58 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:12:58 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:12:58 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:12:58 conn[10.0.0.200]: request: [01][04][00][02][00][01]
            07 Oct 2019 22:12:58 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:12:58 tty: state now is TTY_RQST
            07 Oct 2019 22:12:58 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:12:58 conn_loop(): select() returns 1
            07 Oct 2019 22:12:58 tty: written 8 bytes
            07 Oct 2019 22:12:58 tty: request written (total 8 bytes)
            07 Oct 2019 22:12:58 tty: state now is TTY_RESP
            07 Oct 2019 22:12:58 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:12:58 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:12:59 conn_loop(): select() returns 0
            07 Oct 2019 22:12:59 tty: response timeout
            07 Oct 2019 22:12:59 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:12:59 tty: state now is TTY_RQST
            07 Oct 2019 22:12:59 tty: written 8 bytes
            07 Oct 2019 22:12:59 tty: request written (total 8 bytes)
            07 Oct 2019 22:12:59 tty: state now is TTY_RESP
            07 Oct 2019 22:12:59 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:12:59 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:12:59 conn_loop(): select() returns 0
            07 Oct 2019 22:12:59 tty: response timeout
            07 Oct 2019 22:12:59 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:12:59 tty: state now is TTY_RQST
            07 Oct 2019 22:12:59 tty: written 8 bytes
            07 Oct 2019 22:12:59 tty: request written (total 8 bytes)
            07 Oct 2019 22:12:59 tty: state now is TTY_RESP
            07 Oct 2019 22:12:59 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:12:59 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:00 conn_loop(): select() returns 0
            07 Oct 2019 22:13:00 tty: response timeout
            07 Oct 2019 22:13:00 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:00 tty: state now is TTY_RQST
            07 Oct 2019 22:13:00 tty: written 8 bytes
            07 Oct 2019 22:13:00 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:00 tty: state now is TTY_RESP
            07 Oct 2019 22:13:00 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:00 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:00 conn_loop(): select() returns 0
            07 Oct 2019 22:13:00 tty: response timeout
            07 Oct 2019 22:13:00 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:00 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:00 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:00 conn_loop(): select() returns 1
            07 Oct 2019 22:13:00 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:00 conn_loop(): select(): max_sd = 5, t_out = 000000:098791
            07 Oct 2019 22:13:00 conn_loop(): select() returns 1
            07 Oct 2019 22:13:00 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:00 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:00 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:00 conn[10.0.0.200]: request: [01][04][00][01][00][01][04][2b][00][00][00][06][01][04][00][03][00][01][04][2c][00][00][00][06][01][04][00][04][00][01][04][2d][00][00][00][06][01][04][00][00][00][01]
            07 Oct 2019 22:13:00 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:00 conn_loop(): select(): max_sd = 4, t_out = 000000:097235
            07 Oct 2019 22:13:01 conn_loop(): select() returns 0
            07 Oct 2019 22:13:01 tty: state now is TTY_RQST
            07 Oct 2019 22:13:01 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:01 conn_loop(): select() returns 1
            07 Oct 2019 22:13:01 tty: written 8 bytes
            07 Oct 2019 22:13:01 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:01 tty: state now is TTY_RESP
            07 Oct 2019 22:13:01 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:01 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:01 conn_loop(): select() returns 0
            07 Oct 2019 22:13:01 tty: response timeout
            07 Oct 2019 22:13:01 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:01 tty: state now is TTY_RQST
            07 Oct 2019 22:13:01 tty: written 8 bytes
            07 Oct 2019 22:13:01 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:01 tty: state now is TTY_RESP
            07 Oct 2019 22:13:01 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:01 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:02 conn_loop(): select() returns 0
            07 Oct 2019 22:13:02 tty: response timeout
            07 Oct 2019 22:13:02 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:02 tty: state now is TTY_RQST
            07 Oct 2019 22:13:02 tty: written 8 bytes
            07 Oct 2019 22:13:02 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:02 tty: state now is TTY_RESP
            07 Oct 2019 22:13:02 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:02 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:02 conn_loop(): select() returns 0
            07 Oct 2019 22:13:02 tty: response timeout
            07 Oct 2019 22:13:02 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:02 tty: state now is TTY_RQST
            07 Oct 2019 22:13:02 tty: written 8 bytes
            07 Oct 2019 22:13:02 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:02 tty: state now is TTY_RESP
            07 Oct 2019 22:13:02 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:02 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:03 conn_loop(): select() returns 0
            07 Oct 2019 22:13:03 tty: response timeout
            07 Oct 2019 22:13:03 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:03 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:03 conn_loop(): select() returns 1
            07 Oct 2019 22:13:03 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 5, t_out = 000000:098530
            07 Oct 2019 22:13:03 conn_loop(): select() returns 1
            07 Oct 2019 22:13:03 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:03 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:03 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:03 conn[10.0.0.200]: request: [01][04][00][17][00][01]
            07 Oct 2019 22:13:03 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 4, t_out = 000000:096876
            07 Oct 2019 22:13:03 conn_loop(): select() returns 0
            07 Oct 2019 22:13:03 tty: state now is TTY_RQST
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:03 conn_loop(): select() returns 1
            07 Oct 2019 22:13:03 tty: written 8 bytes
            07 Oct 2019 22:13:03 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:03 tty: state now is TTY_RESP
            07 Oct 2019 22:13:03 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:03 conn_loop(): select() returns 0
            07 Oct 2019 22:13:03 tty: response timeout
            07 Oct 2019 22:13:03 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:03 tty: state now is TTY_RQST
            07 Oct 2019 22:13:03 tty: written 8 bytes
            07 Oct 2019 22:13:03 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:03 tty: state now is TTY_RESP
            07 Oct 2019 22:13:03 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:03 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:04 conn_loop(): select() returns 0
            07 Oct 2019 22:13:04 tty: response timeout
            07 Oct 2019 22:13:04 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:04 tty: state now is TTY_RQST
            07 Oct 2019 22:13:04 tty: written 8 bytes
            07 Oct 2019 22:13:04 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:04 tty: state now is TTY_RESP
            07 Oct 2019 22:13:04 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:04 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:04 conn_loop(): select() returns 0
            07 Oct 2019 22:13:04 tty: response timeout
            07 Oct 2019 22:13:04 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:04 tty: state now is TTY_RQST
            07 Oct 2019 22:13:04 tty: written 8 bytes
            07 Oct 2019 22:13:04 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:04 tty: state now is TTY_RESP
            07 Oct 2019 22:13:04 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:04 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:05 conn_loop(): select() returns 0
            07 Oct 2019 22:13:05 tty: response timeout
            07 Oct 2019 22:13:05 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:05 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:05 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:05 conn_loop(): select() returns 1
            07 Oct 2019 22:13:05 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:05 conn_loop(): select(): max_sd = 5, t_out = 000000:099141
            07 Oct 2019 22:13:05 conn_loop(): select() returns 1
            07 Oct 2019 22:13:05 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:05 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:05 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:05 conn[10.0.0.200]: request: [01][04][00][02][00][01][04][30][00][00][00][06][01][04][00][01][00][01][04][31][00][00][00][06][01][04][00][03][00][01][04][32][00][00][00][06][01][04][00][04][00][01][04][33][00][00][00][06][01][04][00][00][00][01][04][34][00][00][00][06][01][04][00][06][00][01][04][35][00][00][00][06][01][04][00][08][00][01]
            07 Oct 2019 22:13:05 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:05 conn_loop(): select(): max_sd = 4, t_out = 000000:098324
            07 Oct 2019 22:13:05 conn_loop(): select() returns 0
            07 Oct 2019 22:13:05 tty: state now is TTY_RQST
            07 Oct 2019 22:13:05 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:05 conn_loop(): select() returns 1
            07 Oct 2019 22:13:05 tty: written 8 bytes
            07 Oct 2019 22:13:05 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:05 tty: state now is TTY_RESP
            07 Oct 2019 22:13:05 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:05 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:06 conn_loop(): select() returns 0
            07 Oct 2019 22:13:06 tty: response timeout
            07 Oct 2019 22:13:06 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:06 tty: state now is TTY_RQST
            07 Oct 2019 22:13:06 tty: written 8 bytes
            07 Oct 2019 22:13:06 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:06 tty: state now is TTY_RESP
            07 Oct 2019 22:13:06 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:06 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:06 conn_loop(): select() returns 0
            07 Oct 2019 22:13:06 tty: response timeout
            07 Oct 2019 22:13:06 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:06 tty: state now is TTY_RQST
            07 Oct 2019 22:13:06 tty: written 8 bytes
            07 Oct 2019 22:13:06 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:06 tty: state now is TTY_RESP
            07 Oct 2019 22:13:06 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:06 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:07 conn_loop(): select() returns 0
            07 Oct 2019 22:13:07 tty: response timeout
            07 Oct 2019 22:13:07 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:07 tty: state now is TTY_RQST
            07 Oct 2019 22:13:07 tty: written 8 bytes
            07 Oct 2019 22:13:07 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:07 tty: state now is TTY_RESP
            07 Oct 2019 22:13:07 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:07 conn_loop(): select() returns 0
            07 Oct 2019 22:13:07 tty: response timeout
            07 Oct 2019 22:13:07 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:07 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:07 conn_loop(): select() returns 1
            07 Oct 2019 22:13:07 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 5, t_out = 000000:098417
            07 Oct 2019 22:13:07 conn_loop(): select() returns 1
            07 Oct 2019 22:13:07 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:07 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:07 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:07 conn[10.0.0.200]: request: [01][04][00][09][00][01][04][37][00][00][00][06][01][04][00][0a][00][01][04][38][00][00][00][06][01][04][00][0b][00][01][04][39][00][00][00][06][01][04][00][16][00][01][04][3a][00][00][00][06][01][04][00][05][00][01][04][3b][00][00][00][06][01][04][00][17][00][01]
            07 Oct 2019 22:13:07 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 4, t_out = 000000:096893
            07 Oct 2019 22:13:07 conn_loop(): select() returns 0
            07 Oct 2019 22:13:07 tty: state now is TTY_RQST
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:07 conn_loop(): select() returns 1
            07 Oct 2019 22:13:07 tty: written 8 bytes
            07 Oct 2019 22:13:07 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:07 tty: state now is TTY_RESP
            07 Oct 2019 22:13:07 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:07 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:08 conn_loop(): select() returns 0
            07 Oct 2019 22:13:08 tty: response timeout
            07 Oct 2019 22:13:08 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:08 tty: state now is TTY_RQST
            07 Oct 2019 22:13:08 tty: written 8 bytes
            07 Oct 2019 22:13:08 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:08 tty: state now is TTY_RESP
            07 Oct 2019 22:13:08 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:08 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:08 conn_loop(): select() returns 0
            07 Oct 2019 22:13:08 tty: response timeout
            07 Oct 2019 22:13:08 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:08 tty: state now is TTY_RQST
            07 Oct 2019 22:13:08 tty: written 8 bytes
            07 Oct 2019 22:13:08 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:08 tty: state now is TTY_RESP
            07 Oct 2019 22:13:08 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:08 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:09 conn_loop(): select() returns 0
            07 Oct 2019 22:13:09 tty: response timeout
            07 Oct 2019 22:13:09 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:09 tty: state now is TTY_RQST
            07 Oct 2019 22:13:09 tty: written 8 bytes
            07 Oct 2019 22:13:09 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:09 tty: state now is TTY_RESP
            07 Oct 2019 22:13:09 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:09 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:09 conn_loop(): select() returns 0
            07 Oct 2019 22:13:09 tty: response timeout
            07 Oct 2019 22:13:09 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:09 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:09 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:09 conn_loop(): select() returns 1
            07 Oct 2019 22:13:09 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:09 conn_loop(): select(): max_sd = 5, t_out = 000000:098510
            07 Oct 2019 22:13:09 conn_loop(): select() returns 1
            07 Oct 2019 22:13:09 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:09 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:09 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:09 conn[10.0.0.200]: request: [01][04][00][02][00][01][04][3d][00][00][00][06][01][04][00][01][00][01][04][3e][00][00][00][06][01][04][00][03][00][01][04][3f][00][00][00][06][01][04][00][04][00][01][04][40][00][00][00][06][01][04][00][00][00][01]
            07 Oct 2019 22:13:09 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:09 conn_loop(): select(): max_sd = 4, t_out = 000000:096984
            07 Oct 2019 22:13:10 conn_loop(): select() returns 0
            07 Oct 2019 22:13:10 tty: state now is TTY_RQST
            07 Oct 2019 22:13:10 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:10 conn_loop(): select() returns 1
            07 Oct 2019 22:13:10 tty: written 8 bytes
            07 Oct 2019 22:13:10 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:10 tty: state now is TTY_RESP
            07 Oct 2019 22:13:10 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:10 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:10 conn_loop(): select() returns 0
            07 Oct 2019 22:13:10 tty: response timeout
            07 Oct 2019 22:13:10 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:10 tty: state now is TTY_RQST
            07 Oct 2019 22:13:10 tty: written 8 bytes
            07 Oct 2019 22:13:10 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:10 tty: state now is TTY_RESP
            07 Oct 2019 22:13:10 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:10 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:11 conn_loop(): select() returns 0
            07 Oct 2019 22:13:11 tty: response timeout
            07 Oct 2019 22:13:11 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:11 tty: state now is TTY_RQST
            07 Oct 2019 22:13:11 tty: written 8 bytes
            07 Oct 2019 22:13:11 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:11 tty: state now is TTY_RESP
            07 Oct 2019 22:13:11 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:11 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:11 conn_loop(): select() returns 0
            07 Oct 2019 22:13:11 tty: response timeout
            07 Oct 2019 22:13:11 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:11 tty: state now is TTY_RQST
            07 Oct 2019 22:13:11 tty: written 8 bytes
            07 Oct 2019 22:13:11 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:11 tty: state now is TTY_RESP
            07 Oct 2019 22:13:11 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:11 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:12 conn_loop(): select() returns 0
            07 Oct 2019 22:13:12 tty: response timeout
            07 Oct 2019 22:13:12 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:12 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:12 conn_loop(): select() returns 1
            07 Oct 2019 22:13:12 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 5, t_out = 000000:099880
            07 Oct 2019 22:13:12 conn_loop(): select() returns 1
            07 Oct 2019 22:13:12 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:12 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:12 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:12 conn[10.0.0.200]: request: [01][04][00][17][00][01]
            07 Oct 2019 22:13:12 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 4, t_out = 000000:099771
            07 Oct 2019 22:13:12 conn_loop(): select() returns 0
            07 Oct 2019 22:13:12 tty: state now is TTY_RQST
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:12 conn_loop(): select() returns 1
            07 Oct 2019 22:13:12 tty: written 8 bytes
            07 Oct 2019 22:13:12 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:12 tty: state now is TTY_RESP
            07 Oct 2019 22:13:12 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:12 conn_loop(): select() returns 0
            07 Oct 2019 22:13:12 tty: response timeout
            07 Oct 2019 22:13:12 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:12 tty: state now is TTY_RQST
            07 Oct 2019 22:13:12 tty: written 8 bytes
            07 Oct 2019 22:13:12 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:12 tty: state now is TTY_RESP
            07 Oct 2019 22:13:12 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:12 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:13 conn_loop(): select() returns 0
            07 Oct 2019 22:13:13 tty: response timeout
            07 Oct 2019 22:13:13 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:13 tty: state now is TTY_RQST
            07 Oct 2019 22:13:13 tty: written 8 bytes
            07 Oct 2019 22:13:13 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:13 tty: state now is TTY_RESP
            07 Oct 2019 22:13:13 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:13 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:13 conn_loop(): select() returns 0
            07 Oct 2019 22:13:13 tty: response timeout
            07 Oct 2019 22:13:13 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:13 tty: state now is TTY_RQST
            07 Oct 2019 22:13:13 tty: written 8 bytes
            07 Oct 2019 22:13:13 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:13 tty: state now is TTY_RESP
            07 Oct 2019 22:13:13 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:13 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:14 conn_loop(): select() returns 0
            07 Oct 2019 22:13:14 tty: response timeout
            07 Oct 2019 22:13:14 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:14 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:14 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:14 conn_loop(): select() returns 1
            07 Oct 2019 22:13:14 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:14 conn_loop(): select(): max_sd = 5, t_out = 000000:098941
            07 Oct 2019 22:13:14 conn_loop(): select() returns 1
            07 Oct 2019 22:13:14 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:14 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:14 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:14 conn[10.0.0.200]: request: [01][04][00][02][00][01][04][43][00][00][00][06][01][04][00][01][00][01][04][44][00][00][00][06][01][04][00][03][00][01]
            07 Oct 2019 22:13:14 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:14 conn_loop(): select(): max_sd = 4, t_out = 000000:098705
            07 Oct 2019 22:13:14 conn_loop(): select() returns 0
            07 Oct 2019 22:13:14 tty: state now is TTY_RQST
            07 Oct 2019 22:13:14 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:14 conn_loop(): select() returns 1
            07 Oct 2019 22:13:14 tty: written 8 bytes
            07 Oct 2019 22:13:14 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:14 tty: state now is TTY_RESP
            07 Oct 2019 22:13:14 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:14 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:15 conn_loop(): select() returns 0
            07 Oct 2019 22:13:15 tty: response timeout
            07 Oct 2019 22:13:15 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:15 tty: state now is TTY_RQST
            07 Oct 2019 22:13:15 tty: written 8 bytes
            07 Oct 2019 22:13:15 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:15 tty: state now is TTY_RESP
            07 Oct 2019 22:13:15 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:15 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:15 conn_loop(): select() returns 0
            07 Oct 2019 22:13:15 tty: response timeout
            07 Oct 2019 22:13:15 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:15 tty: state now is TTY_RQST
            07 Oct 2019 22:13:15 tty: written 8 bytes
            07 Oct 2019 22:13:15 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:15 tty: state now is TTY_RESP
            07 Oct 2019 22:13:15 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:15 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:16 conn_loop(): select() returns 0
            07 Oct 2019 22:13:16 tty: response timeout
            07 Oct 2019 22:13:16 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:16 tty: state now is TTY_RQST
            07 Oct 2019 22:13:16 tty: written 8 bytes
            07 Oct 2019 22:13:16 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:16 tty: state now is TTY_RESP
            07 Oct 2019 22:13:16 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:16 conn_loop(): select() returns 0
            07 Oct 2019 22:13:16 tty: response timeout
            07 Oct 2019 22:13:16 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:16 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:16 conn_loop(): select() returns 1
            07 Oct 2019 22:13:16 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 5, t_out = 000000:098952
            07 Oct 2019 22:13:16 conn_loop(): select() returns 1
            07 Oct 2019 22:13:16 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:16 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:16 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:16 conn[10.0.0.200]: request: [01][04][00][04][00][01][04][46][00][00][00][06][01][04][00][00][00][01][04][47][00][00][00][06][01][04][00][06][00][01][04][48][00][00][00][06][01][04][00][08][00][01][04][49][00][00][00][06][01][04][00][09][00][01][04][4a][00][00][00][06][01][04][00][0a][00][01][04][4b][00][00][00][06][01][04][00][0b][00][01][04][4c][00][00][00][06][01][04][00][16][00][01][04][4d][00][00][00][06][01][04][00][05][00][01][04][4e][00][00][00][06][01][04][00][17][00][01]
            07 Oct 2019 22:13:16 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 4, t_out = 000000:098713
            07 Oct 2019 22:13:16 conn_loop(): select() returns 0
            07 Oct 2019 22:13:16 tty: state now is TTY_RQST
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:16 conn_loop(): select() returns 1
            07 Oct 2019 22:13:16 tty: written 8 bytes
            07 Oct 2019 22:13:16 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:16 tty: state now is TTY_RESP
            07 Oct 2019 22:13:16 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:16 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:17 conn_loop(): select() returns 0
            07 Oct 2019 22:13:17 tty: response timeout
            07 Oct 2019 22:13:17 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:17 tty: state now is TTY_RQST
            07 Oct 2019 22:13:17 tty: written 8 bytes
            07 Oct 2019 22:13:17 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:17 tty: state now is TTY_RESP
            07 Oct 2019 22:13:17 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:17 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:17 conn_loop(): select() returns 0
            07 Oct 2019 22:13:17 tty: response timeout
            07 Oct 2019 22:13:17 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:17 tty: state now is TTY_RQST
            07 Oct 2019 22:13:17 tty: written 8 bytes
            07 Oct 2019 22:13:17 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:17 tty: state now is TTY_RESP
            07 Oct 2019 22:13:17 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:17 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:18 conn_loop(): select() returns 0
            07 Oct 2019 22:13:18 tty: response timeout
            07 Oct 2019 22:13:18 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:18 tty: state now is TTY_RQST
            07 Oct 2019 22:13:18 tty: written 8 bytes
            07 Oct 2019 22:13:18 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:18 tty: state now is TTY_RESP
            07 Oct 2019 22:13:18 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:18 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:18 conn_loop(): select() returns 0
            07 Oct 2019 22:13:18 tty: response timeout
            07 Oct 2019 22:13:18 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:18 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:18 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:18 conn_loop(): select() returns 1
            07 Oct 2019 22:13:18 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:18 conn_loop(): select(): max_sd = 5, t_out = 000000:099776
            07 Oct 2019 22:13:18 conn_loop(): select() returns 1
            07 Oct 2019 22:13:18 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:18 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:18 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:18 conn[10.0.0.200]: request: [01][04][00][02][00][01]
            07 Oct 2019 22:13:18 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:18 conn_loop(): select(): max_sd = 4, t_out = 000000:099482
            07 Oct 2019 22:13:19 conn_loop(): select() returns 0
            07 Oct 2019 22:13:19 tty: state now is TTY_RQST
            07 Oct 2019 22:13:19 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:19 conn_loop(): select() returns 1
            07 Oct 2019 22:13:19 tty: written 8 bytes
            07 Oct 2019 22:13:19 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:19 tty: state now is TTY_RESP
            07 Oct 2019 22:13:19 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:19 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:19 conn_loop(): select() returns 0
            07 Oct 2019 22:13:19 tty: response timeout
            07 Oct 2019 22:13:19 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:19 tty: state now is TTY_RQST
            07 Oct 2019 22:13:19 tty: written 8 bytes
            07 Oct 2019 22:13:19 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:19 tty: state now is TTY_RESP
            07 Oct 2019 22:13:19 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:19 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:20 conn_loop(): select() returns 0
            07 Oct 2019 22:13:20 tty: response timeout
            07 Oct 2019 22:13:20 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:20 tty: state now is TTY_RQST
            07 Oct 2019 22:13:20 tty: written 8 bytes
            07 Oct 2019 22:13:20 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:20 tty: state now is TTY_RESP
            07 Oct 2019 22:13:20 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:20 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:20 conn_loop(): select() returns 0
            07 Oct 2019 22:13:20 tty: response timeout
            07 Oct 2019 22:13:20 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:20 tty: state now is TTY_RQST
            07 Oct 2019 22:13:20 tty: written 8 bytes
            07 Oct 2019 22:13:20 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:20 tty: state now is TTY_RESP
            07 Oct 2019 22:13:20 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:20 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:21 conn_loop(): select() returns 0
            07 Oct 2019 22:13:21 tty: response timeout
            07 Oct 2019 22:13:21 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:21 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:21 conn_loop(): select() returns 1
            07 Oct 2019 22:13:21 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 5, t_out = 000000:098253
            07 Oct 2019 22:13:21 conn_loop(): select() returns 1
            07 Oct 2019 22:13:21 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:21 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:21 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:21 conn[10.0.0.200]: request: [01][04][00][01][00][01][04][51][00][00][00][06][01][04][00][03][00][01][04][52][00][00][00][06][01][04][00][04][00][01][04][53][00][00][00][06][01][04][00][00][00][01]
            07 Oct 2019 22:13:21 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 4, t_out = 000000:098008
            07 Oct 2019 22:13:21 conn_loop(): select() returns 0
            07 Oct 2019 22:13:21 tty: state now is TTY_RQST
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:21 conn_loop(): select() returns 1
            07 Oct 2019 22:13:21 tty: written 8 bytes
            07 Oct 2019 22:13:21 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:21 tty: state now is TTY_RESP
            07 Oct 2019 22:13:21 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:21 conn_loop(): select() returns 0
            07 Oct 2019 22:13:21 tty: response timeout
            07 Oct 2019 22:13:21 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:21 tty: state now is TTY_RQST
            07 Oct 2019 22:13:21 tty: written 8 bytes
            07 Oct 2019 22:13:21 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:21 tty: state now is TTY_RESP
            07 Oct 2019 22:13:21 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:21 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:22 conn_loop(): select() returns 0
            07 Oct 2019 22:13:22 tty: response timeout
            07 Oct 2019 22:13:22 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:22 tty: state now is TTY_RQST
            07 Oct 2019 22:13:22 tty: written 8 bytes
            07 Oct 2019 22:13:22 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:22 tty: state now is TTY_RESP
            07 Oct 2019 22:13:22 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:22 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:22 conn_loop(): select() returns 0
            07 Oct 2019 22:13:22 tty: response timeout
            07 Oct 2019 22:13:22 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:22 tty: state now is TTY_RQST
            07 Oct 2019 22:13:22 tty: written 8 bytes
            07 Oct 2019 22:13:22 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:22 tty: state now is TTY_RESP
            07 Oct 2019 22:13:22 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:22 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:23 conn_loop(): select() returns 0
            07 Oct 2019 22:13:23 tty: response timeout
            07 Oct 2019 22:13:23 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:23 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:23 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:23 conn_loop(): select() returns 1
            07 Oct 2019 22:13:23 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:23 conn_loop(): select(): max_sd = 5, t_out = 000000:099766
            07 Oct 2019 22:13:23 conn_loop(): select() returns 1
            07 Oct 2019 22:13:23 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:23 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:23 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:23 conn[10.0.0.200]: request: [01][04][00][17][00][01]
            07 Oct 2019 22:13:23 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:23 conn_loop(): select(): max_sd = 4, t_out = 000000:099522
            07 Oct 2019 22:13:23 conn_loop(): select() returns 0
            07 Oct 2019 22:13:23 tty: state now is TTY_RQST
            07 Oct 2019 22:13:23 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:23 conn_loop(): select() returns 1
            07 Oct 2019 22:13:23 tty: written 8 bytes
            07 Oct 2019 22:13:23 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:23 tty: state now is TTY_RESP
            07 Oct 2019 22:13:23 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:23 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:24 conn_loop(): select() returns 0
            07 Oct 2019 22:13:24 tty: response timeout
            07 Oct 2019 22:13:24 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:24 tty: state now is TTY_RQST
            07 Oct 2019 22:13:24 tty: written 8 bytes
            07 Oct 2019 22:13:24 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:24 tty: state now is TTY_RESP
            07 Oct 2019 22:13:24 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:24 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:24 conn_loop(): select() returns 0
            07 Oct 2019 22:13:24 tty: response timeout
            07 Oct 2019 22:13:24 tty: attempt to retry request (2 of 3)
            07 Oct 2019 22:13:24 tty: state now is TTY_RQST
            07 Oct 2019 22:13:24 tty: written 8 bytes
            07 Oct 2019 22:13:24 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:24 tty: state now is TTY_RESP
            07 Oct 2019 22:13:24 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:24 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:25 conn_loop(): select() returns 0
            07 Oct 2019 22:13:25 tty: response timeout
            07 Oct 2019 22:13:25 tty: attempt to retry request (3 of 3)
            07 Oct 2019 22:13:25 tty: state now is TTY_RQST
            07 Oct 2019 22:13:25 tty: written 8 bytes
            07 Oct 2019 22:13:25 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:25 tty: state now is TTY_RESP
            07 Oct 2019 22:13:25 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:25 conn_loop(): select() returns 0
            07 Oct 2019 22:13:25 tty: response timeout
            07 Oct 2019 22:13:25 conn[10.0.0.200]: state now is CONN_RESP
            07 Oct 2019 22:13:25 tty: state now is TTY_PAUSE
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 5, t_out = 000000:100000
            07 Oct 2019 22:13:25 conn_loop(): select() returns 1
            07 Oct 2019 22:13:25 conn[10.0.0.200]: state now is CONN_HEADER
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 5, t_out = 000000:099765
            07 Oct 2019 22:13:25 conn_loop(): select() returns 1
            07 Oct 2019 22:13:25 conn[10.0.0.200]: state now is CONN_RQST_FUNC
            07 Oct 2019 22:13:25 conn[10.0.0.200]: read request fc 4
            07 Oct 2019 22:13:25 conn[10.0.0.200]: state now is CONN_RQST_TAIL
            07 Oct 2019 22:13:25 conn[10.0.0.200]: request: [01][04][00][02][00][01][04][56][00][00][00][06][01][04][00][01][00][01][04][57][00][00][00][06][01][04][00][03][00][01][04][58][00][00][00][06][01][04][00][04][00][01][04][59][00][00][00][06][01][04][00][00][00][01][04][5a][00][00][00][06][01][04][00][06][00][01][04][5b][00][00][00][06][01][04][00][08][00][01][04][5c][00][00][00][06][01][04][00][09][00][01]
            07 Oct 2019 22:13:25 conn[10.0.0.200]: state now is CONN_TTY
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 4, t_out = 000000:099489
            07 Oct 2019 22:13:25 conn_loop(): select() returns 0
            07 Oct 2019 22:13:25 tty: state now is TTY_RQST
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 4, t_out = 000060:000000
            07 Oct 2019 22:13:25 conn_loop(): select() returns 1
            07 Oct 2019 22:13:25 tty: written 8 bytes
            07 Oct 2019 22:13:25 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:25 tty: state now is TTY_RESP
            07 Oct 2019 22:13:25 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:25 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            07 Oct 2019 22:13:26 conn_loop(): select() returns 0
            07 Oct 2019 22:13:26 tty: response timeout
            07 Oct 2019 22:13:26 tty: attempt to retry request (1 of 3)
            07 Oct 2019 22:13:26 tty: state now is TTY_RQST
            07 Oct 2019 22:13:26 tty: written 8 bytes
            07 Oct 2019 22:13:26 tty: request written (total 8 bytes)
            07 Oct 2019 22:13:26 tty: state now is TTY_RESP
            07 Oct 2019 22:13:26 tty: estimated 7 bytes, waiting 515624 usec
            07 Oct 2019 22:13:26 conn_loop(): select(): max_sd = 4, t_out = 000000:515624
            Zuletzt geändert von ogrimo30; 07.10.2019, 22:21.

            Kommentar

            • Gagi
              LoxBus Spammer
              • 20.01.2018
              • 290

              #41
              Passt, ja das ist das gleiche Problem... da kommen mehrere anfragen von loxone zur gleichen Zeit und mbusd kommt dann mit den Antworten nicht klar und schmeißt sie zusammen.

              Mit ner aktuellen mbusd Version hat es bei mir geklappt, allerdings ist die nicht Teil von [rasp]debian, ich hab das selbst gebaut, evtl könnte man das plugin updaten.


              Gesendet von iPhone mit Tapatalk

              Kommentar


              • ogrimo30
                ogrimo30 kommentierte
                Kommentar bearbeiten
                Ok danke für die Info.
                Also liegt es nicht an mir.
                Leider war Gast seit Dezember 2018 nicht mehr online.

                Wie kann es aber sein das bei meinem zweiten Loxberry alles normal funktioniert bzw. beim jetzigen bis vor einigen Wochen auch alles rund lief?

              • Gagi
                Gagi kommentierte
                Kommentar bearbeiten
                Ich denke das sind Timing Probleme, ich hab mal testweise bei mir die einzelnen Sensoren, ueber den Abfragezyklus etwas versetzt damit sie nicht mehr gleichzeitig gesendet werden, das war zwar umstaendlich, aber damit hat es bei mir auch funktioniert.

                Ich wuerde jetzt mal abwarten ob zmata sich meldet, wenn nicht koenntest du entweder probieren mbusd selbst zu bauen (ist nicht schwer) oder wir versuchen es in sein plugin selbst einzubauen.

              • ogrimo30
                ogrimo30 kommentierte
                Kommentar bearbeiten
                Ich haben den Abfragezyklus jetzt bei jedem der 7 Sensoren um 5 Sekunden versetzt.
                Leider bringt das auch nichts....

                Gibt es Anleitung wie man mbusd selbst updatete bzw. baut?
            • Gagi
              LoxBus Spammer
              • 20.01.2018
              • 290

              #42
              Gast would it be possible to update your plugin to the latest mbusd version? The current version sends some broken responses back to loxone if multiple requests happen at the same time.

              I already tested the latest version locally and it fixed the same problem for me.

              Thx in advance


              Gesendet von iPhone mit Tapatalk

              Kommentar


              • ogrimo30
                ogrimo30 kommentierte
                Kommentar bearbeiten
                Leider bekomme ich folgende Meldung:

                Active: activating (auto-restart) (Result: exit-code) since Wed 2019-10-09 17:41:12 CEST; 437ms ago

                Wenn ich auf entfernen drücke kommt:
                Der Service ist noch aktiv bitte vorher anhalten!


                Danke für deine Hilfe!!!

              • Gagi
                Gagi kommentierte
                Kommentar bearbeiten
                Mhh die Meldung ist jetzt nicht sehr aussagekraeftig...

                Ich meine aber dass ich die Meldungen schonmal gesehen habe und das ein manuelles stoppen und starten ueber die buttons im UI das behoben hat ?

                Du koenntest den service ueber ssh anhalten:

                systemctl stop mbusd@ttyUSB0.service

                Vorrausgesetzt du hast nur einen USB stick dran, ansonsten muesstes du es mit ttyUSB1 genauso machen.

              • ogrimo30
                ogrimo30 kommentierte
                Kommentar bearbeiten
                Ich kanne es leider nicht Stoppen da nur der Button Starten vorhanden ist.
                Wenn ich auf Starten drücke kommt:
                Active: activating (auto-restart) (Result: exit-code) since Wed 2019-10-09 18:29:38 CEST; 577ms ago

                Log ist leider keines vorhanden.
                Deinstallierung und Neuinstallation bringt leider auch nichts.

                Über SSH kann ich es erst frühestens morgen probieren.
            • ROLE
              Smart Home'r
              • 21.10.2018
              • 56

              #43
              Ich habe gerade folgenden Artikel gefunden:





              Mit diesem sollte man das hinbekommen oder?

              Kommentar


              • ogrimo30
                ogrimo30 kommentierte
                Kommentar bearbeiten
                Ist es möglich das Plugin selbst upzudaten?
                Bin leider ein kompletter Linux Laie....

              • Gagi
                Gagi kommentierte
                Kommentar bearbeiten
                Jaein, der Plugin code ist hier: https://github.com/zmata/LoxBerry-Plugin-ModbusGateway

                Mbusd wird dabei als debian package installiert und das muss aktualisiert werden. Ich schau mir das mal schnell an ob, dann koennsten du das Plugin aus meinem repository installieren und wenn Gast dann meine Aenderung annimmt, ist alles wieder wie vorher ;-)

              • Gagi
                Gagi kommentierte
                Kommentar bearbeiten
                Ich hab keinen raspberry mit loxberry installation, ich hoffe einfach mal das debian paket funktionert auch von meinem orange-pi...

                Gib bitte kurz Feedback ob es geklappt hat: https://github.com/Gagi2k/LoxBerry-P...ive/v0.0.9.zip
            • Gast

              #44
              Hi, I'm not dead, but litle bit bussy. Sorry. I can recreate mbusd packages for raspberry and AMD64 during weekend if needed. But if Gagi's package is working I can add Gagi as collaborator and we can cooperate in development. Let me know. I'm not German speaking, so keep English please. Thanks. Zmata

              Kommentar

              • ogrimo30
                Extension Master
                • 27.03.2017
                • 174

                #45
                Hello Gast
                thank you for your reply.
                When I install Gagi's version I get an error:
                Active: failed (Result: exit-code) since Fri 2019-10-11 07:20:10 CEST; 1min 23s ago
                I can't stop the Modbus Server because the stop Button isn't visible.
                ​​​​​​
                ​​​​​​Deinstalling and new installing don't help.
                Log is also not available.

                ​​​​​​​Thank you in advance!
                Angehängte Dateien

                Kommentar


                • Gagi
                  Gagi kommentierte
                  Kommentar bearbeiten
                  My guess is that the ARM package is incompatible as i only had a orange pi at hand to build the package, i now created a new one with a raspberrypi, maybe you could give this one a try: https://github.com/Gagi2k/LoxBerry-P...s/tag/v0.0.9-1. You might also need to remove the packge and do a fresh installation, as i'm not sure whether raspbian likes to update the new debian package (the version didn't change there)
                  Zuletzt geändert von Gagi; 11.10.2019, 09:45.

                • ogrimo30
                  ogrimo30 kommentierte
                  Kommentar bearbeiten
                  Thank you for your fast answer.
                  I made a fresh Loxberry installation and installed the plugin.
                  I get the same error message: Active: failed (Result: exit-code) since Fri 2019-10-11 10:36:45 CEST; 1min 26s ago

                  When I install the 8.0 version I get the same error.
              Lädt...