Testing a skill
Request log
Before you submit your skill for moderation, test it and make sure that the linked accounts work correctly. Open the developer console, go to the skill page and open the section Testing. Before testing, fill out the required fields on the Settings tab.
In the Smart Home section, you can see the Yango Play app UI. Test your skill directly on devices:
- Connect the devices, enter their names, and change their states.
- Simulate user actions.
In the Requests log section, you'll see how the skill processes user actions in the Yango Play app. Logs show requests sent by Yango Dialogs to the Skill handler URL and responses received from it. Logs will also show messages about Yango Dialogs events.
- You update the device list.
- Information about the device status is shown on the All tab.
- The state of devices changes. For example, a light bulb turns on. To go to the list of devices, at the top of the Smart Home section, click All.
- Run the smart home scenario (on the Scenarios tab).
Logs will only be displayed after you update the device list. To do this, under Smart Home, click and then Update next to the manufacturer's name. For devices to appear in the list, connect them on the manufacturer side to the account that you linked. You can usually do this through the manufacturer's mobile app.
Check all the devices that should support the skill. Specify the list of supported devices in the skill description in the section .
Check the operation of both devices and groups. Sometimes, when you turn on a group of multiple light bulbs, only one of them actually turns on. The common reason is that the skill receives commands simultaneously and processes them incorrectly. If you don't have devices of the same type at hand, combine the existing devices in scenarios.
- Whether linking accounts and updating the device list works.
- Whether capabilities of supported devices work.
- Whether there are errors in the device card, even if the device is offline.
- Whether scripts run correctly with one or more skill devices.
If you add new supported devices after publishing the skill, you need to repeat videocall testing and moderation.
Testing voice control of the skill
Some features of Yango Smart Home, such as the notification service and voice control, are available only after you publish the skill. To test them before moderation, use the private access mode.
- Switch the skill to private mode. A private skill is only available to its developer.
- Open the device or app with Yasmina and sign in (use the account that created the skill).
- Test the voice control.
Be sure to change the access type back to public before you send your skill for moderation.
Frequently asked questions
The reason is that SSL certificates are installed incorrectly. Check their status using the SSL Labs online service.
For the skill to run correctly, set up the SSL certificate chain on the web server or in the provider service.