How to find a Group ID

Greetings… I have successfully deployed a Bond Bridge Pro with a Savant System. I’m controlling some new Inception Shades with the Bond Bridge, however Savant sends commands to each shade individually and not as a Group so everything is out of synch. Savant Tech supports feels like if we can obtain a Group ID from the Bond Bridge for the shades, Savant will control the group (which is perfectly synched via the Bond App Control).

Bond Support gave me some curl commands to try and query the device for Group ID’s but it didn’t work. Any ideas?

The following is the command I tried in Terminal to find the Group ID I need:

curl http://192.168.0.38/v2/groups

Any help is appreciated…

Jared Green

1 Like

Hey Jared!

That looks like the correct command based on the specs, but it needs the header Auth Token as well (seen in your Bond app).
Maybe you had that piece in your Terminal command, but I didn’t want to assume one way or another.

curl -H “BOND-Token: xxxxxxxxxxxxxxxx” -i http://192.168.0.38/v2/groups

In any case, what kind of error are you getting?

I checked today with a group I made a long time ago, for two ceiling fans rather than blinds, and data was being returned as I would expect:

curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://n.n.n.n/v2/groups/
	HTTP/1.1 200 OK
	Connection: close
	BOND-Flags: 4
	Content-Length: 70
	Content-Type: application/json; charset=utf-8

	{"_":"eb0fd23b","__":"00000000","9b8003ba759fb452":{"_":"7e1f3c95"}}

curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://n.n.n.n/v2/groups/9b8003ba759fb452
	HTTP/1.1 200 OK
	Connection: close
	BOND-Flags: 4
	Content-Length: 399
	Content-Type: application/json; charset=utf-8

	{"__modified":1690290777,
	"name":"Great Room Fans",
	"actions":["DecreaseSpeed","IncreaseSpeed","SetSpeed","StartDimmer","Stop","ToggleLight","ToggleLightTemp","TogglePower","TurnLightOff","TurnLightOn","TurnOff","TurnOn"],
	"devices":["264eecc9"],
	"types":["CF"],
	"locations":["Living Room"],
	"_":"7e1f3c95","__":"a068c84a",
	"state":{"_":"e5b0986e"},
	"properties":{"_":"15623a18"},"skeds":{"_":"00000000"}}

Indeed the -i option is helpful to diagnose issues. It will show the HTTP status response.

1 Like