After search, I found this:
In settings tab:
const int SLEEP_INTERVAL_SECS = 5 * 60; // After 5 * 60s go to deepSleep
In esp8266-weather-station-color tab:
ESP.deepSleep(60*1000000, WAKE_RF_DEFAULT);// After 60 * 1000000ms wake WiFi up
Only to turn the screen back on you have to press reset button which restarts the program
I wanted to turn off the device at night