I’m curious what the best practice would be for my scenario, and I’m using local server, but I think this scenario is the same for cloud:
I have one ESP that collects sensor data, and a separate ‘dummy’ ESP that is connected to a relay board to turn things on/off.
Is it smarter to use the same token for both esp’s- and for the sensor ESP, have something like “if temp > setValue, set virtualPin X to 1”
and then on my relay connected ESP with the same ID token, have some code like (I’m paraphrasing here):
BLYNK_WRITE(X) {
if X == 1, digitalWrite OUTPUT PIN HIGH
}
or is it better (speedwise) to have TWO Id tokens, and send digitalWrite values over bridge from my sensor ESP to my relay ESP?
Thanks!