This skill is for electronics hobbyist and professionals who enjoy playing with micro processors, arduinos, computers and electronics. This skill is designed to allow you to use a Particle IO photon controllers in your own home automation project.
You can program your Particle Photon for Amazon Alexa Home Automation skills to control devices using On/Off, Percent, Temperature, Color and Locks. How easy is it? This is the photon C++ code you need turn a light on and off:
/******************** START Test Code *******************/ #include "EchoPhotonBridge.h" EchoPhotonBridge epb;
int functionOnOff(int device, bool onOff, String rawParameters) { digitalWrite(D7, (onOff) ? HIGH : LOW); }