vivienne / homebridge-haiku-senseme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

This plugin has been made obsolete by the new firmware release from BAF as of April 2022.

Please try the homebridge-i6-bigAssFans plugin instead which is being actively maintained and is compatbile with the new API.

Homebridge Haiku by Big Ass Fans Plugin

A homebridge plugin for Haiku by BAF devices.

Uses this modified version of the haiku-senseme API.

Installing

Install through homebridge-config-ui-x or manually:

sudo npm install -g homebridge-haiku-senseme

Example config.json below:

    "platforms": [
        {
            "name": "Haiku by Big Ass Fans",
            "platform": "haiku",
            "discoveryInterval": 30
        }
    ]

Notes

  • On startup, platform will run discovery for the amount of time specified in the config (from 10-600 seconds, defaults to 30)
  • Ideally services would be added depending on their existence. PRs welcome.

TODO

  • Use Fanv2.SwingMode for Haiku's "Whoosh"?
  • Add support for Fanv2.RotationDirection.
  • Create an OccupancySensor accessory.
  • Allow setting the number of expected devices during discovery, as UDP broadcast is unreliable.

About

License:Apache License 2.0


Languages

Language:TypeScript 100.0%