Communication between two NodeMCUs (ESP8266)

I was trying to communicate between two NodeMCUs via the Blynk console. My aim is for one NodeMCU to read data from a sensor(was using the accelerometer MPU6050), and send the same data to the other NodeMCU using Blynk.
I tried both bridging and keeping the authorization token the same for both, but those did not work at all. Is there any other way to send data?

Hey there,
Are you using blynk legacy or IOT ?

If you are using Blynk iot

1 Like

Hi, I am using Blynk IoT.
As I understand, this code is for the receiving end. What should I push to the sending node so that my data gets through?
Sorry, Iā€™m kind of a beginner at this :sweat_smile:

The code examples in the linked topic are for sending data to the Blynk server.

Pete.

Oh okay. How do I then receive data on the other node?
I would be needing to switch a pin HIGH on the receiving node, depending on the value that gets sent.

When the data is written to the server it will trigger the BLYNK_WRITE(vPin) function on the receiving device.

Pete.

1 Like