我需要创建一个Alexa智能家居技能。我想用Alexa设备控制我的灯。但根据我的理解,智能家居技能只支持这样的话语
Alexa, turn on name
Alexa, turn off name
Alexa, set name to x percent
Alexa, brighten name
Alexa, dim name
Alexa, dim name by x percent
Alexa, brighten name by x percent
Alexa, set name to x degrees
Alexa, decrease name by x degrees
Alexa, increase name by x degrees
Alexa, decrease name
但是,我的用例差别不大。
Alexa, turn on the kitchen light.
Alexa, dim the bedrromlight to 50%
Alexa, turn on the halllight for 3 hours
Alexa, set a daily timer for the testlight to turn on every day at 9am
Alexa, how dim is the bedrromlight right now?
智能家居技能是否适合我的用例?
答案 0 :(得分:1)
我想这不仅与特定的智能家居技能有关。用户可以为kitchen light
提供不同位置的设备(例如你的灯光)名称,他可以将不同的智能家居设备分配给房间。
此外,用户还可以创建包含多个设备的群组,因此您可以说:
Alexa, turn on the kitchen
并且所有相关的灯都会亮起。
用户还可以在您的案例中在Alexa应用程序中创建例程:
switch the testlight on at 9 am every day.
这可能不是通过语音完成的,而是在应用程序中。
因此,Alexa智能家居应该适用于用例。
答案 1 :(得分:1)
This will work fine today with a Smart Home Skill:
Alexa, turn on the kitchen light.
Alexa, dim the bedroomlight to 50 %.
You can use a routine for this (but Routine's can't currently be created using voice, only in the companion app):
Alexa, set a daily timer for the testlight to turn on every day at 9am
These are not currently supported by Alexa:
Alexa, how dim is the bedroomlight right now?
Alexa, turn on the halllight for 3 hours.
You could build a Custom Skill for these two use cases, or simply wait for Amazon to implement them. If it were me, I'd focus on the core use cases that already work using a Smart Home Skill and not waste time on a Custom Skill. You can't integrate Custom Skill stuff with Routines, for example.