Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 869 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 869 Bytes

AlexaController

Publish MQTT packets using Alexa voice commands

This uses the fauxWeMo Node.JS module to interface with Amazon's Alexa and get sent voice commands. We then just attach some Node.JS code to send out MQTT packets for both "On" and "Off".

So, in the Example code, I have defined "Emergency Plan Alpha", so to trigger this I tell Alexa: "Alexa...Turn on Emergency Plan Alpha". This triggers the program to send out 'plan/alpha: {"cmd": "Execute"}'.

I have added files needed to create a Docker Contaier to the repo. Keep in mind that you will need to have an Alexa device in the same subnet as your Docker server in order for the Alexa device to "find" your psuedo-devices.

I wrote about this on my blog: https://diysmarthome.io/2020/02/publish-mqtt-messages-via-alexa/