Any Example available to connect Amazon Echo with a Flogo Trigger ?
A first invesigation shows that it should be possible by adding a new "Smart Home Skill", is this the right way ?
Other Options ?
I have created a MQTT trigger which can connect to AWS IoT securely.
You can create an Alexa skill which will trigger a AWS lambda function which in turn will publish to AWS IoT MQTT endpoint.
Flogo trigger can subscribe to the endpoint & take actions.
Attaching a high level flow.
0 Comments+ Add a Comment
One more note, I'm not certain but I think both approaches require a secured service somewhere to which alexa can be connected in order to allow communication back to your premises. I guess maybe one could implement such support behind the firewall and allow amazon to connect via a port forwarding rule / reverse proxy etc.
sure but port forwarding rule/reverse proxy and firewall/security are basic stuff & always needed.
(No Issue with that)
Well, a smart home skill is a skill which allows interacting with the device without a "trigger" word. I think these are modeled after light switches primarily, so you can say "alexa turn on the living room" and if you've got something defined in the alexa app (say a Hue bulb or something) then it can be made to turn on. I think these skills also allow adjusting up and down, e.g. "Alexa, dim the living room".
It doesn't go much beyond that. The custom skill is where you could implement support for much broader capabilities but they would require the trigger word, so you could support something like "alexa, tell FLOGO to empty the trash" or whatever commands you desire and which FLOGO could do.
There are things like Hue emulators, which appear to Echo as a Hue hub, that allow a bit of back door, so you could say "alexa turn on the trashtakerouter" where trashtakerouter is a thing for which you implement a bunch of actions within your network via FLOGO or other home automation approach.
sure, but Flogo can do more ... e.g "alexa turn on evening dinner" so it the Flogo Flow can turn on and dim some Hue lights + switch on some homematic lights + switch off the ring bell + play some preselected music on Sonos + turn on the Miele baking oven + sutbown roller blind :-)
This is not possible without a automation flow!