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).
I had to do some manual fixes to get everything working:
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.
I then got all kinds of errors with linting. So I had to run npm run fix
Same for the frontend, I manually added gpt there and also ran npm run fix
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:
{
"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
}
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:
npm run fix
npm run fix
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: