Skip to content
  • 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. Troubleshooting
  3. Can't connect to radio on raspPi with latest stable 2.1.1 build, but works with 2.2.beta but with beta mqtt gateway very unstable...
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Can't connect to radio on raspPi with latest stable 2.1.1 build, but works with 2.2.beta but with beta mqtt gateway very unstable...

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 3 Posters 1.6k Views 6 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.
  • A Offline
    A Offline
    alterfritz
    wrote on last edited by
    #1

    Hi, just wondering if I simple do something wrong.

    I try to setup a mysensors gateway on raspPi. What I did:

    git clone https://github.com/mysensors/MySensors.git --branch master

    ./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-rf24-ce-pin=22 --my-rf24-cs-pin=24 --my-rf24-irq-pin=15

    Build seems ok, but when I tried to start the gw, it seems radio can not be initialized. I got

    i@pi:~/msg_stable/MySensors $ sudo bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:PDT

    When I use same kind of install with the development branch 2.2.beta it all starts up, however the gateway seems very unstable (not surprisingly, as its dev build), it cashes a lot.

    So - how to get the stable 2.1.1 connecting to the radio (NRF24L01+ )? I guess the gateway on 2.1.1 is stable...

    Regards
    Joerg

    A 1 Reply Last reply
    0
    • A alterfritz

      Hi, just wondering if I simple do something wrong.

      I try to setup a mysensors gateway on raspPi. What I did:

      git clone https://github.com/mysensors/MySensors.git --branch master

      ./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-rf24-ce-pin=22 --my-rf24-cs-pin=24 --my-rf24-irq-pin=15

      Build seems ok, but when I tried to start the gw, it seems radio can not be initialized. I got

      i@pi:~/msg_stable/MySensors $ sudo bin/mysgw -d
      mysgw: Starting gateway...
      mysgw: Protocol version - 2.1.1
      mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
      mysgw: TSM:INIT
      mysgw: TSF:WUR:MS=0
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=1
      mysgw: TSM:FAIL:PDT

      When I use same kind of install with the development branch 2.2.beta it all starts up, however the gateway seems very unstable (not surprisingly, as its dev build), it cashes a lot.

      So - how to get the stable 2.1.1 connecting to the radio (NRF24L01+ )? I guess the gateway on 2.1.1 is stable...

      Regards
      Joerg

      A Offline
      A Offline
      alterfritz
      wrote on last edited by
      #2

      @alterfritz any update? Release 2.1.1 does not work for. Current dev branch 2.2 works.

      Any hint?

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xmonika
        wrote on last edited by
        #3

        I am experiencing the same behavior. 2.1.1. radio is not detected. 2.2.0 beta detected ok.

        1 Reply Last reply
        0
        • miljumeM Offline
          miljumeM Offline
          miljume
          wrote on last edited by miljume
          #4

          I also have problems with NRF24L01+ on both 2.1.1 and 2.2.0 Beta

          I have installed a fresh RPI with all new libraries and trying to make a RPI Serial GW

          In 2.1.1 it doesn't start at all but in 2.2.0 it starts but in the log I constantly receive the following in the Domoticz log where I have added the GW

          2017-10-09 19:25:12.306 MySensors: Gateway Version: 2.2.0-beta
          2017-10-09 19:25:12.306 Error: Serial Port closed!... Error: End of file
          2017-10-09 19:25:13.306 MySensors: retrying in 30 seconds...
          

          After a while I get the following in the console

          mysgw: TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
          mysgw: !TSF:MSG:LEN,0!=18 
          

          The above points at something wrong with the radio connection

          I have tried 3 different radios but still no luck

          So I guess it all boils down to that there is some problems with these libraries and the NRF24L01

          Any guesses?

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xmonika
            wrote on last edited by xmonika
            #5

            Same by me - combination of Rapberry 3 + mosquitto + OpenHab2. 2.1.1. doesn't start at all (TSM:INIT:TSP FAIL), 2.2.0 beta starts without troubles but after a few minutes the communication is lost (!TSF:MSG:LEN,0!=32). Have capacitors on the node and gateway.

            1 Reply Last reply
            0
            • miljumeM Offline
              miljumeM Offline
              miljume
              wrote on last edited by mfalkvidd
              #6

              I have submitted a bug report on this

              1 Reply Last reply
              1
              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.0k

              Posts


              Copyright 2019 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
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular