probonopd / ESP8266HueEmulator

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

Fix interop with original Hue offical android app #25

Closed opticron closed 7 years ago

opticron commented 7 years ago

According to the crashes I fixed in the original/old Hue Android app, swversion must be of type long (floats break it) and portalservices and linkbutton are required boolean values.

The new Hue Android app is another mess altogether. It can't autodiscover the emulated bridge for some reason and crashes in native code (no reasonable backtrace) when provided with an IP to use. If you have any insight there I'd be happy to hear it.

Neither of these apps worked when I originally started tinkering with this code, so they may have updated them at some point and changed the requirements for what it takes to discover and appear to be a bridge since this was originally written.

probonopd commented 7 years ago

The "old" app was working some time ago when I made this sketch. Don't know about the latest version of the "old" app though. The "new" app I never tried. But indeed, the apps, the protocol, and most technical aspects of Hue look like they are not - to say it mildly - entirely perfect.