Skip to content

Latest commit

 

History

History
100 lines (72 loc) · 2.4 KB

sound_volume.md

File metadata and controls

100 lines (72 loc) · 2.4 KB

Sound Volume

Gets / sets / tests the sound volume.

Get Sound Volume

Command

Key Value Comment
method "get_sound_volume"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "get_sound_volume",
    "id": 657
}

Response

Key Example Description
- 100 Sound volume (in %)

Example

{
    "result": [100],
    "id": 657
}

Change Sound Volume

Command

Key Value Comment
method "change_sound_volume"
params [volume] volume level range from 0 to 100 (in %)
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "change_sound_volume",
    "params": [55],
    "id": 624
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 624
}

Test Sound Volume

Command

Key Value Comment
method "test_sound_volume"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "test_sound_volume",
    "id": 546
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 546
}