piersfinlayson wrote:As far as I am aware wifi_station_set_hostname only changes the hostname until the device reboots. The documentation isn't clear, though.
Thank you for answer.
Explore... Chat... Share...
piersfinlayson wrote:As far as I am aware wifi_station_set_hostname only changes the hostname until the device reboots. The documentation isn't clear, though.
// Setting the Mac Address for presenting to the router
uint8_t mac[] = {0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX};
wifi_set_macaddr(STATION_IF, &mac[0]);
// Setting the host name from the CPUID....will mask changes to your mac....
// allowing the router to see the changed address
sprintf(hostString, "ESP_%06X", ESP.getChipId());
Serial.print("Hostname: ");
Serial.println(hostString);
WiFi.hostname(hostString);
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]