Dominevo
ReferenceDevice capabilities

stream-signals

The signals a device can emit to WAKE its own stream.

The signals a device can emit to WAKE its own stream.

A camera whose stream is built on demand sleeps until something asks for it, and "something" cannot be a consumer that is merely attached — a external-catalog puller holds a session open for ever, and treating that as demand would keep a battery camera awake for ever, which is the whole thing the battery is for. So the wake has to come from the CAMERA: an event it noticed by itself, with no stream running.

At a glance

Capabilitystream-signals
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typescamera, light, siren, switch, sensor, climate, button, event-emitter, update, generic, notifier, script, automation, lock, cover, valve, humidifier, water-heater, fan, media-player, alarm-panel, control, presence, weather, weather-station, vacuum, lawn-mower, container, image, pet-feeder, pet-fountain, dishwasher, washer, dryer, gateway, heat-pump, energy-system, workload
Sourcepackages/types/src/capabilities/stream-signals.cap.ts

Methods

MethodKindRequired of a providerAccess
listSignalsqueryyesdefault

listSignals

query

What this device can emit. Empty is a valid and common answer — most cameras have nothing to offer here, and an empty list is what makes the broker's picker show nothing rather than a false choice.

Input

void

Output

({ code: string; label: string; recommended: boolean })[]

Runtime state

The state Dominevo keeps for each device with this capability, readable without calling the provider.

FieldTypeRequiredDescription
signals({ code: string; label: string; recommended: boolean })[]yes
lastFetchedAtnumberyes