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

Hostname for the ESP isn't set to the gateway name, but left to the device default #2150

Open
melyux opened this issue Jan 12, 2025 · 0 comments

Comments

@melyux
Copy link
Contributor

melyux commented Jan 12, 2025

Describe the bug
I would expect the hostname of the OMG device to be set to the Gateway Name we specify. However, it's the default ESP hostname instead (my Gateway Name is "omg-xxxx", but its hostname shows up as "ESP-103F51").

To Reproduce
Steps to reproduce the behavior:

  1. Set the Gateway Name of the OMG device.
  2. Check the hostname of the device on the router.
  3. See that it's not the Gateway Name but the ESP's original hostname.

Expected behavior
I would expect the Gateway Name to be used as the hostname. I can still ping "omg-xxxx.local" with mDNS, but the hostname registered to the router is "ESP-103F51".

Environment (please complete the following information):

  • OpenMQTTGateway version used: latest
  • Library version related to the problem you have: N/A
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

1 participant