Adding Data Types
Adding Data Types
Data types define the structure of incoming sensor data, ensuring consistency and accuracy in storage. Each data type is associated with a specific measurement and unit, making it easier to manage and interpret sensor readings. Follow the steps below to add new data types to your database.
Steps to Add Data Types
- Navigate to Data Management > Data Types.
- Select your database from the dropdown menu.
- Click "Add New Data Type" and provide the following details:
Field | Description |
---|---|
Type | The JSON payload header in the format <sensorName_measurementType> (e.g., SI7020_TMP ). |
Name | A descriptive label for the data type (e.g., SI7020 Temperature ). |
Unit | The measurement unit (e.g., Celsius). |
Format | The recommended format is double to ensure precision. |
Once the data type is added, it will be available for use in data ingestion and visualization. Properly defining data types ensures accurate storage and retrieval of sensor readings. If modifications are needed, additional data types can be added, but existing ones cannot be removed.