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

homebridge-marantz-volume

v1.6.3

Published

Homebridge plugin to control Denon or Marantz receiver volume with Siri commands

Downloads

49

Readme

homebridge-marantz-volume

Marantz Receiver plugin for homebridge: https://github.com/nfarina/homebridge

This plugin allows you to control your Denon or Marantz receiver volume with Siri, with commands like "set the stereo volume to 25%". Your receiver will appear as a light bulb in HomeKit, this is so the brightness characteristic of a light bulb can be leveraged as a way to set the receiver volume by using Siri.

Unlike other light bulb HomeKit accessories, this plugin ignores power state commands (on/off) by default, this is to avoid having your receiver turn off if you tell Siri to "turn off all the lights". If you want to control the power state of the receiver rather than ignoring it, set the "controlPower":true property in the configuration.

This plugin also allows you to register the "main zone" and "zone 2" of your receiver as independent accessories within HomeKit, if your receiver is multi-zone.

Siri

Try these Siri commands

  • Set the stereo volume to 25%
  • Set the living room to 25%
  • Increase/Decrease the stereo volume by 5%

If those Siri commands do not work, try saying "stereo volume brightness", for example "set the stereo volume brightness to 25%"

Adjust Stereo Volume Using Siri

watchOS 3 Home App

Use the Digital Crown to adjust volume with Apple's Home app

Adjust Stereo Volume Using Apple Watch Crown

iOS 10 Control Center

iOS 10 adds HomeKit shortcuts to the iOS Control Center, so you can adjust the volume without even unlocking your phone.

Adjust Stereo Volume Using Control Center

Installation

  1. Install homebridge: npm install -g homebridge
  2. Install this plugin globally: npm install -g homebridge-marantz-volume
  3. Update your homebridge config file. Example below:

Configuration

Add as an accessory by editing the homebridge config.json file.

Simple Example

"accessories": [
  {
    "accessory":      "marantz-volume",
    "name":           "Stereo Volume",
    "host":           "192.168.1.15"
  }
]

Newer Denon receivers may need to add port 8080 to the host name, example: 192.168.1.15:8080

Multiple Zones Example

If your receiver supports a 2nd zone, add the plugin a second time with "zone":2 in the accessory properties, the same host, and a different name.

Configuration sample:

"accessories": [
  {
    "accessory":      "marantz-volume",
    "name":           "Stereo Volume",
    "host":           "192.168.1.15",
    "maxVolume":      50
  },
  {
    "accessory":      "marantz-volume",
    "name":           "Outside Volume",
    "host":           "192.168.1.15",
    "maxVolume":      80,
    "zone":           2,
    "controlPower":   true
  },
  ...
]

In the above example, the receiver has two zones, the volume control works for both zones (named "Stereo Volume" and "Outside Volume"), and the power control works is ignored for the main zone and is enabled for the second zone.

Additional Configuration Details

For newer model Denon's, you might have to add port 8080 to the host option, example:

"accessories": [
  {
    "accessory":      "marantz-volume",
    "name":           "Stereo Volume",
    "host":           "192.168.1.15:8080"
  }
]

The option maxVolume defaults to 70 unless otherwise specified as a values between 0 and 100.

Setting "mapMaxVolumeTo100":true will remap the volume percentages that appear in the Home app so that the configured maxVolume will appear as 100% in the Home app. For example, if the maxVolume is 70%, then setting the stereo volume brightness to 50% would set the receiver's volume to 35%. Adjusting the stereo volume knob to 70 will appear as 100% brightness in the Home app. This option could confuse some users to it defaults to off false, but it does give the user finer volume control especially when sliding the brightness slider up and down in the Home app.

The "controlMute":true option will change the on/off switch behavior to control the receiver's mute status. If "controlPower":true is set, this option will be ignored.

Special Thanks

This plugin was built upon code from the following homebridge plugins

https://www.npmjs.com/package/homebridge-fakebulb by schemish

https://www.npmjs.com/package/homebridge-denon by stfnhmplr