mikelawrence / senseme-hacs

Haiku with SenseME fan integration for Home Assistant
MIT License
21 stars 14 forks source link
bigassfans fan hacs haiku home-assistant homeassistant senseme

Home Assistant integration for SenseME fans HACS Edition

Note: This integration is no longer being developed. Use the Big Ass Fans integration which is now a part of Home Assistant.

The Haiku with SenseME fan is a WiFi connected fan and optional light from Big Ass Fans. This Home Assistant integration provides control of these fans and light. The occupancy sensor is also monitored. BAF made a standalone light for a while that is also compatible with this integration.

Now aiosenseme is the underlying library. It is asynchronous and fits well with Home Assistant. There are several key new features like automatic fan discovery and push updates. It keeps a socket open to each fan added to Home Assistant for push updates and commands like turn fan on. The single socket approach seems to cause fewer issues with loss of connection or the fan going dumb for while. BAF made a standalone light for a while that is also compatible with this integration.

Installation

HACS

If you have HACS installed on Home Assistant then just search integrations for SenseME and install.

Manual

Copy the custom_components folder of this repository to your config folder and restart Home Assistant.

Configuration

  1. Go to Configuration -> Integrations.

  2. Click on the + ADD INTEGRATION button in the bottom right corner.

  3. Search for and select the SenseME integration.

  4. If any devices are discovered you will see the dialog below. Select a discovered device and click Submit and you are done. If you would prefer to add a device by IP address select that option, click Submit, and you will be presented with the dialog in step 5.

  5. If no devices were discovered or you selected the IP Address option the dialog below is presented. Here you can type in an IP address of undiscoverable devices.

  6. Repeat these steps for each device you wish to add.

Using the SenseME integration

The SenseME integration supports speed and direction for fans. Whoosh and Sleep are handled by preset modes for fans. If your fan has a light installed it will automatically be detected and added to Home Assistant. All SenseME lights support 16 levels of brightness.

If the device has an occupancy sensor it is also added to Home Assistant but I have not looked at how well it performs. As far as I can tell there are no settings/adjustments for this sensor so what you see is what you get.

The discontinued Haiku standalone lights are also supported, including color temperature.

The Haiku by BAF app supports grouping devices into rooms. Changing any device in a room changes all devices in that room. So if you grouped devices you can get away with added only one of those devices to Home Assistant.

SenseME platforms

When the integration connects to a device it retrieves the Device Name you set in the Haiku by BAF app and uses that as a prefix for all created entities.

SenseME platform attributes

SenseME integration options

There are no options for the SenseME integration.

Breaking Changes

Issues

Debugging

To aid in debugging you can add the following to your configuration.yaml file. Be sure not to duplicate the logger: section.

logger:
  default: warning
  logs:
    custom_components.senseme: debug
    aiosenseme.device: debug
    aiosenseme.discovery: debug