Repeater Node not working, pls help debug...



  • Hi,

    unfortunately I can´t get my first repeater node to work. Actually it worked a few times, now I only get these messages and it is not communicating correctly with my GW:

    Log Parser Link

    This is my repeater node code:

    // Repeater Node1, Repeater Nodes starten bei ID 50
    //#define MY_DEBUG
    #define MY_RADIO_NRF24 //MySensor Library auf NRF24 Funkmodul einstellen, muss vor MySensor.h Initialisierung geschehen
    // Define Node ID
    #define MY_NODE_ID 50
    #define MY_PARENT_NODE_ID 0
    #define MY_PARENT_NODE_IS_STATIC
    #define MY_REPEATER_FEATURE
    
    #include <MySensors.h>
    #include <SPI.h>
    #include "Timer.h"
    
    
    //Variables
    Timer t;
    
    //Messages
    
    //Presentation; present sensors to gateway!
    void presentation(){
      // Send the sketch version information to the gateway and Controller
      sendSketchInfo("Repeater Node 1", "1.0");
      wait(500);
    }
    
    //Setup
    void setup()  
    {  
      Serial.begin(9600);
      sendImAlive();
      t.every(60000, sendImAlive);
    }
    
    //Starte den Loop
    void loop() 
    {
      Serial.println("Sending Update...");
      t.update();
      Serial.println("...Done!");
    } 
    
    void sendImAlive() {
        sendHeartbeat();
    }
    
    

    I hope you can help me! Thanks in advance!!!


  • Mod

    NACK usually it is a range issue if the radio module is working correctly. Try putting repeater node closer to the gateway


 

459
Online

7.9k
Users

8.8k
Topics

93.8k
Posts