ESP32 static IP

Use this section to discuss your embedded Flowcode projects.
Post Reply
nmjb18
Posts: 15
http://meble-kuchenne.info.pl
Joined: Mon Apr 19, 2021 4:47 pm
Has thanked: 9 times
Been thanked: 1 time

Flowcode v10 ESP32 static IP

Post by nmjb18 »

Hi,

Any one know how to fix (I.e. make static) the IP of an ESP32 device?

I would like to make sure that my app will always connect to my esp32 project after a network reboot. Currently the IP is dynamic and randomly assigned. Inorder to reconnect to my project I have to look up what's connected to the network and guess which one of the ESP32s is the one I want.

Cheers

M

LeighM
Valued Contributor
Posts: 400
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 70 times
Been thanked: 217 times

Re: ESP32 static IP

Post by LeighM »

Depending upon your router (DHCP server) you might be able to reserve a specific IP address for the ESP32

nmjb18
Posts: 15
Joined: Mon Apr 19, 2021 4:47 pm
Has thanked: 9 times
Been thanked: 1 time

Re: ESP32 static IP

Post by nmjb18 »

Thanks LeighM, I understand that is an option.

I was looking for something like the first part of this article https://randomnerdtutorials.com/esp32-s ... duino-ide/ where the ESP32 is used to assign it's own IP on the network.

Post Reply