homebridge-haiku-senseme

A homebridge plugin for Haiku SenseME devices.

Usage no npm install needed!

<script type="module">
  import homebridgeHaikuSenseme from 'https://cdn.skypack.dev/homebridge-haiku-senseme';
</script>

README

Homebridge Haiku by Big Ass Fans Plugin

A homebridge plugin for Haiku by BAF devices.

verified-by-homebridge

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.