Things used in this project
|Software apps and online services:|
This is an example of the use of the email command module I created in Python for the Raspberry Pi being integrated with Alexa to control your Pi by voice from anywhere in the world.
Set up email command
For your Rasoberry Pi to receive and run commands it needs to be running email command. My instructions for setting that up can be found here. You may need to install some dependencies so this might take a minute or two.
Install the LEDs
This skill communicates with the world through a strip of LEDs. This is perfect for illustrating the game state of a nim game. Due to the fact that the Pi is a 3.3V device and the LEDs run on 5V the channels need to be shifted. My logic level shifter came with presoldered headers and I was to plug it directly onto the DotStarts and then connect to the Pi with jumper cables.
The Alexa skill is an updated version of my Alexa Nim Skill found here. The rules are the same except there is an added command to allow interfacing with email command. You can tell Alexa your ID to specify and email address in the form myrpi[ID]@gmail.com for the skill to send commands to. When creating an account in this form try to use a long number that is easy for you to remember so that misidentification won't result in sending messages to someone else and you won't ever not be able to send messages to yourself.
To build the Alexa skill use the code from the github repository and follow this guide.
Email Command Latest Version
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!