BigAssFan Binding
The BigAssFan binding is used to enable communication between openHAB and Big Ass Fans’ Haiku family of residential fans that implement the SenseME technology.
Overview
Fans are discovered dynamically. There is a single thing created for each fan connected to the network. Each thing has channels that allow control of the fan and the optional LED light, as well as to monitor the status of the fan. When the fan is controlled from the remote control, Wall Controller, or smartphone app, the openHAB items linked to the fan’s channels will be updated to reflect the fan’s status.
Device Discovery
The BigAssFan binding discovers Haiku fans on the network, and creates an inbox entry for each discovered device. Once added as a thing, the user can control the fan and optional LED light kit, similarly to how the fan is controlled using the remote, Wall Controller, or smartphone app.
Background discovery polls the network every few minutes for fans. Background discovery is enabled by default. To disable background discovery, add the following line to the conf/services/runtime.cfg file:
org.openhab.binding.bigassfan.discovery.BigAssFanDiscoveryService:backgroundDiscovery.enabled=false
Thing Configuration
The fan’s IP address, MAC address, and name is set at time of discovery. However, in the event that any of this information changes, the fan’s configuration must be updated.
Manual Thing Creation
Fans can be manually created in the PaperUI or HABmin, or by placing a .things file in the conf/things directory. See example below.
Channels
The following channels are supported:
All devices support some of the following channels:
Channel Name | Item Type | Description |
---|---|---|
fan-power | Switch | Power on/off the fan |
fan-speed | Dimmer | Adjust the speed of the fan |
fan-direction | Switch | Change the direction in which the fan turns |
fan-auto | Switch | Enable/disable fan auto mode |
fan-whoosh | Switch | Enable/disable fan “whoosh” mode |
fan-smartmode | String | Set Smartmode to HEATING, COOLING, or OFF |
fan-speed-min | Dimmer | Set minimum fan speed for Smartmode COOLING |
fan-speed-max | Dimmer | Set maximum fan speed for Smartmode COOLING |
light-power | Switch | Power on/off the fan |
light-level | Dimmer | Adjust the brightness of the light from |
light-auto | Switch | Enable/disable light auto mode |
light-smarter | String | Enable/disable Smarter Lighting |
light-level-min | Dimmer | Set minimum light level for Smarter Lighting |
light-level-max | Dimmer | Set maximum light level for Smarter Lighting |
motion | Switch | Motion was detected |
time | DateTime | Fan’s date and time |
Items
The following item definitions would be used to control the fan.
Switch PorchFanPower { channel="bigassfan:fan:20F85EDAA56A:fan-power" }
Dimmer PorchFanSpeed { channel="bigassfan:fan:20F85EDAA56A:fan-speed" }
Switch PorchFanDirection { channel="bigassfan:fan:20F85EDAA56A:fan-direction" }
Switch PorchFanAuto { channel="bigassfan:fan:20F85EDAA56A:fan-auto" }
Switch PorchFanWhoosh { channel="bigassfan:fan:20F85EDAA56A:fan-whoosh" }
String PorchFanSmartmode { channel="bigassfan:fan:20F85EDAA56A:fan-smartmode" }
Dimmer PorchFanSpeedMin { channel="bigassfan:fan:20F85EDAA56A:fan-speed-min" }
Dimmer PorchFanSpeedMax { channel="bigassfan:fan:20F85EDAA56A:fan-speed-max" }
The following item definitions would be used to control the light.
Switch PorchFanLightPower { channel="bigassfan:fan:20F85EDAA56A:light-power" }
Dimmer PorchFanLightLevel { channel="bigassfan:fan:20F85EDAA56A:light-level" }
Switch PorchFanLightAuto { channel="bigassfan:fan:20F85EDAA56A:light-auto" }
Switch PorchFanLightSmarter { channel="bigassfan:fan:20F85EDAA56A:light-smarter" }
Dimmer PorchFanLightLevelMin { channel="bigassfan:fan:20F85EDAA56A:light-level-min" }
Dimmer PorchFanLightLevelMax { channel="bigassfan:fan:20F85EDAA56A:light-level-max" }
The following readonly items are provided by the fan.
Switch PorchFanMotionSensor { channel="bigassfan:fan:20F85EDAA56A:motion" }
DateTime PorchFanTime { channel="bigassfan:fan:20F85EDAA56A:time" }
Sitemap
This is an example of how to set up your sitemap.
Frame label="Control My BigAssFan" {
Switch item=PorchFanPower label="Fan Power [%s]"
Slider item=PorchFanSpeed label="Fan Speed [%s %%]"
Switch item=PorchFanLightPower label="Light Power [%s]"
Slider item=PorchFanLightSpeed label="Light Brightness [%s %%]"
}
Manual Thing Creation
Place a file named bigassfan.things in the conf/things directory. The file should contain lines formatted like this.
bigassfan:fan:20F85EDAA56A [ label="Porch Fan", ipAddress="192.168.12.62", macAddress="20:F8:5E:DA:A5:6A" ]
Unsupported Features
Wall Controllers are not supported. Standalone lights are not supported.