plex_assistant icon indicating copy to clipboard operation
plex_assistant copied to clipboard

Google Assistant not working

Open NovaViper opened this issue 4 years ago • 14 comments

Hi, I just followed the guide that's on the new README.md for setting up Google Assistant with DialogFlow, however I can't get it working at all. I run Test Apps but I get this error. I have no idea what is going on or what I am doing wrong. I'm using Home Assistant Cloud for access to the internet. image

I'm using 1.1.6 of Plex Assistant, and 2021.5.4 for Home Assistant. Plex Assistant itself works perfectly tho, I can ran it within Home Assistant just fine, but the Google Assistant integration is what's not working

NovaViper avatar May 19 '21 02:05 NovaViper

Important:

Issues that don't provide the information requested in the troubleshooting docs may not get a reply and may be closed until the info is provided. Please, include as much of the requested info as possible so that I can replicate and investigate your issue.

When pasting in your config/code/errors always place 3 backticks ``` above the first line and after the last line. Doing this will format it correctly.

github-actions[bot] avatar May 19 '21 02:05 github-actions[bot]

I am having the same issue, however from Dialogflow test console it works fine.

Kisty avatar Jun 21 '21 08:06 Kisty

Having similar issue. I am able to get it to (kind of) work from DialogFlow test console (it played a completely different movie) but I can't ask Google Home devices to play it, it only shows me imdb or google search results

spicerackk avatar Jul 14 '21 13:07 spicerackk

I think these steps need to be added to the dialogflow setup,

  • Click on integrations
  • Under Google Assistant click "Not ready yet? Continue with the integration"
  • Click "Manage Assistant App"
  • This opens up a new tab at console.actions.google.com for the Dialogflow project
  • Click "Quick Setup" and "Decide how your action is invoked"
  • Change the Display Name to "Plex"

D34DC3N73R avatar Aug 23 '21 06:08 D34DC3N73R

I can get through as far as the fourth step, but when I open the new tab, I get an error simply saying "There was an error completing your request", with a button saying Try Again.

spicerackk avatar Aug 24 '21 23:08 spicerackk

Can you sign in to https://console.actions.google.com/ ?

D34DC3N73R avatar Aug 24 '21 23:08 D34DC3N73R

yeah I can, takes me to the "Welcome to Actions on Google" page.

spicerackk avatar Aug 24 '21 23:08 spicerackk

No idea then. I had some previous projects in there, but the plex project was created automatically for me when clicking the link in Dialogflow.

D34DC3N73R avatar Aug 25 '21 00:08 D34DC3N73R

weird, I'll try refresh everything and try again

spicerackk avatar Aug 25 '21 00:08 spicerackk

Still no luck. Should I build a new project in Action Blocks?

spicerackk avatar Aug 25 '21 00:08 spicerackk

ok so it seemed I had to import the plex project before it worked, I'm yet to test it though.

spicerackk avatar Aug 25 '21 00:08 spicerackk

Yes the steps I outlined would come after the initial Dialogflow steps outlined in the documentation.

D34DC3N73R avatar Aug 25 '21 05:08 D34DC3N73R

So if I ask GA to "Play The Avengers on Plex on the Office Display", it responds with "I don't know, but I found these results on search" and pulls up search results. Still doesn't seem to work after doing the above steps.

spicerackk avatar Aug 25 '21 05:08 spicerackk

You need to use the specific phrases outlined in the documentation. "Hey Google, tell plex to play the avengers on the office display"

"Tell Plex" or "Ask Plex" should immediately follow "Ok Google" or "Hey Google".

D34DC3N73R avatar Aug 25 '21 05:08 D34DC3N73R