Device::RFXCOM::Response::X10 - Device::RFXCOM::Response class for X10 message from RFXCOM receiver
version 1.163170
# see Device::RFXCOM::RX
Message class for X10 messages from an RFXCOM receiver.
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.
a1
a2
a16
p1
p16
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.
a
b
p
command()
This method returns the X10 command from the RF message. For example, on, off, bright, dim, etc.
on
off
bright
dim
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.
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.
RFXCOM website: http://www.rfxcom.com/
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::W800, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::W800
CPAN shell
perl -MCPAN -e shell install Device::W800
For more information on module installation, please visit the detailed CPAN module installation guide.