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

pimatic-onkyo-avr

v0.2.0

Published

Plugin for controlling Onkyo and newer Pioneer receivers

Downloads

1

Readme

Description

This plugin let you control your Onkyo or Pioneer (2016+) AVR via pimatic

Action

The provided action is called "send command".

Commands

The command has to be used in the following syntax:

send command "[group].[command]" to {device-id}

Sample: Power the AVR on

when avr-on is pressed then send command "POWER.ON" to vsx-831

Switch the AVR off

when avr-off is pressed then send command "POWER.OFF" to vsx-831

Supported commands

handling the volume

  • VOLUME.DOWN
  • VOLUME.UP
  • VOLUME.MUTE
  • VOLUME.UNMUTE
  • AUDIO.MUTE
  • AUDIO.UNMUTE
  • AUDIO.MUTE_QSTN
  • AUDIO.VOL_UP
  • AUDIO.VOL_DOWN
  • AUDIO.VOL_UP1
  • AUDIO.VOL_DOWN1

getting the current volume

  • AUDIO.Volume
  • AUDIO.VOL_QSTN

handling power status

  • POWER.ON
  • POWER.OFF
  • POWER.STATUS

handling the input

  • SOURCE_SELECT.VIDEO1
  • SOURCE_SELECT.VIDEO2
  • SOURCE_SELECT.CBL/SAT
  • SOURCE_SELECT.GAME
  • SOURCE_SELECT.AUX
  • SOURCE_SELECT.VIDEO5
  • SOURCE_SELECT.PC
  • SOURCE_SELECT.VIDEO6
  • SOURCE_SELECT.VIDEO7
  • SOURCE_SELECT.BD/DVD
  • SOURCE_SELECT.TV
  • SOURCE_SELECT.TAPE1
  • SOURCE_SELECT.TAPE2
  • SOURCE_SELECT.PHONO
  • SOURCE_SELECT.CD
  • SOURCE_SELECT.FM
  • SOURCE_SELECT.AM
  • SOURCE_SELECT.TUNER
  • SOURCE_SELECT.MUSICSERVER
  • SOURCE_SELECT.INTERNETRADIO
  • SOURCE_SELECT.USB
  • SOURCE_SELECT.MULTICH
  • SOURCE_SELECT.XM
  • SOURCE_SELECT.SIRIUS
  • SOURCE_SELECT.NET
  • SOURCE_SELECT.USB
  • SOURCE_SELECT.AIRPLAY
  • SOURCE_SELECT.BT
  • SOURCE_SELECT.QSTN

change the listening mode

  • SOUND_MODES.STEREO
  • SOUND_MODES.DIRECT
  • SOUND_MODES.SURROUND
  • SOUND_MODES.FILM
  • SOUND_MODES.THX
  • SOUND_MODES.ACTION
  • SOUND_MODES.MUSICAL
  • SOUND_MODES.MONO MOVIE
  • SOUND_MODES.ORCHESTRA
  • SOUND_MODES.UNPLUGGED
  • SOUND_MODES.STUDIO-MIX
  • SOUND_MODES.TV LOGIC
  • SOUND_MODES.ALL CH STEREO
  • SOUND_MODES.THEATER-DIMENSIONAL
  • SOUND_MODES.ENHANCED 7/ENHANCE
  • SOUND_MODES.MONO
  • SOUND_MODES.PURE AUDIO
  • SOUND_MODES.MULTIPLEX
  • SOUND_MODES.FULL MONO
  • SOUND_MODES.DOLBY VIRTUAL
  • SOUND_MODES.5.1ch Surround
  • SOUND_MODES.Straight Decode*1
  • SOUND_MODES.Dolby EX/DTS ES
  • SOUND_MODES.Dolby EX*2
  • SOUND_MODES.THX Cinema
  • SOUND_MODES.THX Surround EX
  • SOUND_MODES.U2/S2 Cinema/Cinema2
  • SOUND_MODES.MusicMode
  • SOUND_MODES.Games Mode
  • SOUND_MODES.PLII/PLIIx Movie
  • SOUND_MODES.PLII/PLIIx Music
  • SOUND_MODES.Neo6 Cinema
  • SOUND_MODES.Neo6 Music
  • SOUND_MODES.PLII/PLIIx THX Cinema
  • SOUND_MODES.Neo6 THX Cinema
  • SOUND_MODES.PLII/PLIIx Game
  • SOUND_MODES.Neural Surr*3
  • SOUND_MODES.Neural THX
  • SOUND_MODES.PLII THX Games
  • SOUND_MODES.Neo6 THX Games
  • SOUND_MODES.Listening Mode Wrap-Around Up
  • SOUND_MODES.Listening Mode Wrap-Around Down

Multi zone support (replace X by zone number)

handling the volume

  • ZONEX_AUDIO.MUTE
  • ZONEX_AUDIO.UNMUTE
  • ZONEX_AUDIO.MUTE_QSTN
  • ZONEX_AUDIO.VOL_UP
  • ZONEX_AUDIO.VOL_DOWN
  • ZONEX_AUDIO.VOL_UP1
  • ZONEX_AUDIO.VOL_DOWN1

getting the current volume

  • ZONEX_AUDIO.VOL_QSTN

handling the power status

  • ZONEX_POWER.ON
  • ZONEX_POWER.STANDBY
  • ZONEX_POWER.STATUS

handling the input

  • ZONEX_SOURCE_SELECT.CBL/SAT
  • ZONEX_SOURCE_SELECT.GAME
  • ZONEX_SOURCE_SELECT.AUX
  • ZONEX_SOURCE_SELECT.BD/DVD
  • ZONEX_SOURCE_SELECT.STRM_BOX
  • ZONEX_SOURCE_SELECT.TV
  • ZONEX_SOURCE_SELECT.PHONO
  • ZONEX_SOURCE_SELECT.CD
  • ZONEX_SOURCE_SELECT.FM
  • ZONEX_SOURCE_SELECT.AM
  • ZONEX_SOURCE_SELECT.TUNER
  • ZONEX_SOURCE_SELECT.USB_FRONT
  • ZONEX_SOURCE_SELECT.NET
  • ZONEX_SOURCE_SELECT.USB_REAR
  • ZONEX_SOURCE_SELECT.BT
  • ZONEX_SOURCE_SELECT.HDMI_5
  • ZONEX_SOURCE_SELECT.QSTN
  • ZONEX_SOURCE_SELECT.UP
  • ZONEX_SOURCE_SELECT.DOWN

net control

  • ZONEX_NET.PLAY
  • ZONEX_NET.STOP
  • ZONEX_NET.PAUSE
  • ZONEX_NET.PLAY_PAUSE
  • ZONEX_NET.TRACK_UP
  • ZONEX_NET.TRACK_DOWN
  • ZONEX_NET.CHANNEL_UP
  • ZONEX_NET.CHANNEL_DOWN
  • ZONEX_NET.FF
  • ZONEX_NET.REW
  • ZONEX_NET.REPEAT
  • ZONEX_NET.RANDOM
  • ZONEX_NET.REPEAT_SHUFFLE
  • ZONEX_NET.DISPLAY
  • ZONEX_NET.MEMORY
  • ZONEX_NET.RIGHT
  • ZONEX_NET.LEFT
  • ZONEX_NET.UP
  • ZONEX_NET.DOWN
  • ZONEX_NET.SELECT
  • ZONEX_NET.RETURN

Configuration

Sample Plugin Config:

{
  "plugin": "onkyo-avr"
}

Sample Device Config:

There is only one (self explaining) configuration parameter

  • ip
{
  "class": "OnkyoAvrDevice",
  "ip": "192.168.0.15",
  "id": "vsx-831",
  "name": "VSX-831"
}

Beware

This plugin is in an early alpha stadium and you use it on your own risk. I'm not responsible for any possible damages that occur on your health, hard- or software.

License

MIT