MeWo
A node-based WeMo emulator intended for use with the Amazon Echo. Largely ported from the python fauxmo.
What?
MeWo is the jumping off point for building custom on/off home automation scripts in node. It provides an interface for connecting to an Amazon Echo and performing whatever (on/off) tasks you want.
Installation
You will need to be running node 6 or later as MeWo makes use of ES6 features.
npm install --save mewo
Example Usage
const UPnpBroadcastResponder MeWoDevice = ; { // Super must be called super...args; } // Called when "alexa turn 'device' on" is said { return { ; }; } // Called when "alexa turn 'device' off" is said { return { // Do something when the device is turned off ; }; } const responder = ;responder;