BOND Smart Ceiling Fan Control

Forum rules

Questions about hardware that can be controlled by Indigo (but not through the interfaces and plugins listed). If Indigo doesn't support some bit of hardware you're interested in, and you don't find a 3rd Party Plugin for it, add it to this forum. Be sure to include links to as much information as you can find about it.

Note: adding it here does not mean we're going to add it - in fact it's possible one of our 3rd party developers may decide to write a plugin for it. We add hardware/features based on a lot of different factors beyond just having a request for it.

Posted on
Tue Mar 12, 2019 9:19 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: BOND Smart Ceiling Fan Control

Apparently they've now released an SDK or API or both, but I don't know any details.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Tue Mar 12, 2019 10:12 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: BOND Smart Ceiling Fan Control

Where did you find that?


Sent from my iPhone using Tapatalk

Posted on
Tue Mar 12, 2019 10:34 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: BOND Smart Ceiling Fan Control

Found it.

http://docs-local.appbond.com/#section/ ... -Fan-Speed


Sent from my iPhone using Tapatalk

Posted on
Sun Sep 08, 2019 8:57 am
katiaf offline
Posts: 82
Joined: Jul 01, 2014

Re: BOND Smart Ceiling Fan Control

Thank you for the link to the API! I was able to set Action Groups for my Minka Aire fan using "Run Shell Script". I will detail the steps in case someone can use them.

1) Follow the instructions in the API link http://docs-local.appbond.com/#section/Getting-Started to find out the IP address, token, and device id of your Bond. Notice that to get the token you need to power cycle the fan (not only turn the fan off and on, but use the breaker to totally turn off power to your fan).
2) Test the commands from Terminal using the ip address, token and device from Step 1, e.g., curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/TurnLightOn -X PUT -d "{}"
3) Once you troubleshoot the command and it works from Terminal, put it in a a Shell script (just a file with "#! /bin/bash" in the first row and the command in the second row). Do this for all the different commands. I have TurnLightOn, TurnLightOff, TurnFanOff, SetFanSpeedLow (2), SetFanSpeedMed (4), SetFanSpeedHigh (6)
4) chmod +x to all your Shell Scripts to make them executable
5) Create your Action Groups in Indigo using Type "Run Shell Script" and point to the path of your specific Shell Script

These are the different commands I used:

Turn On Fan Light
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/TurnLightOn -X PUT -d "{}"

Turn Off Fan Light
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/TurnLightOff -X PUT -d "{}"

Turn Off Fan
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/TurnOff -X PUT -d "{}"

Set Fan to High
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/SetSpeed -X PUT -d "{\"argument\": 6}"

Set Fan to Medium
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/SetSpeed -X PUT -d "{\"argument\": 4}"

Set Fan to Low
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/SetSpeed -X PUT -d "{\"argument\": 2}"

Posted on
Sat Dec 07, 2019 7:05 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: BOND Smart Ceiling Fan Control

I"m working on a plugin for Bond Home devices. Discussion in this thread: viewtopic.php?f=216&t=23291

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 08, 2019 12:16 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: BOND Smart Ceiling Fan Control

Can you try something for me? My fans don't do the direct SetSpeed command, so I can't test this myself.

Try:

Code: Select all
curl -H "BOND-Token: <token number>" -i http://<ip address>/v2/devices/<device ID>/actions/SetSpeed -X PUT -d "{\"argument\": \"4\"}"


The difference is that the argument value is a string, not a number. I'm wondering if it'll work either way.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 5 guests