07-09-2018, 07:18 PM
For example you want to set the thermostat, but you then want alexa to reply with "I set the thermostat to...."
Thank you
Thank you
With Echo integration is it possible to have a set and a query with the same command?
|
07-09-2018, 07:18 PM
For example you want to set the thermostat, but you then want alexa to reply with "I set the thermostat to...."
Thank you
07-09-2018, 08:25 PM
Yeh, one comes as a set type intent and another as a query type intent. They have to be unique within a particular block within the config file, but it should be fine to have the same name in different blocks.
Dean Roddey
Explorans limites defectum
07-11-2018, 01:48 PM
(07-09-2018, 08:25 PM)Dean Roddey Wrote: Yeh, one comes as a set type intent and another as a query type intent. They have to be unique within a particular block within the config file, but it should be fine to have the same name in different blocks. Can you please elaborate a bit. I am trying to tell echo to arm the alarm, if the house isnt able to be armed it will respond by with which zones are open. I got the action part down (I think). and I have for my querymap: Code:  Action=/User/Echo/ArmHouse But if I will switch it to an run intent then it wont reply to me. So what would be the best way. Another issue is that if I say ""tell jarvis  to arm alarm", it is trying to run "alarm" not "arm alarm", so I am not sure how I would be able to have a separate intent of "disarm alarm". Thank you
07-11-2018, 02:32 PM
Arm is an intent indicating word. You'd have to add one or more new utterances on the AWS side that allow for the word arm to map to a set intent.
Dean Roddey
Explorans limites defectum
07-11-2018, 02:48 PM
Will the a setinent allow echo to reply?
07-11-2018, 04:26 PM
Any command can return text, since it's often used to report success or failure as well.
Dean Roddey
Explorans limites defectum
07-11-2018, 06:29 PM
Is there a way to see a better detailed log?
What I mean is that I have a phrase arm house to load action "arm house" Code: Action=/User/Echo/ArmHouse Code: If Code: QueryMap Thank you
07-11-2018, 10:38 PM
(This post was last modified: 07-11-2018, 10:39 PM by Dean Roddey.)
Since they are just global actions, run them directly. Use the Test button which will bring up the action trace window. That shows you all of the expanded out content of the action commands as they run. Just pass them the same parameters that you expect to get when they are run via the Echo. The action trace allows you to enter parameters when you run the command.
Dean Roddey
Explorans limites defectum
I think I figured out what why it wasnt working. I redid the code to change the temp on the thermostat that way I can actually see which step it is doing. And even though the house is in Not Ready to Arm state it is going to the Else version.  Below is the code. And I looked at the Elk client interface, and "Area_house_ArmUpMode" is  currently "Not Ready To Arm".
Any suggestions? Thank you Code: If
07-12-2018, 08:43 PM
You are comparing the actual field name to "Not Ready To Arm". You need to dereference it: $(Elk.Area_House_ArmUpMode)
That's a good reason to use the action trace. It shows you the expanded out values, so you'd see that you were comparing the literal field name because it wouldn't get expanded out.
Dean Roddey
Explorans limites defectum |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Variable Action "Find" command or alternate | Shaky | 3 | 458 |
11-02-2021, 08:19 PM Last Post: Shaky |
|
Amazon Echo integration | rhosch | 8 | 1,643 |
05-15-2021, 01:06 PM Last Post: Bugman |
|
Echo troubleshooting | dlmorgan999 | 3 | 879 |
01-13-2021, 04:27 PM Last Post: dlmorgan999 |
|
SIP Integration | gReatAutomation | 2 | 1,177 |
02-19-2020, 01:45 PM Last Post: gReatAutomation |
|
Sonos - PlayFovorite command | NightLight | 22 | 6,601 |
05-10-2019, 09:32 PM Last Post: kblagron |
|
template timeouts and LoadOverlay command | Shaky | 9 | 3,617 |
04-29-2019, 07:46 PM Last Post: kblagron |
|
Echo Set-up Woes | znelbok | 2 | 1,482 |
03-24-2019, 05:11 AM Last Post: dlmorgan999 |
|
![]() |
Aqara integration? | ghurty | 1 | 1,171 |
02-03-2019, 09:54 PM Last Post: Dean Roddey |
DIY Security System Integration | cavalier240 | 10 | 4,894 |
01-10-2019, 09:05 PM Last Post: Dean Roddey |
|
Hiding Command Buttons on template | kfly | 5 | 2,855 |
12-14-2018, 06:52 PM Last Post: Dean Roddey |