-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[REQUEST] Send unique device identifier + project info via Zeroconf for mDNS discovery #2
Comments
As Frenck mentioned in the linked feature request, ESPHome now adds the mac address in its zeroconf announcement:
This is new functionality, starting from 1.17.0, I think. However, this applies to the esphomelib service announcement (which is separate and not configurable by my component). It is just a txt attribute, though, so adding some sort of ID field is already possible through configuration. |
FYI, HA devs announced latest ESPHome added the new standard for project identifier, version + more via the mDNS discovery info: https://www.home-assistant.io/blog/2021/06/16/power-up-your-esp-projects/#esphome-embracing-projects
https://www.esphome.io/components/esphome.html#project-information Project information"This allows creators to add the project name and version to the compiled code. It is currently only exposed via the logger, mDNS and the device_info response via the native API. The format of the name should be author_name.project_name."
PS: This was part of a larger article about making ESP firmware and project more user-friendly and easier to get started with: https://www.home-assistant.io/blog/2021/06/16/power-up-your-esp-projects/ |
Request ESPHome to send out unique device ID on its Zeroconf broadcast like example project name + the MAC address of device.
Copy of old request esphome/feature-requests#575
The text was updated successfully, but these errors were encountered: