Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

denon-heos

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

denon-heos

Denon Heos client for Node.js

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Denon Heos

This is a module to control Denon Heos speakers using Node.js. Not all API calls are added yet, but it should be good enough for use.

  • Discover speakers (Wi-Fi & LAN)
  • Send commands (e.g. play, pause, set volume)
  • Listen to events from a speaker (e.g. track or volume changed)
  • Automatically reconnect (even if the device's IP has changed 🎉)

Installation

npm install denon-heos

Example

const { Discover } = require('denon-heos');
const discover = new Discover();
discover.on('device', ( device ) => {
  device.instance.connect().then(async () => {
    const info = await device.instance.playerGetPlayerInfo();
    console.log(info);
  }).catch(console.error);
})
discover.start();

For more examples, see ./examples.

Contributing

More API methods need to be added. Help is welcome, see ./assets/docs/ for the specifications.

FAQs

Package last updated on 24 Apr 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc