简体   繁体   English

Google Home 与 Dynamo DB 的集成

[英]Google home integration with dynamo DB

I am creating Google Smart Home action of google home.我正在创建 Google Home 的 Google Smart Home 操作。 But I have not idea, how to connect the dynamo DB with smart home action but I can see here using with firebase.但我不知道如何将发电机数据库与智能家居动作连接,但我可以在这里看到与 firebase 一起使用。 When I ran the command with invocation name in google assistant then it is showing "something went wrong".当我在谷歌助手中运行带有调用名称的命令时,它显示“出了点问题”。

I have enabled the home graph API and also created the JSON key file.我启用了主图 API 并创建了 JSON 密钥文件。 I also can see their upload JS file button but don't know, what files should I upload there?我也可以看到他们的上传 JS 文件按钮,但不知道我应该在那里上传哪些文件?

Thank You谢谢你

It sounds like you are going through the Washer codelab , which is a great first step.听起来您正在经历Washer codelab ,这是一个很好的第一步。

When you are configuring your project in the Actions console , you would need to enter your fulfillment URL from your application (rather than the Firebase URLs shown in the codelab). 在操作控制台中配置项目时,您需要从应用程序中输入您的履行 URL(而不是代码实验室中显示的 Firebase URL)。

You also need to set up an authentication server to enable account linking.您还需要设置身份验证服务器以启用帐户链接。 Once you've completed this, you should be able to test your Smart Home Action through the Google Home app.完成此操作后,您应该可以通过 Google Home 应用测试您的 Smart Home Action。 Remember that you need to configure the console with your application's URLs for authorization and tokens in place of the demo URLs in the codelab.请记住,您需要使用应用程序的授权和令牌 URL 来配置控制台,而不是 codelab 中的演示 URL。

The JS upload you are seeing in the console is for local fulfillment applications , which would be a feature to consider adding after you have successfully uploaded and tested your Smart Home Action.您在控制台中看到的 JS 上传是针对本地实现应用程序的,这将是您成功上传并测试 Smart Home Action 后考虑添加的功能。

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

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