Power::Outlet::Common::IP::HTTP::UPnP - Power::Outlet base class for UPnP power outlet
use base qw{Power::Outlet::Common::IP::HTTP::UPnP};
Power::Outlet::Common::IP::HTTP::UPnP is a package for controlling and querying an UPnP-based network attached power outlet.
Returns a Net::UPnP::ActionResponse object
my $res=$obj->upnp_request($request_type, $event_name, $value); my $res=$obj->upnp_request("Get", "BinaryState"); my $res=$obj->upnp_request("Set", "BinaryState", 0); my $res=$obj->upnp_request("Set", "BinaryState", 1);
Please log on RT and send an email to the author.
DavisNetworks.com supports all Perl applications including this package.
Michael R. Davis CPAN ID: MRDVT DavisNetworks.com
Copyright (c) 2013 Michael R. Davis
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Portions of the UPnP Implementation Copyright (c) 2013 Eric Blue
Net:UPnP, XML::LibXML::LazyBuilder
To install Power::Outlet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Power::Outlet
CPAN shell
perl -MCPAN -e shell install Power::Outlet
For more information on module installation, please visit the detailed CPAN module installation guide.