Configuration file templating

qbee.io can template any configuration file. This allows you to expose parts of the configuration easily through mustache templating and make this available as key-value pairs in the qbee.io UI. As an example you can assign different MQTT servers to different customers while still maintaining a common configuration for the application. We have also created an example how to do node-red templating allowing you to manage node-red flows remotely.

qbee-configuration-templating1


Key Value templating

The following image shows how you can use Mustache notation to expose any key value pairs from configuration files to allow a granular access to customized configuration. In the templating file (.tmpl) the username = "{{username}}" will be exposed in the UI and replaced by username = "my_username" Based on groups of devices different settings can be applied. One example could be different MQTT servers

qbee-configuration-templating2

For more information how to configure this please see file distribution or software management.