Random Device Offline (Clean Loop)

Pete I really do appriciate the feedback and I will try to make the suggested improvements.
However I am still puzzled to why the board disconnects from blynks servers even when using the blank example with only the credentials?!

Turn on debugging for that sketch, and post the results and the sketch.

Pete.

1 Like

I switched to a ESP32-WROOM for testing. Will update if this board also crashes with the following code, which the D1 mini did.

/*************************************************************
  Blynk is a platform with iOS and Android apps to control
  ESP32, Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build mobile and web interfaces for any
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: https://www.blynk.io
    Sketch generator:           https://examples.blynk.cc
    Blynk community:            https://community.blynk.cc
    Follow us:                  https://www.fb.com/blynkapp
                                https://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

 *************************************************************
  This example runs directly on ESP32 chip.

  NOTE: This requires ESP32 support package:
    https://github.com/espressif/arduino-esp32

  Please be sure to select the right ESP32 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial

/* Fill in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID ""
#define BLYNK_TEMPLATE_NAME "TEST"
#define BLYNK_AUTH_TOKEN ""


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

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

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
}

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

Well there was zero difference and the boards still go offline and continously attempt to connect to blynk servers. I’m loosing my mind here!
Can we both agree that it isnt the code thats causing this and start looking at the probability that its something to do with Blynks servers in my region?!

You seem to have rejected my suggestion to turn on debugging for the simple sketch, so pretty-much impossible to draw any conclusions.

However, if you see how the forum blows-up when there’s an issue with one of the regional servers then you can be 100% sure that your issue isn’t server related.
Most likely something to do with either your LAN or WAN.

Pete.

There appears to be some issues with th sgp1 server

It is apparantly solved but I still am experiencing disconnect issues as well!

At this stage do you have an example code that will automatically restart the board when it looses connection with Blynk server?

if(!Blynk.connected())
{
    ESP.restart();
}

Pete.

1 Like

Thank you.
Would decreasing the Heartbeat improve anything? How may I try this?

Decreasing the heartbeat time would make the device more susceptible to disconnections.

Pete.

I see, would increasing it do the opposite?

I’ve not seen any serial output from you with Heartbeat timeout messages, so I think you’re chasing the wrong issue there.

I’m going to stop responding to this topic until you’ve taken my earlier advice and uploaded a simple (non-Edgent) sketch with Blynk debugging enabled, then posted the serial output which relates to the time around the device going offline.

Pete.

I already tried running blynk debug on the above code BUT I will do it again tonight and will upload the code and any Serial monitor output as soon as I have the data

Well it didnt take long for it to crash. Here are the results…
This time the board automatically connected. I am still monitoring the SM and will update if I get any other results.

Also I am aware my token is still displayed on the SM output, but this is a test board so I am not worried :slight_smile:

/*************************************************************
  Blynk is a platform with iOS and Android apps to control
  ESP32, Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build mobile and web interfaces for any
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: https://www.blynk.io
    Sketch generator:           https://examples.blynk.cc
    Blynk community:            https://community.blynk.cc
    Follow us:                  https://www.fb.com/blynkapp
                                https://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

 *************************************************************
  This example runs directly on ESP8266 chip.

  NOTE: This requires ESP8266 support package:
    https://github.com/esp8266/Arduino

  Please be sure to select the right ESP8266 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG

/* Fill in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID "TMPL669iSps_V"
#define BLYNK_TEMPLATE_NAME "TEST"
#define BLYNK_AUTH_TOKEN "x"



#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

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

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
}

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

14:05:42.571 -> 0⸮~?⸮4⸮Ҷ⸮⸮OCE⸮⸮a_SAM4⸮,C|X[75] Connecting to xxxxxx
14:05:54.792 -> [10404] Connected to WiFi
14:05:54.825 -> [10404] IP: 192.168.8.147
14:05:54.858 -> [10404] 
14:05:54.858 ->     ___  __          __
14:05:54.894 ->    / _ )/ /_ _____  / /__
14:05:54.927 ->   / _  / / // / _ \/  '_/
14:05:54.927 ->  /____/_/\_, /_//_/_/\_\
14:05:54.961 ->         /___/ v1.2.0 on ESP8266
14:05:54.994 -> 
14:05:54.994 ->  #StandWithUkraine    https://bit.ly/swua
14:05:55.060 -> 
14:05:55.060 -> 
14:05:55.060 -> [10533] Connecting to blynk.cloud:80
14:05:55.095 -> [10694] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:05:55.161 -> [10772] >[00|00|01|00|C8]
14:05:55.195 -> [10772] Ready (ping: 78ms).
14:05:55.229 -> [10772] Free RAM: 48984
14:05:55.229 -> [10839] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:06:09.448 -> [25071] Connecting to blynk.cloud:80
14:06:10.022 -> [25622] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:06:10.089 -> [25719] >[00|00|01|00|C8]
14:06:10.124 -> [25719] Ready (ping: 96ms).
14:06:10.157 -> [25719] Free RAM: 48480
14:06:10.191 -> [25786] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:06:10.394 -> [25958] >[00|00|02|00|C8]
14:06:55.245 -> [70871] <[06|00|03|00|00]
14:06:56.090 -> [71691] >[00|00|03|00|C8]
14:07:40.258 -> [115872] <[06|00|04|00|00]
14:07:43.047 -> [118677] >[00|00|04|00|C8]
14:08:25.253 -> [160873] <[06|00|05|00|00]
14:08:25.597 -> [161212] >[00|00|05|00|C8]
14:09:10.262 -> [205874] <[06|00|06|00|00]
14:09:13.293 -> [208911] >[00|00|06|00|C8]
14:09:55.251 -> [250875] <[06|00|07|00|00]
14:09:55.353 -> [250965] >[00|00|07|00|C8]
14:10:40.247 -> [295876] <[06|00|08|00|00]
14:10:41.778 -> [297388] >[00|00|08|00|C8]
14:11:25.255 -> [340877] <[06|00|09|00|00]
14:11:25.475 -> [341082] >[00|00|09|00|C8]
14:12:10.262 -> [385878] <[06|00|0A|00|00]
14:12:10.785 -> [386416] >[00|00|0A|00|C8]
14:12:55.253 -> [430879] <[06|00|0B|00|00]
14:12:55.725 -> [431336] >[00|00|0B|00|C8]
14:13:40.265 -> [475880] <[06|00|0C|00|00]
14:13:42.108 -> [477731] >[00|00|0C|00|C8]
14:14:25.278 -> [520881] <[06|00|0D|00|00]
14:14:25.482 -> [521086] >[00|00|0D|00|C8]
14:15:10.257 -> [565882] <[06|00|0E|00|00]
14:15:10.359 -> [565986] >[00|00|0E|00|C8]
14:15:55.270 -> [610884] <[06|00|0F|00|00]
14:15:55.337 -> [610967] >[00|00|0F|00|C8]
14:16:40.261 -> [655885] <[06|00|10|00|00]
14:16:46.208 -> [661815] >[00|00|10|00|C8]
14:17:25.266 -> [700886] <[06|00|11|00|00]
14:17:26.422 -> [702038] >[00|00|11|00|C8]
14:18:10.277 -> [745887] <[06|00|12|00|00]
14:18:10.381 -> [746016] >[00|00|12|00|C8]
14:18:55.277 -> [790888] <[06|00|13|00|00]
14:18:55.523 -> [791147] >[00|00|13|00|C8]
14:19:40.271 -> [835890] <[06|00|14|00|00]
14:19:40.490 -> [836113] >[00|00|14|00|C8]
14:20:25.259 -> [880891] <[06|00|15|00|00]
14:20:26.078 -> [881695] >[00|00|15|00|C8]
14:21:10.278 -> [925892] <[06|00|16|00|00]
14:21:10.387 -> [926001] >[00|00|16|00|C8]
14:22:11.904 -> [970893] <[06|00|17|00|00]
14:22:11.904 -> [971164] >[00|00|17|00|C8]
14:22:51.969 -> [1015894] <[06|00|18|00|00]
14:22:51.969 -> [1023964] Connecting to blynk.cloud:80
14:22:51.969 -> [1025116] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:22:51.969 -> [1025236] >[00|00|01|00|C8]
14:22:51.969 -> [1025236] Ready (ping: 119ms).
14:22:51.969 -> [1025236] Free RAM: 48480
14:22:51.969 -> [1025303] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:22:51.969 -> [1025481] >[00|00|02|00|C8]
14:23:52.066 -> [1070397] <[06|00|03|00|00]
14:23:52.066 -> [1070914] >[00|00|03|00|C8]
14:24:32.131 -> [1115399] <[06|00|04|00|00]
14:24:32.131 -> [1115796] >[00|00|04|00|C8]
14:25:12.197 -> [1160401] <[06|00|05|00|00]
14:25:12.197 -> [1163280] >[00|00|05|00|C8]
14:25:52.262 -> [1205402] <[06|00|06|00|00]
14:25:52.262 -> [1205481] >[00|00|06|00|C8]
14:26:52.359 -> [1250404] <[06|00|07|00|00]
14:26:52.359 -> [1250471] >[00|00|07|00|C8]
14:27:32.424 -> [1295405] <[06|00|08|00|00]
14:27:32.424 -> [1295501] >[00|00|08|00|C8]
14:28:12.490 -> [1340407] <[06|00|09|00|00]
14:28:12.490 -> [1340512] >[00|00|09|00|C8]
14:28:52.555 -> [1385408] <[06|00|0A|00|00]
14:28:52.555 -> [1386115] >[00|00|0A|00|C8]
14:29:51.191 -> [1430410] <[06|00|0B|00|00]
14:29:51.191 -> [1430561] >[00|00|0B|00|C8]
14:30:19.807 -> [1475411] <[06|00|0C|00|00]
14:30:20.388 -> [1476013] >[00|00|0C|00|C8]
14:31:04.810 -> [1520413] <[06|00|0D|00|00]
14:31:10.533 -> [1526144] >[00|00|0D|00|C8]

Funny how right when I send the above response, the board is now doing this.
I am seeing a lot of Login timeout events and attemps to connect to Blynk.cloud:80

14:34:36.803 -> [1724422] <[06|00|15|00|00]
14:34:36.803 -> [1724614] Heartbeat timeout: 1724614, 1661613, 1724422
14:34:36.803 -> [1729423] Connecting to blynk.cloud:80
14:34:46.835 -> [1738130] Connecting to blynk.cloud:8080
14:34:56.868 -> [1744132] Connecting to blynk.cloud:80
14:34:56.868 -> [1750134] Connecting to blynk.cloud:8080
14:35:06.901 -> [1754023] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:35:06.901 -> [1757416] >[00|00|01|00|C8]
14:35:06.901 -> [1757416] Ready (ping: 3392ms).
14:35:06.901 -> [1757416] Free RAM: 46944
14:35:06.901 -> [1757483] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:35:26.967 -> [1774727] Connecting to blynk.cloud:80
14:35:26.967 -> [1775647] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:35:26.967 -> [1781649] Login timeout
14:35:26.967 -> [1781950] Connecting to blynk.cloud:80
14:35:37.000 -> [1787952] Connecting to blynk.cloud:8080
14:35:37.000 -> [1788717] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:35:47.032 -> [1794719] Login timeout
14:35:47.032 -> [1795020] Connecting to blynk.cloud:80
14:35:47.032 -> [1801022] Connecting to blynk.cloud:8080
14:35:57.065 -> [1807025] Connecting to blynk.cloud:80
14:36:07.098 -> [1813027] Connecting to blynk.cloud:8080
14:36:07.098 -> [1813771] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:36:07.098 -> [1814355] >[00|00|01|00|C8]
14:36:07.098 -> [1814355] Ready (ping: 583ms).
14:36:07.098 -> [1814355] Free RAM: 45944
14:36:07.098 -> [1814422] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:36:17.131 -> [1828163] Connecting to blynk.cloud:80
14:36:17.131 -> [1831174] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:36:27.164 -> [1835023] >[00|00|01|00|C8]
14:36:27.164 -> [1835023] Ready (ping: 3849ms).
14:36:27.164 -> [1835023] Free RAM: 45944
14:36:27.164 -> [1835090] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:36:37.197 -> [1848845] Connecting to blynk.cloud:80
14:36:37.197 -> [1849382] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:36:47.230 -> [1855383] Login timeout
14:36:47.230 -> [1855684] Connecting to blynk.cloud:80
14:36:47.230 -> [1859095] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:36:57.263 -> [1865097] Login timeout
14:36:57.263 -> [1865398] Connecting to blynk.cloud:80
14:36:57.263 -> [1871400] Connecting to blynk.cloud:8080
14:37:07.295 -> [1873781] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:37:07.295 -> [1879783] Login timeout
14:37:07.295 -> [1880084] Connecting to blynk.cloud:80
14:37:17.328 -> [1886085] Connecting to blynk.cloud:8080
14:37:17.328 -> [1892087] Connecting to blynk.cloud:80
14:37:27.361 -> [1895973] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:37:27.361 -> [1901974] Login timeout
14:37:37.393 -> [1902275] Connecting to blynk.cloud:80
14:37:37.393 -> [1908277] Connecting to blynk.cloud:8080
14:37:37.393 -> [1908564] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:37:50.185 -> [1914565] Login timeout
14:37:50.185 -> [1914866] Connecting to blynk.cloud:80
14:37:50.185 -> [1920868] Connecting to blynk.cloud:8080
14:38:10.203 -> [1926870] Connecting to blynk.cloud:80
14:38:10.203 -> [1927792] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:38:10.203 -> [1928729] >[00|00|01|00|C8]
14:38:10.203 -> [1928729] Ready (ping: 937ms).
14:38:10.203 -> [1928730] Free RAM: 44944
14:38:10.203 -> [1928796] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:38:10.203 -> [1943458] Connecting to blynk.cloud:80
14:38:15.738 -> [1946461] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:38:15.765 -> [1949329] >[00|00|01|00|C8]
14:38:15.765 -> [1949329] Ready (ping: 2867ms).
14:38:15.765 -> [1949329] Free RAM: 44944
14:38:15.765 -> [1949396] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:38:28.568 -> [1964199] Connecting to blynk.cloud:80
14:38:34.605 -> [1970201] Connecting to blynk.cloud:8080
14:38:40.588 -> [1976203] Connecting to blynk.cloud:80
14:38:46.589 -> [1982204] Connecting to blynk.cloud:8080
14:38:52.584 -> [1988206] Connecting to blynk.cloud:80
14:38:58.229 -> [1993797] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:39:04.168 -> [1999798] Login timeout
14:39:04.472 -> [2000099] Connecting to blynk.cloud:80
14:39:05.227 -> [2000828] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
14:39:07.163 -> [2002773] >[00|00|01|00|C8]
14:39:07.196 -> [2002774] Ready (ping: 1945ms).
14:39:07.229 -> [2002774] Free RAM: 44944
14:39:07.263 -> [2002841] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]14:01:16[00]tmpl[00]TMPL669iSps_V[00]
14:39:07.984 -> [2003583] >[00|00|02|00|C8]
14:39:52.314 -> [2047935] <[06|00|03|00|00]
14:39:54.067 -> [2049664] >[00|00|03|00|C8]

I am fustrated at this point because clearly it isnt anything to do with my code. When using an emtpy Blynk code,straight from the example folder with just the auth details, the same thing happens!
I’ve tried 2 different routers from 2 different ISPs, using non-edgent code and port 80 code, like above, No difference!

Is there anyway to bring this to Blynk’s attention that there might be some server issue which seems to be only affecting me and/or where I live?!
This all started when Blynk made changes to the Max number of Virtual pins for Free accounts, which I am. I tried making a new account and tried the samething, still crashes/goes offline!

Edit: As I am typing this, the board is continously Login timeout and then connects to blynk.server and then stays connected and then after sometime disconnects and repeats above.

1 Like

What results do you see if you change this:

to this…

#include <BlynkSimpleEsp8266_SSL.h>

Pete.

Flashed…
Will update asap

/*************************************************************
  Blynk is a platform with iOS and Android apps to control
  ESP32, Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build mobile and web interfaces for any
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: https://www.blynk.io
    Sketch generator:           https://examples.blynk.cc
    Blynk community:            https://community.blynk.cc
    Follow us:                  https://www.fb.com/blynkapp
                                https://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

 *************************************************************
  This example runs directly on ESP8266 chip.

  NOTE: This requires ESP8266 support package:
    https://github.com/esp8266/Arduino

  Please be sure to select the right ESP8266 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG

/* Fill in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID "TMPL669iSps_V"
#define BLYNK_TEMPLATE_NAME "TEST"
#define BLYNK_AUTH_TOKEN "x"



#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>

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

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
}

void loop()
{
  Blynk.run();
}
15:38:35.433 ->     ___  __          __
15:38:35.466 ->    / _ )/ /_ _____  / /__
15:38:35.503 ->   / _  / / // / _ \/  '_/
15:38:35.537 ->  /____/_/\_, /_//_/_/\_\
15:38:35.570 ->         /___/ v1.2.0 on ESP8266
15:38:35.604 -> 
15:38:35.604 ->  #StandWithUkraine    https://bit.ly/swua
15:38:35.638 -> 
15:38:35.638 -> 
15:38:36.123 -> [5349] Current time: Tue Jun  6 10:08:36 2023
15:38:36.156 -> [5349] Connecting to blynk.cloud:443
15:38:38.460 -> [7687] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
15:38:38.595 -> [7827] >[00|00|01|00|C8]
15:38:38.628 -> [7827] Ready (ping: 2ms).
15:38:38.628 -> [7827] Free RAM: 30400
15:38:38.662 -> [7894] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]15:37:23[00]tmpl[00]TMPL669iSps_V[00]
15:38:39.510 -> [8749] >[00|00|02|00|C8]
15:39:24.048 -> [53276] <[06|00|03|00|00]
15:39:30.042 -> [59277] <[06|00|04|00|00]
15:39:36.048 -> [65278] <[06|00|05|00|00]
15:39:42.030 -> [71279] <[06|00|06|00|00]
15:39:42.504 -> [71750] Heartbeat timeout: 71750, 8749, 71279
15:39:47.060 -> [76280] Current time: Tue Jun  6 10:09:47 2023
15:39:47.093 -> [76281] Connecting to blynk.cloud:443
15:40:02.050 -> [91283] Connection failed
15:40:02.084 -> [91288] Current time: Tue Jun  6 10:10:02 2023
15:40:02.118 -> [91288] Connecting to blynk.cloud:443
15:40:17.058 -> [106291] Connection failed
15:40:17.092 -> [106292] Current time: Tue Jun  6 10:10:17 2023
15:40:17.126 -> [106292] Connecting to blynk.cloud:443
15:40:32.050 -> [121294] Connection failed
15:40:32.083 -> [121296] Current time: Tue Jun  6 10:10:32 2023
15:40:32.150 -> [121296] Connecting to blynk.cloud:443
15:40:47.046 -> [136298] Connection failed
15:40:47.079 -> [136302] Current time: Tue Jun  6 10:10:47 2023
15:40:47.147 -> [136303] Connecting to blynk.cloud:443
15:41:02.055 -> [151305] Connection failed
15:41:02.088 -> [151307] Current time: Tue Jun  6 10:11:02 2023
15:41:02.155 -> [151307] Connecting to blynk.cloud:443
15:41:17.057 -> [166309] Connection failed
15:41:17.090 -> [166310] Current time: Tue Jun  6 10:11:17 2023
15:41:17.156 -> [166310] Connecting to blynk.cloud:443
15:41:32.091 -> [181313] Connection failed
15:41:32.091 -> [181314] Current time: Tue Jun  6 10:11:32 2023
15:41:32.158 -> [181314] Connecting to blynk.cloud:443
15:41:47.082 -> [196316] Connection failed
15:41:47.116 -> [196321] Current time: Tue Jun  6 10:11:47 2023
15:41:47.149 -> [196321] Connecting to blynk.cloud:443
15:42:02.083 -> [211323] Connection failed
15:42:02.117 -> [211325] Current time: Tue Jun  6 10:12:02 2023
15:42:02.184 -> [211325] Connecting to blynk.cloud:443
15:42:17.089 -> [226327] Connection failed
15:42:17.122 -> [226331] Current time: Tue Jun  6 10:12:17 2023
15:42:17.156 -> [226331] Connecting to blynk.cloud:443
15:42:32.083 -> [241334] Connection failed
15:42:32.116 -> [241335] Current time: Tue Jun  6 10:12:32 2023
15:42:32.183 -> [241335] Connecting to blynk.cloud:443
15:42:47.106 -> [256338] Connection failed
15:42:47.139 -> [256339] Current time: Tue Jun  6 10:12:47 2023
15:42:47.172 -> [256340] Connecting to blynk.cloud:443
15:43:02.111 -> [271342] Connection failed
15:43:02.146 -> [271343] Current time: Tue Jun  6 10:13:02 2023
15:43:02.179 -> [271343] Connecting to blynk.cloud:443
15:43:17.101 -> [286345] Connection failed
15:43:17.134 -> [286350] Current time: Tue Jun  6 10:13:17 2023
15:43:17.205 -> [286350] Connecting to blynk.cloud:443
15:43:32.118 -> [301353] Connection failed
15:43:32.155 -> [301357] Current time: Tue Jun  6 10:13:32 2023
15:43:32.188 -> [301357] Connecting to blynk.cloud:443
15:43:47.118 -> [316360] Connection failed
15:43:47.159 -> [316361] Current time: Tue Jun  6 10:13:47 2023
15:43:47.193 -> [316362] Connecting to blynk.cloud:443
15:43:53.824 -> [323052] Connection failed
15:43:53.865 -> [323053] Current time: Tue Jun  6 10:13:53 2023
15:43:53.899 -> [323053] Connecting to blynk.cloud:443
15:44:00.799 -> [330051] Connection failed
15:44:00.840 -> [330052] Current time: Tue Jun  6 10:14:00 2023
15:44:00.878 -> [330052] Connecting to blynk.cloud:443
15:44:07.816 -> [337051] Connection failed
15:44:07.857 -> [337052] Current time: Tue Jun  6 10:14:07 2023
15:44:07.896 -> [337052] Connecting to blynk.cloud:443
15:44:14.803 -> [344050] Connection failed
15:44:14.844 -> [344052] Current time: Tue Jun  6 10:14:14 2023
15:44:14.882 -> [344052] Connecting to blynk.cloud:443
15:44:21.810 -> [351050] Connection failed
15:44:21.851 -> [351051] Current time: Tue Jun  6 10:14:21 2023
15:44:21.884 -> [351051] Connecting to blynk.cloud:443
15:44:28.800 -> [358049] Connection failed
15:44:28.841 -> [358051] Current time: Tue Jun  6 10:14:28 2023
15:44:28.908 -> [358051] Connecting to blynk.cloud:443
15:44:35.811 -> [365049] Connection failed
15:44:35.852 -> [365050] Current time: Tue Jun  6 10:14:35 2023
15:44:35.889 -> [365050] Connecting to blynk.cloud:443
15:44:42.816 -> [372048] Connection failed
15:44:42.857 -> [372050] Current time: Tue Jun  6 10:14:42 2023
15:44:42.890 -> [372050] Connecting to blynk.cloud:443
15:44:49.823 -> [379048] Connection failed
15:44:49.862 -> [379049] Current time: Tue Jun  6 10:14:49 2023
15:44:49.897 -> [379049] Connecting to blynk.cloud:443
15:44:56.798 -> [386048] Connection failed
15:44:56.838 -> [386049] Current time: Tue Jun  6 10:14:56 2023
15:44:56.905 -> [386049] Connecting to blynk.cloud:443
15:45:03.829 -> [393047] Connection failed
15:45:03.829 -> [393048] Current time: Tue Jun  6 10:15:03 2023
15:45:03.902 -> [393048] Connecting to blynk.cloud:443
15:45:10.803 -> [400047] Connection failed
15:45:10.844 -> [400048] Current time: Tue Jun  6 10:15:10 2023
15:45:10.878 -> [400048] Connecting to blynk.cloud:443
15:45:17.828 -> [407046] Connection failed
15:45:17.828 -> [407047] Current time: Tue Jun  6 10:15:17 2023
15:45:17.895 -> [407048] Connecting to blynk.cloud:443
15:45:24.821 -> [414046] Connection failed
15:45:24.861 -> [414047] Current time: Tue Jun  6 10:15:24 2023
15:45:24.894 -> [414047] Connecting to blynk.cloud:443
15:45:31.798 -> [421045] Connection failed
15:45:31.838 -> [421047] Current time: Tue Jun  6 10:15:31 2023
15:45:31.910 -> [421047] Connecting to blynk.cloud:443
15:45:38.829 -> [428045] Connection failed
15:45:38.829 -> [428046] Current time: Tue Jun  6 10:15:38 2023
15:45:38.896 -> [428046] Connecting to blynk.cloud:443
15:45:45.814 -> [435044] Connection failed
15:45:45.856 -> [435046] Current time: Tue Jun  6 10:15:45 2023
15:45:45.889 -> [435046] Connecting to blynk.cloud:443
15:45:52.824 -> [442044] Connection failed
15:45:52.824 -> [442045] Current time: Tue Jun  6 10:15:52 2023
15:45:52.891 -> [442045] Connecting to blynk.cloud:443
15:45:59.819 -> [449044] Connection failed
15:45:59.859 -> [449045] Current time: Tue Jun  6 10:15:59 2023
15:45:59.892 -> [449045] Connecting to blynk.cloud:443
15:46:06.829 -> [456044] Connection failed
15:46:06.829 -> [456045] Current time: Tue Jun  6 10:16:06 2023
15:46:06.898 -> [456045] Connecting to blynk.cloud:443
15:46:13.799 -> [463043] Connection failed
15:46:13.839 -> [463044] Current time: Tue Jun  6 10:16:13 2023
15:46:13.906 -> [463044] Connecting to blynk.cloud:443
15:46:20.797 -> [470042] Connection failed
15:46:20.837 -> [470043] Current time: Tue Jun  6 10:16:20 2023
15:46:20.874 -> [470044] Connecting to blynk.cloud:443
15:46:27.815 -> [477042] Connection failed
15:46:27.855 -> [477043] Current time: Tue Jun  6 10:16:27 2023
15:46:27.894 -> [477043] Connecting to blynk.cloud:443
15:46:34.812 -> [484041] Connection failed
15:46:34.853 -> [484043] Current time: Tue Jun  6 10:16:34 2023
15:46:34.886 -> [484043] Connecting to blynk.cloud:443
15:46:41.821 -> [491041] Connection failed
15:46:41.854 -> [491042] Current time: Tue Jun  6 10:16:41 2023
15:46:41.887 -> [491042] Connecting to blynk.cloud:443
15:46:48.794 -> [498040] Connection failed
15:46:48.834 -> [498042] Current time: Tue Jun  6 10:16:48 2023
15:46:48.902 -> [498042] Connecting to blynk.cloud:443
15:46:55.816 -> [505040] Connection failed
15:46:55.856 -> [505041] Current time: Tue Jun  6 10:16:55 2023
15:46:55.891 -> [505041] Connecting to blynk.cloud:443
15:47:02.822 -> [512040] Connection failed
15:47:02.822 -> [512041] Current time: Tue Jun  6 10:17:02 2023
15:47:02.893 -> [512041] Connecting to blynk.cloud:443
15:47:09.794 -> [519039] Connection failed
15:47:09.834 -> [519040] Current time: Tue Jun  6 10:17:09 2023
15:47:09.874 -> [519040] Connecting to blynk.cloud:443
15:47:16.820 -> [526039] Connection failed
15:47:16.820 -> [526040] Current time: Tue Jun  6 10:17:16 2023
15:47:16.894 -> [526040] Connecting to blynk.cloud:443
15:47:23.797 -> [533038] Connection failed
15:47:23.831 -> [533039] Current time: Tue Jun  6 10:17:23 2023
15:47:23.899 -> [533040] Connecting to blynk.cloud:443
15:47:30.790 -> [540038] Connection failed
15:47:30.831 -> [540039] Current time: Tue Jun  6 10:17:30 2023
15:47:30.899 -> [540039] Connecting to blynk.cloud:443
15:47:37.798 -> [547037] Connection failed
15:47:37.838 -> [547038] Current time: Tue Jun  6 10:17:37 2023
15:47:37.871 -> [547039] Connecting to blynk.cloud:443
15:47:44.814 -> [554037] Connection failed
15:47:44.855 -> [554038] Current time: Tue Jun  6 10:17:44 2023
15:47:44.889 -> [554038] Connecting to blynk.cloud:443
15:47:51.810 -> [561036] Connection failed
15:47:51.850 -> [561038] Current time: Tue Jun  6 10:17:51 2023
15:47:51.891 -> [561038] Connecting to blynk.cloud:443
15:47:58.790 -> [568036] Connection failed
15:47:58.824 -> [568037] Current time: Tue Jun  6 10:17:58 2023
15:47:58.895 -> [568037] Connecting to blynk.cloud:443
15:48:05.809 -> [575036] Connection failed
15:48:05.842 -> [575037] Current time: Tue Jun  6 10:18:05 2023
15:48:05.878 -> [575037] Connecting to blynk.cloud:443
15:48:12.795 -> [582035] Connection failed
15:48:12.829 -> [582036] Current time: Tue Jun  6 10:18:12 2023
15:48:12.900 -> [582036] Connecting to blynk.cloud:443
15:48:19.808 -> [589035] Connection failed
15:48:19.849 -> [589036] Current time: Tue Jun  6 10:18:19 2023
15:48:19.883 -> [589036] Connecting to blynk.cloud:443
15:48:26.791 -> [596034] Connection failed
15:48:26.831 -> [596035] Current time: Tue Jun  6 10:18:26 2023
15:48:26.869 -> [596035] Connecting to blynk.cloud:443
15:48:33.814 -> [603034] Connection failed
15:48:33.854 -> [603035] Current time: Tue Jun  6 10:18:33 2023
15:48:33.887 -> [603035] Connecting to blynk.cloud:443
15:48:40.790 -> [610033] Connection failed
15:48:40.824 -> [610034] Current time: Tue Jun  6 10:18:40 2023
15:48:40.891 -> [610035] Connecting to blynk.cloud:443
15:48:47.818 -> [617058] Connection failed
15:48:47.852 -> [617059] Current time: Tue Jun  6 10:18:47 2023
15:48:47.924 -> [617059] Connecting to blynk.cloud:443
15:48:54.822 -> [624057] Connection failed
15:48:54.857 -> [624059] Current time: Tue Jun  6 10:18:54 2023
15:48:54.891 -> [624059] Connecting to blynk.cloud:443
15:49:01.840 -> [631057] Connection failed
15:49:01.840 -> [631058] Current time: Tue Jun  6 10:19:01 2023
15:49:01.911 -> [631058] Connecting to blynk.cloud:443
15:49:08.816 -> [638056] Connection failed
15:49:08.849 -> [638058] Current time: Tue Jun  6 10:19:08 2023
15:49:08.916 -> [638058] Connecting to blynk.cloud:443
15:49:15.812 -> [645056] Connection failed
15:49:15.853 -> [645057] Current time: Tue Jun  6 10:19:15 2023
15:49:15.920 -> [645057] Connecting to blynk.cloud:443
15:49:22.840 -> [652056] Connection failed
15:49:22.840 -> [652057] Current time: Tue Jun  6 10:19:22 2023
15:49:22.907 -> [652057] Connecting to blynk.cloud:443
15:49:29.809 -> [659055] Connection failed
15:49:29.850 -> [659056] Current time: Tue Jun  6 10:19:29 2023
15:49:29.921 -> [659056] Connecting to blynk.cloud:443
15:49:36.814 -> [666055] Connection failed
15:49:36.848 -> [666056] Current time: Tue Jun  6 10:19:36 2023
15:49:36.888 -> [666056] Connecting to blynk.cloud:443
15:49:43.843 -> [673054] Connection failed
15:49:43.843 -> [673055] Current time: Tue Jun  6 10:19:43 2023
15:49:43.910 -> [673056] Connecting to blynk.cloud:443
15:49:50.810 -> [680054] Connection failed
15:49:50.850 -> [680055] Current time: Tue Jun  6 10:19:50 2023
15:49:50.917 -> [680055] Connecting to blynk.cloud:443
15:49:57.829 -> [687053] Connection failed
15:49:57.868 -> [687055] Current time: Tue Jun  6 10:19:57 2023
15:49:57.903 -> [687055] Connecting to blynk.cloud:443
15:50:04.832 -> [694053] Connection failed
15:50:04.873 -> [694054] Current time: Tue Jun  6 10:20:04 2023
15:50:04.914 -> [694054] Connecting to blynk.cloud:443
15:50:11.806 -> [701052] Connection failed
15:50:11.846 -> [701054] Current time: Tue Jun  6 10:20:11 2023
15:50:11.916 -> [701054] Connecting to blynk.cloud:443
15:50:18.837 -> [708052] Connection failed
15:50:18.837 -> [708053] Current time: Tue Jun  6 10:20:18 2023
15:50:18.911 -> [708053] Connecting to blynk.cloud:443
15:50:25.837 -> [715052] Connection failed
15:50:25.837 -> [715053] Current time: Tue Jun  6 10:20:25 2023
15:50:25.906 -> [715053] Connecting to blynk.cloud:443
15:50:32.813 -> [722051] Connection failed
15:50:32.854 -> [722052] Current time: Tue Jun  6 10:20:32 2023
15:50:32.888 -> [722052] Connecting to blynk.cloud:443
15:50:39.808 -> [729051] Connection failed
15:50:39.847 -> [729052] Current time: Tue Jun  6 10:20:39 2023
15:50:39.916 -> [729052] Connecting to blynk.cloud:443
15:50:46.820 -> [736050] Connection failed
15:50:46.862 -> [736051] Current time: Tue Jun  6 10:20:46 2023
15:50:46.895 -> [736051] Connecting to blynk.cloud:443
15:50:53.837 -> [743050] Connection failed
15:50:53.837 -> [743051] Current time: Tue Jun  6 10:20:53 2023
15:50:53.905 -> [743051] Connecting to blynk.cloud:443
15:51:00.803 -> [750049] Connection failed
15:51:00.845 -> [750050] Current time: Tue Jun  6 10:21:00 2023
15:51:00.916 -> [750051] Connecting to blynk.cloud:443
15:51:07.823 -> [757049] Connection failed
15:51:07.864 -> [757050] Current time: Tue Jun  6 10:21:07 2023
15:51:07.900 -> [757050] Connecting to blynk.cloud:443
15:51:14.807 -> [764048] Connection failed
15:51:14.840 -> [764050] Current time: Tue Jun  6 10:21:14 2023
15:51:14.908 -> [764050] Connecting to blynk.cloud:443
15:51:21.829 -> [771048] Connection failed
15:51:21.863 -> [771049] Current time: Tue Jun  6 10:21:21 2023
15:51:21.896 -> [771049] Connecting to blynk.cloud:443
15:51:28.814 -> [778047] Connection failed

I don’t understand how the last sketch you posted can be producing this “Current time” output in the serial monitor.

Pete.

Pete I just doubled checked and I have uploaded the above sketch. The time still shows up on SM.
The time is wrong however and it is not my location time, nor is it the time in Singapore, which is the server region I am connecting. Strange!
My current time is 16:47

16:45:38.228 ->    / _ )/ /_ _____  / /__
16:45:38.275 ->   / _  / / // / _ \/  '_/
16:45:38.322 ->  /____/_/\_, /_//_/_/\_\
16:45:38.322 ->         /___/ v1.2.0 on ESP8266
16:45:38.370 -> 
16:45:38.370 ->  #StandWithUkraine    https://bit.ly/swua
16:45:38.417 -> 
16:45:38.417 -> 
16:45:38.464 -> [5130] Current time: Tue Jun  6 11:15:38 2023
16:45:38.558 -> [5130] Connecting to blynk.cloud:443
16:45:42.552 -> [9190] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
16:45:42.694 -> [9322] >[00|00|01|00|C8]
16:45:42.694 -> [9323] Ready (ping: 2ms).
16:45:42.741 -> [9323] Free RAM: 30400
16:45:42.741 -> [9390] <[11|00|02|00]qver[00]1.2.0[00]h-beat[00]45[00]buff-in[00]1024[00]dev[00]ESP8266[00]fw-type[00]TMPL669iSps_V[00]build[00]Jun[20|20]6[20]2023[20]16:44:30[00]tmpl[00]TMPL669iSps_V[00]
16:45:42.975 -> [9558] >[00|00|02|00|C8]