how to change nodemcu host name

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

Post

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)
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

SUPLA.... Nareszcie w domu.
Mirageiot
Posts: 13
Joined: Mon Mar 14, 2022 8:37 pm

Post

I have changed it but nothing happend
User avatar
klew
Posts: 13905
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

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"?
Najlepsze suple dla Twojego domu :mrgreen:
Mirageiot
Posts: 13
Joined: Mon Mar 14, 2022 8:37 pm

Post

i want to change the host name
User avatar
klew
Posts: 13905
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

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.
Najlepsze suple dla Twojego domu :mrgreen:

Return to “General discussion”