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

Implement mDNS to access device without knowing the IP-Address #959

Closed
mstjerna opened this issue Feb 26, 2018 · 11 comments
Closed

Implement mDNS to access device without knowing the IP-Address #959

mstjerna opened this issue Feb 26, 2018 · 11 comments
Labels
Category: Frontend Related to web-interface Type: Feature Request Add a completely new feature (e.g. controller/plugin)
Milestone

Comments

@mstjerna
Copy link

Implement mDNS to access device without knowing the IP-Address on the local network.
https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266mDNS

This would ease up the WiFi-boarding process for users that are uncomfortable in accessing their Router to find the IP or use Serial debug to find it out...
On first boot the name would be http://esp_easy_0.local and then the users preferences when naming the device from the web-gui.

Br
Michael Stjerna

@TD-er
Copy link
Member

TD-er commented Feb 26, 2018

The IP address is already shown in the webinterface when configuring the WiFi for the first time.
Maybe we could let them already enter a hostname in that interface, combined with this addition?

@mstjerna
Copy link
Author

Yes that would be even nicer...

My experience is that I never see the WiFi IP since my phone disconnect from the ESP-AP when onbording the WiFi. The device is then "lost" and I need to in to the router to find the IP to reach the web-interface for Initial configuration.

The mDNS would solve this and giving the possibility to give the device name on AP-onboarding would be even nicer.
Other solutions like the "Espruna" uses this technique.
https://github.com/xoseperez/espurna

They also provide a double click on the "Program button" to access the wifi configuration even if the device can attach to the wifi.

@Grovkillen Grovkillen added Type: Enhancement Improve something already present Category: Frontend Related to web-interface labels Mar 1, 2018
@Grovkillen Grovkillen added this to the 2.1.0 milestone Mar 1, 2018
@TD-er TD-er added Type: Feature Request Add a completely new feature (e.g. controller/plugin) and removed Type: Enhancement Improve something already present labels Mar 2, 2018
@Grovkillen
Copy link
Member

This one is implemented

@a-x-
Copy link

a-x- commented May 3, 2020

This does not work

router says:
Active Host Name: living-light-ESP-Easy
But http://living-light-esp-easy.local/ does not work locally

@TD-er
Copy link
Member

TD-er commented May 3, 2020

Tested it here on a recent build and indeed it does not resolve to a host.

Strange as it used to work.

@TD-er TD-er reopened this May 3, 2020
@uzi18
Copy link
Contributor

uzi18 commented May 3, 2020

is it related to esp8266/Arduino#7262 ?

@rvt
Copy link

rvt commented May 25, 2020

can we not just add mDNS?

@TD-er
Copy link
Member

TD-er commented May 25, 2020

can we not just add mDNS?

That is present, but apparently it is broken in the more recent esp8266/Arduino core releases.

@rvt
Copy link

rvt commented May 26, 2020

can we not just add mDNS?

That is present, but apparently it is broken in the more recent esp8266/Arduino core releases.

That is odd, I compile with latest esp8266/Arduino for other projects and mDNS is working fine. Just not with ESPEasy. Can somebody confirm that as well?

@TD-er
Copy link
Member

TD-er commented May 26, 2020

@rvt Have you enabled it in your build definition?

#define FEATURE_MDNS

@tonhuisman
Copy link
Contributor

No response, and no not-working issue with mDNS (though maybe other issues...), so this issue can be closed.

@TD-er TD-er closed this as completed Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Frontend Related to web-interface Type: Feature Request Add a completely new feature (e.g. controller/plugin)
Projects
None yet
Development

No branches or pull requests

7 participants