Esp8266wifi.h - Not found error

Before creating the topic

  1. Search forum for similar topics
  2. Check and
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.

  Download latest Blynk library here:

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials:
    Sketch generator: 
    Blynk community:  
    Follow us:        

  Blynk library is licensed under MIT license
  This example code is in public domain.

  This example runs directly on ESP8266 chip.

  Note: This requires ESP8266 support package:

  Please be sure to select the right ESP8266 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!

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

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "VaTnxSH_UR5CYPbHUIUz_lv93njmUI-5";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "MMVS";
char pass[] = "Shreekl@123";

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);

void loop()

And your question is?


There is no question, the code do nothing :smile:
But we have all his credentials :thinking:

Question is in the topic. He is tired to type in the problem again i guess :man_facepalming: He has not installed his ESP core.
@Mandy534 Please install the ESP core and try compiling…

1 Like

Yes, I didn’t see :stuck_out_tongue_winking_eye:

1 Like

Thanks for your suggestion @Madhukesh
After installing the esp8266 Board and selecting “Generic ESP8266 Module” , an error occured after compiling as “Error compiling for board Generic ESP8266 Module.”

@Mandy534 if you scroll up to your original post you will see that the pro-forma text that appears when you create a new topic (and which you’re meant to read then delete) prompts you to provide information about the hardware you’re using, the library versions, app versions etc.
At present we have absolutely no idea what hardware you are trying to run this code on, or even whether you have the Blynk libraries installed.

Go back to basics and provide this information, and anything else that you think may be relevant, so that we can attempt to help you without making guesses about the possible cause of your problems.