Hi @Dmitriy, I’m wondering if there are plans to introduce a bridge1.setProperty command? Would be very handy for me at the moment.
Any Blynker’s out there in support of a bridge1.setProperty command?
Hello. We do not plan to extend the current bridge widget. Sorry. It will be replaced with new Rule Engine soon that doesn’t need coding on the hardware side.
Could you achieve this using a virtual pin?
// Device A
bridge1.virtualWrite(V5, "setProperty", "color", "#D3435C");
// Device B
BLYNK_WRITE(V5) {
String command = param[0].asString();
if (command == "setProperty") {
String property = param[1].asString();
String value = param[2].asString();
Blynk.setProperty(V5, property, value);
}
// ...
}
Note: I don’t use the Bridge Widget. Consequently, I didn’t test (or even compile) this.
Yes… It worked this way
100% correct @wickedbeernut. Thanks again for your advice, it’s very much appreciated.
You’re welcome. There are more elegant ways to achieve this, however, sometimes the most simple, transparent approach is the best.