homebridge-denon-accfactory
v0.0.2
Published
Homebridge platform plugin for Denon and Marantz audio/video receivers
Maintainers
Readme
Denon Accfactory
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
HomeKitDevicemodule
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 checkRequires 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.
