Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot easily distinguish between WebOTA installations #12

Open
jamesfowkes opened this issue Sep 19, 2020 · 2 comments
Open

Cannot easily distinguish between WebOTA installations #12

jamesfowkes opened this issue Sep 19, 2020 · 2 comments

Comments

@jamesfowkes
Copy link
Contributor

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.

@scottchiefbaker
Copy link
Owner

scottchiefbaker commented Sep 20, 2020

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants