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. [SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller

[SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller

Scheduled Pinned Locked Moved Domoticz
23 Posts 5 Posters 208 Views 5 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.
  • E eiten

    Hello @Eme,

    Sending only works for an unacknowledge msg. Now the question is did the gateway not send the message or did the sensor not receive the message thus not sending an ACK. Yould you ckeck on the sensor side what the debug says?

    EmeE Offline
    EmeE Offline
    Eme
    wrote on last edited by
    #8

    Thanks @eiten I thought I already shared that. I just hooked Node 5 to the laptop to get its log...

     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    16 MCO:BGN:INIT REPEATER,CP=RNNRA---,FQ=16,REL=255,VER=2.3.2
    27 MCO:BGN:BFR
    28 TSM:INIT
    29 TSF:WUR:MS=0
    36 TSM:INIT:TSP OK
    38 TSM:INIT:STATID=5
    40 TSF:SID:OK,ID=5
    41 TSM:FPAR
    46 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    764 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    770 TSF:MSG:BC
    1880 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    1884 TSF:MSG:BC
    2053 !TSM:FPAR:NO REPLY
    2055 TSM:FPAR
    2059 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2810 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    2816 TSF:MSG:BC
    3924 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    3930 TSF:MSG:BC
    4066 !TSM:FPAR:NO REPLY
    4068 TSM:FPAR
    4072 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4845 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    4850 TSF:MSG:BC
    5971 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    5977 TSF:MSG:BC
    6079 !TSM:FPAR:NO REPLY
    6081 TSM:FPAR
    6085 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6887 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    6892 TSF:MSG:BC
    8008 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    8013 TSF:MSG:BC
    8092 !TSM:FPAR:FAIL
    8093 TSM:FAIL:CNT=1
    8095 TSM:FAIL:DIS
    8097 TSF:TDI:TSL
    18099 TSM:FAIL:RE-INIT
    18101 TSM:INIT
    18107 TSM:INIT:TSP OK
    18109 TSM:INIT:STATID=5
    18112 TSF:SID:OK,ID=5
    18114 TSM:FPAR
    18118 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20059 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    20064 TSF:MSG:BC
    20125 !TSM:FPAR:NO REPLY
    20127 TSM:FPAR
    20131 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22094 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    22099 TSF:MSG:BC
    22140 !TSM:FPAR:NO REPLY
    22142 TSM:FPAR
    22147 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24135 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    24140 TSF:MSG:BC
    24155 !TSM:FPAR:NO REPLY
    24157 TSM:FPAR
    24161 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26169 !TSM:FPAR:FAIL
    26170 TSM:FAIL:CNT=2
    26172 TSM:FAIL:DIS
    26174 TSF:TDI:TSL
    36177 TSM:FAIL:RE-INIT
    36179 TSM:INIT
    36186 TSM:INIT:TSP OK
    36188 TSM:INIT:STATID=5
    36191 TSF:SID:OK,ID=5
    36193 TSM:FPAR
    36197 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38204 !TSM:FPAR:NO REPLY
    38206 TSM:FPAR
    38210 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38228 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    38234 TSF:MSG:BC
    40218 !TSM:FPAR:NO REPLY
    40220 TSM:FPAR
    40224 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    40258 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    40263 TSF:MSG:BC
    42232 !TSM:FPAR:NO REPLY
    42234 TSM:FPAR
    42238 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42304 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    42309 TSF:MSG:BC
    44247 !TSM:FPAR:FAIL
    44249 TSM:FAIL:CNT=3
    44250 TSM:FAIL:DIS
    44252 TSF:TDI:TSL
    54255 TSM:FAIL:RE-INIT
    54257 TSM:INIT
    54263 TSM:INIT:TSP OK
    54265 TSM:INIT:STATID=5
    54268 TSF:SID:OK,ID=5
    54270 TSM:FPAR
    54275 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56282 !TSM:FPAR:NO REPLY
    56284 TSM:FPAR
    56288 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56393 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    56398 TSF:MSG:BC
    58296 !TSM:FPAR:NO REPLY
    58298 TSM:FPAR
    58302 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58434 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    58439 TSF:MSG:BC
    59362 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    59367 TSF:MSG:BC
    
    

    It still cant find the Gateway, and I see it reads Node 7 and 2 request for registration too.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eiten
      wrote on last edited by
      #9

      So the sensors do not receive Messages from the gateway, but not from other sensors. Is the nrf24 on the gateway a module with PA? Then maybe test different PA settings, this helped once on a setup here.
      BTW: Your picture is not visible: access denied

      EmeE 1 Reply Last reply
      0
      • E eiten

        So the sensors do not receive Messages from the gateway, but not from other sensors. Is the nrf24 on the gateway a module with PA? Then maybe test different PA settings, this helped once on a setup here.
        BTW: Your picture is not visible: access denied

        EmeE Offline
        EmeE Offline
        Eme
        wrote on last edited by Eme
        #10

        @eiten based on the suggestions "leaning towards" powering the rf24 from you and @mfalkvidd l fed the radio a regulated 3.3 with LD33V and l also brought the capacitator near the radio... yet I still cant register the nodes.

        Pls what does "TSF:CKU:OK:FCTRL" mean?

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eiten
          wrote on last edited by
          #11

          @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

          TSF:CKU:OK,FCTRL

          Uplink OK, flood control prevents pinging GW in too short intervals

          EmeE 1 Reply Last reply
          1
          • E eiten

            @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

            TSF:CKU:OK,FCTRL

            Uplink OK, flood control prevents pinging GW in too short intervals

            EmeE Offline
            EmeE Offline
            Eme
            wrote on last edited by
            #12

            @eiten Yes what does that mean in English: :blush:

            EmeE 1 Reply Last reply
            0
            • EmeE Eme

              @eiten Yes what does that mean in English: :blush:

              EmeE Offline
              EmeE Offline
              Eme
              wrote on last edited by
              #13

              @eiten Don't know if the Pi model matters. I used a Pi Model A with wifi.

              E 1 Reply Last reply
              0
              • E Offline
                E Offline
                eiten
                wrote on last edited by
                #14

                @Eme did'nt I write English :grinning:
                So, if you look at the source:

                bool transportCheckUplink(const bool force)
                {
                        if (!force && (hwMillis() - _transportSM.lastUplinkCheck) < MY_TRANSPORT_CHKUPL_INTERVAL_MS) {
                                TRANSPORT_DEBUG(PSTR("TSF:CKU:OK,FCTRL\n"));    // flood control
                                return true;
                        }
                

                The transport prevented an uplink check, since the last was done less then MY_TRANSPORT_CHKUPL_INTERVAL_MS milliseconds ago (defaults to 10 seconds)
                .

                1 Reply Last reply
                1
                • EmeE Eme

                  @eiten Don't know if the Pi model matters. I used a Pi Model A with wifi.

                  E Offline
                  E Offline
                  eiten
                  wrote on last edited by
                  #15

                  @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

                  Pi Model A with wifi

                  Sure? AFAIK A had no WiFi. Or do you use a USB dongle?

                  EmeE 1 Reply Last reply
                  0
                  • E eiten

                    @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

                    Pi Model A with wifi

                    Sure? AFAIK A had no WiFi. Or do you use a USB dongle?

                    EmeE Offline
                    EmeE Offline
                    Eme
                    wrote on last edited by Eme
                    #16

                    @eiten l think it's A+ it has Wifi and l run it "headless" with my old Nano Gateway connected to the 1 USB. But I'll looking forward to getting the Pi to work as both Gateway and Controller.

                    I want to use a prototype board and drop the long lines. Plus I'll also bring the cap closer to the nrf24 to see if that helps.

                    E 1 Reply Last reply
                    0
                    • EmeE Eme

                      @eiten l think it's A+ it has Wifi and l run it "headless" with my old Nano Gateway connected to the 1 USB. But I'll looking forward to getting the Pi to work as both Gateway and Controller.

                      I want to use a prototype board and drop the long lines. Plus I'll also bring the cap closer to the nrf24 to see if that helps.

                      E Offline
                      E Offline
                      eiten
                      wrote on last edited by
                      #17

                      @Eme i usually solder a tantalum directly to the pins on the top side of the board :blush:

                      1 Reply Last reply
                      0
                      • EmeE Offline
                        EmeE Offline
                        Eme
                        wrote on last edited by Eme
                        #18

                        I have good news. I used a small prototype board for everything. made sure no line was more than 6 inches long. I soldered (My soldering sucks!) the capacitator right next to the radio and Bahm! Domoticz picked up all powered devices. :grinning:

                        Lessons learnt, keep length of your wires short, nRf24 MUST have a decent capacitator to smoothen out power. Don't rely on GPIO pins to power it, use a regulator. Though help may come from all and sundry, its all up to you to check their suggestions... Thanks all for helping me.

                        I can finally retire my Nano-Serial Gateway! Wont be upgrading for a long time to come :sneezing_face:

                        20200825_090003.jpg

                        mfalkviddM zookazimZ 2 Replies Last reply
                        3
                        • EmeE Eme

                          I have good news. I used a small prototype board for everything. made sure no line was more than 6 inches long. I soldered (My soldering sucks!) the capacitator right next to the radio and Bahm! Domoticz picked up all powered devices. :grinning:

                          Lessons learnt, keep length of your wires short, nRf24 MUST have a decent capacitator to smoothen out power. Don't rely on GPIO pins to power it, use a regulator. Though help may come from all and sundry, its all up to you to check their suggestions... Thanks all for helping me.

                          I can finally retire my Nano-Serial Gateway! Wont be upgrading for a long time to come :sneezing_face:

                          20200825_090003.jpg

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

                          Great work @Eme! Thanks for reporting the result.

                          EmeE 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            Great work @Eme! Thanks for reporting the result.

                            EmeE Offline
                            EmeE Offline
                            Eme
                            wrote on last edited by
                            #20

                            @mfalkvidd so how do I change the title to reflect "SOLVED"?

                            YveauxY 1 Reply Last reply
                            0
                            • EmeE Eme

                              @mfalkvidd so how do I change the title to reflect "SOLVED"?

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

                              @Eme I did it for you, but next time choose to edit the top post, and change the topic

                              http://yveaux.blogspot.nl

                              1 Reply Last reply
                              0
                              • EmeE Eme

                                I have good news. I used a small prototype board for everything. made sure no line was more than 6 inches long. I soldered (My soldering sucks!) the capacitator right next to the radio and Bahm! Domoticz picked up all powered devices. :grinning:

                                Lessons learnt, keep length of your wires short, nRf24 MUST have a decent capacitator to smoothen out power. Don't rely on GPIO pins to power it, use a regulator. Though help may come from all and sundry, its all up to you to check their suggestions... Thanks all for helping me.

                                I can finally retire my Nano-Serial Gateway! Wont be upgrading for a long time to come :sneezing_face:

                                20200825_090003.jpg

                                zookazimZ Offline
                                zookazimZ Offline
                                zookazim
                                wrote on last edited by
                                #22

                                @Eme Thanks for letting us know how you solved the problem - helps us all to learn. I've recently upgraded my Raspberry Pi 1b to 4 and just got it working as an ethernet gateway with standard NRF24 radio. I'm curious about a few things as I've been trying to also use a PA LNA radio but without success;

                                • Any reason you have set up your gateway as serial and not ethernet?

                                • What did you mean by "Don't rely on GPIO pins to power it, use a regulator". By regulator did you mean the capacitor, did you use another regulator component - I can't see from your image

                                • Did you change the power setting of you configuration file MyConfig.h -lowering the power to "RF24_PA_LOW'?

                                EmeE 1 Reply Last reply
                                0
                                • zookazimZ zookazim

                                  @Eme Thanks for letting us know how you solved the problem - helps us all to learn. I've recently upgraded my Raspberry Pi 1b to 4 and just got it working as an ethernet gateway with standard NRF24 radio. I'm curious about a few things as I've been trying to also use a PA LNA radio but without success;

                                  • Any reason you have set up your gateway as serial and not ethernet?

                                  • What did you mean by "Don't rely on GPIO pins to power it, use a regulator". By regulator did you mean the capacitor, did you use another regulator component - I can't see from your image

                                  • Did you change the power setting of you configuration file MyConfig.h -lowering the power to "RF24_PA_LOW'?

                                  EmeE Offline
                                  EmeE Offline
                                  Eme
                                  wrote on last edited by
                                  #23

                                  @zookazim so sorry I haven't been on here in years. I actually left the IoT nodes for a while. I was running into so many issues. To answer your question... not sure if it's still required or even relevant.

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


                                  23

                                  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