Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
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
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.