CGI Key=Value Unit

Description

The unit is similar to CGI-unit, but it can parse data by sorting it out into data elements. The unit requires each data item to be written on a separate line. The item name is placed before the equal sign(=), and the value is placed after it.

Parameters

Command
The absolute path to the file to execute
Arguments
Arguments for the specified command
Period
The period between sensor activities

Data Items

The sensor generates a different number of items depending on the input data. For example: an external program returned two lines with the following content:
        item1=42
        item2=42.42
    
As a result, two elements with the corresponding values will be set.

Pictures

Screenshot
cgi-key-value unit screenshot
Configuration
cgi-key-value unit configuration
Content of main.bat
cgi-key-value unit configuration - main.bat