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. Domoticz
  4. Raspberry Pi 4B, Ethernet gateway, RFM95 - no sensor nodes found

Raspberry Pi 4B, Ethernet gateway, RFM95 - no sensor nodes found

Scheduled Pinned Locked Moved Domoticz
7 Posts 2 Posters 1.4k Views 2 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.
  • N Offline
    N Offline
    NickL
    wrote on last edited by
    #1

    My configuration:
    Raspberry Pi 4B, Ethernet gateway, RFM95

    This radio works in the serial gateway configuration with an Arduino board, being connected to the same Pi / Domoticz through USB, all sensor nodes are listed as they should.

    If I connect the very same radio unit directly to Pi in Ethernet gateway mode, Domoticz sees the gateway and puts the following into the log.

    • From Domoticz log:
    2021-06-22 21:11:58.154 Status: LOCAL_GW: connected to: 127.0.0.1:5003
    2021-06-22 21:12:00.573 LOCAL_GW: Gateway Ready...
    2021-06-22 21:12:00.574 LOCAL_GW: Gateway Version: 2.3.2 
    
    • mysgw output
    $ sudo MySensors/bin/mysgw 
    Jun 22 21:11:53 INFO  Starting gateway...
    Jun 22 21:11:53 INFO  Protocol version - 2.3.2
    Jun 22 21:11:53 DEBUG MCO:BGN:INIT GW,CP=RLNGL---,FQ=NA,REL=255,VER=2.3.2
    Jun 22 21:11:53 DEBUG TSF:LRT:OK
    Jun 22 21:11:53 DEBUG TSM:INIT
    Jun 22 21:11:53 DEBUG TSF:WUR:MS=0
    Jun 22 21:11:53 DEBUG TSM:INIT:TSP OK
    Jun 22 21:11:53 DEBUG TSM:INIT:GW MODE
    Jun 22 21:11:53 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Jun 22 21:11:53 DEBUG MCO:REG:NOT NEEDED
    Jun 22 21:11:53 DEBUG Listening for connections on ???:5003
    Jun 22 21:11:53 DEBUG MCO:BGN:STP
    Jun 22 21:11:53 DEBUG MCO:BGN:INIT OK,TSP=1
    Jun 22 21:11:53 DEBUG TSM:READY:NWD REQ
    Jun 22 21:12:00 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=NACK:
    Jun 22 21:12:00 DEBUG New connection from 127.0.0.1
    Jun 22 21:12:00 DEBUG GWT:TSA:C=0,CONNECTED
    Jun 22 21:12:00 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;2;
    Jun 22 21:12:00 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;2;Get Version
    Jun 22 21:12:01 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
    Jun 22 21:12:11 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
    ...
    

    I tried with MySensors v. 2.3.2 and 2.4.0-alpha, same situation.

    Configure command:
    ./configure --my-gateway=ethernet --my-port=5003 --my-transport=rfm95 --my-rfm95-irq-pin=22 --my-rfm95-cs-pin=24 --my-rfm95-rst-pin=29

    (was !TSM:INIT:TSP FAIL with the grounded Reset pin, Adafruit RFM95 transceiver breakout)

    Y 1 Reply Last reply
    0
    • N NickL

      My configuration:
      Raspberry Pi 4B, Ethernet gateway, RFM95

      This radio works in the serial gateway configuration with an Arduino board, being connected to the same Pi / Domoticz through USB, all sensor nodes are listed as they should.

      If I connect the very same radio unit directly to Pi in Ethernet gateway mode, Domoticz sees the gateway and puts the following into the log.

      • From Domoticz log:
      2021-06-22 21:11:58.154 Status: LOCAL_GW: connected to: 127.0.0.1:5003
      2021-06-22 21:12:00.573 LOCAL_GW: Gateway Ready...
      2021-06-22 21:12:00.574 LOCAL_GW: Gateway Version: 2.3.2 
      
      • mysgw output
      $ sudo MySensors/bin/mysgw 
      Jun 22 21:11:53 INFO  Starting gateway...
      Jun 22 21:11:53 INFO  Protocol version - 2.3.2
      Jun 22 21:11:53 DEBUG MCO:BGN:INIT GW,CP=RLNGL---,FQ=NA,REL=255,VER=2.3.2
      Jun 22 21:11:53 DEBUG TSF:LRT:OK
      Jun 22 21:11:53 DEBUG TSM:INIT
      Jun 22 21:11:53 DEBUG TSF:WUR:MS=0
      Jun 22 21:11:53 DEBUG TSM:INIT:TSP OK
      Jun 22 21:11:53 DEBUG TSM:INIT:GW MODE
      Jun 22 21:11:53 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
      Jun 22 21:11:53 DEBUG MCO:REG:NOT NEEDED
      Jun 22 21:11:53 DEBUG Listening for connections on ???:5003
      Jun 22 21:11:53 DEBUG MCO:BGN:STP
      Jun 22 21:11:53 DEBUG MCO:BGN:INIT OK,TSP=1
      Jun 22 21:11:53 DEBUG TSM:READY:NWD REQ
      Jun 22 21:12:00 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=NACK:
      Jun 22 21:12:00 DEBUG New connection from 127.0.0.1
      Jun 22 21:12:00 DEBUG GWT:TSA:C=0,CONNECTED
      Jun 22 21:12:00 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;2;
      Jun 22 21:12:00 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;2;Get Version
      Jun 22 21:12:01 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
      Jun 22 21:12:11 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
      ...
      

      I tried with MySensors v. 2.3.2 and 2.4.0-alpha, same situation.

      Configure command:
      ./configure --my-gateway=ethernet --my-port=5003 --my-transport=rfm95 --my-rfm95-irq-pin=22 --my-rfm95-cs-pin=24 --my-rfm95-rst-pin=29

      (was !TSM:INIT:TSP FAIL with the grounded Reset pin, Adafruit RFM95 transceiver breakout)

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

      @NickL and your issue is.....?

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NickL
        wrote on last edited by
        #3

        My issue is that no sensor nodes are found in Ethernet gateway configuration, while in serial gateway configuration everything is working.

        Y 1 Reply Last reply
        1
        • N NickL

          My issue is that no sensor nodes are found in Ethernet gateway configuration, while in serial gateway configuration everything is working.

          Y Offline
          Y Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @NickL ok, clear. I took the liberty to move this to the Domoticz sectio.

          http://yveaux.blogspot.nl

          N 1 Reply Last reply
          0
          • Y Yveaux

            @NickL ok, clear. I took the liberty to move this to the Domoticz sectio.

            N Offline
            N Offline
            NickL
            wrote on last edited by
            #5

            @Yveaux Should I try with a different controller? If so, which one would you recommend?

            Y 1 Reply Last reply
            0
            • N NickL

              @Yveaux Should I try with a different controller? If so, which one would you recommend?

              Y Offline
              Y Offline
              Yveaux
              Mod
              wrote on last edited by
              #6

              @NickL in not familiar with domoticz, but the log from the gateway shows no sensor presentations.
              That could be the reason nothing shows up.
              What happens if you restart a node? Does it communicate with the gateway?

              http://yveaux.blogspot.nl

              N 1 Reply Last reply
              0
              • Y Yveaux

                @NickL in not familiar with domoticz, but the log from the gateway shows no sensor presentations.
                That could be the reason nothing shows up.
                What happens if you restart a node? Does it communicate with the gateway?

                N Offline
                N Offline
                NickL
                wrote on last edited by
                #7

                @Yveaux
                In Ethernet gateway mode, resetting sensor nodes didin't help.

                Not sure it's Domoticz, because the same Pi with the same radio plugged into an Arduino in serial gateway mode produces lines like below for all sensor nodes, without even resetting anything:

                cat /dev/ttyUSB0
                0;255;3;0;9;241037 TSF:MSG:READ,20-20-0,s=7,c=1,t=0,pt=7,l=5,sg=0:24.4
                20;7;1;0;0;24.4
                0;255;3;0;9;241135 TSF:MSG:READ,20-20-0,s=8,c=1,t=1,pt=7,l=5,sg=0:46.1
                20;8;1;0;1;46.1
                0;255;3;0;9;241229 TSF:MSG:READ,20-20-0,s=255,c=3,t=0,pt=1,l=1,sg=0:93
                0;255;3;0;9;241236 TSF:MSG:ACK REQ
                
                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                13

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                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