how to change nodemcu host name

Post Reply
Mirageiot
Posts: 13
Joined: Mon Mar 14, 2022 8:37 pm

how can i chage the wifi name it 's called esp8266xxxx i wan to change it to something else
i'm trying to find the specific file in the supla iot sdk (virtual machine)
Mirageiot
Posts: 13
Joined: Mon Mar 14, 2022 8:37 pm

I have changed it but nothing happend
User avatar
klew
Posts: 8184
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

You can check if this define is added in some other place of your board source files.
Name from link provided by pzygmunt is taken only if that define is not declared earlier in your file.

Btw. do you want to change "host name" or "wifi name"?
Widzimy się na Supla Offline Party vol. 2 :!:
Mirageiot
Posts: 13
Joined: Mon Mar 14, 2022 8:37 pm

i want to change the host name
User avatar
klew
Posts: 8184
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Mirageiot wrote: Thu Mar 31, 2022 10:00 am i want to change the host name
Hostname (i.e. name visible on DHCP server on router) is configured here:
https://github.com/SUPLA/supla-espressi ... ain.c#L220

Current implementation set it to the same name as Wi-Fi SSID of AP when device is in config mode.
Widzimy się na Supla Offline Party vol. 2 :!:
Post Reply

Return to “General discussion”