alexa-remote
v0.0.24
Published
Remote Control for amazon echo devices
Downloads
29
Maintainers
Readme
alexa-remote
Library to remote control an Alexa (Amazon Echo) device via LAN/WLAN.
Early code version.
let Alexa = require('alexa-remote');
let alexa = new Alexa();
/***************************************************************/
// see: https://www.gehrig.info/alexa/Alexa.html
// cookie starts with x-amzn-dat and ends with =" csrf=12345780
let cookie = 'x-amzn-dat.../ /...=" csrf=12345780';
alexa.init({
cookie: cookie,
bluetooth: true
},
function () {
for (let device of this.devices) {
console.log (device._name);
}
}
);