Dominevo
ReferenceHTTP APIShapes

Shapes: E

Named input and output shapes starting with E, referenced from the router pages.

Each shape is a TypeScript-style rendering of the validation schema. ? marks an optional field; self is a recursive reference.

EffectiveTuningSchema

{
  deviceKey: string | null
  runtime: string
  batchMode: string
  windowMs: number
  maxBatchSize: number
  concurrency: number
  numWorkers: number
}

EgressEncodeSchema

{
  video: { codec: "h264" | "h265" | "copy" | "source"; profile?: "baseline" | "main" | "high"; level?: string; width?: number; height?: number; fps?: number; bitrateKbps?: number; gopFrames?: number; bf?: number; preset?: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium"; tune?: "zerolatency" | "film" | "animation"; singleSlicePerFrame?: boolean }
  audio: "passthrough" | { codec: "opus" | "aac" | "pcmu" | "pcma" | "copy" | "none"; bitrateKbps?: number; sampleRateHz?: number; channels?: 1 | 2 }
}

EgressRateControlSchema

"tight" | "relaxed"

EgressTranscodeRequestSchema

{
  deviceId: number
  source: { kind: "profile"; profile: CamProfileSchema } | { kind: "cam-stream"; camStreamId: string }
  encode: EgressEncodeSchema
  rateControl?: EgressRateControlSchema
  bitstreamFilter?: "dump_extra" | "h264_mp4toannexb" | "hevc_mp4toannexb"
  publishLocally?: boolean
  pixelFormat?: "yuv420p" | "nv12"
  decodeHwAccel?: "auto" | "none" | "videotoolbox" | "vaapi" | "qsv" | "cuda"
  hostname?: string
  tag?: string
}

EgressTranscodeSchema

{
  url: string
  pipelineKey: string
  videoCodec: "H264" | "H265"
  resolution: { width: number; height: number }
  transcoded: boolean
  encoder: string
  decodeHwAccel: string | null
  camStreamId: string | null
}

EmbeddingFailedModelSchema

{
  modelId: string
  tower: EmbeddingTowerSchema
  nodeId: string
  crashes: number
  windowMs: number
  sinceMs: number
  lastReason: string
}

EmbeddingFailedRequirementSchema

{
  modelId: string
  tower: EmbeddingTowerSchema
  nodeId: string
  attempts: number
  sinceMs: number
  lastReason: string
}

EmbeddingInfoSchema

{
  modelId: string
  embeddingDim: number
  ready: boolean
  nodeId?: string
  failedModels?: EmbeddingFailedModelSchema[]
  failedRequirements?: EmbeddingFailedRequirementSchema[]
}

EmbeddingResultSchema

{
  embedding: number[]
  inferenceMs: number
}

EmbeddingTowerSchema

"image" | "text"

EnergyConsumerSchema

{
  powerW: number | null
  energyKwh: number | null
  todayKwh: number | null
}

EnergyGridSchema

{
  powerW: number | null
  importKwh: number | null
  exportKwh: number | null
  importTodayKwh: number | null
  exportTodayKwh: number | null
}

EnergySolarSchema

{
  powerW: number | null
  energyKwh: number | null
  todayKwh: number | null
}

EnergyStorageSchema

{
  stateOfChargePct: number | null
  storedKwh: number | null
  capacityKwh: number | null
  powerW: number | null
  chargedKwh: number | null
  dischargedKwh: number | null
  chargedTodayKwh: number | null
  dischargedTodayKwh: number | null
  healthPct: number | null
}

EnergySystemStatusSchema

{
  solar: EnergySolarSchema | null
  grid: EnergyGridSchema | null
  house: EnergyConsumerSchema | null
  heatPump: EnergyConsumerSchema | null
  storage: EnergyStorageSchema | null
  lastFetchedAt: number
}

EnrichedWidgetMetadataSchema

{
  tab: string
  subTab?: string
  label: string
  order?: number
  kind: "remote"
  remote: WidgetRemoteSchema
  stableId: string
  description?: string
  icon?: string
  bundle: string
  hosts: WidgetHostEnum[]
  requires: { deviceContext?: boolean = false; integrationContext?: boolean = false }
  preAuth?: boolean = false
  defaultSize?: WidgetSizeEnum = "md"
  allowedSizes?: WidgetSizeEnum[] = ["sm","md","lg"]
  defaultColumns?: number = 6
  defaultRows?: number = 1
  addonId: string
  bundleUrl: string
}

EntryKindInfoSchema

{
  owner: string
  kind: string
  title: string
  nameField: string
  fields: Record<string, unknown>
  secretPaths: string[]
  rows: number
}

EntryViewSchema

{
  id: string
  name: string
  rev: number
  updatedAt: number
  data: RecordBodySchema
}

EnumSensorStatusSchema

{
  value: string
  timestamp?: boolean
  lastFetchedAt: number
}

ErrorStatusSchema

{
  active: boolean | null
  code: string | null
  label: string | null
  severity: DeviceErrorSeveritySchema
  since: number | null
  faults?: DeviceFaultSchema[]
  lastFetchedAt: number
}

EventDensityBucketSchema

{
  bucketStart: number
  motion: number
  object: number
  audio: number
  audioDbfs?: number
}

EventDensityForDeviceSchema

{
  deviceId: number
  read: "read" | "unreadable"
  buckets: EventDensityBucketSchema[]
}

EventEmitterStatusSchema

{
  eventTypes: string[]
  vocabulary?: EventVocabularyEntrySchema[] = []
  lastEvent: EventFireSchema | null
  eventCountSinceStart: number
}

EventFireSchema

{
  deviceId: number
  eventType: string
  sourceId?: string
  data: Record<string, unknown> | null
  timestamp: number
  seq: number
}

EventKindCategorySchema

"motion" | "audio" | "detection" | "sensor" | "control" | "custom" | "package"

EventKindDescriptorSchema

{
  kind: string
  labelKey: string
  label: string
  color: string
  iconId: string
  icon: EventKindIconSchema
  category: EventKindCategorySchema
  parentKind: string | null
  level: "macro" | "sub"
  source: { capName: string; deviceId: number }
}

EventKindIconSchema

"motion" | "audio" | "person" | "vehicle" | "animal" | "door" | "pir" | "smoke" | "water" | "button" | "package" | "generic"

EventKindSchema

"motion" | "object" | "audio"

EventKindsForDeviceSchema

{
  deviceId: number
  kinds: EventKindDescriptorSchema[]
}

EventMediaArtifactSchema

{
  kind: EventMediaKindSchema
  handle: string
  nodeId: string
  mime: string
  bytes: number
  width: number
  height: number
}

EventMediaCoverageSchema

{
  fromTs: number
  toTs: number
  packets: number
}

EventMediaKindSchema

"mp4" | "gif"

EventMediaProductionSchema

{
  media: EventMediaArtifactSchema[]
  coverage: EventMediaCoverageSchema
  profile: CamProfileSchema
  video: "copy" | "encode"
}

EventVocabularyEntrySchema

{
  id: string
  source?: EventVocabularySourceSchema
  label: string
  description?: string
  kind?: EventVocabularyKindSchema
  payload?: EventVocabularyFieldSchema[]
}

EventVocabularyFieldSchema

{
  path: string
  kind: "string" | "number" | "boolean" | "enum"
  enumValues?: string[]
  label?: string
}

EventVocabularyKindSchema

"press" | "long-press" | "long-press-start" | "release" | "repeat" | "double-press" | "other"

EventVocabularySourceSchema

{
  id: string
  label: string
}

ExportBytesSchema

{
  base64: string
  contentType: string
  name: string
  bytes: number
}

ExportClipSubjectSchema

{
  kind: "clip"
  deviceId: number
  provider: string
  source: string
  sourceLabel: string
  clipId: string
  catalogWindow: { sinceMs: number; untilMs: number }
  profile: "high" | "mid" | "low"
  wake?: ClipWakeSchema
}

ExportDenseRangeSchema

{
  fromSec: number
  toSec: number
}

ExportDenseSchema

{
  everyMs: number
  ranges: ExportDenseRangeSchema[]
}

ExportDownloadSchema

{
  url: string
  endpoints: string[]
}

ExportEntityKindSchema

"device" | "action" | "notifier"

ExportEntityRefSchema

| { kind: "device"; deviceId: string }
| { kind: "action"; actionId: string }
| { kind: "notifier"; targetId: string }

ExportFootageSubjectSchema

{
  kind: "footage"
  deviceId: number
  profiles: string[]
  fromMs: number
  toMs: number
}

ExportInstanceSchema

{
  instanceId: string
  name: string
  enabled: boolean
  kind?: string
  nameRule?: string
}

ExportOptionsSchema

{
  speed?: number
  timelapse?: ExportTimelapseSchema
  includeAudio: boolean
  maxLifeMs: number
  deleteAfterDownload: boolean
  title?: string
  notifyTargetIds?: string[]
}

ExportRecordSchema

{
  id: string
  deviceId: number
  profile: string
  fromMs: number
  toMs: number
  subject?: ExportSubjectSchema
  options: ExportOptionsSchema
  state: ExportStateSchema
  progressPct: number | null
  fileBytes: number | null
  expiresAt: number
  deleteAfterDownload: boolean
  downloadedAt: number | null
  createdAt: number
  createdBy: string
  error: string | null
}

ExportSetupFieldSchema

{
  label: string
  value: string
  secret?: boolean
}

ExportSetupSchema

{
  qr?: string
  fields?: ExportSetupFieldSchema[]
  note?: string
}

ExportStateSchema

"queued" | "rendering" | "ready" | "failed" | "expired" | "deleted"

ExportSubjectSchema

| ExportFootageSubjectSchema
| ExportClipSubjectSchema

ExportTimelapseSchema

{
  everyMs: number
  outputFps?: number
  dense?: ExportDenseSchema
}

ExposedDeviceSchema

{
  deviceId: string
  exposedAs?: string
  exposedName?: string
  capabilities?: string[]
}

ExposedEntitySchema

{
  entity: ExportEntityRefSchema
  exposedAs?: string
}

ExposeEntityInputSchema

{
  instanceId: string
  entity: ExportEntityRefSchema
}

ExposureModeSchema

"auto" | "manual"

ExtensionCandidateSchema

{
  deviceId: number
  name: string
  type: string
  location: string | null
  parentName: string | null
  suggested: boolean
  reason: string | null
}

ExtensionCandidatesSchema

{
  candidates: ExtensionCandidateSchema[]
}

ExtensionSetResultSchema

{
  applied: true
  reload: "none" | "host" | "parent"
  updatedAt: number
}

ExtensionSetSlotInputSchema

{
  deviceId: number
  slotRef: string
  value: { deviceIds: number[]; trackedDeviceIds?: number[]; slot: "linked-devices" }
  expectedUpdatedAt: number
}

ExtensionSlotActivationSchema

{
  state: "active" | "inactive" | "unknown"
  authority: string
  detail?: string
}

ExtensionSlotRefInputSchema

{
  deviceId: number
  slotRef: string
}

ExtensionSlotRowSchema

| ExtensionSlotStateSchema
| ExtensionSlotUnreachableSchema

ExtensionSlotSourceSchema

{
  deviceId: number
  name: string | null
  health: ExtensionSourceHealthSchema
  detail?: string
}

ExtensionSlotStateSchema

{
  state: "ok"
  slotRef: string
  slot: "linked-devices"
  authority: string
  activation: ExtensionSlotActivationSchema | null
  value: { deviceIds: number[]; trackedDeviceIds?: number[]; slot: "linked-devices" }
  updatedAt: number
  sources: ExtensionSlotSourceSchema[]
  impliedSources?: ExtensionSlotSourceSchema[]
}

ExtensionSlotUnreachableSchema

{
  state: "unreachable"
  addonId: string
  reason: string
}

ExtensionSourceAvailabilitySchema

| { state: "ok" }
| { state: "unreachable"; reason: string }

ExtensionSourceHealthSchema

"ok" | "missing" | "foreign" | "unavailable"

ExtensionSourceSchema

{
  source: string
  label: string
  addonId?: string
  availability: ExtensionSourceAvailabilitySchema
}

ExternalIdentityKeySchema

{
  provider: string
  subject: string
}

ExternalIdentitySchema

{
  provider: string
  subject: string
  issuer: string
  userId: string
  label?: string
  linkedAt: number
}

On this page

EffectiveTuningSchemaEgressEncodeSchemaEgressRateControlSchemaEgressTranscodeRequestSchemaEgressTranscodeSchemaEmbeddingFailedModelSchemaEmbeddingFailedRequirementSchemaEmbeddingInfoSchemaEmbeddingResultSchemaEmbeddingTowerSchemaEnergyConsumerSchemaEnergyGridSchemaEnergySolarSchemaEnergyStorageSchemaEnergySystemStatusSchemaEnrichedWidgetMetadataSchemaEntryKindInfoSchemaEntryViewSchemaEnumSensorStatusSchemaErrorStatusSchemaEventDensityBucketSchemaEventDensityForDeviceSchemaEventEmitterStatusSchemaEventFireSchemaEventKindCategorySchemaEventKindDescriptorSchemaEventKindIconSchemaEventKindSchemaEventKindsForDeviceSchemaEventMediaArtifactSchemaEventMediaCoverageSchemaEventMediaKindSchemaEventMediaProductionSchemaEventVocabularyEntrySchemaEventVocabularyFieldSchemaEventVocabularyKindSchemaEventVocabularySourceSchemaExportBytesSchemaExportClipSubjectSchemaExportDenseRangeSchemaExportDenseSchemaExportDownloadSchemaExportEntityKindSchemaExportEntityRefSchemaExportFootageSubjectSchemaExportInstanceSchemaExportOptionsSchemaExportRecordSchemaExportSetupFieldSchemaExportSetupSchemaExportStateSchemaExportSubjectSchemaExportTimelapseSchemaExposedDeviceSchemaExposedEntitySchemaExposeEntityInputSchemaExposureModeSchemaExtensionCandidateSchemaExtensionCandidatesSchemaExtensionSetResultSchemaExtensionSetSlotInputSchemaExtensionSlotActivationSchemaExtensionSlotRefInputSchemaExtensionSlotRowSchemaExtensionSlotSourceSchemaExtensionSlotStateSchemaExtensionSlotUnreachableSchemaExtensionSourceAvailabilitySchemaExtensionSourceHealthSchemaExtensionSourceSchemaExternalIdentityKeySchemaExternalIdentitySchema