Cannot Display Virtual Pin Data

I can’t make the example program display data from Wemos D1 mini. I know I can communicate with the Wemos because I can turn the blue led on and off. Also, I inserted a line of code to see if the timer event is sending the data. Everything seems working except that I don’t get a value display on my smartphone.

Thanks in advance for your help.

Hardware: Wemos D1 mini Wi-Fi standalone and MiA1 iOS smartphone
Blynk Cloud Server
Blynk library installed from Library Manager, Shymanskyy V1.0.0-beta.3

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "auth";
char ssid[] = "ssid";
char pass[] = "password";

BlynkTimer timer;

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  timer.setInterval(1000L, sendUptime);
}

void sendUptime()
{
  Blynk.virtualWrite(V5, millis() / 1000);
  Serial.print("Sent "); Serial.println(millis() / 1000);
}

void loop()
{
  Blynk.run();
  timer.run(); 
}

serial-out

I just tested this on an iPhone 6, and it is working. However, the blynk app on the Xiaomi MiA1 is not showing the uptime seconds.

Does anyone know how to fix the MiA1 app problem?

Uninstall the Blynk beta library and install version 0.6.1 instead.

Pete.

Thanks for your help.

I deleted the old blynk library, installed version 0.6.1, recompiled, and finally, uploaded the sketch. But nothing changed. I’m sending the output pictures for both the iPhone and the Xiaomi.

Please note that in the iPhone app, the button widget shows the ON/OFF label at the center of the button, while in the Xiaomi app it is blank.

What app version are you running on the Xiaomi?

Pete.

It’s version 2.27.29. I just downloaded and installed it today.

@BlynkAndroidDev - one for you to take a look at?

Pete.

I found the culprit. Decreasing either the font size or the display size solves the problem.