probonopd / ESP8266HueEmulator

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

Room saving #81

Open dtila opened 7 years ago

dtila commented 7 years ago

I was testing the software using the original Philips Hue application. I am able to discover and control the light. However, after I make the first control, this is lost and the Android app force me to assign the light in a room.

I do that every time, but I think is making a save request to the ESP and this is just ignoring.

Do you have the same issue ?

probonopd commented 7 years ago

This software does not emulate all of Hue, just the most basic functionality. Feel free to implement additional functionality (such as saving) and send Pull Requests ;-)

dtila commented 7 years ago

I will do a pull request with the friendly name after what I finished testing. BTW, out of the thread question, do you know how can I push a change for the HUE ? I have seen that usually the app is pooling periodically the state using the getInfo() method.

Do you know if I can push a change ?

probonopd commented 7 years ago

Sorry, I don't understand the question.

dtila commented 7 years ago

@probonopd, from the sniffing of the protocol the client application is pooling to the bridge, the status of the HUE led. However, there might be situations where the status is changed outside.

Is there a way to notify the client application that a light bulb state has been changed, except the normal pooling ?