Widgets not displaying the value

I created two widget of same type to display string.
I used this code

[Screenshot of code removed by moderator]

pin 27 is for one widget while 32 is for other. but on uploading the code i can only see hello on widget with string 32 but not on one with pin number 27. Why is this happening?
Also the pin number 27 widget is showing on IOS but not on android.

When you post code to the forum it needs to be text, with triple backtick at the beginning and end, not a screenshot.

Also, posting a couple of lines of code and no information about exactly how your datastreams or widgets are configured isn’t going to result in anything other than questions.

The “Issues and Errors” category is reserved for reporting bugs in the Blynk app, web portal or library. At this stage you haven’t provided enough information to allow this behaviour to be recreated, so it needs to be in the “Need help…” category.

I suggest you read these guidelines about how to correctly post a query to the forum…


#include <WiFi.h>
#include <BlynkSimpleEsp32.h>

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourSSID";
char pass[] = "YourPassword";

// Your Blynk authentication token.
char auth[] = "YourAuthToken";

void setup() {
  // Start the serial communication

  // Connect to WiFi and Blynk
  Blynk.begin(auth, ssid, pass);

  Blynk.virtualWrite(V27, "hello");
  Blynk.virtualWrite(V32, "hello");

void loop() {
  // Run Blynk

I am using this basic code in which pin 32 and pin 27 are labelled value widgets and used to display string.
On my android phone with blynk app version - 1.19.1[192] .
The widget with pin 27 don’t display anything while widget with pin 32 does show -‘hello’.
I checked on IOS version in that it was working fine.
I think there is some bug as it’s working in ios while not in android.

@Anmol Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:

Copy and paste these if you can’t find the correct symbol on your keyboard.

I also explained that…

yet you’ve changed the category from “Need help…” back to “Issues and Errors”. Please stop doing this!


I have edited the above post.
I changed it back to issues and errors because I think this is a bug.

Until you provide all the information necessary to recreate this issue then it can’t be treated as a bug.

I suggest you do as I suggested and provide full information about how both of your datastreams are configured.
You also need to provide the other required information, including the Blynk C++ library version.



I have attached 4 pictures. First 2 are about data streams configuration and other 2 are screenshots of IOS and android blynk mobile app.
Since I am having issues in blynk app I hope below information will be sufficient if not please let me know:
1.Phone model IQOO NEO6(android)
2.Android 14
3.Blynk app version - 1.19.1[192] .

I’d like to see this information for each of your two datastreams…

You keep telling us your mobile app version, but not your Blynk C++ library version. This information is available in your Arduino IDE or serial monitor Blynk splash screen.

I don’t understand the significance of the map screenshots. Can you explain where these come into the equation?


The code you’ve posted here seems to be different from the tiny snippet you posted in your first post.
The problem with this version of your code is that you are doing the Blynk.virtualWrites in void setup. Blynk doesn’t work the way you expect it to, and for this to work you need to wait until Blynk.connected() == true and the simplest way to do this is to use the BLYNK_CONNECTED() function if you just want to do a simple one-off write of a value upon connection.

  Blynk.virtualWrite(V27, "hello");
  Blynk.virtualWrite(V32, "hello");

Alternatively, you can use Blynk.Timer to call a function that performs the Blynk.virtualWrites.

The golden rule with Blynk is not to put Blynk.VirtualWrite() in your void setup or void loop.



map has no significance but the widget geographical entries. I screenshot is of IOS and other of Android

And what happens if you make the code changes!


I don’t understand what changes are you saying?
the code I send you is working for IOS but not for android

You’re clearly not reading what I post, and your posts aren’t making any sense to me, so I’ll let you figure it out for yourself.


Sir I am very beginner in this field and please don’t talk so rudely.
You asked me what happens if code changes.
I simply asked what kind of changes you are saying.

What was rude about my comment?


I am really sorry I wasn’t notified for the above posts

yes you are right this code I got from chatgpt I am not allowed to post the actual code but yes the Blynk.virtualWrites() is called under function something like this:

void loop() {
    // syncs app 
    commitBlynkChanges();                                         // collects data from sensors and commits (not syncs) them to Blynk
    BlynkEdgent.run();                                            // from committed BLYNK_WRITES and virtualWrites

    // sleep
    if(sleeper.shouldSleep(is_moisture_init)) sleep();           // puts the device to sleep when ready
void commitBlynkChanges() {

and sorry for the above post

It will flood the Blynk server.


I told you I can’t post exact code but I don’t think it’s issue in code as it is getting compiled and uploading successfully and I can see the results in IOS blynk app but not in android blynk app. I think it’s something related to blynk app.

Calling commitBlynkChanges(); from the void loop will flood the Blynk server. DO NOT DO THIS!

You’ve said that you are a beginner, so listen to the warnings from someone who knows what they are talking about.