SteveyO / Hue-Emulator

A Bridge API Emulator for the Philips Hue (Personal Wireless System)
165 stars 41 forks source link

Group Listing #36

Open ClueControl opened 7 years ago

ClueControl commented 7 years ago

I admit again this this may be my problem.

When I first launch the emulator, I can list groups.

Request: /api//groups

Response: {"1":{"name":"Group 1","action":{"xy":[0.346,0.3568],"ct":201,"sat":144,"effect":"none","bri":254,"hue":33536,"colormode":"xy","on":true},"lights":["1","2"]}}

Then I add a few groups. Request: {"lights":["1","2"],"name": "New Group 2a"} Response: {"success":{"id":"/groups/2"}}

Now the list groups call no longer works.

Request: /api//groups (this does show up in the emulator log)

Response: "localhost unexpectedly closed the connection"