Cloud device
- Cloud device description.
{
battery_powered = 0,
capabilities = {
"text_command",
"ui_flag_alexa_account"
},
category = "assistant",
device_type_id = "alexa_account",
id = "01234567-89AB-CDEF-0123-456789ABCDEF",
info = {
account = "user@domain.com",
vendor = "alexa"
},
name = "01234567-89AB-CDEF-0123-456789ABCDEF",
protocol = {
vendor = "alexa"
},
reachable = 1,
reachable_reason = "assistant.voice",
security = "high",
subcategory = "voice",
type = "assistant.voice"
}
| field | type | description |
|---|---|---|
| battery_powered | int | battery or not |
| capabilities | array of strings | List of supported Capabilities |
| category | string | Category of device |
| device_type_id | string | Device type ID. It’s same for the equal devices. |
| id | string | Device ID |
| info | object | Useful information about device |
| name | string | Recommended name of device |
| protocol | object | Protocol used for communication with this device |
| reachable | int | is it accessible now or not |
| reachable_reason | string | reason of inaccessible state |
| security | string | security level of connection between cloud and smart device |
| subcategory | string | Subcategory of device |
| type | string | Type of device |