-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Please consider adding Zeroconf support to cod.m ZigBee CC2652P2 TCP Coordinator for automatic ZHA network discovery.
Home Assistant OS (formerly HASSIO) supports automatic network scanning and “Service Discovery” via Zeroconf and when a whitelisted Zigbee serial gateway is discovered it can pass along that to a domain like the ZHA integration component in Home Assistant.
For more details see:
As a proof-of-concept this is now supported by Tube's Zigbee gateways (based on ESPHome firmware):
https://www.home-assistant.io/integrations/zha#discovery-via-usb-or-zeroconf
https://github.com/tube0013/tube_gateways
Once support for Zeroconf has been added to the firmware you also need the firmware to provide DNS TXT records for passing along setting parameters to integration config flows.
DNS TXT records could be used to pass along recommended settings parameters config flow to Home Assistant's ZHA integration:
radio_type=znp
baud_rate=value
data_flow_control=software
tcp_port_serial_gateway=value
Zeroconf DNS TXT records could also be used to pass along hostname, versions, location, MAC address, and more, etc..
http://www.zeroconf.org/Rendezvous/txtrecords.html
https://en.wikipedia.org/wiki/Zero-configuration_networking#DNS-based_service_discovery
https://en.wikipedia.org/wiki/TXT_record
More information about idea of using DNS TXT records for passing along setting parameters in https://github.com/thegroove/esphome-zbbridge#1 and https://github.com/thegroove/esphome-zha-ezsp-zeroconf
PS: By the way, Home Assistant founders/leads now explicitly said this year they will prioritize focus on features like these types:
https://www.home-assistant.io/blog/2022/01/19/streamlining-experiences/
Check out this video at around 11 min 55 sec in where talk about that focus point about making it easier to get started, etc.
https://www.youtube.com/watch?v=t_2D_KoFIfU&t=710s
Hopefully, it should be a greater chance of getting more help from other Home Assistant developers with this if ask them.