Close

Prototype Wall Switch Alexa Skill Uploaded

A project log for Particle Photon Wi-Fi and Cap-Touch Light Switch

"switchMo" Project will include Schematic, PCB Files, Firmware, 3D Printable Enclosure, Android App, iPhone App, Alexa Skill, Documentation

joe-menardJoe Menard 06/10/2017 at 01:210 Comments

A working prototype of an Alexa skill was created and uploaded to GitHub. Uploaded files include the current Intents Schema, Sample Utterances, Slots, and the Lambda JavaScript function that makes the HTTPS POST and GET connections to the Particle Photon in the Wall Switch.

As is, it is a good proof of concept. Using the Alexa utterances test section of developer.amazon.com, communication from Alexa to the Lambda function (located at console.aws.amazon.com) to the Photon and back to the Alexa work.

The JavaScript POST and GET functions embedded within the Lambda function that connect Lambda to a Particle Photon are working. Though it works, I have not quite mastered the intent schema and sample utterances syntax yet though so at least that will need be updated.

Attribution: Based on work by kvarma and a few YouTube videos by blondiebytes and of course many helpful forum notes in stackoverflow.

Discussions