Read Value from Blynk Server or App

have a question, but it is for the “old”, but actually this time working legacy Blynk.
I have 1 Main ESPBoard which is connected to all Sensors etc…
This ESP has the Blynk Lib and it works fine with the old App on the mobile phone.

But I think i was the same Theme for the new Blynk Version…

Now I want to have a second ESP which only shows the values on a SPI TFT.
So I make the same Blynk code and Token , only for read the Values and show on a TFT.
Not more.

Now I See, that values from Slider etc… was showed and actualised and the second ESP board.
But e.g. Sensor Values are don´t showed and actualised.

I see , Slider was Outputs and The Sensor Value are Inputs in the App.

If i do this , example with a DHT22 Sensor.:

    DHTtemp = param.asFloat();

    DHTrh = param.asFloat();

Then then value of the DHT do not come to the second ESP board.
But if I make make for testing V5 and V6 as slider in the APP it works, then the Slider values comes
on the second ESP board

a) if V5 or V6 was a slider in APP, the values come into the second ESP and TFT , it works
b) if V5 or V5 was a Sensor in APP, which was written from the first ESP, the value do not comes , here :alltimes 0.00

I tried with Blynk.READ, but then comes an error about “param”.

Any Idea from my helping friends in the forum :grinning:

Hey there,
first, please edit your post and add triple backticks at the beginning and the end of your sketch, triple backticks look like this ```

Second, I highly recommend you to use nextion display

Post your sketch please

Thanks for the ``` , i tried alltimes with only 2
For the Sketch and my Questions , I think this parts is ok.
Because it works with Slider , I think i must take “any” other command for the needed function

It’s much better to post your sketch or else it will be so hard for anybody to help you.

Each device should have its own token, and you should use Bridge code to send the data from the original device to the auth token of the new device.
When the original device sends the data to the new device (via a virtial pin) it will trigger the corresponding BLYNK_WRITE(vPin) function on the new device.
The param.asInt() or param.asFloat() function can then be used to capture these values that have been sent from the old device and you can display them on your screen.

There are plenty of examples of how to use Bridge with Blynk Legacy, just do a quick search. The tutorials from @Gunner are very useful.


Dear Pete,
perfect… exactly the keywords from you , what I looking and searching for.
Thanks a lot :pray: :+1:.

Best regards

1 Like

…and then Pete.
I follow your recommandation and swap to Blynk IOT.
It is a little bit different, but it works fine.

What I must say is, that the old was better, by buying the Widgets.
Now i have only the few and no change to get single needed.
If I understand it right, the next step is a monthly abo for getting more Widgets.
But if I only need 1 or 2 single one , I have nomore chance.
This is no so fine and good.

For example. I use in old Version the Vertical Slider.
Now , no chance to buy it as Single Widget, I must do a monthly ABO.
This is very very not user friendly. :grimacing:

The solution by buying Widgets by “Energy” was more little user friendly.
And I think there were thousends of "little " Users.


1 Like