Hostname for the ESP isn't set to the gateway name, but left to the device default
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:
- Set the Gateway Name of the OMG device.
- Check the hostname of the device on the router.
- 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
Yes, this problem exists. I solved this problem by modifying the main.ino source code
What did you modify?
This issue is stale because it has been open for 90 days with no activity.
No
This issue is stale because it has been open for 90 days with no activity.
@q127981 What'd you modify?
This issue is stale because it has been open for 90 days with no activity.
@q127981 What did you modify?