TV — tv v1
A display. Its inputs are consumer signal connections declared in the manifest; pathfinding
targets them when a room's video sink is this device.
Capabilities
Declared in the driver manifest under [[proxy]] capabilities. Anything not declared takes the default below.
| Capability | Type | Default | Meaning |
|---|---|---|---|
cooldown_ms | u32 | 0 | |
has_channel_control | bool | false | Built-in tuner |
has_discrete_input | bool | false | Can select an input directly rather than cycling |
has_discrete_mute | bool | false | |
has_discrete_power | bool | false | Separate on and off commands, not just a toggle |
has_discrete_volume | bool | false | Can be set to an absolute volume |
has_volume | bool | true | |
supports_arc | bool | false | |
volume_max | u32 | 100 | |
warmup_ms | u32 | 0 | Time after power-on before it will accept an input change. Pathfinding respects this. |
Commands
mute_toggle
Only present when
has_volumeis declared true.
No parameters.
off
No parameters.
on
No parameters.
power_toggle
No parameters.
pulse_input
Cycle to the next input. The fallback when has_discrete_input is false.
No parameters.
set_channel
Only present when
has_channel_controlis declared true.
| Parameter | Type | Notes |
|---|---|---|
channel | string |
set_input
Select the input carrying a given signal connection. Issued by the pathfinder, not usually by a person.
| Parameter | Type | Notes |
|---|---|---|
connection | u32 | Signal connection id from this driver's manifest |
set_mute
Only present when
has_discrete_muteis declared true.
| Parameter | Type | Notes |
|---|---|---|
mute | bool |
set_volume
Only present when
has_discrete_volumeis declared true.
| Parameter | Type | Notes |
|---|---|---|
level | u32 0–100 |
volume_down
Only present when
has_volumeis declared true.
No parameters.
volume_up
Only present when
has_volumeis declared true.
No parameters.
Notifications
input_changed
| Parameter | Type | Notes |
|---|---|---|
connection | u32 |
mute_changed
| Parameter | Type | Notes |
|---|---|---|
mute | bool |
online_changed
| Parameter | Type | Notes |
|---|---|---|
online | bool |
power_changed
| Parameter | Type | Notes |
|---|---|---|
on | bool |
volume_changed
| Parameter | Type | Notes |
|---|---|---|
level | u32 |
State
Last-known values core keeps for a binding of this proxy.
| Key | Type | Meaning |
|---|---|---|
connection | u32 | |
mute | bool | |
on | bool | |
online | bool | |
volume | u32 |