Connecting sensors to NodeMCU ESP8266 not working

Hello! I have a little past experience with Arudino, but I’m new to NodeMCU. I’m currently following this project: https://www.instructables.com/Pot2/ but I modifided a little bit the code (see below). Since I couldnt connect the NodeMCU to Blynk with the original code in the project, I modified it a little bit using the BlynkEdgent.h (from Blynk examples). From this code now I can connect the NodeMCU to blynk, but I’m not getting any readings from the sensors. The sensors are working fine, since all leds are blinking and i get voltage readings from them. So from now on I need help since I’m missing something or there is something that clearly I dont know.
Also from the original project I dropped the leds, because I dont have usage for them. Since NodeMCU have three 3V3 and GND i used one per sensor (DHT11 module, Light LDR module and Humidity sensor) and the connection pins are the same from original project.

CODE:


#define BLYNK_TEMPLATE_ID "xxxxx"
#define BLYNK_DEVICE_NAME "xxxxx"
#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_SPARKFUN_BLYNK_BOARD
//#define USE_NODE_MCU_BOARD
//#define USE_WITTY_CLOUD_BOARD

#include "BlynkEdgent.h"

#include <Adafruit_Sensor.h>
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN            14 //D5
#define NUMPIXELS      2
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

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

#include <DHT.h>
#define DHTPIN 12   //D6
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
float humidity, temp_f; 

int sensor_light = 13;  //D7
int value_light;

int sensor_water = A0;  //A0 analog input
int value_water;

char auth[] = "xxxx"; //enter blynk auth token
char ssid[] = "xxxx";
char pass[] = "xxxx";



void temp_humid(){
  float h = dht.readHumidity();
  float t = dht.readTemperature();
  Blynk.virtualWrite(1, t);        //V1
  Blynk.virtualWrite(2, h);        //V2
}

void water_light(){
  value_light = digitalRead(sensor_light);
  Blynk.virtualWrite(3, value_light);    //V3
  
  value_water = analogRead(sensor_water);
  Blynk.virtualWrite(4, value_water);    //V4
  if (value_water < 300) {
  Blynk.email("xxx@.com", "ALARM", "Plant Thirsty");   //enter your email address
  }
}

void setup()
{
  Serial.begin(115200);
  delay(100);
  pinMode(sensor_light, INPUT);
  BlynkEdgent.begin();
  timer.setInterval(10000, water_light); //what is the best way of uploading this data.? the device does not need to be ON
  timer.setInterval(5000, temp_humid);  //for more than 3times/day, each time about 60seconds. wake up just to get readings from all sensors
}                             //3 times, 20seconds apart. go to deep sleep, wake up8hrs later, do the same for 60seconds...

void loop() {
  BlynkEdgent.run();
  timer.run();  
}

My monitor looks like this:


21:36:22.965 -> [626] Free mem: 32632
21:36:22.965 -> [626] --------------------------
21:36:22.965 -> [626] INIT => CONNECTING_NET
21:36:22.965 -> [628] Connecting to WiFi: xxxxx
21:36:26.835 -> [4530] Using Dynamic IP: 1xxxxx
21:36:26.835 -> [4530] CONNECTING_NET => CONNECTING_CLOUD
21:36:27.069 -> [4742] Current time: Wed Dec  1 00:36:25 2021
21:36:27.069 -> [4742] Connecting to blynk.cloud:443
21:36:29.408 -> [7066] Ready (ping: 39ms).
21:36:29.631 -> [7297] CONNECTING_CLOUD => RUNNING

Thanks in advance, and sorry if there’s some information missing, I’m still learning.
Cheers!

Add Serial.println to see if there is sensors values in the serial monitor .
Did you create right virtual pins in the stream dashboard with the good range values ?