onkyo-anyevent - AnyEvent Perl script to interact with Onkyo/Integra AV equipment
version 1.130220
# increase volume (using discovery) onkyo-anyevent volume up # decrease volume with "raw" command (using discovery) onkyo-anyevent MVLDOWN # send multiple commands (using named device) (echo power on ; echo volume- ) | onkyo-anyevent --device amp.example.com
This script is an example of the usage of the AnyEvent::Onkyo API. It connects to the device and reads commands from stdin and reports status message and responses from commands on stdout.
AnyEvent::Onkyo
Mark Hindess <soft-cpan@temporalanomaly.com>
This software is copyright (c) 2012 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 AnyEvent::Onkyo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Onkyo
CPAN shell
perl -MCPAN -e shell install AnyEvent::Onkyo
For more information on module installation, please visit the detailed CPAN module installation guide.