This automation scenario allows you to connect Amazon Alexa and Particle
It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.
Categories
Amazon Alexa and Particle can also be integrated using automation tools other than ifttt:
When this trigger fires in Amazon Alexa
This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.
Then this action happens in Particle
This Action will call a function on one of your Devices, triggering an action in the physical world.
This guide contains information on how to set up an automatic workflow that allows to Use Alexa to Toggle Power.
Part I
First, we need to connect Amazon Alexa and Particle to IFTTT.
Create IFTTT account.
Create IFTTT account if you don't have one.
Connect Amazon Alexa to IFTTT.
Give IFTTT access to your Amazon Alexa account, using Amazon Alexa credentials.
Connect Particle to IFTTT.
Give IFTTT access to your Particle account, using Particle credentials.
Part II
Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.
Set up a Trigger action for Amazon Alexa
Choose the following trigger: Say a specific phrase (This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.).
Then set up an Action for Particle
Choose this action: Call a function (This Action will call a function on one of your Devices, triggering an action in the physical world.).
Part III
Finally, we need to test this automation and publish it.
Customize data flow
Configure the data that is exchanged between Amazon Alexa and Particle.
Test the workflow and turn it on for production use
Test your scenario and publish to production. Now you have an automatic workflow, that will Use Alexa to Toggle Power!
This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.
Triggers when you ask Alexa to trigger a zap with your trigger phrase. Requires the Zapier skill on an Alexa enabled device.
This Trigger fires every time you add an item to your To Do List.
This Trigger fires every time your alarm goes off.
This Trigger fires every time you add an item to your Shopping List.
This Trigger fires every time your timer goes off.
This Action will call a function on one of your Devices, triggering an action in the physical world.
This Action publishes an event back to your Device(s), which you can catch with particle.subscribe.
This Trigger fires when an interesting event comes from a particular device. Send events using Particle.publish.
This Trigger fires when your device changes states (i.e. when it goes online or offline.) Useful for detecting the power is out, when the internet is down, or when your Particle device sleeps much of the time.
This Trigger fires when a value on your Particle device changes to something interesting. Include particle.variable in your Particle code.
This Trigger checks a function on your device to see if something interesting is happening.
IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.