npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-denon-accfactory

v0.0.2

Published

Homebridge platform plugin for Denon and Marantz audio/video receivers

Readme

Denon Accfactory

npm

A dynamic Homebridge platform for network-connected Denon and Marantz audio/video receivers.

Features

  • Main Zone, Zone 2, and Zone 3 power, input, volume, and mute controls
  • Physical inputs, tuner bands, and optional tuner presets
  • Receiver input renaming and visibility controls where supported
  • Apple TV Remote navigation, media, information, and settings commands
  • Optional SSDP discovery, plus manual host configuration
  • Global and per-receiver control over secondary zones
  • Telnet push updates with REST polling fallback
  • Independently published audio-receiver accessories backed by the shared HomeKitDevice module

Receiver setup

Connect each receiver to the same local network as Homebridge and ensure network control is enabled. A fixed DHCP reservation is recommended when using a manual host address or a per-receiver override.

Install the plugin through the Homebridge UI and add the DenonAccfactory platform. Automatic discovery is enabled by default and uses the receiver's advertised SSDP description location when available.

Each receiver is published as an independent HomeKit accessory so HomeKit receives the audio-receiver category. Add every discovered receiver separately in the Home app using the Homebridge pairing code. It will not appear automatically inside the existing Homebridge bridge accessory.

Configuration

{
  "platform": "DenonAccfactory",
  "name": "Denon Receivers",
  "options": {
    "autoDiscover": true,
    "includePresets": false,
    "includeSecondaryZones": true,
    "discoveryInterval": 60,
    "restPollInterval": 10
  },
  "devices": [
    {
      "system": "192.168.1.20",
      "name": "Living Room Receiver",
      "includeSecondaryZones": false
    }
  ]
}

Manual entries are useful when multicast discovery is unavailable. They also provide per-receiver overrides when the same address is discovered automatically.

Platform options

| Option | Default | Description | | --- | --- | --- | | autoDiscover | true | Search the local network for Denon and Marantz receivers using SSDP. | | includePresets | false | Add the receiver's stored tuner presets as HomeKit inputs. | | includeSecondaryZones | true | Expose Zone 2 and Zone 3 when the receiver supports them. The Main Zone is always included. | | discoveryInterval | 60 | Seconds between SSDP searches. Valid values are 30–3600 seconds. | | restPollInterval | 10 | Seconds between status polls while Telnet is unavailable. Valid values are 2–300 seconds. |

Receiver entries

| Field | Required | Description | | --- | --- | --- | | system | Yes | Receiver host name or IP address. | | name | No | Override the receiver description displayed in HomeKit. | | includeSecondaryZones | No | Override the platform secondary-zone setting for this receiver. | | exclude | No | Prevent this receiver from being published. Defaults to false. |

To use only manual receiver addresses, set autoDiscover to false and add at least one receiver under devices.

Receiver communication

The plugin loads a complete receiver snapshot through Denon's HTTP interface and can publish the accessory without waiting for Telnet. It then connects to the receiver's Telnet interface on port 23 for immediate state changes.

If Telnet is refused, times out, or closes, the plugin automatically polls the HTTP interface instead. Failed polls mark the receiver offline, and a successful Telnet connection or HTTP snapshot returns it online. All HTTP operations use bounded timeouts so an unresponsive endpoint cannot hold up Homebridge startup indefinitely.

Manually configured receivers that are unavailable at startup are retried at the configured REST polling interval, including when automatic discovery is disabled.

Some Denon firmware initially reports the receiver MAC address in the serial-number field and supplies the hardware serial only after a Telnet identity request. The plugin tracks the physical receiver and generates its stable HomeKit identity from the MAC address while displaying the hardware serial when it becomes available. This prevents the same receiver from being published twice when its reported serial changes during startup.

Inputs and zones are discovered when the accessory is created. Receiver-side name, visibility, and state changes are updated while Homebridge is running, but adding or removing input services requires a Homebridge restart.

Development

The shared HomeKitDevice and fetchWrapper modules are Git submodules. Clone with submodules, or initialise them after cloning:

git submodule update --init --recursive
npm install
npm run check

Requires Node.js 22, 24, or 26 and either Homebridge 1.11.4 or newer in the 1.x series, or Homebridge 2.4.0 or newer in the 2.x series.