简体   繁体   English

操作控制台要求提供“智能家居应用”的“应用信息”,而“从操作SDK添加的操作”下没有列出“操作”

[英]Action console asking for “app information” for “smart home app” and no “actions” listed under “actions added from actions SDK”

I created a project for smart home app. 我为智能家居应用程序创建了一个项目。 My action package is like this: 我的动作包是这样的:

{
  "actions": 
  [
    {
      "name": "actions.devices",
      "fulfillment": 
      {
          "conversationName": "automation"
      }
    }
  ],

  "conversations": 
  {
      "automation": 
      {
        "name": "automation",
        "url": "endpoint url here"
      }
  }
}

As you can see, it is for smart home. 如您所见,它适用于智能家居。 But I am still asked to fill in the pronounciation for the app name in the app information. 但是我仍然被要求在应用信息中填写应用名称的发音。 This is weird, because a smart home app doesn't need to be called like talk to Blah Blah Blah. 这很奇怪,因为不需要像与Blah Blah Blah通话一样调用智能家居应用程序。 You just need to enable it under home control > add devices. 您只需要在家庭控制>添加设备下启用它即可。 So, why do I need to fill in the pronounciation? 那么,为什么我需要填写发音? Does this mean the action console didn't recognized it as a smart home app? 这是否意味着操作控制台未将其识别为智能家居应用?

Another thing is, I don't have any actions listed under Actions added from actions sdk. 另一件事是,我没有在从动作SDK添加的动作下列出任何动作。 Is this the normal for smart home app? 这对于智能家居应用来说是正常的吗? The docs didn't explain that much so I really don't know what really is correct. 该文档没有解释太多,所以我真的不知道什么是正确的。

在此处输入图片说明

Yes both of these behaviors are expected. 是的,这两种行为都是预期的。 You should be able to register your devices with the Google Home app and then control them with the Assistant. 您应该能够在Google Home应用中注册设备,然后通过助手进行控制。

As it stands, the Actions on Google console does not give any visual special considerations for Smart Home projects, so it will still look for things like actions and pronunciation. 就目前而言,“ Google控制台”上的“操作”对智能家居项目没有任何视觉上的特殊考虑,因此它仍会查找诸如“操作”和“发音”之类的内容。 But if you can sync your devices using the app, then you will see that your Smart Home action is recognized. 但是,如果您可以使用该应用同步设备,那么您将看到智能家居操作已被识别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM