Negotiable Paleobotanist Missions
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

pimatic-onkyo-avr

0.2.0 • Public • Published

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

Keywords

none

install

npm i pimatic-onkyo-avr

Downloadsweekly downloads

17

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability