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

  • 3
  • 6
  • 2
  • 1

14
Online

11.4k
Users

11.1k
Topics

112.7k
Posts