Wemos D1 mini disconnects on local server

Have you chosen a static IP address outside the DHCP range?

No I haven’t. I have other 3 devices connected to the server and they work fine. I tried removing the static ip of the Wemos but it doesn’t work too

Also what are logs useful for if there is no documentation about them? What does READER IDLE mean?

Give it a try.

Just tried and it doesn’t work. Tried using another wemos D1 mini and it doesn’t work. @Pavel ideas?

1 Like

is there anyone active in this community?

I’m active :wink:

Lots of active volunteers here… but what little, and contradictory, information you have provided points more to something on your side, possibly your network? or faulty board? WiFi interference?

1 Like

Looks like something on the espressif side, possibly not a Blynk error? Where are you seeing these stuff, in the Blynk logs or on the Serial monitor?


On closer inspection, it looks like the Blynk logs… and basically saying the hardware stopped talking, so the server disconnected the now idle link.

Focus on the reason for the hardware losing connection… as already mentioned, probably somthing in your environment and/or network, or even that particular board?.. Not much about that we can do from here.

1 Like

the other boards are arduinos with esp-01 as a shield and esp-01 standalone. the wemos don’t work. to me it’s absolutely a Blynk error because when the wemos disconnects, they don’t connect anymore and contunue to say “connecting to” every 5 seconds. Also the same boards 3 months ago worked fine.

my netork has absolutely nothing because the problem is blynk. on one type of ESP8266 (esp-01) works and on the wemos it doesn’t. the logs are copy-pasted directly from the Blynk.log file on myh local server which again is not the problem because other hardware works fine.

I can demonstrate all I say.

Wemos D1 mini:

[3593] Connecting to CASA
[4788] Connected to WiFi
[4788] IP:
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP8266
[4860] Connecting to
[4925] Ready (ping: 14ms).
[29099] Heartbeat timeout
[31102] Connecting to
[31189] Ready (ping: 49ms).
[65029] Connecting to
[67946] Ready (ping: 2903ms).
[98212] Heartbeat timeout
[100215] Connecting to
[105216] Connecting to
[110217] Connecting to
[115218] Connecting to
[120219] Connecting to
[125220] Connecting to

Wemos D1 mini PRO with external antenna

[2754] Connecting to CASA
[3890] Connected to WiFi
[3890] IP:
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP8266

[3912] Connecting to
[8915] Connecting to
[9267] Ready (ping: 20ms).
[28482] Heartbeat timeout
[32648] Connecting to
[33876] Ready (ping: 133ms).
[65029] Connecting to
[70033] Connecting to


[290] Connecting to CASA
[5773] Connected to WiFi
[5774] IP:
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP8266

[5847] Connecting to
[5903] Ready (ping: 4ms).

the other thing that makes me think it’s a Blynk problem is the fact that 3-ish months ago it was the other way around: the wemos were working while the 01 weren’t. Then somehow they started working and now the wemos are not anymore.

btw the sketch is the following

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG Serial

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

char auth[] = "RlmNkc5i0RpEyUfm8WHvKCFu08KwOiNr";   // HUB
char ssid[] = "CASA";
char pass[] = "**********";

void setup()
  //Blynk.begin(auth, ssid, pass, "*********.dlinkddns.com", 8080);
  Blynk.begin(auth, ssid, pass, "", 8080);


void loop()

Have you any idea how many people are using Wemos D1 Minis with Blynk, without any problem?

We see this type of query many times and it almost always turns-out to be one of these problems:

  • Local networking issues
  • Inadequate power supply issues
  • Dodgy breadboard connections
  • Faulty hardware
  • Poor choice of GPIO pins for sensors/relays
  • Incorrect choice of device in App, IDE or Sketch Builder
  • Outdated Blynk library version
  • Outdated local server version
  • Use of a buggy ESP core
  • Poor code
  • Any combination of the above

In almost every case, people will say “I’ve tried everything, it must be Blynk”. One guy even threatened to sue Blynk, even when he was using the free developer version which is clearly labelled “use at your own risk”.

My advice would be to accept that Blynk itself works correctly with a good D1 Mini when everything else is done correctly, then to start diagnosing what’s causing your particular problem.
You could start by trying to connect to the Blynk cloud server, in an effort to eliminate some of the variables involved in the equation.

I’d also reboot your router, and unplug/disconnect any other devices from the router to ensure that you’re not getting any other problems like multiple DHCP servers, lack of available IP addresses, IP or MAC address conflicts etc.


1 Like

I agree with everything you said and i know the fact that it could be my fault. But what triggers me is the fact, as I said 2-3 times, that it used to work but now it doesn’t.

I’m doung a sort of control center/hub with a nextion display that controls other hardware in my house. i started developing the code 5 months ago and i paused after 3 months. the code was mostly done and after making sure it worked perfectly without any disconnections i decided to concentrate on the school because it was the end of the school-year. I used the sketch and the simulator in the nextion editor to simulate the physical display. And at the end of the school i purchased the 120€ monitor.

now the wemos disconnects and obviously the whole project is unusable.

so i tried the default esp standalone and it didn’t work so i’m here to ask you what could’ve happened.

at first i thought it was the bridge with other devices because i had 3 bridges. secondly i thought that there were too many variables and then i moveds to the basic sketch and it also doesn’t work.

i don’t know what to do next

thanks to everyone who spent their time to help me. sorry if sometimes i was a little angry but you can understand that for a 16 yo person buying a 120€ monitor and seeing that the sketch doesn’t work anymore is not something nice. also sorry for my English, i’m Italian and i have basic English knowledge because i’m still at school.

i’ll keep you informed

As I said, this is where I’d start.
I’d also make sure that all my Wemos tests were done with nothing attached to the board other than a USB serial/power connection to a computer with a USB port that is known to be good.

I have a similar setup with a Nextion display controlling multiple devices and showing data from multiple sensors (about 20 devices in total at the moment). Running Blynk Bridge code with this setup would be a nightmare, so I use MQTT messaging to communicate between devices, and Node-Red running on a Pi with Blynk, Alexa and IKEA Tradfri plug-ins for Node-Red. It works very well.


This says somthing in your code or network prevented timely device-server communication, thus the disconnection.

This (2.9 second ping) indicates that you may have some network or interference issue that happens once in awhile.

1 Like

Well done !!

The problem is that it happens constantly with the Wemos and never with the esp-01. But that’s not a problem anymore.

Pete convinced me to switch to MQTT. I don’t know if I will be using Blynk anymore, not because it’s a bad platform but primarily because as they already said they won’t develop the “Blynk 1.0” anymore and apparently (if I understood correctly) you have to pay if you want more features/more devices and local server doesn’t seem to be a thing anymore.
Secondly we only have Apple devices and the Home app with HomeKit and Node-Red seem to work very well and the fact that you can control all the things using Siri via Apple Watch and HomePod makes it the best way for me.

Also since my “Hub” will serve as the whole house heating system thermostat I can’t wait until the “new Blynk” comes out as a stable version because winter is coming.

Thanks again to all of you and ask me everything you want to know about my setup and devices.

1 Like

I am sure blynk has no discriminatory feelings against Wemos or ESP-01 (unlike some users :stuck_out_tongue: )… more likely that they are slightly differing tech and thus respond differently to your network environment, and is only more notable with Blynk due it’s need for constant communication link.

Quite simply… we don’t really know what will or will not be a thing, supported, changed, etc… nor when… until it happens (if it happens :wink: )

1 Like

The end of oil is closer than you think :rofl: