Blynk connection cuts off often

@Vlad_Hristov As requested once already, posted code is to be formatted as per the directions - I fixed your post.

As for your issue, it is due to bad code… you have too much in your void loop() and should be using timers NOT delays!!!

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/how-to-display-any-sensor-data-in-blynk-app