get the name of esp8266 code example Example: esp wifi name #include WiFi.hostname("Name"); set before WiFi.begin();