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. Troubleshooting
  3. Having trouble with my RPI MQTT gateway talking to my first sensor

Having trouble with my RPI MQTT gateway talking to my first sensor

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 972 Views 3 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.
  • F Offline
    F Offline
    fals3illusion
    wrote on last edited by fals3illusion
    #1

    Hello,

    Finally got my radios working properly with my RPI Gateway. I'm now having problems with my first homemade DHT11 Sensor which is connected to a NANO V3 with a NRF24 radio connecting to my gateway and talking. Both Radios have a 47uF Capacator between the VCC and GND on the Radio

    I used the code in http://smarthomeblog.net/diy-home-automation-sensors-first-node/

    This is what I'm getting in the Serial Monitor of Arduino ..

    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:INIT:STATID=1
    40 TSF:SID:OK,ID=1
    43 TSM:FPAR
    1642 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    3649 !TSM:FPAR:NO REPLY
    3651 TSM:FPAR
    5251 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    7258 !TSM:FPAR:NO REPLY
    7260 TSM:FPAR
    8859 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    10866 !TSM:FPAR:NO REPLY
    10868 TSM:FPAR
    12468 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    14476 !TSM:FPAR:FAIL
    14477 TSM:FAIL:CNT=1
    14479 TSM:FAIL:DIS
    14481 TSF:TDI:TSL
    24484 TSM:FAIL:RE-INIT
    24486 TSM:INIT
    24494 TSM:INIT:TSP OK
    24496 TSM:INIT:STATID=1
    24498 TSF:SID:OK,ID=1
    24500 TSM:FPAR
    26099 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    28107 !TSM:FPAR:NO REPLY
    28109 TSM:FPAR
    29709 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    31716 !TSM:FPAR:NO REPLY
    31718 TSM:FPAR
    33317 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    35325 !TSM:FPAR:NO REPLY
    35328 TSM:FPAR
    36927 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38935 !TSM:FPAR:FAIL

    And keeps on going to

    161233 TSM:FAIL:CNT=7
    161235 TSM:FAIL:DIS
    161238 TSF:TDI:TSL**

    This is what i'm reading through SSH...

    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0
    mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: GWT:RMQ:MQTT RECONNECT
    mysgw: connected to 192.168.1.112
    mysgw: GWT:RMQ:MQTT CONNECTED
    mysgw: GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
    mysgw: TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7
    mysgw: TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7
    mysgw: TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7
    mysgw: TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    mysgw: !TSF:MSG:LEN,0!=7

    And keeps on going and going and going.

    Any ideas why it's not relaying information from the Gateway to the Sensor?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      could be fake clones of NRF24 radio modules

      F 1 Reply Last reply
      0
      • gohanG gohan

        could be fake clones of NRF24 radio modules

        F Offline
        F Offline
        fals3illusion
        wrote on last edited by
        #3

        @gohan

        Right again! I got some other brands of radio modules that came today and tried them and they worked like a charm right away. Guess I won’t be buying the ones from makerfire on amazon again. The kuman worked so far and came in anti static bags. The other ones were just loose wrapped in plastic bubble wrap. I feel so stupid posting such an easy fix 😂

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          The first nrf24 I bought were the ones with blob on the pcb, I spent countless hours trying to understand why it wasn't working, then I figured that those were everything but nrf24 so returned them to Amazon and bought other fake clones that were working up to 6/7 meters and I got them refunded after 1 star review I made. Finally I got the good ones (more expensive of course), link in the shopping section of mysensors site.

          F 1 Reply Last reply
          0
          • gohanG gohan

            The first nrf24 I bought were the ones with blob on the pcb, I spent countless hours trying to understand why it wasn't working, then I figured that those were everything but nrf24 so returned them to Amazon and bought other fake clones that were working up to 6/7 meters and I got them refunded after 1 star review I made. Finally I got the good ones (more expensive of course), link in the shopping section of mysensors site.

            F Offline
            F Offline
            fals3illusion
            wrote on last edited by
            #5

            @gohan

            The Ebyte nRF24L01+ Ones?

            Also, does MySensors get a commission off of the links provided in the store? I would much rather support you guys!

            mfalkviddM 1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by gohan
              #6

              Yes, those.

              1 Reply Last reply
              0
              • F fals3illusion

                @gohan

                The Ebyte nRF24L01+ Ones?

                Also, does MySensors get a commission off of the links provided in the store? I would much rather support you guys!

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by mfalkvidd
                #7

                Also, does MySensors get a commission off of the links provided in the store? I would much rather support you guys!

                Yes, MySensors does get a commission when using the links in the store (and most links in the forum).

                Some more info: https://www.mysensors.org/about/mysensors#do-you-make-loads-of-money-on-this

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


                30

                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