Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
alexa-remote2
Advanced tools
Library to remote control an Alexa (Amazon Echo) device via LAN/WLAN.
Early code version.
let Alexa = require('alexa-remote2');
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, // cookie if already known, else can be generated using email/password
email: '...', // optional, amazon email for login to get new cookie
password: '...', // optional, amazon password for login to get new cookie
bluetooth: true,
logger: console.log, // optional
alexaServiceHost: 'layla.amazon.de', // optional, e.g. "pitangui.amazon.com" for amazon.com, default is "layla.amazon.de"
userAgent: '...', // optional, override used user-Agent for all Requests and Cookie determination
acceptLanguage: '...', // optional, override Accept-Language-Header for cookie determination
amazonPage: '...', // optional, override Amazon-Login-Page for cookie determination and referer for requests
useWsMqtt: true // optional, true to use the Websocket/MQTT direct push connection
},
function (err) {
if (err) {
console.log (err);
return;
}
for (let device of this.devices) {
console.log (device._name);
}
}
);
Partly based on Amazon Alexa Remote Control (PLAIN shell) and alexa-remote-control and OpenHab-Addon Thank you for that work.
FAQs
Remote Control for amazon echo devices
The npm package alexa-remote2 receives a total of 1,546 weekly downloads. As such, alexa-remote2 popularity was classified as popular.
We found that alexa-remote2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.