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)
2 out of 2
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Ghost Child
Troubleshooting • 20 days ago • FcNanoLed 16 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58