About smart home

Smart home skills are a special category of Yasmina skills that are intended to control your home devices by voice. For example, a user can ask Yasmina to turn on the kettle, set the heater to a certain temperature, turn off the light in the children's room, or turn down the TV.

Smart home skills don't require an activation phrase: they work as built-in Yasmina scripts. For example: “Yasmina, turn on the light in the kitchen”.

You need to link accounts to use smart home skills. To control smart devices from a certain manufacturer, like Xiaomi, the skill must have access to the user's account in that manufacturer's system. You need to link the user's Yango account to the user's account in the manufacturer's system for the skill to work.

When the user clicks Link to Yango, they are redirected to the login page. After the user logs in to the smart home system and grants access, they are redirected back to the search app interface.

Dialogs communicate with skills and smart home systems via the OAuth 2.0 protocol, using authorization codes (authorization code grant). The authorization server can be incorporated into the smart home system, or it can be used as a third-party service.

To implement authorization in a smart home skill, you need to define the OAuth protocol parameters and link accounts.

Before you start designing a skill, check out the smart home management concept.

Official and unofficial skills

There are two types of smart home skills:

  • Official skills are created and supported by the smart device manufacturers. You can use the “Works with Yasmina” badge on marketing materials, packaging, and devices that support the official skills. See how to use the badge in the design rules.
  • Unofficial skills are created by third-party developers or companies. Devices that support these skills are not allowed to use Yasmina badge in marketing materials.
To have a skill recognized as official:
  1. When creating a skill, set the Official skill attribute.
  2. In the skill settings, specify your official contact information: your name, email, and your company website.
  3. When designing a skill, remember that you can't use Yango authorization for an official skill.

When your skill successfully passes moderation, it's recognized as official and can be published.

After you publish an official skill, devices that support that skill are allowed to use the Yasmina badge for their marketing materials and packaging.

Frequently asked questions

How to create a smart home skill

See the instructions under Create a skill.