Socket
Socket
Sign inDemoInstall

denon-heos

Package Overview
Dependencies
1
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    denon-heos

Denon Heos client for Node.js


Version published
Maintainers
2
Install size
137 kB
Created

Readme

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

Last updated on 24 Apr 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc