-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ability to use mDNS name and mDNS discovery #38
Comments
If I understand how it works, mDNS name can be used if in the first place we use mDNS discovery. |
No, not quite. 😉 Using mDNS Service Discovery
Using mDNS
Using IP address
|
Ok I see, even if mDNS discovery is blocked, mDNS name should still work. |
I was thinking to handle mDNS at the same time as BLE ... but I do not have BLE devices, need money :) |
I think mDNS SD and mDNS are tight together and most of the time both will either work or wont. |
I understand. By BLE you mean https://esphome.io/components/bluetooth_proxy.html ? |
So thinking about it, you listed the initial use case in a previous post, but need to consider the hackward use cases :) My Driver is a Wizard, ... Wizards should be capable of everything ... |
Ok so I think:
That's about it ... I have no idea how encryptionKey or password apply to discovery, need to dig that point a little |
mDNS is jsut about providing a "stable name" that match an "unstable ipAddress/port". In the end the connection to the physical device is still based on the ipAddress/port and so encryptionKey and password apply. In Homey, I understand that the mDNS discovery service will run in the background constantly (from the application start). It also means that if the result from the discovery change, ie. a physical device restart and change IP (and/or port), then we need to force reconnect the physical device. https://apps.developer.homey.app/wireless/wi-fi/discovery |
First estimation: about 15h of dev, probably 5h of test and same for debug. |
Describe the solution you'd like
Be able to use the mDNS name instead of the IP address of the device.
This has the added benefit that Homey is able to connect to the device when the IP address changes.
The text was updated successfully, but these errors were encountered: