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
  • 1
  • 3
  • 2
  • 7
  • 9
  • 14
  • 9

183
Online

9.8k
Users

10.3k
Topics

106.7k
Posts