Hi good day! I just wanted to ask for guidance before buying it I'm just confused does ESP8266 have different IP's when you buy how for many pcs? The reason I wanted to ask this is I want to control two devices that is controllable indoor or outdoor using WIFI connection.
Hi @katalepsy,
Your router usually gives different devices different IP addresses, or you can set the IP address with the correct code. Short answer: yes.
Sort of. I use an IP scanner on my computer to check for available IP addresses and then program the one I want into my software. Try searching “static IP on esp8266” on google
It’s all quite logical if you care to study it, but you’ll be overwhelmed with 3-letter abbreviations which are important, but can often be ignored in a simple DHCP setup !
katalepsy:
You are confusing static IP with dynamic IP. I use DHCP (dynamic) IP whenever possible which lets the router assign the IP address of the device. For those devices that I do not want the IP to change, like my Plex server for example, I tell the router to make the IP a permanent lease.
The only device in my home network with a fixed (static) IP address is the router itself.
Others here will swear by static IP addresses on everything. (Keeping track of all the IP addresses assigned is just not worth the effort.)