Open tamasharasztosi opened 7 years ago
Are you sure the electrical connections to the LED strip are correct, can you use it using other sketches using the same LED library (e.g., its example sketches)?
I have tried the LED library's examples and it worked great with both GPIO2 and GPIO3 connection/method. And your project is also looks like working on my device because the strip goes white-red-green (on all the 50 leds) and the pairing process in the app also looks good but after that I can't control the added lightstrips (however in the serial monitor the state and stuff change after I set something in the app). Could you write down your config? How should I set NUM_PIXELS_PER_LIGHT, pixelCount,MAX_LIGHT_HANDLERS? Have I missed something? And where should I replace avm/pgmspace.h with pgmspace.h ? Thank you for your help.
Same issue here. I get the white / red / green scans indicating I've got wifi connection. My Android Philips Hue app establishes a connection, but is not switching the strip on. Serial monitor indicates communication is happening. Did you get it working tamasharasztosi?
Sadly i didnt manage to make it work so i gave it up..
@tamasharasztosi can you control your LED strip with the example files that come with the https://github.com/Makuna/NeoPixelBus library?
Last time it worked with bitbang method I think, but now I can make it work at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin is connected to D4 (GPIO2).
I have the same issue. I have it working with NeoPixelBus from this example: https://www.reddit.com/r/arduino/comments/4yb6cl/wemos_d1_mini_internet_status_led/d6mmc7b/. My LED ring has 12 pixels and I have modified the code in that post to use 12 pixels and they all light up.
With regard to the ESP8266HueEmulator, when I plug my Wemos D1 mini in the USB controller I see first a red led running (2-3 times), then green led running (1 time) and finally 1 led of 12 leds stay on.
Met vriendelijke groeten, Warm regards,
Jan-Dirk Schuitemaker
On 16 October 2017 at 17:06, tamasharasztosi notifications@github.com wrote:
Last time it worked with UART method I think, but now I can make it work at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin is connected to D4 (GPIO2).
— 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/issues/82#issuecomment-336916318, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPpBZcLbIY2B6l0F3DKPUWdoC53TOHqks5ss3DugaJpZM4PcA2x .
I have to use bitbang method to get anything On 16 Oct 2017 16:17, jdschuitemaker notifications@github.com wrote:I have the same issue. I have it working with NeoPixelBus from this example: https://www.reddit.com/r/arduino/comments/4yb6cl/wemos_d1_mini_internet_status_led/d6mmc7b/. My LED ring has 12 pixels and I have modified the code in that post to use 12 pixels and they all light up.
With regard to the ESP8266HueEmulator, when I plug my Wemos D1 mini in the USB controller I see first a red led running (2-3 times), then green led running (1 time) and finally 1 led of 12 leds stay on.
Met vriendelijke groeten, Warm regards,
Jan-Dirk Schuitemaker
On 16 October 2017 at 17:06, tamasharasztosi notifications@github.com wrote:
Last time it worked with UART method I think, but now I can make it work at all. Im using Wemos D1 mini board which is based on ESP-12, the data pin is connected to D4 (GPIO2).
— 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/issues/82#issuecomment-336916318, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPpBZcLbIY2B6l0F3DKPUWdoC53TOHqks5ss3DugaJpZM4PcA2x .
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
Ok guys, finally it started working with bitbang method! (only with that)
My setup:
NeoPixelBus<NeoGrbFeature, NeoEsp8266BitBang800KbpsMethod> strip(MAX_LIGHT_HANDLERS * NUM_PIXELS_PER_LIGHT, pixelPin);
Also replace avm/pgmspace.h with pgmspace.h in Arduino/aJson/aJSON.cpp
Bitbang solved it for me too! Thank you @tamasharasztosi .
Now how to get the iOS version see the same setup that I created with the Android version of the app.
@tamasharasztosi want to send a pull request?
Hi! I cannot make this work. I have a esp8266 (data pin: D4) connected to ws2812b lightstrip with 32 leds. I could connect to it thought the phone app but cannot turn the lights on. The only instruction I didn't do is this because I didn't find this one: Replace avm/pgmspace.h with pgmspace.h what I set up: wifi creditials,
define NUM_PIXELS_PER_LIGHT 32
define pixelCount 32
define pixelPin D4
set #define PRINT_BUFFER_LEN 4096 in aJSON.h and this one shows as many device in the app as I write into it:
define MAX_LIGHT_HANDLERS 2
What have I missed?