Addressing
In order to map the variable with the field in database you need to define the following parameters in the variable address:
The field that must be presented by the variable e.g.: value, time, last, ts_value
Tags (pairs key-value) to identify the time series, e.g.: value_type='temperature',location='CA' or tsid='Group1.TimeSeries1',su='MJqdilungXgCeSqAF5sGUq=='
Target data type
Address can be specified by using the following template:
TAG1_KEY='TAG1_VALUE',TAG2_KEY='TAG2_VALUE',...,TAGN_KEY='TAGN_VALUE'[FIELD_NAME]@DATA_TYPE,
where TAG1_KEY, TAG2_KEY, TAGN_KEY - tag keys,
TAG1_VALUE, TAG2_VALUE, TAGN_VALUE - tag values,
FIELD_NAME - field name
and DATA_TYPE - data type
The following are examples of available addresses:
tsid='TS_Motor1_Rpm',tsc='DPP1'[v]@DOUBLE
country='France',city='Paris',address='40-50 boulevard Lannes',location='room 123',value_type='fire_alarm'[value]@BOOLEAN
Last updated