define <name> ONKYO_AVR <ip-address-or-hostname> [<protocol-version>] [<zone>] [<poll-interval>]
This module controls ONKYO A/V receivers via network connection.
Defining an ONKYO device will schedule an internal task (interval can be set with optional parameter <poll-interval> in seconds, if not set, the value is 75 seconds), which periodically reads the status of the device and triggers notify/filelog commands.
Example:
define avr ONKYO_AVR 192.168.0.10
# With explicit protocol version 2013 and later
define avr ONKYO_AVR 192.168.0.10 2013
# With protocol version prior 2013
define avr ONKYO_AVR 192.168.0.10 pre2013
# With zone2
define avr ONKYO_AVR 192.168.0.10 pre2013 zone2
# With custom interval of 60 seconds
define avr ONKYO_AVR 192.168.0.10 pre2013 main 60
# With zone2 and custom interval of 60 seconds
define avr ONKYO_AVR 192.168.0.10 pre2013 zone2 60
get <name> <what>
Currently, the following commands are defined (may vary depending on zone):
power
input
volume
mute
sleep