NAME

Power::Outlet::Common::IP::HTTP::UPnP - Power::Outlet base class for UPnP power outlet

SYNOPSIS

use base qw{Power::Outlet::Common::IP::HTTP::UPnP};

DESCRIPTION

Power::Outlet::Common::IP::HTTP::UPnP is a package for controlling and querying an UPnP-based network attached power outlet.

USAGE

use base qw{Power::Outlet::Common::IP::HTTP::UPnP};

PROPERTIES

upnp_service_type

METHODS

upnp_request

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);

BUGS

Please log on RT and send an email to the author.

SUPPORT

DavisNetworks.com supports all Perl applications including this package.

AUTHOR

Michael R. Davis
CPAN ID: MRDVT
DavisNetworks.com

COPYRIGHT

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.

SEE ALSO