Configuration file templating

The qbee engine can template any configuration file. This opens up interesting possibilities to manage large fleets of IoT devices or any other embedded Linux devices such as Raspberry Pis on a more individual basis. Create groups and sub groups that receive slightly different configuration files. The fact that any Linux or application configuration file can be easily exposed through mustache templating and be made available as key-value pairs in the UI allows for very convenient and simple adjustments to standard configuration. One example is to 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.


Key Value configuration 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


For more information how to configure IoT devices please check out our file distribution or the software management.