Repeater node



  • I have read through the api and it's still a little bit unclear on the repeater mode. No sleeping.... Does it mean if i want to have a repeater node i need to modify the sketches and remove the sleep functions? For example in humidity node - completely remove the

    gw.sleep(SLEEP_TIME); //sleep a bit
    

    ?


  • Hardware Contributor

    Thats true! You cant sleep a repeater because it puts the radio to sleep.
    You need to keep it alive all the time so it doesnt miss any messages.

    The downside is that if you dont sleep the node you need a good Power supply,


  • Mod

    If you still want the delay you can use gw.wait instead. That will process incoming radio messages.


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.