Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: New Amazon Echo Support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I updated post 4 with an action example as well.
OK, I updated the first post with a linke to a 4.7.5 to try.
Will there be a CQC/Echo For Dummies published so that non-techies like me can use it?
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!
I keep getting "The CQC handler for this device failed. Check with your CQC administrator."

Is that you? :-D
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.
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
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 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.
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.