Relay Actuator Sketch



  • I got hung up today working on a relay sketch. I believe the example in GIT is for a repeater node and not a relay.

    // Initialize library and add callback for incoming messages
    gw.begin(incomingMessage, AUTO, true);
    

    Is this really for a relaying node or is it for a sensor that controls a relay?

      // Initialize library and add callback for incoming messages
      gw.begin(incomingMessage, AUTO, false);

  • Hero Member

    I think it's both. you can have a relay node (say a light switch) act as a repeater (passing other nodes msg's on)


Log in to reply
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts