In your log file I see different results from the i2c scan, indicating that no i2c device was found and another time your lcd-screen was found. Could it be a bad wire problem? Furthermore I normally use D1/D2 for i2c see also ESP8266 Pinout Reference: Which GPIO pins should you use? | Random Nerd Tutorials Did you tried that already?