I uploaded this code to a Wemos D1 Mini Pro. It’s the same as yours but forces a connection to server SPG1…
#define BLYNK_TEMPLATE_ID "TMPL669iSps_V"
#define BLYNK_TEMPLATE_NAME "TEST"
#define BLYNK_AUTH_TOKEN "Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght"
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>
char ssid[] = "REDACTED";
char pass[] = "REDACTED";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, "sgp1.blynk.cloud",443);
}
void loop()
{
Blynk.run();
}
This is the serial output at boot-up…
0⸮~?⸮4⸮Ҷ⸮⸮OCE⸮⸮aOCAM4⸮,C|X[288] Connecting to REDACTED
12:57:09.880 -> [4621] Connected to WiFi
12:57:09.914 -> [4621] IP: 192.168.1.20
12:57:09.949 -> [4622]
12:57:09.949 -> ___ __ __
12:57:09.984 -> / _ )/ /_ _____ / /__
12:57:09.984 -> / _ / / // / _ \/ '_/
12:57:10.019 -> /____/_/\_, /_//_/_/\_\
12:57:10.053 -> /___/ v1.2.0 on ESP8266
12:57:10.088 ->
12:57:10.088 -> #StandWithUkraine https://bit.ly/swua
12:57:10.123 ->
12:57:10.123 ->
12:57:10.157 -> [4847] Current time: Tue Jun 6 11:57:11 2023
12:57:10.192 -> [4847] Connecting to sgp1.blynk.cloud:443
12:57:11.925 -> [6659] <[1D|00|01|00|20]Vnk3zsjgDnrvhx8TzrtoHb6SiVPyjght
12:57:12.094 -> [6831] >[00|00|01|00|C8]
12:57:12.128 -> [6831] Ready (ping: 1ms).
12:57:12.163 -> [6831] Free RAM: 30400
12:57:12.163 -> [6898] <[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]12:55:57[00]tmpl[00]TMPL669iSps_V[00]
12:57:12.401 -> [7156] >[00|00|02|00|C8]
12:57:57.406 -> [52155] <[06|00|03|00|00]
12:57:57.611 -> [52344] >[00|00|03|00|C8]
12:58:42.612 -> [97343] <[06|00|04|00|00]
12:58:42.780 -> [97514] >[00|00|04|00|C8]
As you can see, it’s connecting to SPG1 and should be showing as Online on your web console and timeline.
I’m getting a 1ms ping from London to Singapore, which is similar to your SSL ping times.
It’s currently been online for over 30 minutes without any issues, the latest serial monitor output was…
13:33:20.908 -> [2175535] <[06|00]2[00|00]
13:33:21.077 -> [2175715] >[00|00]2[00|C8]
13:34:06.091 -> [2220715] <[06|00]3[00|00]
13:34:06.262 -> [2220886] >[00|00]3[00|C8]
Your device timeline should confirm these numbers.
I’ll keep monitoring it, but clearly it’s already been running longer than it does for you.
It’s obviously not a Blynk account or server issue, as I’m using your account which lives on the SPG1 server. It’s not a code issue, as we’re running the same code.
That leaves hardware or internet as the culprit.
My money is on it being an issue with your internet, or a WAN issue that is local to you, and outside of Blynk’s control.
Pete.