onkyo - Perl script to control an Onkyo/Integra AV Receiver
version 1.143640
# increase volume (using discovery) onkyo volume up # decrease volume with "raw" command (using discovery) onkyo MVLDOWN # send multiple commands (using named device) (echo power on ; echo volume- ) | onkyo --device amp.example.com # request source input id from device specified with environment variable DEVICE_ONKYO=amp.example.com onkyo SLIQSTN # set source input id with discovery broadcast address set in env variable onkyo --broadcast_source_ip 192.168.1.1 SLI00 # set source input id with discovery broadcast address set in env variable DEVICE_ONKYO_BROADCAST_SOURCE_IP=192.168.1.1 onkyo SLI00
This script is an example script to control an Onkyo receiver using the Device::Onkyo Perl module.
Mark Hindess <soft-cpan@temporalanomaly.com>
This software is copyright (c) 2014 by Mark Hindess.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Device::Onkyo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Onkyo
CPAN shell
perl -MCPAN -e shell install Device::Onkyo
For more information on module installation, please visit the detailed CPAN module installation guide.