Things used in this project

Hardware components:
Photon new
Particle Photon
You'll need a Particle connected to your free account.
Amazon echo dot
Amazon Alexa Echo Dot
You can use an Amazon Echo, Tap, Dot, or the Alexa simulator.


Photon starter sketch source codeC/C++
Copy this code to web IDE and flash it to your device.
Example starting point sketch for Patriot library
This example uses the built-in blue LED only.
It is provided as a quick start for your own sketches.
Written by Ron Lisle
BSD license, check LICENSE for more information.
All text above must be included in any redistribution.
2017-03-28: Use fixed 'patriot' event name.
2017-03-24: Initial creation

#include <IoT.h>
IoT *iot;

void setup() {
    iot = IoT::getInstance();

    iot->addLight(D7, "Led"); // This is the small blue LED on a photon

    // Alexa will respond to "Alexa, turn on photon" or "Alexa, turn off photon"
    // You can change the word 'photon' to whatever you like, but it needs to be something
    // that Alexa can recognize. For now, use a single word.
    iot->addBehavior("Led", new Behavior("photon",'>',0, 100));

void loop() {


379434 2505719874906 2113020799 n
Ron Lisle

Lives in an RV, and is turning it into an IoT showcase using Alexa, iOS, and Professional iOS and Alexa developer.



Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

What's My I2C Address?
  • 69
  • 3

The story of how to make a clock through using a LCD 1602 or LCD 2004 over I2C.

MyHumidity Controlled by BME280 and Photon
  • 181
  • 4

Full instructions

Checks if humidity threshold is reached and informs the user by using Blynk/IFTTT-services with softAP integration.

Iron-Rich Foods!
  • 75
  • 3

A necessary skill for all people with iron deficiencies. It's always hard to find foods that are rich in iron. Until now. Just ask Alexa!

Movie Quotes Trivia
  • 44
  • 2

Full instructions

Test your knowledge of great movies by matching five famous movies quotes. It will be great, fun activities among family and friends.

Despicable Me Character Description - Alexa
  • 47
  • 1

Full instructions

An Alexa Skill to say a few words about the Despicable Me characters. This contains a list of all characters from Despicable Me movies.

Tweeting Particle Photon
  • 42
  • 1

Full instructions

Tweet your friends with only the press of a button!

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login