NAME

Device::RFXCOM::Response::X10 - Device::RFXCOM::Response class for X10 message from RFXCOM receiver

VERSION

version 1.142010

SYNOPSIS

# see Device::RFXCOM::RX

DESCRIPTION

Message class for X10 messages from an RFXCOM receiver.

METHODS

new(%params)

This constructor returns a new response object.

type()

This method returns 'x10'.

device()

This method returns the X10 device from the RF message. That is, a1, a2, ... a16, ..., p1, ..., p16. It will be undefined if no unit code is present for the house code.

house()

This method returns the X10 house code from the RF message. That is, a, b, ... p. It will be undefined if device() is defined.

command()

This method returns the X10 command from the RF message. For example, on, off, bright, dim, etc.

level()

This method returns the X10 level for bright and dim commands or undef if the level is not defined for the command.

summary()

This method returns a string summary of the X10 message.

THANKS

Special thanks to RFXCOM, http://www.rfxcom.com/, for their excellent documentation and for giving me permission to use it to help me write this code. I own a number of their products and highly recommend them.

SEE ALSO

RFXCOM website: http://www.rfxcom.com/

AUTHOR

Mark Hindess <soft-cpan@temporalanomaly.com>

COPYRIGHT AND LICENSE

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.