Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp8266-fastled-audio #7

Open
plabonhasan opened this issue Dec 3, 2018 · 15 comments
Open

esp8266-fastled-audio #7

plabonhasan opened this issue Dec 3, 2018 · 15 comments

Comments

@plabonhasan
Copy link

plabonhasan commented Dec 3, 2018

I am working first ESP8266 esp-12e NodeMcu board, my arduino IDE 1.8.4v my LED IS WS2812b and msgeq7 board
my home router ip 192.168.31.5
Open your code esp8266 fastled audio and ESP8266 Sketch Data Upload click uploading 100% and serial monitor show
Prepare file system
file open failed!

@plabonhasan
Copy link
Author

Before I ESP8266 Sketch Data Upload them
serial monitor show
Prepare file system
file open failed!

@plabonhasan
Copy link
Author

What is the gzipped?
How can I gzipped all of the files in data?

@jasoncoon
Copy link
Owner

gzip -r data/

@jasoncoon
Copy link
Owner

You need to close serial monitor before uploading to spiffs.

@zombodotcom
Copy link

zombodotcom commented Dec 3, 2018

What is the gzipped?
How can I gzipped all of the files in data?

this might have been caused by me because a long time ago on the old esp8266 branch I asked for storing the .js locally instead of asking to get the .js from the internet.

@plabonhasan
Copy link
Author

plabonhasan commented Dec 4, 2018

hello dear i am not professional, i am graphic design artist, so can you easy way to upload my esp8266.

close my serial monitor
then I ESP8266 Sketch Data Upload them, 100% upload then i open serial monitor but
Prepare file system
file open failed!

where is my problem dear i don't find out and gzip -r data/ how can work it in my esp8266.
esp8266 or wemos D1 problem free about esp8266-fastled-audio

that project i must need because it's sound reactive led
dear easy way to help me please

@plabonhasan
Copy link
Author

plabonhasan commented Dec 4, 2018

dear
same problem, something have a trick, i miss that.
do something dear, Any YouTube tutorial about gzip -r data/

@zombodotcom
Copy link

zombodotcom commented Dec 4, 2018

Do you not have the data in the right folder?

https://github.com/jasoncoon/esp8266-fastled-audio/blob/master/esp8266-fastled-audio.ino#L263-L272

SPIFFS.begin();
 {
   Dir dir = SPIFFS.openDir("/");
   while (dir.next()) {
     String fileName = dir.fileName();
     size_t fileSize = dir.fileSize();
     Serial.printf("FS File: %s, size: %s\n", fileName.c_str(), String(fileSize).c_str());
   }
   Serial.printf("\n");
 }

Also it seems like with some of the newer esp8266 chips, the esp-01

esp8266/Arduino#4061 (comment)

there seems to be a spiffs error.

I would also suggest making sure you have your spiffs tool setup correctly.

Have you done any example spiffs uploads not just jasons code?

The Data folder needs to be inside the directory that the sketch is in.

make sure to move the Data folder if it isn's inside of the sketch folder with the .ino in it.

Also pictures or error full error code would be helpful.

Also try and turn on Verbose output

File->Preferences->Show verbose output during:
Enable them for compilation and upload.

@plabonhasan
Copy link
Author

dear thanks for your help. i know u. You have a youtube video esp8266-fastled-audio

@plabonhasan
Copy link
Author

I order esp8266 and wemos. Maybe my esp upload problem.

@plabonhasan
Copy link
Author

hello dear
I got it, thank you very much. esp8266-fastled-audio working on wemos, thank you,
thank you so much.

@plabonhasan
Copy link
Author

plabonhasan commented Dec 13, 2018

Dear
jasoncoon and zombodotcom

thank you so much for Best helping and quick replay.

@ryancasler
Copy link

How did you get this to work? I am now getting the exact same error.

@zombodotcom
Copy link

zombodotcom commented Oct 2, 2019

Please make sure you have the data in the right places. Try and do a spiffs upload from another example online. Also what board are you using ?

#7 (comment)

Are you use you're using a working esp8266.
What version is it/ model

@ryancasler
Copy link

I had to bump the spiff size to 2M instead of 1M. That was the only way I was able to get it to upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants