-
Notifications
You must be signed in to change notification settings - Fork 5
Addon structure
An Addon is a single .tar
archive that contains the following files:
-
free-at-home-metadata.json
This file contains information about the Addon that will be used by the system access point. See the metadata documentation for details.
-
TypeScript or JavaScript files that implement the logic of the Addon.
-
The
node_modules
directory with all dependencies necessary to run the Addon.
The free-at-home-metadata.json
file contains information about the Addon that is used by the
system access point. Every Addon must provide this file and has to adjust a few attributes, such as
id
and name
of the Addon.
See the metadata documentation for details.
The Addon archive .tar
file can be built using the command line tool provided in the ABB free@home
Addon Development Kit (ADK), for example in the example Addon.
Please refer to the walkthrough for usage details. This tool will
copy all required files and create the final .tar
file that can be uploaded to the system access
point.