Is it possible to send comands from device A to device B and C?
I have this code that works good with the first device, but do nothing with the second.
Both devices uses V50 to turn off the light.
PS: I use a TAG to send the same command at V50 to all my devices, and it works. But then I added that TAG as a Widget in Android home screen, and its not working. Apparently this doesnt work with TAGS, when I use a simple button as a Widget it works. This is why Im trying to use bridges.
• ESP8266
• Smartphone Android
• Blynk server
• Lsst version of everything
WidgetBridge bridge1(V41);
WidgetBridge bridge2(V42);
BLYNK_CONNECTED()
{
bridge1.setAuthToken("c66da95e5d4647c985b75608c1*****");
bridge2.setAuthToken("c3460ae1237bc48afbd305fea6******");
}
void apagar()
{
bridge1.virtualWrite(V50, 1); //Works OK
delay(100);
bridge1.virtualWrite(V50, 0);
bridge2.virtualWrite(V50, 1); //Not work
delay(100);
bridge2.virtualWrite(V50, 0);
}