Hi,
This is a request to add auto connection assertions for avahi-observe
and bluez
interfaces when installing chip-tool from the public store.
Chip Tool is a Matter (smart home standard) controller, which can be used for various Matter-related operations. To commission Matter devices, the application requires access to
- Discover DNS-SD registrations. This is needed to discover the IP address of devices in the local network.
- Discover devices over BLE. This is often used to initiate the commissioning of Thread devices.
On a classic system the slots are provided by the system (snapd):
chip-tool:avahi-observe
→:avahi-observe
chip-tool:bluez
→:bluez
On Ubuntu Core, the plugs should connect to other snaps:
chip-tool:avahi-observe
→avahi:avahi-observe
chip-tool:bluez
→bluez:service
(Note the mismatching slot name)
In future, the chip-tool snap may define those snaps as default providers.
Auto connection wasn’t a requirement until now because users were expected to follow the documentation to install and then connect the interfaces. Recently, it came to our attention that using the commands on an Ubuntu system that doesn’t have Chip Tool installed, leads to an installation command suggestion without pointing the user to the documentation:
$ chip-tool
Command 'chip-tool' not found, but can be installed with:
sudo snap install chip-tool
which results in a partially functional deployment.
Thanks