Configuration and settings changes.
Configuration and settings changes.
Editing sensors is a feature most often used after cloning a sensor or when the user wants to adjust some values like scale and offset.
Note:
Any of the configuration fields can be edited except for the sensor Unique ID.
Fields marked with an asterisks * are mandatory.
| Field | Description |
|---|---|
| Type | Select the type of sensor you want to add. |
| Name * | Insert a name for the new sensor. |
| Unique ID * | Insert a unique ID, this ID needs to be unique only to this gateway. Note: this field can NOT be changed once created. |
| Hardware Address | Identifies the address where the sensor is connected. |
| Hardware type | Specify what type of sensor you want to create. Possible options are: * iio-adc - analog * iio-dig - digital * virtual - virtual sensor/actuator |
| Field | Description |
|---|---|
| Min | The minimum expected value. |
| Max | The maximum expected value. |
| Field | Description |
|---|---|
| Scale | The value used to convert row date into samples in the expected range. For more details check out the example above. |
| Offset | The number used to indicate the lowest expected value. If the min recordable temperature is -30 then the value of this field should be -30. |
| Sample rate | The expected sample rate sent to the ubiworx broker. |
| Units | Describe the sample value. |
| Filters | Add filters to the sensor to extend the default sensor functionality. Available filters: * average(10) - function used to average a number of samples. |