Reading Types is a feature that helps you create/edit/update measurements coming in as a result of sensor’s and actuator’s readings, such as temperature, humidity, location, velocity, acceleration, radiation, and so on.
These include:
- Name
- Data type - defines the type of data coming from the sensor (NUMERIC, STRING or BOOLEAN)
- Default unit - displays after you fill out Measurement Units tab
- Data size - represents volume of data coming from device sensor (e.g. 1)
- Labels - values separated with comma (e.g. data size is 2, longitude, latitude)
- In use - indicates if the reading type is currently in use or not
Search box enables you to search any reading type by its name.
Add Reading Type
To add reading type click the button in the Reading Types tab.
To create reading type:
- Enter name (e.g. Temperature)
- Select data type (e.g. Numeric)
- Enter data size (e.g. 1)
- Enter labels (if data size is more than 1; e.g. longitude, latitude)
- Enter default unit (e.g. Celsius)
- Enter symbol (e.g. C)
- Define unit precision (there can be up to 10 digits after decimal point)
- Click Create
Edit Reading Type
To edit reading type:
- Click the reading type you would like to edit
- Select Edit in more action button
You can edit the following information:
- Name
- Data type
- Data size
- Default unit
Click Save to save the changes.
Delete Reading Type
To delete reading type:
- Click the reading type you would like to delete
- Select Delete in more action button
- Click Delete
Please note that you can only edit/delete custom reading types! Default reading types cannot be edited/deleted!
Measurement Units
- Select Details in more action button
- Click Add within Measurement Units tab
You are required to enter the following:
- Unit name (e.g. Kelvin)
- Symbol (e.g. K)
- Define precision (there can be up to 10 digits after decimal point)
- Click Add
Please note that you can only edit/delete custom measurement units! Default units cannot be deleted.
Edit/Delete Measurement Unit
- Click the measurement unit you would like to edit
- Select Edit in more action buttons
You can edit the following information:
- Name
- Symbol
- Precision
Please note that you can only edit/delete custom measurement units! Default units cannot be deleted.
To delete measurement unit:
- Click the measurement unit you would like to delete
- Select Delete in more action button
- Confirm the action by clicking Delete
Unit conversions
WolkReact reading management module enables the creation of custom reading types and conversion of custom reading type units. Custom unit conversion allows custom reading type units to convert to another value.
You can edit and delete previously used custom reading type units.
To convert custom reading type:
- Go to the Unit conversions tab within the Reading type management module
- Click Add to create new unit Conversion
- New Create conversion dialog will open
- Select custom reading type you would like to convert
- Enter the unit from which you would like to convert
- Enter the unit you would like to convert
- Enter conversion formula
- If you would like to check your conversion formula, enter Input value and click Validate
The converted unit value will be displayed in the Output text field
Click Add to complete the process
Unit conversion will appear in unit conversions list within Reading Type Details
Note: You cannot delete/edit unit in use!