"SmartLED Controller" - ESP+FastLED+Blynk (Video)

This is how I scan, and what am I doing wrong?
https://youtu.be/_8ZGkHTvF0o

Nothing wrong. Definitely an issue as scans fine for me. Maybe something to do with local server @Dmitriy?

@Ladsas scanned ok for me, then crashed, maybe because I can’t access @jamin’s server.

Looking at your video looks like you have a bad image. Ensure the QR code is visible with a white background and no image label against it.

Edit: scan worked ok second time. Think my S3 is struggling with the 100MB Blynk video app version.

This is also a great time to remind the devs that iOS still doesn’t have emailable links as well as qr codes like android

1 Like

I have a question.
Your program will be work correctly with WeMos D1 mini ?? I can not compile correctly all the time … I have an error:

In file included from D:\User\User\Arduino\libraries\FastLED-3.1.3/FastLED.h:65:0, from 
D:\User\User\Arduino\temp\temp.ino:1: 
D:\User\User\Arduino\libraries\FastLED-3.1.3/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output 
#      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output" 

I also use the WeMos D1 Mini and this is a normal error for the ESP8266.

Just ignore it. :slight_smile:

Hi
It’s working, nice job. Thanks. It is exacly what I want.
Unfortunately, there were other issues. Maybe you can help me.
The effects work properly but when choosing the color the program looks like it crashed, and I have information that “The device is disconnected.”
The device certainly is still on the network, I rebooted the server but to again switch some effect I need to do reset the device.
Do you also have these issues? Maybe I did something wrong? I changed only LED_NUMBER because I only have 72 pieces.

Hmm could be a few things…

The hardware itself will be sending out many many requests all the time.

You will need to also connect it to your computer and check the Serial Monitor with debug on and look for disconnects.

Let me know how you go, and paste your results here so I can make some changes to the code .

Do you mean cycling the “auto” presets?

There has been some issues with them. Best to avoid using them right now until I work out a fix :slight_smile: Stick to the first/main rainbow preset and use the blending slider

I have no problem at the moment with the PRESENT. When, however, the inclusion of only one of the colors … B, R, G, W, LB I have “The device is disconnected.” if you touch the color slider have the same problem.
When changing effects do not have any information in the Serial Monitor. A message appears when you turn on any color:

[1251] Connected to WiFi
[1251] IP: 192.168.9.103
[1251] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.4.6 on Arduino

[5001] Connecting to 192.168.9.94
[5015] Ready (ping: 5ms).
[10016] Connecting to 192.168.9.94
[10025] Ready (ping: 5ms).
[281403] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[281406] Connecting to 192.168.9.94
[281418] Ready (ping: 7ms).
[281941] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[286420] Connecting to 192.168.9.94
[286439] Ready (ping: 8ms).
[286984] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[291440] Connecting to 192.168.9.94
[291452] Ready (ping: 6ms).
[292001] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[296455] Connecting to 192.168.9.94
[296467] Ready (ping: 8ms).
[297062] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[301468] Connecting to 192.168.9.94
[301481] Ready (ping: 8ms).
[302046] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error
[306483] Connecting to 192.168.9.94
[306503] Ready (ping: 15ms).

Strange but it looks as if I had other problems than you

So the issue is flooding.
[281403] Trouble detected: http://docs.blynk.cc/#troubleshooting-flood-error

First thing we can try is disable the setProperty colour updater.

Comment out line 59. This will cut many requests per second. See if the flood error remains.

timer.setInterval(250, updateColours);

I should also check that you have the latest code from github?

Might be because I have a local server with all flooding limits turned off.
So you testing it on the cloud is good for debugging :smiley:

No, I have local server too… on Raspberry Pi :slight_smile:
Ok, My bad but works better :wink: I comment line 59 quick but in settings.h file … Now I can change colors too. Sometimes when I change the colors to quickly the program can get the crashed but it is much better.
Sometimes using the buttons B, R, G, W or LB can also crashed.

I have new version… from yesterday.

You should just remove the flood limits in your server.properties file! :slight_smile:

One of the many reasons I went to local in the first place! :smiley:

Look at the server.properties section here and also the library part
http://docs.blynk.cc/#troubleshooting-flood-error

I have default settings and haven’t this.

allowed.administrator.ips = 127.0.0.1
user.dashboard.max.limit = 100
user.profile.max.size = 64

That is my all server.properties.

I don’t know to much about this server yet… I have it 2-3 days :slight_smile:

1 Like

I’ll try to use your program to learn this… I think it’s a good example… if I can of course :slight_smile:

1 Like

Follow that link I posted, and add the section to your server.properties file, set the limit way way higher (i think I have mine on 9999 lol)… and restart your server.

You should no longer get the flood error.

Updates to the code: https://github.com/jaminNZx/ESP8266-WS28xx-Blynk/releases/latest

hello sir very nice project
am trying to do the same thing around my swimming pool out side on the edge of it
it will very very nice .
just i have q plz
if i have the SW2801 that have the DATA AND CLOCK which SD and CK
in the led strip u using just have the data .
so in this case where should i connect the clock ?
thank u

Nice work. The video is really well done. Looking forward to exploring the code.

1 Like