Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. OpenHAB
  4. SerialGateway problem with install

SerialGateway problem with install

Scheduled Pinned Locked Moved OpenHAB
in arduino ide serial port
9 Posts 4 Posters 416 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vidin
    wrote on last edited by
    #1

    Hi , I try use serial gateway on my rpi
    I use this instruction, https://forum.mysensors.org/topic/6694/openhab-2-4-mysensors-serial-gateway-how-to-install
    but when I start mysgw, gateway not run correctly

    pi@raspberrypi:~/MySensors $ sudo ./bin/mysgw
    Oct 21 21:18:10 INFO  Starting gateway...
    Oct 21 21:18:10 INFO  Protocol version - 2.3.2-beta
    Oct 21 21:18:10 DEBUG Serial port /dev/ttyUSB0 (115200 baud) created
    Oct 21 21:18:10 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=8,VER=2.3.2-beta
    Oct 21 21:18:10 DEBUG TSF:LRT:OK
    Oct 21 21:18:10 DEBUG TSM:INIT
    Oct 21 21:18:10 DEBUG TSF:WUR:MS=0
    Oct 21 21:18:10 DEBUG !TSM:INIT:TSP FAIL
    Oct 21 21:18:10 DEBUG TSM:FAIL:CNT=1
    Oct 21 21:18:10 DEBUG TSM:FAIL:DIS
    Oct 21 21:18:10 DEBUG TSF:TDI:TSL
    Oct 21 21:18:14 NOTICE Received SIGINT
    

    In Arduino IDE Serial port, gateway work correctly in rpi using minicom too.

    YveauxY 1 Reply Last reply
    0
    • V vidin

      Hi , I try use serial gateway on my rpi
      I use this instruction, https://forum.mysensors.org/topic/6694/openhab-2-4-mysensors-serial-gateway-how-to-install
      but when I start mysgw, gateway not run correctly

      pi@raspberrypi:~/MySensors $ sudo ./bin/mysgw
      Oct 21 21:18:10 INFO  Starting gateway...
      Oct 21 21:18:10 INFO  Protocol version - 2.3.2-beta
      Oct 21 21:18:10 DEBUG Serial port /dev/ttyUSB0 (115200 baud) created
      Oct 21 21:18:10 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=8,VER=2.3.2-beta
      Oct 21 21:18:10 DEBUG TSF:LRT:OK
      Oct 21 21:18:10 DEBUG TSM:INIT
      Oct 21 21:18:10 DEBUG TSF:WUR:MS=0
      Oct 21 21:18:10 DEBUG !TSM:INIT:TSP FAIL
      Oct 21 21:18:10 DEBUG TSM:FAIL:CNT=1
      Oct 21 21:18:10 DEBUG TSM:FAIL:DIS
      Oct 21 21:18:10 DEBUG TSF:TDI:TSL
      Oct 21 21:18:14 NOTICE Received SIGINT
      

      In Arduino IDE Serial port, gateway work correctly in rpi using minicom too.

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @vidin said in SerialGateway problem with install:

      !TSM:INIT:TSP FAIL

      This means communication with the radio has failed. Triple check your wiring and gateway configuration, then try a different radio module.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vidin
        wrote on last edited by
        #3

        Radio connection is realy ok, when I switch console to minicom init is ok and i find my nodes.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kimot
          wrote on last edited by
          #4

          I do not understood your setup.
          I see ttyUSB0, but your gateway runs on RPi - so nothing connected in USB.
          I suppose radio module connected directly to your RPi. Or if your radio is connected to Arduino, load serial gateway sketch to that Arduino, not in RPi.

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vidin
            wrote on last edited by
            #5

            I use this hardware, I dont connect radio directly to my RPi, but throught Arduino..
            https://www.mysensors.org/build/serial_gateway

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kimot
              wrote on last edited by
              #6

              So I think you do not need mysgw on RPi. I do not use openHAB, but Domoticz, but it must be similar.
              Load serial gateway sketch to Arduino with radio module, connect this Arduino to USB port of your RPi and select serial gateway in openHAB.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kimot
                wrote on last edited by
                #7

                https://www.google.com/url?sa=t&source=web&rct=j&url=https://forum.mysensors.org/topic/1194/tutorial-openhab-with-serial-gateway&ved=2ahUKEwjjk9PFo67lAhUMxqYKHawADaIQrAIoADAAegQIBhAU&usg=AOvVaw0bbbvzi3M2OSTnta4tJOiJ&cshid=1571692845110

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vidin
                  wrote on last edited by
                  #8

                  It's very old instruction, OpenHab not support MySensors, I have to compile library someone has working step for this?

                  T 1 Reply Last reply
                  0
                  • V vidin

                    It's very old instruction, OpenHab not support MySensors, I have to compile library someone has working step for this?

                    T Offline
                    T Offline
                    TimO
                    Hero Member
                    wrote on last edited by
                    #9

                    @vidin https://github.com/tobof/openhab2-addons/wiki

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    19

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.1k

                    Posts


                    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • MySensors
                    • OpenHardware.io
                    • Categories
                    • Recent
                    • Tags
                    • Popular