| { |
| "id": "zclConfigurator", |
| "label": "ZCL Advanced Platform (ZAP)", |
| "description": "Graphical configuration tool for application and libraries based on Zigbee Cluster Library.", |
| "path": [".", "node_modules/.bin/", "ZAP.app/Contents/MacOS"], |
| "requiredFeatureLevel": "apack.core:9", |
| "featureLevel": 107, |
| "uc.triggerExtension": "zap", |
| "uc.sdkProvidedProperties": "zcl.matterZclJsonFile,zcl.matterTemplateJsonFile,zcl.zigbeeZclJsonFile,zcl.zigbeeTemplateJsonFile", |
| "executable": { |
| "zap:win32.x86_64": { |
| "exe": "zap.exe", |
| "optional": true |
| }, |
| "zap:linux.x86_64": { |
| "exe": "zap", |
| "optional": true |
| }, |
| "zap:macosx.x86_64": { |
| "exe": "zap.app/Contents/MacOS/zap", |
| "optional": true |
| }, |
| "zap:macosx.aarch64": { |
| "exe": "zap.app/Contents/MacOS/zap", |
| "optional": true |
| }, |
| "zap": { |
| "engine": "node", |
| "optional": true, |
| "exe": "src-script/zap-start.js" |
| }, |
| "zap-cli:win32.x86_64": { |
| "exe": "zap-cli.exe", |
| "optional": true |
| }, |
| "zap-cli:linux.x86_64": { |
| "exe": "zap-cli", |
| "optional": true |
| }, |
| "zap-cli:macosx.x86_64": { |
| "exe": "zap-cli", |
| "optional": true |
| }, |
| "zap-cli:macosx.aarch64": { |
| "exe": "zap-cli", |
| "optional": true |
| }, |
| "zap-cli": { |
| "engine": "node", |
| "optional": true, |
| "exe": "src-script/zap-start.js" |
| } |
| }, |
| "ui": { |
| "launchItem": { |
| "id": "ZAP", |
| "category": "tools", |
| "label": "ZCL Advanced Platform", |
| "icon": "zap.png", |
| "launchUiFunction": "launchZAP", |
| "toolTip": "ZCL Advanced Platform" |
| } |
| }, |
| "function": { |
| "launchZAP": { |
| "cmd": "$(zap)" |
| }, |
| "ui:uc_cli": { |
| "cmd": "$(zap)" |
| }, |
| "selfcheck:uc_cli": { |
| "cmd": "$(zap-cli) selfCheck" |
| }, |
| "version:uc_cli": { |
| "cmd": "$(zap-cli) --version" |
| }, |
| "uc_generate": { |
| "cmd": "$(zap-cli) generate --noUi --noServer -o ${generationOutput} --packageMatch fuzzy [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ] [ --zcl ${zcl.matterZclJsonFile} | --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json ] [ --generationTemplate ${zcl.zigbeeTemplateJsonFile} | --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ] [ --generationTemplate ${zcl.matterTemplateJsonFile} | --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json ] --in ${contentFolder} --noLoadingFailure --appendGenerationSubdirectory --upgradeZapFile" |
| }, |
| "uc_upgrade": { |
| "cmd": "$(zap-cli) upgrade --results ${results} -d ${tempContentFolder} [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ] [ --zcl ${zcl.matterZclJsonFile} | --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json ] [ --generationTemplate ${zcl.zigbeeTemplateJsonFile} | --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ] [ --generationTemplate ${zcl.matterTemplateJsonFile} | --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json ] --noLoadingFailure" |
| }, |
| "zapHelp": { |
| "cmd": "$(zap) --help" |
| }, |
| "zapSelfcheck": { |
| "cmd": "$(zap) selfCheck" |
| }, |
| "zapServer": { |
| "cmd": "$(zap) server --reuseZapInstance --packageMatch fuzzy [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ] [ --zcl ${zcl.matterZclJsonFile} | --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json ] [ --generationTemplate ${zcl.zigbeeTemplateJsonFile} | --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ] [ --generationTemplate ${zcl.matterTemplateJsonFile} | --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json ] --studioHttpPort ${studioHttpPort} --noLoadingFailure --appendGenerationSubdirectory" |
| }, |
| "zapStop": { |
| "cmd": "$(zap) stop --reuseZapInstance" |
| }, |
| "zapStatus": { |
| "cmd": "$(zap) status --reuseZapInstance" |
| }, |
| "zapServerNoSdk": { |
| "cmd": "$(zap) server --reuseZapInstance --studioHttpPort ${studioHttpPort}" |
| }, |
| "zapFull": { |
| "cmd": "$(zap) --showUrl [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ]" |
| }, |
| "zapRegenSdk": { |
| "cmd": "$(zap) regenerateSdk --sdk ${sdkJsonFile}" |
| }, |
| "zapIscConvert": { |
| "cmd": "$(zap) convert --noUi --noServer --noZapFileLog [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ] --out ${outFile} ${inFile}" |
| }, |
| "zapIscOpen": { |
| "cmd": "$(zap) --noServer [ --zcl ${zcl.zigbeeZclJsonFile} | --zcl ${sdkRoot}/app/zcl/zcl-zap.json ] [ --generationTemplate ${zcl.zigbeeTemplateJsonFile} | --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ] ${inFile}" |
| } |
| } |
| } |