probonopd / ESP8266HueEmulator

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

Set linkbutton and adjust bridgeid #32

Closed opticron closed 7 years ago

opticron commented 7 years ago

Setting linkbutton to true allows apps to think they've been approved to authenticate via pressing the link button and lets the official hue app attempt to connect automatically. Tweak the bridgeid to use the same format as official bridges.

probonopd commented 7 years ago

Thanks @opticron. Unfortunately this fails to compile with

In file included from /home/travis/arduino_ide/libraries/NeoPixelBus/src/NeoPixelBus.h:77:0,

                 from ESP8266HueEmulator.ino:7:

/home/travis/arduino_ide/libraries/NeoPixelBus/src/internal/DotStarSpiMethod.h:29:17: fatal error: SPI.h: No such file or directory

 #include <SPI.h>

                 ^

compilation terminated.

Possibly the .travis.yml file needs to be adjusted, too.

opticron commented 7 years ago

Huh, I'm not sure how that build failure could even be related to my patch.

probonopd commented 7 years ago

Did not have the time to look into this in detail yet; may well be unrelated. Right now the only thing I know is that it was building in 39ff240 2 months ago. Will investigate when I find time, which unfortunately is not right now. Still thanks for your contribution!

idinkov commented 7 years ago

You just have to install the correct library. It is not related to the project.

On Oct 26, 2016 10:00 PM, "probonopd" notifications@github.com wrote:

Did not have the time to look into this in detail yet; may well be unrelated. Right now the only thing I know is that it was building in 39ff240 https://github.com/probonopd/ESP8266HueEmulator/commit/39ff240e951ff368a0a70fecc41c64796ea0eed0 2 months ago. Will investigate when I find time, which unfortunately is not right now. Still thanks for your contribution!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/probonopd/ESP8266HueEmulator/pull/32#issuecomment-256445030, or mute the thread https://github.com/notifications/unsubscribe-auth/AMVVGOJkhMXktBdIZYKRkJYbJO6ghAujks5q36M9gaJpZM4Kgndc .

probonopd commented 7 years ago

@idinkov do you know how to do this in .travis.yml?

probonopd commented 7 years ago

Thanks for the pull request; merge currently blocked by https://github.com/probonopd/ESP8266HueEmulator/issues/35