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. General Discussion
  3. Repeater

Repeater

Scheduled Pinned Locked Moved General Discussion
8 Posts 4 Posters 3.1k 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.
  • D Offline
    D Offline
    Dragon
    wrote on last edited by
    #1

    How do i do a repeater node? I cant found it in the code anymore?

    mfalkviddM 1 Reply Last reply
    0
    • D Dragon

      How do i do a repeater node? I cant found it in the code anymore?

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

      @Dragon the instructions on https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes should be all you need - have you seen it?

      D 1 Reply Last reply
      1
      • mfalkviddM mfalkvidd

        @Dragon the instructions on https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes should be all you need - have you seen it?

        D Offline
        D Offline
        Dragon
        wrote on last edited by
        #3

        @mfalkvidd thanks i missed that. So i only need to write this in the code #define MY_REPEATER_FEATURE

        mfalkviddM 1 Reply Last reply
        0
        • D Dragon

          @mfalkvidd thanks i missed that. So i only need to write this in the code #define MY_REPEATER_FEATURE

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

          @Dragon yes, and no sleeping because a sleeping node can not receive messages.

          D 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @Dragon yes, and no sleeping because a sleeping node can not receive messages.

            D Offline
            D Offline
            Dragon
            wrote on last edited by
            #5

            @mfalkvidd Thanks

            1 Reply Last reply
            2
            • ร Offline
              ร Offline
              รอเรือ
              wrote on last edited by
              #6

              Then I guess the following code will do just fine.

              #define MY_DEBUG 
              #define NODE_ID 7 // Set node ID here
              #define SKETCH_NAME "Repeater Node"
              #define SKETCH_VERSION "1.1"
              
              	
              // Enable and select radio type attached
              #define MY_RADIO_NRF24
              //#define MY_RADIO_RFM69
              
              // Enabled repeater feature for this node
              #define MY_REPEATER_FEATURE
              
              #include <SPI.h>
              #include <MySensors.h>
              
              void setup() {
                
              }
              
              void presentation()  
              {  
                //Send the sensor node sketch version information to the gateway
                sendSketchInfo(SKETCH_NAME, SKETCH_VERSION);
              }
              
              void loop() 
              {
              }
              M 1 Reply Last reply
              0
              • ร รอเรือ

                Then I guess the following code will do just fine.

                #define MY_DEBUG 
                #define NODE_ID 7 // Set node ID here
                #define SKETCH_NAME "Repeater Node"
                #define SKETCH_VERSION "1.1"
                
                	
                // Enable and select radio type attached
                #define MY_RADIO_NRF24
                //#define MY_RADIO_RFM69
                
                // Enabled repeater feature for this node
                #define MY_REPEATER_FEATURE
                
                #include <SPI.h>
                #include <MySensors.h>
                
                void setup() {
                  
                }
                
                void presentation()  
                {  
                  //Send the sensor node sketch version information to the gateway
                  sendSketchInfo(SKETCH_NAME, SKETCH_VERSION);
                }
                
                void loop() 
                {
                }
                M Offline
                M Offline
                manutremo
                wrote on last edited by
                #7

                @รอเรือ I think some things are missing in that code. This is the one I'm using.

                #define MY_DEBUG 
                #define MY_NODE_ID 2 // Set node ID here, or remove for Auto
                #define SKETCH_NAME "Repeater Node"
                #define SKETCH_VERSION "2.1.1"
                #define CHILD_ID 1
                
                // Enable and select radio type attached
                #define MY_RADIO_NRF24
                //Set other radio options here if needed
                //#define MY_RADIO_RFM69
                
                // Enabled repeater feature for this node
                #define MY_REPEATER_FEATURE
                
                #include <SPI.h>
                #include <MySensors.h>
                
                void presentation()  
                {  
                  //Send the sensor node sketch version information to the gateway
                  sendSketchInfo(SKETCH_NAME, SKETCH_VERSION);
                  present(CHILD_ID, S_ARDUINO_REPEATER_NODE);
                }
                
                void loop() 
                {
                }
                
                ร 1 Reply Last reply
                0
                • M manutremo

                  @รอเรือ I think some things are missing in that code. This is the one I'm using.

                  #define MY_DEBUG 
                  #define MY_NODE_ID 2 // Set node ID here, or remove for Auto
                  #define SKETCH_NAME "Repeater Node"
                  #define SKETCH_VERSION "2.1.1"
                  #define CHILD_ID 1
                  
                  // Enable and select radio type attached
                  #define MY_RADIO_NRF24
                  //Set other radio options here if needed
                  //#define MY_RADIO_RFM69
                  
                  // Enabled repeater feature for this node
                  #define MY_REPEATER_FEATURE
                  
                  #include <SPI.h>
                  #include <MySensors.h>
                  
                  void presentation()  
                  {  
                    //Send the sensor node sketch version information to the gateway
                    sendSketchInfo(SKETCH_NAME, SKETCH_VERSION);
                    present(CHILD_ID, S_ARDUINO_REPEATER_NODE);
                  }
                  
                  void loop() 
                  {
                  }
                  
                  ร Offline
                  ร Offline
                  รอเรือ
                  wrote on last edited by
                  #8

                  thank You @manutremo :blush:

                  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