Overview
Sensor mount types specify how a specific sensor(s) is mounted within a device. This is usually specified when associating a sensor integration (or sensor integrations) with a device integration and is done at the time the device integration is initially created. A device integration can have multiple sensor integrations that it references. For example, if the device is capable of reporting on pressure and temperature, there will be a reference to a pressure sensor as well as a reference to a temperature sensor.
See screenshot here on the right:
Device Integration |
Mount Types
Mount Type | Description | PropertyTypes | Examples |
fixed | This specifies that the sensor is fixed in-place for this device. The number of sensors cannot vary and is not dependent on any user input or configuration. An example of this is a temperature sensor which reports on the temperature of the device. Usually there is only 1 temperature sensor in a device and it doesn't make sense to have multiple. | temperature, pressure | |
array | This specifies that the sensor can have 1 or more instances for this device. It is driven by the PropertyType SIZE where that value (which is an integer) specifies how many instances of this sensor are attached to this device. The SIZE PropertyType can either be user-inputted via the config form or read dynamically from the device if the number of sensors can be determined by issuing a command to the device. Each sensor instance that gets created automatically gets a PropertyType MUX_INDEX assigned to it by the sensemetrics Platform. This is a 1-based index for each sensor. An example of this is an extensometer with 5 segments. This would have a SIZE set to 5 and you would see 5 sensors underneath the device in the Connectivity page. Segment 1 would have MUX_INDEX=1, segment 2 would have MUX_INDEX=2, etc. It is common to expose these PropertyTypes using textInput UI controls when working with array type sensors. The MUX_INDEX would be exposed on each sensor and the SIZE would be exposed on the device. See here for more info on PropertyTypes: PropertyTypes Reference | SIZE, MUX_INDEX | vibrating wire, thermistor array, shape array |
mux | not used | not used | not used |
optional |
This specifies that the sensor can be optional for the device. It is driven by the PropertyType OPTIONAL_SENSOR where that value (a boolean) specifies whether we should attach the optional sensor to the device. The OPTIONAL_SENSOR PropertyType is usually user-inputted via the config form (via a formToggle for example). |
OPTIONAL_SENSOR |
tipping bucket |
Dynamic Sensors
The sensemetrics Platform and the SIB also allow sensors to be associated with a device in a dynamic manner. For more info, see Dynamic Sensors.
Comments
0 comments
Please sign in to leave a comment.