SteveyO / Hue-Emulator

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

Unable to create scenes #37

Closed savvash closed 7 years ago

savvash commented 7 years ago

According to official Hue documentation, to create a new scene using POST method, you need to send the following commands:

Sun, 9 Jul 2017 21:58:14 /api/newdeveloper/scenes/ Sun, 9 Jul 2017 21:58:14 {"name":"Romantic", "lights":["1","2"], "recycle":true}

but unfortunately, Hue Emulator does not return a response (not even an error message)

savvash commented 7 years ago

Fixed!!!

Mon, 10 Jul 2017 01:35:45 /api/newdeveloper/scenes/ID1 Mon, 10 Jul 2017 01:35:45 { "lights":["1","2","3"],"name":"All lights"}