devices.types.socket
Socket (outlet).
|
|
|
Examples of devices
Smart socket (electrical outlet).
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
-
Алиса, включи розетку.
Translation: Alice, turn on the outlet.
-
Алиса, выключи розетки в зале.
Translation: Alice, turn off outlets in the room.
Where can I find all voice commands?
To open the full list of voice commands:
- Open the
Home with Alice app.
- Select the desired device in the list of devices.
- Go to the Voice commands section at the bottom of the page.
- Tap More commands.
Specifics of use
-
In the
Home with Alice app, the user can change the device type from
devices.types.sockettodevices.types.light. This will enable voice commands for light. Example: a regular floor lamp is plugged into the smart socket. -
If the socket contains several slots (a triple adapter), we recommend that you describe each socket slot as a separate device
devices.types.socketdevice.
Recommended capabilities
The table of capabilities is based on popular device functions in a given category. It provides general recommendations for describing devices. Yandex 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 |
|
Functions and values are not applicable. |
|
|
Functions and values are not applicable. |
|
|
Function: Values: not supported. |
Recommended properties for devices
The table of properties is based on popular device functions in a given category. It provides general recommendations for describing devices. Yandex Smart Home does not restrict the provider to the specified list. You can combine properties and devices as you wish based on your awareness of the device features.
|
Property type |
Instances |
|
Function: |
|
|
Function: |
|
|
Function: |
Examples of capability and property descriptions
These structures are sent in response to the device list request.
Basic socket
{ "capabilities": [{ "type": "devices.capabilities.on_off", "retrievable": true }], "properties": [] }Color backlit socket
{ "capabilities": [ { "type": "devices.capabilities.color_setting", "retrievable": true, "parameters": { "color_model": "hsv" } }, { "type": "devices.capabilities.toggle", "retrievable": true, "parameters": { "instance": "backlight" } }, { "type": "devices.capabilities.on_off", "retrievable": true } ], "properties": [] }Regular socket with the amperage, voltage, and power consumption properties
{ "capabilities": [{ "type": "devices.capabilities.on_off", "retrievable": true }], "properties": [{ "type": "devices.properties.float", "retrievable": true, "parameters": { "instance": "amperage", "unit": "unit.ampere" } }, { "type": "devices.properties.float", "retrievable": true, "parameters": { "instance": "voltage", "unit": "unit.volt" } }, { "type": "devices.properties.float", "retrievable": true, "parameters": { "instance": "power", "unit": "unit.watt" } }] }

