Skip to content

@camera.ui/sdk / sensor / SENSOR_META

Variable: SENSOR_META

const SENSOR_META: readonly [{ assignmentKey: "audio"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { decibels: { type: "number"; unit: "dB"; }; detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; lastTriggered: { internal: true; type: "number"; }; }; semantics: null; type: Audio; }, { assignmentKey: "battery"; cameraBound: true; category: Info; isDetectionType: false; multiProvider: false; properties: { charging: { type: "enum"; values: { charging: Charging; full: Full; not_chargeable: NotChargeable; not_charging: NotCharging; }; }; level: { max: 100; min: 0; type: "number"; unit: "%"; }; low: { type: "boolean"; }; }; propertyCapabilities: { charging: Charging; low: LowBattery; }; semantics: { commandProperty: Level; deviceClass: "battery"; diagnostic: true; domain: Measurement; stateProperty: Level; unit: "%"; }; shortcutable: true; type: Battery; }, { assignmentKey: "carbonDioxide"; category: Info; isDetectionType: false; multiProvider: true; properties: { current: { type: "number"; unit: "ppm"; writable: true; }; }; semantics: { commandProperty: CarbonDioxideProperty; deviceClass: "carbon_dioxide"; domain: Measurement; stateProperty: CarbonDioxideProperty; unit: "ppm"; }; shortcutable: true; type: CarbonDioxide; virtual: { properties: { current: 20; }; }; }, { assignmentKey: "carbonMonoxide"; cascadeTrigger: { property: CarbonMonoxideProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: CarbonMonoxideProperty; deviceClass: "carbon_monoxide"; domain: Binary; stateProperty: CarbonMonoxideProperty; }; shortcutable: true; type: CarbonMonoxide; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "classifier"; category: Sensor; isDetectionType: true; multiProvider: true; properties: { detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; labels: { type: "object"; }; }; semantics: null; type: Classifier; }, { assignmentKey: "clip"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { }; semantics: null; type: Clip; }, { assignmentKey: "cold"; cascadeTrigger: { property: ColdProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: ColdProperty; deviceClass: "cold"; domain: Binary; stateProperty: ColdProperty; }; shortcutable: true; type: Cold; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "contact"; cascadeTrigger: { property: ContactProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: ContactProperty; deviceClass: "opening"; domain: Binary; stateProperty: ContactProperty; }; shortcutable: true; type: Contact; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "doorbell"; cascadeTrigger: { property: DoorbellProperty; sustained: false; value: true; }; category: Trigger; isDetectionType: false; multiProvider: true; properties: { ring: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: DoorbellProperty; domain: Binary; icon: "mdi:doorbell"; stateProperty: DoorbellProperty; }; shortcutable: true; type: Doorbell; virtual: { properties: { ring: false; }; }; }, { assignmentKey: "face"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; identities: { type: "object"; }; }; semantics: null; type: Face; }, { assignmentKey: "garage"; cascadeTrigger: { property: CurrentState; sustained: true; value: 0; }; category: Control; isDetectionType: false; multiProvider: true; properties: { currentState: { type: "enum"; values: { closed: Closed; closing: Closing; open: Open; opening: Opening; stopped: Stopped; }; }; obstructionDetected: { type: "boolean"; }; targetState: { type: "enum"; values: { closed: Closed; open: Open; }; writable: true; }; }; semantics: { commandProperty: TargetState; deviceClass: "garage"; domain: Cover; stateProperty: CurrentState; states: { closed: Closed; closing: Closing; open: Open; opening: Opening; stopped: Stopped; }; }; shortcutable: true; type: Garage; virtual: { properties: { currentState: 1; targetState: 1; }; }; }, { assignmentKey: "gas"; cascadeTrigger: { property: GasProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: GasProperty; deviceClass: "gas"; domain: Binary; stateProperty: GasProperty; }; shortcutable: true; type: Gas; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "heat"; cascadeTrigger: { property: HeatProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: HeatProperty; deviceClass: "heat"; domain: Binary; stateProperty: HeatProperty; }; shortcutable: true; type: Heat; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "humidity"; category: Info; isDetectionType: false; multiProvider: true; properties: { current: { max: 100; min: 0; type: "number"; unit: "%"; writable: true; }; }; semantics: { commandProperty: HumidityProperty; deviceClass: "humidity"; domain: Measurement; stateProperty: HumidityProperty; unit: "%"; }; shortcutable: true; type: Humidity; virtual: { properties: { current: 50; }; }; }, { assignmentKey: "illuminance"; category: Info; isDetectionType: false; multiProvider: true; properties: { current: { type: "number"; unit: "lx"; writable: true; }; }; semantics: { commandProperty: IlluminanceProperty; deviceClass: "illuminance"; domain: Measurement; stateProperty: IlluminanceProperty; unit: "lx"; }; shortcutable: true; type: Illuminance; virtual: { properties: { current: 20; }; }; }, { assignmentKey: "leak"; cascadeTrigger: { property: LeakProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: LeakProperty; deviceClass: "moisture"; domain: Binary; stateProperty: LeakProperty; }; shortcutable: true; type: Leak; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "licensePlate"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; plates: { type: "object"; }; }; semantics: null; type: LicensePlate; }, { assignmentKey: "light"; cascadeTrigger: { property: On; sustained: true; value: true; }; category: Control; isDetectionType: false; multiProvider: true; properties: { brightness: { max: 100; min: 0; type: "number"; unit: "%"; writable: true; }; on: { type: "boolean"; writable: true; }; }; propertyCapabilities: { brightness: Brightness; }; semantics: { commandProperty: On; domain: Light; stateProperty: On; }; shortcutable: true; type: Light; virtual: { capabilities: readonly [Brightness]; properties: { brightness: 100; on: false; }; }; }, { assignmentKey: "lock"; cascadeTrigger: { property: CurrentState; sustained: true; value: 1; }; category: Control; isDetectionType: false; multiProvider: true; properties: { currentState: { type: "enum"; values: { secured: Secured; unknown: Unknown; unsecured: Unsecured; }; }; targetState: { type: "enum"; values: { secured: Secured; unsecured: Unsecured; }; writable: true; }; }; semantics: { commandProperty: TargetState; domain: Lock; stateProperty: CurrentState; states: { locked: Secured; unlocked: Unsecured; }; }; shortcutable: true; type: Lock; virtual: { properties: { currentState: 0; targetState: 0; }; }; }, { assignmentKey: "motion"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { blocked: { internal: true; type: "boolean"; }; detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; lastTriggered: { internal: true; type: "number"; }; }; semantics: null; type: Motion; }, { assignmentKey: "object"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { detected: { type: "boolean"; }; detections: { internal: true; type: "object"; }; labels: { type: "object"; }; staticDetections: { internal: true; type: "object"; }; }; semantics: null; type: Object; }, { assignmentKey: "objectAssist"; category: Sensor; isDetectionType: true; multiProvider: false; properties: { }; semantics: null; type: ObjectAssist; }, { assignmentKey: "occupancy"; cascadeTrigger: { property: OccupancyProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: OccupancyProperty; deviceClass: "occupancy"; domain: Binary; stateProperty: OccupancyProperty; }; shortcutable: true; type: Occupancy; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "power"; cascadeTrigger: { property: PowerProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: PowerProperty; deviceClass: "power"; domain: Binary; stateProperty: PowerProperty; }; shortcutable: true; type: Power; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "problem"; cascadeTrigger: { property: ProblemProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: ProblemProperty; deviceClass: "problem"; domain: Binary; stateProperty: ProblemProperty; }; shortcutable: true; type: Problem; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "ptz"; cameraBound: true; category: Control; isDetectionType: false; multiProvider: false; properties: { home: { internal: true; type: "boolean"; writable: true; }; moving: { type: "boolean"; }; position: { keys: readonly ["pan", "tilt", "zoom"]; type: "object"; writable: true; }; presets: { type: "object"; }; relativeMove: { internal: true; type: "object"; writable: true; }; targetPreset: { type: "string"; writable: true; }; velocity: { internal: true; type: "object"; writable: true; }; }; semantics: null; type: PTZ; }, { assignmentKey: "securitySystem"; cascadeTrigger: { property: CurrentState; sustained: true; value: 4; }; category: Control; isDetectionType: false; multiProvider: true; properties: { currentState: { type: "enum"; values: { alarm_triggered: AlarmTriggered; away_arm: AwayArm; disarmed: Disarmed; night_arm: NightArm; stay_arm: StayArm; }; }; targetState: { type: "enum"; values: { away_arm: AwayArm; disarmed: Disarmed; night_arm: NightArm; stay_arm: StayArm; }; writable: true; }; }; semantics: { commandProperty: TargetState; domain: Alarm; stateProperty: CurrentState; states: { armed_away: AwayArm; armed_home: StayArm; armed_night: NightArm; disarmed: Disarmed; triggered: AlarmTriggered; }; }; shortcutable: true; type: SecuritySystem; virtual: { properties: { currentState: 3; targetState: 3; }; }; }, { assignmentKey: "siren"; cascadeTrigger: { property: Active; sustained: true; value: true; }; category: Control; isDetectionType: false; multiProvider: true; properties: { active: { type: "boolean"; writable: true; }; volume: { max: 100; min: 0; type: "number"; unit: "%"; writable: true; }; }; propertyCapabilities: { volume: Volume; }; semantics: { commandProperty: Active; domain: Siren; stateProperty: Active; }; shortcutable: true; type: Siren; virtual: { capabilities: readonly [Volume]; properties: { active: false; volume: 100; }; }; }, { assignmentKey: "smoke"; cascadeTrigger: { property: SmokeProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: SmokeProperty; deviceClass: "smoke"; domain: Binary; stateProperty: SmokeProperty; }; shortcutable: true; type: Smoke; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "switch"; cascadeTrigger: { property: SwitchProperty; sustained: true; value: true; }; category: Control; isDetectionType: false; multiProvider: true; properties: { on: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: SwitchProperty; domain: Switch; stateProperty: SwitchProperty; }; shortcutable: true; type: Switch; virtual: { properties: { on: false; }; }; }, { assignmentKey: "tamper"; cascadeTrigger: { property: TamperProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: TamperProperty; deviceClass: "tamper"; domain: Binary; stateProperty: TamperProperty; }; shortcutable: true; type: Tamper; virtual: { properties: { detected: false; }; }; }, { assignmentKey: "temperature"; category: Info; isDetectionType: false; multiProvider: true; properties: { current: { type: "number"; unit: "°C"; writable: true; }; }; semantics: { commandProperty: TemperatureProperty; deviceClass: "temperature"; domain: Measurement; stateProperty: TemperatureProperty; unit: "°C"; }; shortcutable: true; type: Temperature; virtual: { properties: { current: 20; }; }; }, { assignmentKey: "vibration"; cascadeTrigger: { property: VibrationProperty; sustained: true; value: true; }; category: Sensor; isDetectionType: false; multiProvider: true; properties: { detected: { type: "boolean"; writable: true; }; }; semantics: { commandProperty: VibrationProperty; deviceClass: "vibration"; domain: Binary; stateProperty: VibrationProperty; }; shortcutable: true; type: Vibration; virtual: { properties: { detected: false; }; }; }]

Defined in: sensor/registry.ts:39

Every sensor's metadata. A new sensor type adds its meta here.