
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
denon-client
Advanced tools
A handy denon avr client. Allows controlling the AVR and listen to events. May work with Marantz devices too.
A handy node library which allows you to control and receive events of a Denon AVR.
This library is not complete. There are functions missing. Feel free to contribute by doing pull requests. New functions are easy to implement.
Get the protocol specification here: http://assets.denon.com/documentmaster/de/avr3313ci_protocol_v02.pdf
The protocol is pretty unified so any Denon AVR should be somewhat compatible.
A yuidoc based documentation is available here: http://lmoe.github.io/node-denon-client
This library is designed to provide a simple way to operate with a Denon AVR. Making it an easy use in your own IoT project, or any lazy remote after your remote went missing.
It's using ES6 functionality and is based on promises. You are still able to receive events though.
Make sure to use strict and a newer version of node. I haven't tested it with a lower version than 5.10.1 yet.
Setting up is simple.
// Initialization
const Denon = require('denon-client');
/**
* Denon is now an object containing DenonClient and Options.
* Use the DenonClient to send requests. Use the Options to define the data.
*/
const denonClient = new Denon.DenonClient(`${DenonAVRHost}`);
// Subscribe to any available event
denonClient.on('masterVolumeChanged', (volume) => {
// This event will fire every time when the volume changes.
// Including non requested volume changes (Using a remote, using the volume wheel on the device).
console.log(`Volume changed to: ${volume}`);
});
// Connecting
denonClient
.connect()
.then(() => {
// Tasty promise chains..
//
// You are free to send any command now.
return denonClient.setInput(Denon.Options.InputOptions.Aux1);
})
.then(() => {
return denonClient.setSurround(Denon.Options.SurroundOptions.Stereo);
})
.then(() => {
return denonClient.setVolume(98); // Destroy neighborhood
})
.catch((error) => {
// Oh noez.
console.error(error);
});
FAQs
A handy denon avr client. Allows controlling the AVR and listen to events. May work with Marantz devices too.
The npm package denon-client receives a total of 3 weekly downloads. As such, denon-client popularity was classified as not popular.
We found that denon-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.