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 186 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 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


                      11

                      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