Git Template Importer
Central management of templates is possible with the “Git Template Importer”. This regularly checks a Git repository for changes and imports the template file stored there if necessary.
The settings for this can be found under the menu item "Additional Settings".
Important! Before the import all devices are deleted so that it is ensured that only the sensors in the template are available in the system. This allows the complete remote management of the paired sensors.
Setting | Description |
---|---|
Repository URL | HTTP(S) URL of the repository. |
Username | Username used for authentication. |
Password | Password used for authentication. |
Unit | Subordinate area in the repository. |
Branch | Branch to use. Leave empty to use the default repository branch. |
The repository must contain the files "revision" and "enocean.template". The file "revision" must contain a positive number indicating the revision number. This file is used to determine whether the “enocean.template” must be re-imported. The "enocean.template" file contains the actual template data (see Sensor Template Import).
The "Unit" setting can be used to specify a subfolder in the repository that contains the two files. In this way, different templates can also be managed in one repository.
It is checked for an update four times a day, approximately 6 hours apart. After changing the settings or restarting the gateway, an additional check is performed after three minutes.