ApiDevicePeripheralInput

Introduction
A single GPIO peripheral input reading, reported as-is from the device. This is a read-only passthrough of the device's raw reading; no orientation or semantic interpretation is applied.
Properties

DeviceType

Sensor type currently set for the input (e.g. "Seatbelt", "DoorSensor"), as applied by ConfigureDevicePeripheral. "Unlabeled" if there is no recognised label for this input, for example it was never configured or was later removed from a ConfigureDevicePeripheral call.

InputNumber

GPIO input number.

Name

Label supplied for the input, if any.

Reading

Raw GPIO reading (0 or 1) as received from the device.

Timestamp

UTC timestamp of this reading. Null if not yet received.

Loading API Runner...