devices.types.media_device.tv_box
A device that connects to a TV or display to enable video content viewing. You can control the playback volume and switch channels on the device.
Examples of devices
IR remote control for a set-top box or smart set-top box.
Device control phrases
Each device type has a specific set of phrases. The user can control the device using these phrases without specifying the device name.
- Phrases:
-
Yasmina, turn on the set-top box.
Yasmina, turn up the set-top box.
Yasmina, mute sound on the set-top box.
Yasmina, turn on channel five on the set-top box.
Yasmina, put the set-top box on pause.
- Open the Yango Play app.
- Select the desired device in the list of devices.
- Go to the Device section at the bottom of the page.
- Tap Device.
Recommended capabilities
The table of capabilities is based on popular device functions in a given category. It provides general recommendations for describing devices. Yango Smart Home does not restrict the provider to the specified list. You can combine capabilities and devices as you wish based on your awareness of the device features.
Capability | Instances and values |
---|---|
devices.capabilities.on_off | Functions and values are not applicable. |
devices.capabilities.range | Function: Values: not supported. |
Function: Values: not supported. | |
devices.capabilities.toggle | Function: Values: not supported. |
Function: Values: not supported. |
Capability | Instances and values |
---|---|
devices.capabilities.on_off | Functions and values are not applicable. |
devices.capabilities.range | Function: Values: not supported. |
Function: Values: not supported. | |
devices.capabilities.toggle | Function: Values: not supported. |
Function: Values: not supported. |
Examples of descriptions of capabilities and properties
These structures are sent in response to the device list request.
The IR remote is agnostic of its current state. This is indicated by the "retrievable": false
parameter in each of the capabilities. It is also agnostic of its range of volume and channels.
{
"capabilities": [{
"type": "devices.capabilities.on_off",
"retrievable": false
},
{
"type": "devices.capabilities.toggle",
"retrievable": false,
"parameters": {
"instance": "mute"
}
},
{
"type": "devices.capabilities.range",
"retrievable": false,
"parameters": {
"instance": "volume",
"random_access": false
}
},
{
"parameters": {
"instance": "channel",
"random_access": true
},
"retrievable": false,
"type": "devices.capabilities.range"
}
],
"properties": []
}
{
"capabilities": [{
"type": "devices.capabilities.on_off",
"retrievable": true
},
{
"type": "devices.capabilities.toggle",
"retrievable": true,
"parameters": {
"instance": "mute"
}
},
{
"type": "devices.capabilities.toggle",
"retrievable": true,
"parameters": {
"instance": "pause"
}
},
{
"type": "devices.capabilities.range",
"retrievable": true,
"parameters": {
"instance": "volume",
"random_access": true,
"range": {
"max": 100,
"min": 1,
"precision": 1
},
"unit": "unit.percent"
}
},
{
"type": "devices.capabilities.range",
"retrievable": true,
"parameters": {
"instance": "channel",
"random_access": true,
"range": {
"max": 999,
"min": 1,
"precision": 1
}
}
}
],
"properties": []
}