繁体   English   中英

谷歌智能家居应用程序上的动作不调用 fullfilment

[英]acions on google smart home app not calling fullfilment

我正在尝试对谷歌智能家居应用程序进行操作。 我已经实现了我的 oAuth2.0 服务器,它似乎工作正常。 它生成授权令牌并使用 Google 提供的state参数将其发送给 Google。 但是,当我尝试在我的 google home 应用程序中进行帐户链接时,它失败了,默认couldn't update the setting错误。 当我检查我的 Firebase 控制台时,它说我的 smartHome function - 我在 Google 控制台上的操作中提供的智能家居实现 - 从未被调用,即使其他功能已成功完成。

这是什么原因/解决方案?

Smart Home fulfillment 永远不会要求您执行操作,因为显然您的 OAuth 流程设置不正确。 请访问此链接并确保一切都根据授权代码流程进行设置。

此外, Test Suite也可用于验证帐户链接实施: https://developers.google.com/assistant/smarthome/tools/smart-home-test-suite#account_linking_validation_test

暂无
暂无

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

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