WeMos blynk and RTC problem


Dear Sirs,
I have constantly a problem regarding RTC. (By the way all other widgets I tested are working fine).
First of all my environment: Windows 7 64Bit, Arduino version 1.6.9 (tested also with 1.6.7 , 1.6.8 same result), ESP8266 Community version 2.2.0, Blynk version 0.3.7, Android Blynk App version 1.12.2

My MCU is WeMos D1 mini.

As you can see in the attached picture, at Android Blynk App, I can see correct date and time updating just fine at the specific Value Display widgets. No matter how long I have waited, never, never saw RTC widget shows something different than the analog clock logo on it.

Is there something to do in order to have RTC widget shows time/date on it???

The testing sketch is the following but it is near the same like the demo RTC sketch that coming with the blynk library:

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <SPI.h>
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>
#include <TimeLib.h>
#include <WidgetRTC.h>

char ssid[] = "correct ssid";  //  your network SSID (name)
char pass[] = "correct pass";       // your network password

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "correct auth key";

SimpleTimer timer;

WidgetRTC rtc;


// Utility function for digital clock display: prints preceding colon and leading 0
void printDigits(int digits)
  if(digits < 10) {

// Digital clock display of the time
void clockDisplay()
  // You can call hour(), minute(), ... at any time
  // Please see Time library examples for details

  String currentTime = String(hour()) + ":" + minute() + ":" + second();
  String currentDate = String(day()) + " " + month() + " " + year();
  Serial.print("Current time: ");
  Serial.print(" ");

  // Send time to the App
  Blynk.virtualWrite(V1, currentTime);
  // Send date to the App
  Blynk.virtualWrite(V2, currentDate);

void setup()
  Serial.begin(9600); // See the connection status in Serial Monitor

  // We start by connecting to a WiFi network
  Serial.print("Connecting to ");
  WiFi.begin(ssid, pass);
  while (WiFi.status() != WL_CONNECTED) {
  Serial.println("WiFi connected");
  Serial.println("IP address: ");


  while (Blynk.connect() == false) {
    // Wait until connected

  // Begin synchronizing time

  // Other Time library functions can be used, like:
  //   timeStatus(), setSyncInterval(interval)...
  // Read more: http://www.pjrc.com/teensy/td_libs_Time.html

  // Display digital clock every 10 seconds
  timer.setInterval(10000L, clockDisplay);

void loop()

Please help me. I have blowed out my brain…

Thanks and Best Regards,
Mike Kranidis

RTC widget is used to enable the functionality. Similar to Notifications and Twitter.
It doesn’t show the time. It’s just an icon

Ohhh my GOD!
I have lost days trying to make it work… Somewhere I saw the RTC widget shows at its body time and date…

Ohhh my GOD…

Thanks Pavel for the explanation and please remove the picture (I can remember where I saw it, definitely at your site blynk.cc) from blynk instructions or side

I don’t know which image you are referring to…

@Pavel I feel like this is a great example of getting a fresh perspective on something:

I think maybe @mikekgr maybe referring to the above. I initially thought, “Why in the world would anyone thing the time would be shown there?” That then led me to, “You know, I see how someone could think that!” which led to, “You know, that’s not a bad idea!”

Thoughts? (At least on the first two things!)

There is a big difference in brainstructure between end users, designers and engineers. They almost never match … that’s what I learned over the years. There are many examples of things going wrong because of this, see this example:


Dear Pavel,
In this case and because RTC widget does shows nothing, please consider to make it as small as a LED widget to save space in blynk app.

Thanks and Best Regards,
Mike Kranidis

This is VERY true…

Unless you are already using all 4 tabs you can hide the widgets you don’t like the look of on a spare tab.

1 Like

Dear Costas
I found tabs less convenient to my taste, mainly because there is not an easy sane way to drag or copy widgets from a tab to another…
That;s why I asked to conserved space using smaller RTC widget. Either way the icon does nothing…

Thanks and Best Regards,
Mike Kranidis

The icon shows you are you using the RTC widget.

Widgets come in ‘standard’ sizes.