Page tree
Skip to end of metadata
Go to start of metadata

The Properties tab enables you to define properties for the thing definition.  Each property of a thing are the data points related to the thing.  For example - Fuel economy, Fuel level are the data points related to a car thing.  The properties (data points) collected are displayed in the thing view as graphs(value vs timestamp).  Each individual graphs represents one property of the thing.  

Properties graph stores historical data for a thing. To view the historical data, click on a property in the Thing view. It is possible to override the presentation values with the values defined in the Properties Tab.  For more information, see Presentation.

To define the Properties, do the following:

  1. From the Developer main screen in the THINGS group, click Thing definitions.
    The Thing definitions screen appears.

  2. Under the Standard tab, click on the Properties tab


  3. Enter the following fields:

    Field
    Description
    KeyThe key of the property definition. For more information on formats and limitations of a key, see Field Formats and Limitations.
    NameThe name of the property definition that is displayed on Management Portal pages.
    PrefixAn optional prefix that is displayed before the property on the thing's page in the Management Portal.
    SuffixAn optional suffix that is displayed after the property on the thing's page in the Management Portal.
    UnitEnter the unit of measure. For example, Time in ms.
    Calculate aggregatesWhen Calculate aggregates is set to True, all the seven types of aggregates (Average, Weighted Average, Non-zero time weighted average, Sum, Max, Min, and Count) are calculated. For more information on property aggregate. see property.aggregate and thing_def.create
    View security tagsEnter any number of tags to the attribute that controls whether a user or application can view the property. The user or application must have a role that has the same view security tag associated with it in order to view a property with a view security tag associated with it.
    Update security tagsEnter any number of tags to the attribute that controls whether a user or application can update the property. The user or application must have a role that has the same update security tag associated with it in order to update a property with an updated security tag associated with it.
    ScaleScales the input property value to a required factor. Scaling simplifies the values to more meaningful numerical values. For example, $(value)*1.8+32 converts the values from Celsius to Fahrenheit.
    DeduplicateCheck this option to ignore the duplicate property values (a newly published property value with the same timestamp as an existing property value)
    Override presentation displayCheck this option to override the values in the Presentation. When you check this, the dialog gets populated with the values assigned in the Presentation.

      

  4. Click the + Property Definition link will display a New property definition section. Selecting the - Delete property definition link will delete the currently displayed property.
       

  5. Click Add to add the Property definition.


Related topics

  • No labels