probonopd / ESP8266HueEmulator

Emulate a Philips Hue bridge running on an ESP8266 using the Arduino IDE.
MIT License
411 stars 93 forks source link

Refactor shared code and add missing response #66

Closed opticron closed 7 years ago

opticron commented 7 years ago

The light state put/post was missing a response entirely on success which was causing some 3rd part apps to be angry. According to the API, "Updated." is a valid reponse for this method, but is not accepted by some apps. This adds the full response for light state put/post and consolidatess response generation code.