Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 3
    Have a look into mDNS. I think there are already libraries for this on the ESP32 Commented Aug 11, 2022 at 11:51
  • isn't that for esp32 and web browser? Commented Aug 11, 2022 at 11:58
  • What do you mean by that? mDNS is a way to give your device a name without having a dedicated DNS server. That way you can set the name of each device on the device itself. The client can then refer to this name of the device. Commented Aug 11, 2022 at 13:05
  • @chrisl In may case client is another esp32. Commented Aug 12, 2022 at 7:00
  • The other ESP32 also only does web requests, just like a webbrowser. mDNS just helps you to get the current IP address to the predefined name. Lets say Esp1 calls itself service1 and anounces that name through mDNS. Then Esp2 can ask mDNS for the IP address of service1 and then make a web request to that address. There should be examples and tutorials available online Commented Aug 12, 2022 at 8:38