maykar / plex_assistant

❱ Plex Assistant is a Home Assistant integration for casting Plex media to Google devices, Sonos devices, and Plex clients with Google Assistant, HA's conversation integration, and more.
MIT License
281 stars 59 forks source link

Google Assistant not working #125

Open NovaViper opened 3 years ago

NovaViper commented 3 years ago

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

github-actions[bot] commented 3 years ago

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.

Kisty commented 3 years ago

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

spicerackk commented 3 years ago

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

D34DC3N73R commented 3 years ago

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

spicerackk commented 3 years ago

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.

D34DC3N73R commented 3 years ago

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

spicerackk commented 3 years ago

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

D34DC3N73R commented 3 years ago

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.

spicerackk commented 3 years ago

weird, I'll try refresh everything and try again

spicerackk commented 3 years ago

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

spicerackk commented 3 years ago

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

D34DC3N73R commented 3 years ago

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

spicerackk commented 3 years ago

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.

D34DC3N73R commented 3 years ago

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".