xyzroe / XZG

Unifies the best innovations from previous Zigbee gateway projects into a single, comprehensive solution
https://xzg.xyzroe.cc/
GNU General Public License v3.0
124 stars 27 forks source link

Support the new/upcoming generic ZHA Zeroconf discovery? #109

Open Hedda opened 1 month ago

Hedda commented 1 month ago

Is your feature request related to a problem? Please describe.

This is a feature request; puddly is working on a new/upcoming generic Zeroconf discovery for the ZHA integration in Home Assistant to allow it to discover new network-attached Zigbee Coordinator adapters without code changes to the ZHA component in Home Assistant core. Please look into adding support for this Zeroconf discovery formatting, see:

https://github.com/home-assistant/core/pull/126294

Describe the solution you'd like

The goal with this is that code changes to the ZHA component in Home Assistant core but it puts some new requirement on the firmware site where the manufacturer need to enter unique metadate for each new type and model of network-attached Zigbee Coordinator adapter. This will eventeully also make the old disovery method obsolete:

https://www.home-assistant.io/integrations/zha#discovery-via-usb-or-zeroconf

Describe alternatives you've considered

Alternative is to use the old method but it is likley that new patches to Home Assistant core will be accepted once support for this new formallting/method has been implemented.

Additional context

puddly has already posted comments to each new patch for new devices that he is working on this and that it will become the default.

xyzroe commented 1 month ago

Hi @Hedda, thanks for the info. I tried to implement it. I would appreciate tests and feedback! Screenshot 2024-10-01 at 4 16 35 PM