簡體   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