devices.types.openable

A device that can be opened and/or closed.

Examples of devices

Door, gate, window, shutters. We recommend that you use a separate device type for curtains and blinds devices.types.openable.curtain .

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, open the door.

  • Yasmina, close the window.

Where can I find all voice commands?
To open the full list of voice commands:
  1. Open the  Yango Play app.
  2. Select the desired device in the list of devices.
  3. Go to the Device section at the bottom of the page.
  4. 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.mode

Function: work_speed.

Values: fast, medium, slow.

devices.capabilities.range

Function: open.

Values: not supported.

Capability Instances and values
devices.capabilities.on_off Functions and values are not applicable.
devices.capabilities.mode

Function: work_speed.

Values: fast, medium, slow.

devices.capabilities.range

Function: open.

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. Yango 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
devices.properties.event

Function: open.

Property type Instances
devices.properties.event

Function: open.

Examples of capability and property descriptions

These structures are sent in response to the device list request.

Smart gates that can open/close
{
 "capabilities": [{
  "type": "devices.capabilities.on_off",
  "retrievable": true
 }],
 "properties": []
}
Smart gates with adjustable opening/closing speed
{
 "capabilities": [{
   "type": "devices.capabilities.mode",
   "retrievable": true,
   "parameters": {
    "instance": "work_speed",
    "modes": [{
      "value": "slow"
     },
     {
      "value": "medium"
     },
     {
      "value": "fast"
     }
    ]
   }
  },
  {
   "type": "devices.capabilities.on_off",
   "retrievable": true
  }
 ],
 "properties": []
}
Smart gates with two different buttons to turn on/off that are unaware of their state
{
 "capabilities": [{
  "type": "devices.capabilities.on_off",
  "retrievable": false,
  "parameters": {
   "split": true
  }
 }],
 "properties": []
}