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 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 19 days ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 27 days ago • bocalexandru 26 days ago