Bond
A plugin for Polyglot v3 (PG3) that interfaces with Olibra Bond Bridges and Smart by Bond (SBB) devices locally to allow
the ISY to control ceiling fans, lights, blinds, fireplaces, and more. See https://bondhome.io/ for more information on
Olibra Bond Bridge.
NOTICE: This plugin requires IoX 5.8.3 or better be installed on your Polisy or eISY to run.
Instructions for Installation of Plugin:
From the Polyglot Dashboard:
- Install the Bond plugin from the PG3x Plugin Store.
- Once the BondBridge plugin is running, unlock the Bond devices on your network (e.g., power cycle your Bond
bridge(s)) and then click "Discover" in the Dashboard to load nodes for each device discovered. Once a bridge is
unlocked by power cycling, you have 10 minutes to intiate the Discover command. THIS PROCESS MAY TAKE SEVERAL
SECONDS depending on the number of Bond Bridges and devices there are, so please be patient and wait a minute or
two before retrying. Also, please check the Polyglot Dashboard for messages regarding Discover failure
conditions.
Notes for latest version (v3.3.15)
- Your Bond bridge may not be discoverable by the automatic Discover routine depending on the configuration of your
network and Wi-Fi. If your Bond Bridge or SBB device is not discoverable, you may connect to it manually by adding
the following Custom Configuration Parameters under Configuration in the Polyglot Dashboard and then re-running
the Discover command:
- key: hostname, value: locally accessible hostname or IP address for Bond Bridge (e.g.,
"192.168.1.145" or "ZZBL45678.local")
- key: token, value: local access token for Bond Bridge. Available in the "Bond Settings→Advanced
Settings" for the bridge in the Bond Home mobile app.
You can also specify multiple Bond Bridges and/or SBB devices for Discovery in Custom Configuration Parameters
by specifying a hostname and token for each, separated by semicolons (;) in the "hostname" and
"token" parameters. Make sure that the corresponding values are specified in the same order.
- The plugin utilizes mDNS (Bonjour) service disovery to discover the Bond bridges on the LAN. There is an 11 second
delay in the discovery code to allow the bridges to respond to the mDNS query before the bridge nodes are created.
After pressing Discovery, you may see no signs of activity in the next several seconds. This is normal. Please be
patient.
- To discover new devices added to an existing Bridge node, you can use the Discover routine as before. It is not
necessary to unlock bridges for existing Bridge nodes to discover new devices, however, you will receive a
notification warning that the bridge needs to be unlocked. You can ignore this.
- The Plugin Status is only tracked in the first bridge node created by the plugin. If you delete this bridge node,
you will lose Plugin Status tracking. If you delete all the bridge nodes and re-Discover, the Plugin Status will
be tracked in the first bridge node created upon re-discovery.
- You can optionally modify the polling interval by changing the "shortPoll" configuration parameter under
Configuration - Advanced Configuration. Note that the default is 60 seconds, and because the Bond Bridge provides
instantaneous state updates over UDP (BPUP), frequent polling for state is not required. The "longPoll"
value is not used.
- Only very basic functionality is available for fireplaces and generic devices (just Open/Close or On/Off
functionality). Additional functionality will be added when users with these devices are available to test new
code.
- The ST driver of Ceiling Fan nodes reflects the current speed of the fan as a percentage of the maximum speed,
with 0 being 0% (Off) and the maximum speed being 100%. In order to set the fan to a specific, known speed, use
the Set Speed command. The Set Speed command lets you set the speed to up to 10 speed numbers. Speed numbers over
the maximum speed set the fan to the maximum speed.
- If your fan has an uplight and downlight, the nodserver will create two light nodes that you can turn on and off
seperately. The result of setting the brightness level of either (if available) is unknown since I did not have
such a fan to test with.
- Increase Speed (%) and Decrease Speed (%) increase and decrese the fan speed percentage by approx.
3%. This is to mimic BRT and DIM commands in Insteon which brighten and dim lights/devices over 32 steps.
The hope is that you can drop a SwitchLinc dimmer in a scene with the fan and the bright/dim functionality will
work intuitively over the LEDs displayed to control the fan speed. Increase Speed (#) and Decrease Speed
(#) increase and decrease the fan speed by one speed number.
- If you have a shade that supports "Set Position" commands, either because it's native to the shade or you've set
the "Course Time" in the Bond Home app for the shade and the Bond Bridge Pro is tracking it's position, then you
will need to delete the existing shade nodes and the re-discover nodes from the bridge to get them to load with
the right node definition.The plugin supports "Set Position" along with "Increase Opening" and "Decrease Opening"
commands that increase or decrease opening by 10%. These nodes report the position as a percentage if not fully
"Open" or "Closed." The Bond Home app and Bond API report position as a percentage of "closed," i.e., 0% is open
and 100% is closed. IoX "Barrier Status" UOM reports position as a percentage of "open," i.e., 0% is closed and
100% is open. The conversion is done in the plugin so you should keep this in mind.
- On some shades, if the "Stop (Hold)" command is issued when the shade is not in motion, the "Preset" functionality
is invoked (the likely case when the remote only has one button to perform both functions).
- On shade nodes, "Start Opening," "Start Closing," and "Stop (Hold)" map to FDUP, FDDOWN, and FDSTOP IoX commands,
respectively. In theory, you can drop a shade into a IoX scene with an Insteon SwitchLinc, and get easy control:
tap top of switch to open; tap bottom of switch to close, press and hold top of switch to start opening, release
switch to stop opening, etc., all without programming.
For discussion and feedback, please use the Universal Devices Forums here:
https://forum.universal-devices.com/forum/329-bond/.
Version History
3.3.15 - Enhanced support for shades (2025-05-23)
- added additional commands for shades
- add new node for shades w/ position support
- added restart of listener thread on poll if not running
v3.2.14 - New features and fixes (2024-07-13)
- replaced zeroconf library causing plugin to fail in Python 3.11 on eISY
- replaced mDNS discovery with bonjour mechanism built into udi_interface
- Added tracking of plugin status for primary bridge node
- Updated support for Bond Bridge Pro
v3.1.13 - Bug Fixes (2023-02-01)
- Changed several DEBUG log messages to INFO level
- Fixed bug in hooking BPUP_EventListener callback for keypad events
- Added subset to all editors in nodedefs
- Append key number to name on node creation
- Fix error when closing BPUP socket
- Prevent polling from trying to update state for keypads
v3.1.12 - Patch (2023-01-27)
- Quick fix for bad removal of files
v3.1.11 - New features and fixes (2023-01-27)
- Added support for Sidekick Scene Keypads on Bond Bridge Pro
- Change way brt and dim commands are handled for fan speed
- Change way brt and dim commands are handled for light
- Update bridge hostname and token if already exists
- Ignore devices with no actions (log warning)
- Reorgnized file structure to be more asyncio friendly
v3.0.10 - Bug fixes (2022-09-18)
- Fixed ignoring new "__" hash value in device list from API
- Fixed missing NLS entry for "Force Update" button label on Bridge nodes
- Increased wait time for newly discovered Bridge nodes to initialize to up to 1100ms before device discovery
- Refactored BPUP message parsing to allow for "action" messages
v3.0.9 - Bug fix (2022-02-27)
v3.0.8 - Initial Release (2022-02-26)
- Converted Bond-polyglotv2 to PG3 API
- Refactored code to fit PG3 design model (nslib)