Chip Tool is a Matter controller being developed as part of the Connected Home IP project.
The snap packaging makes it easy to run the Chip Tool on Linux distributions.
This snap has been tested on amd64/arm64 architectures for WiFi/Ethernet/DNS-SD/BLE commissioning and control. It has not been tested with the Thread protocol.
sudo snap install chip-toolConnect the avahi-observe interface to allow DNS-SD based discovery:
sudo snap connect chip-tool:avahi-observeConnect the bluez interface for device discovery over Bluetooth Low Energy (BLE):
sudo snap connect chip-tool:bluezDiscover and pair:
sudo chip-tool pairing onnetwork 110 20202021Or, pair directly by giving the IP address:
sudo chip-tool pairing ethernet 110 20202021 3840 192.168.1.110 5543where:
110is the node id being assigned to the app20202021is the pin code set on the app3840is the discriminator id192.168.1.110is the IP address of the device running the app5540the port for server that runs inside the app
Toggle:
sudo chip-tool onoff toggle 110 1where:
onoffis the matter cluster nameon/off/toggleis the command name.110is the node id of the app assigned during the commissioning1is the endpoint of the configured device
Build locally for the architecture same as the host:
snapcraft -vBuild remotely for all supported architectures:
snapcraft remote-build
for cross compiling this snap for arm64 target on amd64 build machine Use following command snapcraft --build-for