google-smart-home

Testing the Google Smart Home Action

和自甴很熟 提交于 2021-02-10 18:10:31
问题 I have developed and released Smart Home Action, Now I need to test it because I will modify that Action. It will be a test with Actions on Google Project with released actions, If I enable test, Is it okay to understand that the following is displayed in the list of Smart Home Actions and can be used separately? Does not it affect the released Action? [the list of Smart Home Actions] [test] xxx Action ←Test Action xxx Action ←Released Action If you know of this,please let me know. 回答1: You

Testing the Google Smart Home Action

我的梦境 提交于 2021-02-10 18:06:44
问题 I have developed and released Smart Home Action, Now I need to test it because I will modify that Action. It will be a test with Actions on Google Project with released actions, If I enable test, Is it okay to understand that the following is displayed in the list of Smart Home Actions and can be used separately? Does not it affect the released Action? [the list of Smart Home Actions] [test] xxx Action ←Test Action xxx Action ←Released Action If you know of this,please let me know. 回答1: You

Request Sync always returns 404 : “Error: Requested entity was not found.”

半世苍凉 提交于 2021-02-10 06:15:21
问题 I'm having a hard time implementing requestSync. It always returns "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } I use Node.js/Express for the backend. The linking/unlinking with the Google Home app work and my actions work as well. It's really the requestSync part that fails. The closest ticket I've found, though not exactly the same, is this one. Things I've tried agentUserId is a string, but if I pass it a number it returns a 400 with the

GoogleSmarthome JWT Creation

那年仲夏 提交于 2020-06-01 05:29:27
问题 The documentation is at Using OAuth 2.0 for Server to Server Applications You will notice in the documentation the disclaimer "don't do this but use the libraries". Unfortunately, there does NOT appear to be .Net Core libraries and I have suggested to the Smarthome program managers that support for .Net Core should be the same as provided for Java, node.js and Python. However, I'm hunkered down, socially distanced and have some time available so I gave it a shot. There are a lot of moving

Error with token exchange requests in Google Smart home

回眸只為那壹抹淺笑 提交于 2020-02-16 08:23:49
问题 I´m following this Google documentation to make account linking with oauth. In the token exchange requests item, I am receiving the JSON below, as expected: { "client_id" : "*****", "client_secret" : "*****", "code" : "myauthorization_code", "grant_type" : "authorization_code", "redirect_uri" : "https://oauth-redirect.googleusercontent.com/r/****" } and my response is: { "access_token" : "myaccess_token", "expires_in" : 3600, "refresh_token" : "myrefresh_token", "token_type" : "Bearer" } But

Share button not found (anymore) in Google smart home action test simulator

家住魔仙堡 提交于 2019-12-11 14:31:27
问题 We are developing a google smart home action. As per this and this guides we added testers as viewer and shared action and it worked few months ago. Now we don't see this share button in our simulator anymore. Wonder how to share with testers anymore? As guides still wants us to share the project through this button. Screenshot from documentations: Screenshot of my simulator: We are able to add the tester in IAM project, but tester is unable to see the action like owner does ([test] ABC agent