This uses an IFTTT applet that uses Alexa as a Trigger and GraspIO as the Action.
You can use the voice command “Alexa, run fish feeder “ with your Alexa, to run a fish-feeder project on Cloudio.
To design a fish-feeder setup, you can use the below image for reference.
(Note: For this design, rotating the Servo motor by 127 degrees opens the fish-feeder, and reverting to the 0 degree position closes the fish-feeder)
Connect the Servo motor controlling the fish-feeder to Cloudio's port A1 as shown.
This project uses an IFTTT applet to combine the functionalities of Alexa and GraspIO Cloudio.
IFTTT Trigger – the phrase “Alexa, trigger fish feeder”
IFTTT Action – Cloudio runs the Fish Feeder project
The 3 main steps here are -
Step 1: Creating (and saving) the Fish Feeder project
This project uses the Servo motor connected to Cloudio’s port A1 to open and close the fish-feeder.
It runs on Cloudio whenever the IFTTT applet you create in this project runs.
Step 2: Configuring Cloudio to run as an IFTTT Action
This involves uploading an IFTTT (Action) project to your board.
Step 3: Creating and deploying an IFTTT applet
This step creates an IFTTT applet that uses
Note: Refresh the app so that this project is synced with your account and available for use on IFTTT
For this, create a project with an IFTTT block set to Action mode.
Upload this project to Cloudio.
Your Cloudio is now ready to run the Fish Feeder project when invoked by the applet you create in the next step.
On IFTTT, create a new applet.
Select the trigger type from the list - here, 'Say a specific phrase'.
Set the trigger phrase
Now, select the 'Run a project' action so you can select the Fish Feeder project to run as the Action section of the applet.
Select the board and the project to run on it.
(If you don't see the project here, make sure to sync your project from your GraspIO Studio account)
Your applet is now ready. Press Finish to run this applet.
To use this project, say "Alexa trigger fish feeder" to your Alexa.
This will open and close the fish-feeder as designed in the Fish Feeder project.