Indicador de estado

Hola buen día, alguien tiene informacion sobre como crear un indicador de que mi esp8266 esta en linea o desconectado del servidor de blynk?
Yo encontre en la pagina la funcion


bool result = Blynk.connected();

Pero cuando la implemento en el void loop no me devuelve ningun valor.
este es el codigo que estoy usando:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "**********************";
char ssid[] = "***********";
char pass[] = "******************";
WidgetLED online(V10); 
WidgetLED offline(V11); 
bool estado = Blynk.connected();

void setup()
{
 // Debug console
 Serial.begin(9600);
 Blynk.begin(auth, ssid, pass);
 pinMode(D1, OUTPUT);   
}

void loop()
{
 Blynk.run();
 if(estado == true){
   online.on();
 }
 else{
 online.off();
}
}

Online/offline status of each device in your project is shown in the status bar at the top of the screen…

If you add a Notification widget you can get notifications when a device goes offline.

Pete.

Y es posible recibir una notificacion cuando vuelve a estar online en caso que se haya desconectado?

You could use the BLYNK_CONNECTED() callback to send a notification to say that the device is online.

Pete.