Jun 5, 2022 Hi Here a sample program to control 8 outputs on arduino ESP32. The program use the MQTT protocol to exchange the data (really a single byte). By Node-red web interface the user set or reset the relay and the arduino send back the status as feedback. The program use Aerdes as MQTT broker. Before start fill the configuration parameters: WiFi name , password, broker name, password, IP and Port. I am new of Node-Red, and takes some time to figure out how to connect to Arduino, especially with the “real time” feedback. I post the full folder of the B4R project, including library copy. Attachments 8_relay_ESP.Nodered_example.zip 8_relay_ESP.Nodered_example.zip 154.2 KB · Views: 1,290 Click to expand...
Hi Here a sample program to control 8 outputs on arduino ESP32. The program use the MQTT protocol to exchange the data (really a single byte). By Node-red web interface the user set or reset the relay and the arduino send back the status as feedback. The program use Aerdes as MQTT broker. Before start fill the configuration parameters: WiFi name , password, broker name, password, IP and Port. I am new of Node-Red, and takes some time to figure out how to connect to Arduino, especially with the “real time” feedback. I post the full folder of the B4R project, including library copy.