west zap-gui not found

Hello,

I installed NRF Connect SDK 2.6.1 on Ubuntu following this guide, Now I try to follow the tutorial for Adding clusters to Matter applications. I'm stuck at (2) Adding clusters using the ZAP tool. When I enter west zap-gui in the integrated teminal in VS Code, I get:

┌──(edi㉿silver)-[~/nordic/tut/template]
└─$ west zap-gui
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
west: unknown command "zap-gui"; workspace /home/edi/ncs/v2.6.1 does not define this extension command -- try "west help"

Any Ideas?

Thanks and regards, Edi

Parents
  • Hi Edi,

    You are looking at the documentation for the main branch and not v2.6.1.

    The ZAP tool west commands were added in the nRF Connect SDK v2.7.0. In v2.6.1, you must install the ZAP tool as described in Installing the ZAP tool, and then use the following command to run it (make sure to replace *sample_location* and *matter_root_location* with the correct paths):

    zap *sample_location*/src/template.zap --zcl *matter_root_location*/src/app/zap-templates/zcl/zcl.json --gen *matter_root_location*/src/app/zap-templates/app-templates.json

    You can find the v2.6.1 documentation for adding clusters here: Adding clusters to Matter application. If you want to use the west commands, you must update to v2.7.0.

    Best regards,
    Marte

Reply
  • Hi Edi,

    You are looking at the documentation for the main branch and not v2.6.1.

    The ZAP tool west commands were added in the nRF Connect SDK v2.7.0. In v2.6.1, you must install the ZAP tool as described in Installing the ZAP tool, and then use the following command to run it (make sure to replace *sample_location* and *matter_root_location* with the correct paths):

    zap *sample_location*/src/template.zap --zcl *matter_root_location*/src/app/zap-templates/zcl/zcl.json --gen *matter_root_location*/src/app/zap-templates/app-templates.json

    You can find the v2.6.1 documentation for adding clusters here: Adding clusters to Matter application. If you want to use the west commands, you must update to v2.7.0.

    Best regards,
    Marte

Children
No Data
Related