ESP-WebOTA icon indicating copy to clipboard operation
ESP-WebOTA copied to clipboard

Cannot easily distinguish between WebOTA installations

Open jamesfowkes opened this issue 4 years ago • 2 comments

With several ESP32s running WebOTA on the same network, the only way to distinguish them is by IP address.

It would be useful to have a way to customise the HTML, such that the ESP32 can be identified uniquely by name.

There's lots of ways to do this, I wondered what your thoughts were about the idea, and the best way to implement it, if you think it would be useful.

jamesfowkes avatar Sep 19 '20 12:09 jamesfowkes

I like this idea a lot actually. My first thought would just be to include the hostname in the HTML. No guarantee there is a hostname set though. Even if we were to display it, it may not help identification anyway.

We could add an optional variable to the webota.init() function to specify an identifying string?

I'm definitely open to adding this functionality, I just don't know what the "best" way is.

scottchiefbaker avatar Sep 20 '20 22:09 scottchiefbaker

I included the MAC address in the HTML in 940d7bd48d927, but I have not published a new release with this commit (yet). Please try it.

scottchiefbaker avatar Jul 15 '23 02:07 scottchiefbaker