ESP Hostname Change

Use this section to discuss your embedded Flowcode projects.
chipfryer27
Valued Contributor
Posts: 1147
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: ESP Hostname Change

Post by chipfryer27 »

Hi

Not actually done this and at present I've no real access to ESP32's until I sort a few things out, so I have no idea if it will work.

The ESP32, like the ESP8266 can be controlled via "AT" commands and a lot of changes are retained. Perhaps you could change using "AT" then use FC as before?

I probably have the AT command set somewhere so I will see if it allows such. Again I've no idea if this is feasible or just stupid :)

Regards

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: ESP Hostname Change

Post by lucibel »

hi,
I don't have menuconfig.bat in FC9 or FC10
I'm always access to menuconfig via CMD

Menuconfig who is very usefull
To acces to menuconfig and change ESP Hostname.docx
(415.98 KiB) Downloaded 168 times
Wifi Client.png
Wifi Client.png (19.53 KiB) Viewed 2982 times
Seb

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: ESP Hostname Change

Post by lucibel »

chipfryer27 wrote:
Thu Dec 14, 2023 5:12 pm
Hi

Not actually done this and at present I've no real access to ESP32's until I sort a few things out, so I have no idea if it will work.

The ESP32, like the ESP8266 can be controlled via "AT" commands and a lot of changes are retained. Perhaps you could change using "AT" then use FC as before?

I probably have the AT command set somewhere so I will see if it allows such. Again I've no idea if this is feasible or just stupid :)

Regards
You can try with this prog, it's for TTGo but you can change the Target device
ESP_Webpage_TTGO_SEB TEST.fcfx
(15.76 KiB) Downloaded 135 times
need to change SSID and PW
SSID.jpg
SSID.jpg (89.46 KiB) Viewed 2982 times
then compile
wait for the connection to router and look the IP address of you ESP32
then you can open webpage and type the IP address of your esp32
Server.jpg
Server.jpg (23.04 KiB) Viewed 2982 times
Seb

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: ESP Hostname Change

Post by chipfryer27 »

Hi

Section 4.2.14 (page 26) of the ESP32 AT Command set informs that you can indeed change the hostname by issuing

AT+CWHOSTNAME=<hostname>

However as this is one command that isn't saved in Flash the point is moot.

Sorry, looks like you need some C or other edit.

Regards

Post Reply