“This intent is not yet configured within Home Assistant.”
returned from HA to DialogFlow.
my intent_scripts.yaml is inclueded from main file and contains:
nazwa_akcji_xx:
speech:
text: I don't know how to handle it yet {{ location }}
action:
service: tts.google_translate_say
data:
language: pl
message: Z google przyszlo {{ location }}
So what’s wrong?
UPDATE: awwwright, fixed it. If anyone cares I can update web docs with proper config info.
One more thing, though. How do I get arguments from intents? {{ location }} desont’ work, although such argument exists in intent.
Hello,
I’m struggling in setting up dialogflow ( with api v2) in my homeassistant and google home, could you share your scripts, intents ( if used), automation?
It’s not clear what I should put in parameter/entity/value in dialogflow settings…
My goal is something similar:
Me: okay google, what’s the temperature in the living room?
GH: it’s 20°C
better if :
Me: okay google, what’s the temperature in [[room]] ?
GH: the temperature in [[room]] 20°C
EDIT:
after breaking the heaven I realized that I was missing on HA: settings->integration-> + -> dialogflow
I’ve written you an email, but since it was from noreply it bumped. Anyway - here’s copy paste without attachment, obviously… Give me any contact to you to get pdfs.
Hmmm… It will be quite hard to explain dialogflow, but I’ll try it when I login again there. Meanwhile here is example of vacuuming
be sure to use haas,io plugin (unless you have public IP and ports forwarded accordingly)
as for intents, which you require - do find some tutorial, as I don’t feel competent enough to give all details.You have to supply your webhook in fulfilment section of dialog flow console, for sure. Then when you have your intents ready, observe what do you get in Home Assistan log. You should set content-type in fullfilment to json.
intents are complicated to explain, but easy when you learn them. For my vacuuming I have “clean” and “clean area” intents. Plus “location_confession” intent that can create a context for “clean” intent. So it works in 3 possible ways"
a) “please clean the living room” (uses clean_area intent)
b) “I’m in the living room” (uses location_confession intent that has location_context as output - defined on top of page in output context) “plase clean this mess” (uses clean intent plus existing Location_context that holds “living room”)
c) “clean here” (uses clean intent, but doesn’t have location_context so it asks “where?” - you define it in “actions and parameters” section)
I’m attaching screenshots in pdf, maybe they will help?
Ok thanks, I figured out something and fixed accordingly, but…
I need every time to say, "Ok google talk to my testing app " then “what’s the temperature” how can I short it? or do you use alexa.
I have installed on docker , I have apublic ip, certificate from let’sencrypt.
your tips are fine, don’t bother on screenshot, many thanks again!
You can use implicit intents and say something like: Hey google ask “my app” to do something. This will execute the intent “something” directly. I have a pretty detailed project here (LMS Controls) that makes a lot of use of dialogflow (GoogleHome), intents, passing variables and controlling logitech mediaserver. The GitHub for the project also contains all the scripts and the dialogflow project.