Photon connect

Photon no connection , web brower says “on line” but no activity.
Boring time lost, just for muting to new version .
The old version was perfect, making money seems to be primordial.
Regards.
Paul

#define BLYNK_TEMPLATE_ID "TMPLEt_Pysb0"
#define BLYNK_DEVICE_NAME "nPhotonLiving"
#define BLYNK_AUTH_TOKEN "6eeTOgSUDxIAzA-boIbadR-7Jc3hc0Hb"




// auth from Blynk old l1SSgkPFotA3AMjtgDPVV7YtvmPrBoSs

// Comment this out to disable prints and save space
#define BLYNK_PRINT Serial

//  bool WiFi.antennaSelect(AUTO | INTERNAL | EXTERNAL);
STARTUP(WiFi.selectAntenna(ANT_AUTO)); // selects the u.FL antenna
int value;
#include <blynk.h>

char auth[] = BLYNK_AUTH_TOKEN;
int virButton = V10;
int ledPin = D7;
int doorPin = D5;
BlynkTimer timer;
//---------------------------------------
BLYNK_CONNECTED()
{
  Blynk.syncVirtual(V10);     // set led at button state at start
}
// ---------------------------------------
BLYNK_WRITE(V10)
{
  value = param.asInt();
  Serial.println(value);
  digitalWrite(ledPin, value);      // led
  digitalWrite(doorPin, value);      // command door pin
  
  
  
  
}
// ---------------------------------------
void myTimerEvent()
{
  Blynk.virtualWrite(V10, value);
 // Serial.println(value);
 
  digitalWrite(D2, HIGH); 
  delay(100);
   digitalWrite(D2, LOW); 
  delay(100);
 
 
}

//--------------------------------------------
void setup()
{
  Serial.begin(115200);
  pinMode(ledPin, OUTPUT);
  pinMode(doorPin, OUTPUT);
   pinMode(D2, OUTPUT);
  
  delay(5000); // Allow board to settle
  Blynk.begin(auth);
  timer.setInterval(1000L, myTimerEvent);
}
//---------------------------------------------
void loop()
{
  Blynk.run();
   timer.run();
     digitalWrite(D2, HIGH); 
  delay(100);
   digitalWrite(D2, LOW); 
  delay(100);
 
  
}

First of all, you should read this
https://docs.blynk.io/en/legacy-platform/legacy-articles/keep-your-void-loop-clean