cees-elzinga / script.xbmc.hue.ambilight

XBMC add-on for Philips Hue lights with ambilight support
Do What The F*ck You Want To Public License
127 stars 123 forks source link

making a group gives a error #26

Closed TRaSH- closed 10 years ago

TRaSH- commented 10 years ago

trying to make a group but i'm getting a error hope someone can help me with it. using windows: opened a CMD typed: C:\Users\TRaSH>curl --request POST "http://IP-BRIDGE/api/userid/groups" --data '{"name":"Achter","lights":["3", "4"]} [{"error":{"type":2,"address":"/groups","description":"body contains invalid json"}}]curl: (3) [globbing] unmatched close brace/bracket at pos 2 want to dim the 2 lights in the back they are on ID 3 and 4

cees-elzinga commented 10 years ago

Looks like you're missing a single quote at the end

Try:

curl --request POST "http://IP-BRIDGE/api/userid/groups" --data '{"name":"Achter","lights":["3", "4"]}'

Hope it works