alexa-remote

0.0.24 • Public • Published

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);
        }
    }
);

Package Sidebar

Install

npm i alexa-remote

Weekly Downloads

1

Version

0.0.24

License

MIT

Unpacked Size

37.9 kB

Total Files

9

Last publish

Collaborators

  • soef