Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to setup smart-home activity but getting error: Sorry, this action is not available in simulation #535

Open
devedse opened this issue Feb 24, 2021 · 0 comments

Comments

@devedse
Copy link

devedse commented Feb 24, 2021

Issue Guidelines

I've actually been wanting to setup a very simple C# based google assistant activity to start controlling a device. However since I haven't been able to figure out how to do this I started with this repository instead. (Sadly having to use Firebase which is now payed).

If someone does have some time to help me with my actual problem please check out these questions:
https://www.reddit.com/r/GoogleAssistantDev/comments/lretk6/trying_to_setup_a_very_basic_assistant_action_but/
and
https://stackoverflow.com/questions/66317205/created-smart-home-activity-google-home-with-oauth2-which-works-but-cant-li

I had to do some manual fixes to get everything working:

  1. Ensure the latest version of node-gyp was used rather then some 5.x.x. I couldn't run npm install on the frontend if I didn't have this.
  2. I then got all kinds of errors with linting. So I had to run npm run fix
  3. Same for the frontend, I manually added gpt there and also ran npm run fix
  4. The deployment now still failed (possibly due to my having a max spending budget of 0 euro's). So I added a spending limit of 5 euro's and now I could finally deploy.

I could now open my application and create a fan (or any other device). If I use the Test simulator I keep running into this error though:

image

{
  "response": "We're sorry, but something went wrong. Please try again.",
  "expectUserResponse": false,
  "conversationToken": "",
  "audioResponse": "",
  "ssmlMarkList": [],
  "visualResponse": {
    "visualElementsList": [
      {
        "displayText": {
          "content": "Sorry, this action is not available in simulation"
        }
      }
    ],
    "suggestionsList": [],
    "agentLogoUrl": ""
  },
  "clientError": 8,
  "is3pResponse": false,
  "clientOperationList": [],
  "projectName": "",
  "renderedHtml": "",
  "previewStartTimeMicros": "",
  "isEmptyResponse": false,
  "agentName": "",
  "servingModelOutdated": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant