npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-bond

v3.2.11

Published

A homebridge plugin to control your Bond devices over the v2 API.

Downloads

470

Readme

verified-by-homebridge npm npm

homebridge-bond

Bond plug-in for Homebridge using the Bond V2 API.

Features

This plugin currently supports the following devices and features:

  • Multiple Bonds
  • Supported Devices
    • Ceiling Fan
      • Light on/off
      • Up/Down light
      • Fan Speeds 1-8 (dynamic based on bond configuration)
      • Light Dimming
    • Blinds
      • Open / Close
    • Generic Device
      • On / Off (appears as switch in HomeKit)
    • Fireplace
      • Flame On / Off (appears as switch in HomeKit)

You can view the backlog of features here. Feel free to add a feature request in the Issues tab!

Installation

Bond Parameters

| Option | Required | Explanation | | ------------------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ip_address | true | To get your Bond IP Address, follow the instructions here. | | token | true | This can be found in the Bond app in your Bond Settings. Scroll down until you see Local Token. You can tap on the row to copy to your clipboard. | | hide_device_ids | false | Array of device ids to ignore (i.e. ["1111", "2222"]) | | ms_between_actions | false | Space out actions sent to the Bond by at least this many milliseconds. |

Easiest Configuration

For the best experience setting up this plugin, please use homebridge-config-ui-x.

HOOBS Configuration

In HOOBS, you need to provide the bonds (optionally, turn on opt-in features):

[
    {
        "ip_address": "<IP_ADDRESS>",
        "token": "<TOKEN>",
        "hide_device_ids": ["123456"]
    }
]

Example Config in HOOBS:

Config

Basic Configuration

Assuming a global installation of homebridge, install the plugin:

npm i -g homebridge-bond

Add the Bond platform in your homebridge config.json file:

"platforms": [
    {
        "platform": "Bond",
        "bonds": [
            {
                "ip_address": "<IP_ADDRESS>",
                "token": "<TOKEN>"
            }
        ],
    }
],

NOTE: If you have a "Smart by BOND" fan/device, you will need to add a Bond in the config for each fan/device.

Optional Platform Parameters

| Option | Default | Explanation | | ------------------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | include_dimmer | false | If dimming is a valid action on a device, it will be included as additional switch on the accessory. When using this feature, turn the switch on to start dimming. When you reach the brightness level you would like, turn the switch off. | | fan_speed_values | false | Use fan speed values instead of percentages (i.e. Hey Siri set the Office Fan to 2) | | include_toggle_state | false | This will add a switch to single-action accessories to toggle the state (i.e. Shades, Fireplace, Generic, Lights). Fan speeds are not eligible for this option. |

Development

I'm more than happy to take PRs if you want to fix a bug you are having or take a shot at adding a new feature you're interested in. To compile the code in realtime, run:

npm run dev

To use the local version of the plugin in homebridge, I run npm link in the directory of the cloned repo.

Support

If you have general questions about usage, please use the Discussions tab! If you are unsure if a problem you are having is actually a bug/issue with the plugin, that is a great place to start 😄.