Generic Web Export
The export module "Generic Web Export" is used to forward device updates to a web service.
Multiple export instances can be created.
The configuration is done via the "IoT Export" area of the web configuration or the BSC Remote.
Variables can be used to populate specific devices or channel data at runtime.
The "Thing variables" can be used in templates or the URL.
Furthermore, the template to export the data can be fully customized.
In the case of a device update, the variables are filled with the current values and the string generated in this way is sent as the body of the request.
Variable | Description |
---|---|
<<GW_ID>> | Hardware ID of the gateway |
<<ID>> | Device ID |
<<NAME>> | Device name |
<<STATE>> | Device state |
<<SIGNAL_STRENGTH>> | Signal strength last signal |
<<LAST_MODIFIED>> | Last device change |
<<CHANNELS>> | Placeholder for the channel template |
The Channel Template is used to iteratively generate a list of channels and their values. This list can be used as a variable in the thing template.
The "Channel Separator" field is used to separate the elements in the generated string.
Variable | Description |
---|---|
<<CHANNEL:ID>> | ID of the channel |
<<CHANNEL:VALUE>> | Current channel value |
Basic Auth or authentication via header tokens is supported.
The Basic Auth Credentials simply need to be entered into the appropriate fields.
Header tokens can be added in the header field.
The request type, as well as custom header fields, can be added in the appropriate fields.
Optionally, a filter based on thing ID's can be activated.