My latest project is a 6.5' white tree with 250 WS2811 LEDs,

@Jason_Coon ​ how did you write your web app? Im wanting to write my own but dont know where to start

I’d start by learning the basics of client-side web development: HTML and JavaScript. Here’s a basic tutorial to get you started: http://www.w3schools.com/js/

@Jason_Coon ​ hey man sorry to keep bugging you. I have a quick question with how your program works. Ive always used switch case to change patterns in my programs but that only allows me to change patterns in numerical order and thats not how your program is setup. What fuction did you use to choose what patterns are selected? Id like to learn more about it so i can make better programs.

@Cristian_Martinez no problem at all. The other fine folks here have helped me learn so much in the last few years. :slight_smile:

I use a method like the excellent DemoReel100 example: https://github.com/FastLED/FastLED/blob/master/examples/DemoReel100/DemoReel100.ino This allows you to change patterns on an interval, on user input (button, switch, dial, web, IR, etc), or any other means.

I highly recommend reading through, trying out, and modifying this and all the other examples included with FastLED, Mark’s Gist (https://gist.github.com/kriegsman), etc.

@Jason_Coon ​ Lol i actually took the DemoReel100 and added the patterns to a switch case to change patterns with a push button and used millis for timing. Never actually paid attention to how the demo changed patterns. Thanx for pointing that out for me! :slight_smile: and yeah ill definitely try those out. Gonna give it a shot adding my own patterns since im wanting to use the web app for a snowflake. Already have the XYMap.h file written out. Youre a big help man. This is probably still my first year messing around with arduino boards.

@Jason_Coon ​ i have an interesting question. I took your ESP8266 fastled webserver project. Downloaded it as a .zip file. Extracted the files. Removed master from the folder name and tried to compile it without any modifications and got an error message saying “patterns” was not declared. Im using Arduino 1.6.13

never mind on that i just tried again and it compiled just fine, weird

@Jason_Coon Hey man i uploaded the program to my D1 mini pro and then uploaded the SPIFFS to the board but i cant get the app to open in my browser

it was working earlier but now it wont open it in the browser, should i try to upload the app to SPIFFS again?

@Cristian_Martinez have you looked at the serial monitor, verified it’s connected to wifi, verified the IP address, checked Chrome Dev Tools network tab to make sure it’s responding, etc?

@Jason_Coon ​ yes and it all looked right. I reuploaded the program to the board then the app to SPIFFS and checked the serial monitor. Waited for it to tell me to connect and it allowed me to pull up the app. Make a few changes and within 5 minutes the app stopped responding refreshed the page and it wouldnt pull it up anymore but the last pattern i selected kept playing on the board just fine so im really not sure whats happening?

Well this just happened. The right side stopped responding lol. But the webserver finally came back up. Not sure what happened. Its done it before it might start working again later but that just looks hilarious lol
missing/deleted image from Google+

@Jason_Coon im getting the following error on the serial monitor -

Heap: 39944
Boot Vers: 31
CPU: 80
SDK: 1.5.3(aec24ac9)
Chip ID: 1648786
Flash ID: 1589487
Flash Size: 16777216
Vcc: 65535

scandone
state: 0 > 2 (b0)
state: 2 -> 2 (2a0)
FS File: /css/styles.css, size: 229396
FS File: /favicon.ico, size: 4286
FS File: /fonts/glyphico.eot, size: 20127
FS File: /fonts/glyphico.svg, size: 108738
FS File: /fonts/glyphico.ttf, size: 45404
FS File: /fonts/glyphico.woff, size: 23424
FS File: /fonts/glyphico.woff2, size: 18028
FS File: /images/atom196.png, size: 5469
FS File: /index.htm, size: 5110
FS File: /js/scripts.js, size: 154332

Connecting to MyCharterWiFi3e-2G
.state: 2 -> 0 (2)
reconnect
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 7
cnt
…state: 5 -> 2 (2c0)
rm 0
state: 2 -> 2 (7a0)
…reconnect
state: 2 -> 0 (0)
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 7
cnt

-------------------------------------
any reason why? i mean i have the right login information for my WiFi network

@Cristian_Martinez sorry, not sure. How far are you from your wifi access point/router?

Im on the second floor right above it. My laptop and xbox are further and have no problem

I made one of these back in December and still can’t take it down. On those late night programming ventures I see this out of the corner of my eye and keep pushing on, true inspiration. Amazing tree, thank you so much for sharing!