Open rouke-broersma opened 10 months ago
Zigbee2mqtt can use mdns auto discovery. If we make the serial2network service discoverable through mdns, z2mqtt can auto connect: https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#mdns-zeroconf-discovery
When we onboard a raspberry pi with the zigbee controller to talos we need a container that can mount the controller from usb and map it to tcp. Zigbee2mqtt can then connect to the controller over tcp.
https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_adapter.html#_2-a-configure-ser2net-4-0
unmaintained example of serial2network container: https://github.com/jbouwh/ser2net/tree/main
The advantage is that zigbee2mqtt can then run anywhere and is not bound to the node that has a zigbee controller.