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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@dskowronski/homebridge-denon-marantz-avr

v1.1.2

Published

Denon and Marantz AVR support for Homebridge: https://github.com/nfarina/homebridge

Downloads

15

Readme

homebridge-denon-marantz-avr

homebridge-plugin for Denon and Marantz AVR control with Apple-Homekit. Works with most Denon AVR since 2011, supports a second zone and implements the speaker service with Audio Receiver (AVR) characteristic.

Installation

Follow standard installation via Homebridge UI or follow the instruction in NPM for the Homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

sudo npm install -g homebridge-denon-marantz-avr 

Configuration

Example platforms section for DRA-N4 (with customized inputs):

{
  "platforms": [
    {
      "platform": "denon-marantz-avr",
      "accessories": [
        {
          "uniqueId": "DenonMarantzAVR",
          "displayName": "DENON Ceol Piccolo",
          "ip": "192.168.1.2",
          "maxVolume": 50,
          "defaultVolume": 10,
          "defaultInput": "ANALOGIN",
          "availableInputs": [
            "ANALOGIN",
            "DIGITALIN1"
          ],
          "zone2enabled": false
        }
      ]
    }
  ],
}

Usage in Home app

TVs and AVRs are required by HAP to be exposed as separate devices. Therefore, after usual Homekit pairing of Homebridge bridge you need to do the following in Home app:

  • click + and select Add Accessory
  • click More options...
  • select device with AVR icon and name matching displayName from the config
  • enter PIN that you chose for the bridge (either main Homebridge or plugin-dedicated)

Inputs and power can be controlled from Home app. For volume and up/down/left/right/select buttons, you must use Apple TV remote app and switch to AVR from top menu.

Caveat about volume control

Unfortunately, even Audio Receiver device category in HomeKit (added in R3? R2 is latest "open-source") can't control volume using Home automation, Siri or tvOS. In other words, while neat, HomeKit can't be used to link AppleTV with Denon AVRs that don't support HDMI-CEC (e.g. ones without HDMI and connect over HDMI audio extractors).

As a workaround you can set the following in Apple TV in section Settings - Remotes and Devices - Home Cinema Control - Select Volume Control:

  • remove all IR remotes
  • switch option to Auto
  • confirm in upper level menu it says Auto (Off)

That way, Siri Remote volume buttons somehow still send IR signals that are understood by some Denon AVRs (incl. DRA-N4), so you can control AVR volume.

Additionaly, iOS Control Other Speakers & TVs in Control Center and in media streaming (AirPlay or Apple Music remote) can control tvOS volume as well (on normal equipment it'd be equal to headphone volume setting as audio over HDMI is like line level). With ability to use Apple TV remote app to set output AVR levels it's semi-competent HDMI-CEC volume control replacement.

References

  • DENON AVR control protocol - http://assets.eu.denon.com/DocumentMaster/DE/AVR1713_AVR1613_PROTOCOL_V8.6.0.pdf
  • DENON SYSTEM control protocol - http://assets.eu.denon.com/DocumentMaster/DE/DRAN5_RCDN8_PROTOCOL_V.1.0.0.pdf
  • Apple HomeKit Accessory Protocol (HAP) - https://developer.apple.com/apple-home/