Wemos d2 mini close connection to the internet

Hi , I try to make am termometre wireless, connecting Wemos with my acces point wireless with blink an I use blynk application to display temperature form my room when I go in town or at school but I don’t know why if I connect the power to Wemos that connect to the internet and give in my phone the tempereature but in 20 30 seconds that’s disconnect ;
in blynk application show me where is connected and in 20 second show that device is disconnected
I forgot to say that Wemos I connect to my acces point
and phone not that use 3G internet

#include <OneWire.h>
#include <DallasTemperature.h>
 #define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ArduinoOTA.h>       // for local OTA updates
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// Data wire is plugged into pin D4 on the Arduino
#define ONE_WIRE_BUS D4

 
char auth[] = "c45b270cbf274be1885dc5d23f6436a6"; 
char ssid[] = "528";                  
char pass[] ="tuborgbeer";   


OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
 
void setup(void)
{

 Blynk.begin(auth, ssid,pass);
  sensors.begin();
}
 
 
void loop(void)
{
  sensors.requestTemperatures(); // Send the command to get temperatures



if (Blynk.connected()) {   // to ensure that Blynk.run() function is only called if we are still connected to the server
    Blynk.virtualWrite(0,sensors.getTempCByIndex(0));
  }


 
    delay(1000);
}

here is the code

@Arsed that is nothing like a Blynk sketch.

You haven’t got Blynk.run() in your loop().
You can’t use delay() with Blynk and you must use SimpleTimer.
Study the PushData example.