Fan_Control.pm

Fan_Control

SYNOPSIS

This module is included from Misterhouse. Just place it in your user code directory (code_dir in your config file).

These direct Misterhouse to connect to the fan control daemon, which you must have running for the fan control to work. Here are some example .mht entries (assuming your Misterhouse is using the proper patches):

      FANLIGHT,   fr,     fr_fan_light,           Inside_Lights|All_Lights|FamilyRoom(9;7)FANLIGHT,   mb,     mb_fan_light,           Inside_Lights|All_Lights|MasterBed(7;8)
      FANLIGHT,   dr,     dr_fan_light,           Inside_Lights|All_Lights|LivingRoom(5;5)FANLIGHT,   patio,  patio_fan_light,        Inside_Lights|All_Lights|BackPorch(10;4)FANMOTOR,   fr,     fr_fan_motor,           Fans
      FANMOTOR,   mb,     mb_fan_motor,           Fans
      FANMOTOR,   dr,     dr_fan_motor,           Fans
      FANMOTOR,   patio,  patio_fan_motor,        Fans

Currently, a FANLIGHT can be set to 'on' or 'off'. A FANMOTOR can be set to 'off', 'low', 'med', 'high'.

DESCRIPTION

Allows control of Hampton Bay RF ceiling fans with appropriate custom hardware, as described at http://www.linux.kaybee.org:81/tabs/fancontrol/

TODO: Need to add support for dimming (the daemon does not yet support this either)

INHERITS

Generic_Item

METHODS

UnDoc

INI PARAMETERS

  fancontrol_module=Fan_Control
  fancontrol_host=localhost
  fancontrol_port=3412

AUTHOR

Kirk Bauer kirk@kaybee.org

Special Thanks to: Bruce Winter - Misterhouse

SEE ALSO

NONE

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

 Fan_Control.pm