Managing Data Templates

Managing Data Templates

A data template in RubiThings defines a data packet format that you send from your IoT-enabled devices. RubiThings acquires (subscribes) the data if the incoming (published) data is in the form defined in the data template.
A data template specifies the following two attributes for the incoming data.

  • Property Name, which is the name of the quantity to be measured
  • Data Type of the Property

    Warning

    The format in which the data is retrieved from an IoT-enabled device should be identical to the assigned data template.

  • The Property Name and Data Type should be identical to that defined in the data template.
  • The Property Name is case-sensitive. Hence, the Property string coming from the IoT-enabled device and that in the defined string should be identical.
  • Example: A string named 'Temperature' and 'temperature' is considered two different properties (and not the same).
  • Example: A property 'Temperature' with data type 'Number' is not the same as a property 'Temperature' with data type 'String'.

In the above two cases, the published data and the data template format do not match. Hence, the data from the IoT-enabled device is discarded, and an error message is displayed.

    • Related Articles

    • Sorting Templates

      The Data Templates are sorted by the date and time they were modified with the most recent data template appearing first. You can also sort data templates according to alphabetical order. To sort data templates, In the Manage dropdown, click Data ...
    • Editing Data Dictionary

      After you create a data dictionary, you can edit it. For creating a data dictionary, refer to Creating New Data Dictionary. In Editing Data Dictionary, you can, Add, edit, and delete datasets from the data dictionary canvas. Add new features to the ...
    • Managing Things

      Understanding Things A thing in RubiThings is any physical object, such as an intelligent sensor or edge device that can transfer data over a network, any of the IoT-enabled devices Adding a New thing You can add a thing by Clicking Things in the ...
    • Managing Rules

      Understanding Rules A rule in RubiThings is a set of instructions defined to trigger and generate an alert based on the specified condition. These rules get applied to any data packet in near real-time. Adding a Rule You can add a rule by Clicking ...
    • Managing Licensing

      Rubiscape offers its data science platform as a service to its clients. When you purchase a Rubiscape license, Rubiscape assigns a unique license key to you. Following is the exhaustive list of Module Access privileges that the client may receive ...