Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.9 KB

timezone.md

File metadata and controls

69 lines (50 loc) · 1.9 KB

Timezone

Gets / resets the timezone.

Get Timezone

Command

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

Example

{
    "method": "get_timezone",
    "id": 30
}

Response

Key Example Description
- "Europe/Amsterdam" Timezone name see list

Example

{
    "result": ["Europe/Amsterdam"],
    "id": 30
}

Set Timezone

Command

Key Value Comment
method "set_dnd_timer"
params [timezone] timezone name see list
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "set_timezone",
    "params": ["Europe/Amsterdam"],
    "id": 31
}

Response

Standard response to succeeded command.

Example

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