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);
-
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)