Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Amazon Echo Support
#11
I updated post 4 with an action example as well.
Dean Roddey
Explorans limites defectum
#12
OK, I updated the first post with a linke to a 4.7.5 to try.
Dean Roddey
Explorans limites defectum
#13
Will there be a CQC/Echo For Dummies published so that non-techies like me can use it?
#14
OK, I got her replying to my name. She read me the text that is in the javascript I entered into Lambda.

Now I guess it's time to start making things happen!
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
#15
I keep getting "The CQC handler for this device failed. Check with your CQC administrator."

Is that you? :-D
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
#16
I assume you really mean "The CQC handler for this COMMAND...", right?

That means that the action or macro wasn't found or caused an error in some way. Check the logs to see what showed up. That means the msg got to CQC, but whatever you indicated in the config file to handle it didn't work or wasn't found.

It will also, for now, unconditionally log the values it got from the AWS server so you see those as well for any msgs that make it to you.
Dean Roddey
Explorans limites defectum
#17
yeah.

i thought i added things correctly, but i guess not.

where do i put the 'action' command?

Code:
System::LogMsg
    P1=Home Theater GAct
    P2=0
    P3=Intent: %(LVar:CQCActParm_1), Key: %(LVar:CQCActParm_2), Parms: %(LVar:CQCActParm_3)
    P4=Status

GlobalVars::SetVariable
    P1=GVar:EchoReply
    P2=The home theater has been started
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
#18
That is the action. That's invoked in response to the Echo command. Just do whatever you want to do in there. If you want to return text, put it into the EchoReply variable.

If you want to do something based on the key that was triggered, it's the 2nd parameter that gets passed to the action.
Dean Roddey
Explorans limites defectum
#19
Dean Roddey Wrote:That is the action. That's invoked in response to the Echo command. Just do whatever you want to do in there. If you want to return text, put it into the EchoReply variable.

If you want to do something based on the key that was triggered, it's the 2nd parameter that gets passed to the action.

Dean: Not clear on this. Does this become a Global Action? As jkmonroe asked earlier on "where do i put the 'action' command?". So confused here, where does this get placed so it can monitor the incoming message. Doesn't make sense to put it in a typical action location (e.g. button press, etc) which is only actuated on a press.
#20
Oh, it's a global action. The path you indicate in the configuration file is the path of a global action you create to handle anything that matches the spoken phrases that that global action entry in the file indicates it handles. So the

/User/Echo/Home Theater

in my example file is the path to a global action.
Dean Roddey
Explorans limites defectum


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broadlink Support? Darrie 1 627 01-20-2022, 04:09 PM
Last Post: Dean Roddey
  Driver for Amazon 4k Stick Darrie 3 828 01-15-2022, 02:21 PM
Last Post: znelbok
  Support for MATTER znelbok 0 537 01-10-2022, 03:08 AM
Last Post: znelbok
  Amazon AWS Message kblagron 1 742 10-16-2021, 03:49 PM
Last Post: Dean Roddey
  Amazon Echo integration rhosch 8 2,199 05-15-2021, 01:06 PM
Last Post: Bugman
  any support for TP Link Kasa natively or third party int? b00ter 1 826 03-13-2021, 06:16 PM
Last Post: gReatAutomation
  Echo troubleshooting dlmorgan999 3 1,135 01-13-2021, 04:27 PM
Last Post: dlmorgan999
  ISY994i Support simplextech 49 17,347 06-29-2020, 05:21 AM
Last Post: keepersg
  Additional MQTT Support znelbok 5 2,319 05-14-2020, 03:55 PM
Last Post: Dean Roddey
  Elk Version Support Issue Ron Haley 20 6,391 05-05-2020, 08:38 PM
Last Post: Shaky

Forum Jump:


Users browsing this thread: 1 Guest(s)