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.
The problem is that it's sort of hacky to do. All those types of Echo interfaces can do is turn on lights and such. So you have to act like that device and pretend that you have a light XYZ which really you treat as a command.

If you want to do that, then the Echo/Hue thingie already done effectively does this kind of thing.
I played with this a bit... what about

tell control to close/open/lock/unlock the xyz?

Is that illegal since its not a neutral action? Or is it only illegal because its not part of the current intents?
There's nothing to map such a thing to an existing intent. Pretty sure that you could add some utterances to do that, so something like:

CQCSetOnIntent lock the {Volume|Target}
CQCSetOnIntent lock the {Ceiling Fan|Target}
CQCSetOnIntent lock the {Front Porch Light|Target}

CQCSetOffIntent unlock the {Volume|Target}
CQCSetOffIntent unlock the {Ceiling Fan|Target}
CQCSetOffIntent unlock the {Front Porch Light|Target}

So lock would map to the SetOn intent and unlock would make to the SetOff intent. You'd just have to deal with the fact that these really mean lock/unlock for the specific targets that you are using this type of utterance with, most easily by just having those targets be dealt with in their own global actions.
Dean Roddey Wrote:The problem is that it's sort of hacky to do. All those types of Echo interfaces can do is turn on lights and such. So you have to act like that device and pretend that you have a light XYZ which really you treat as a command.

If you want to do that, then the Echo/Hue thingie already done effectively does this kind of thing.

Yeah it's basically the same interface the EchoHueSim driver uses, so that is already possible. They only support on/off/dim. So the phrasing is the same, "alexa, turn on X", "alexa, dim X to Y"
Dean Roddey Wrote:There's nothing to map such a thing to an existing intent. Pretty sure that you could add some utterances to do that, so something like:

CQCSetOnIntent lock the {Volume|Target}
CQCSetOnIntent lock the {Ceiling Fan|Target}
CQCSetOnIntent lock the {Front Porch Light|Target}

CQCSetOffIntent unlock the {Volume|Target}
CQCSetOffIntent unlock the {Ceiling Fan|Target}
CQCSetOffIntent unlock the {Front Porch Light|Target}

So lock would map to the SetOn intent and unlock would make to the SetOff intent. You'd just have to deal with the fact that these really mean lock/unlock for the specific targets that you are using this type of utterance with, most easily by just having those targets be dealt with in their own global actions.

Not sure what that didn't dawn on me... thanks Smile
Yeah man, have Echo unlock that volume and rock out!!! Smile
wuench Wrote:Yeah man, have Echo unlock that volume and rock out!!! Smile
Someone had too much coffee this morning...
Alexa, tell CQC to kick out the jams.
Jams have been kicked out, rock on.


Did that work adding those new utterances?
Did anyone ever get this working with a secure connection?
Dean Roddey Wrote:Did anyone ever get this working with a secure connection?

I know Wuench was looking into it at one point.