NAME

Device::RFXCOM::Response::Thermostat - Device::RFXCOM::Response class for Thermostat RF messages

VERSION

version 1.163170

SYNOPSIS

# see Device::RFXCOM::RX

DESCRIPTION

Message class for Thermostat messages from an RFXCOM receiver.

METHODS

new(%params)

This constructor returns a new response object.

type()

This method returns 'thermostat'.

device()

This method returns an identifier for the device.

state()

This method returns the state of the thermostat. Typical values include:

undef

If no set point has been defined

demand

If heat (or cooling in 'cool' mode) is required.

satisfied

If no heat (or cooling in 'cool' mode) is required.

init

If the thermostat is being initialized.

temp()

This method returns the current temperature.

set()

This method returns the set point for the thermostat. It will be zero if it has not been defined.

mode()

This method returns the mode for the thermostat. It will be 'heat' or 'cool'. `

summary()

This method returns a string summary of the thermostat 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.