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: 1902
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. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Tue Mar 12, 2019 10:12 am
kw123 offline
User avatar
Posts: 6504
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: 6504
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: 64
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}"

Who is online

Users browsing this forum: No registered users and 1 guest

cron