Skip to content

@camera.ui/sdk / sensor / DeviceInfo

Interface: DeviceInfo ​

Defined in: sensor/device.ts:8

The physical device a sensor belongs to, as the plugin reports it. Sensors of one plugin that report the same id form one device: one row on the sensors page, one HomeKit accessory, one Home Assistant device. A sensor without a device is its own device, and a sensor added with camera.addSensor() belongs to its camera.

Properties ​

firmware? ​

optional firmware?: string

Defined in: sensor/device.ts:18

Firmware version.


id ​

id: string

Defined in: sensor/device.ts:10

The source's stable id for the device, never an address: a vendor device id, a Home Assistant device id, a serial number.


manufacturer? ​

optional manufacturer?: string

Defined in: sensor/device.ts:14

Manufacturer label.


model? ​

optional model?: string

Defined in: sensor/device.ts:16

Model label.


name ​

name: string

Defined in: sensor/device.ts:12

Name of the device at the source.


serialNumber? ​

optional serialNumber?: string

Defined in: sensor/device.ts:20

Serial number.