Sensor - AWS IoT FleetWise

Sensor

An input component that reports the environmental condition of a vehicle.

Note

You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

Contents

dataType

The specified data type of the sensor.

Type: String

Valid Values: INT8 | UINT8 | INT16 | UINT16 | INT32 | UINT32 | INT64 | UINT64 | BOOLEAN | FLOAT | DOUBLE | STRING | UNIX_TIMESTAMP | INT8_ARRAY | UINT8_ARRAY | INT16_ARRAY | UINT16_ARRAY | INT32_ARRAY | UINT32_ARRAY | INT64_ARRAY | UINT64_ARRAY | BOOLEAN_ARRAY | FLOAT_ARRAY | DOUBLE_ARRAY | STRING_ARRAY | UNIX_TIMESTAMP_ARRAY | UNKNOWN | STRUCT | STRUCT_ARRAY

Required: Yes

fullyQualifiedName

The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

Type: String

Required: Yes

allowedValues

A list of possible values a sensor can take.

Type: Array of strings

Required: No

comment

A comment in addition to the description.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [^\u0000-\u001F\u007F]+

Required: No

deprecationMessage

The deprecation message for the node or the branch that was moved or deleted.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [^\u0000-\u001F\u007F]+

Required: No

description

A brief description of a sensor.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [^\u0000-\u001F\u007F]+

Required: No

max

The specified possible maximum value of the sensor.

Type: Double

Required: No

min

The specified possible minimum value of the sensor.

Type: Double

Required: No

structFullyQualifiedName

The fully qualified name of the struct node for a sensor if the data type of the actuator is Struct or StructArray. For example, the struct fully qualified name of a sensor might be Vehicle.ADAS.CameraStruct.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 150.

Pattern: [a-zA-Z0-9_.]+

Required: No

unit

The scientific unit of measurement for data collected by the sensor.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: