Spiffs is a file system intended for SPI NOR flash devices on embedded targets. It is popularly used on ESP8266 and Arduino for storing configuration settings.
Questions tagged [spiffs]
67 questions
0
votes
0 answers
Using a JSON document to define bucket and api token for influxdb
I have my code written for connecting an esp32 to influxdb. Im utilizing the wifimanager library to set my wifi credentials without hardcoding. I would like to set up custom text boxes to fill in the necessary credential required to connect to…

ndeegan
- 1
0
votes
1 answer
Save images for my web server in SPIFFS on esp32-S2
Hi it's my first time using esp32-S2 because now its not recommended to use esp32. I'm looking for saving images in SPIFFS for my web server. In esp32 i used to use esp32fs plugin (https://github.com/me-no-dev/arduino-esp32fs-plugin) but it doesn't…

Lucasaenz
- 11
- 3
0
votes
0 answers
Way to upload files to ESP32's spiffs file system using Python
I'm working on a self-project that I need to upload some values to esp32 from Python program.
I want to upload those values esp32 in .txt format and read those with SPIFFS library. I know a way to upload files to esp32 and esp8266 with Arduino ide…

SMD_Human
- 11
- 1
0
votes
1 answer
ESP32 - What are the negative consequences using min_spiffs partition table?
Maybe my question is trivial but I'm wondering why spifss should have a bigger space than bare minimum. Is min_spiffs configuration a good choice for all kind of applications?

thoraz
- 209
- 1
- 3
- 14
0
votes
1 answer
ESP8266 - Reading total and used bytes from Filesystem
I'm trying to check the total size and the used bytes of the Flash-FileSystem on an ESP8266.
I'm using Arduino IDE (2.0.1) with "esp8266 by ESP8266 Community" (3.0.2)
I found in different tutorials the commands
#import…

Zaby1990
- 21
- 6
0
votes
1 answer
How to Read uint16_t from SPIFFS and place it in uint16_t array?
I have Arduino program that use IRsend Library to send IR code, this library need a raw uint16_t array like:
uint16_t rawData[229] = {3114, 2996, 3114, 4374, 598, 486, 598, 1596, 598, 486, 596, 1596, 598, 1596, 598, 486, 596, 486, 596,…
0
votes
0 answers
File cannot be opened isuue with SPIFFS
I would like to try SPIFFS for ESP8266. I installed the Data upload and everything seems ok, I dont know why I get a error message that the file cannot be opened.
Here is the code:
#include "FS.h"
void setup()
{
Serial.begin(115200);
…

SSH
- 11
0
votes
1 answer
How to save hex string to png file in spiffs to create image
I'm trying to send an image file from a node.js server across a TCP/IP connection. I converted the image file to a hexadecimal string using fs.createReadStream and received the hex string as expected on the client side. Now I need to figure out…

coder101
- 383
- 4
- 21
0
votes
0 answers
Arduino IDE ESP32 device using SPIFFS to save
I writing ESP32 program and using SPIFFS to save some data because I do not want to loose it after I power down the device.
I have 2 functions:
char* readFile(fs::FS &fs, const char *path)
{
Serial.printf("Reading file: %s\n", path);
File…

Lukas Petrikas
- 65
- 2
- 11
0
votes
2 answers
Json parsing not working with JsonObject using ArduinoJson library
I am using the following code to store Config.json file to ESP32 flash memory using SPIFFS
#include
#include
#include
bool loadConfig() {
File configFile = SPIFFS.open("/Config.json", "r");
if (!configFile)…

Srujan Patel
- 3
- 3
0
votes
1 answer
Add multiple SPIFFS files to captive portal on Async web server on ESP32
I'm using simple code of modified Captive portal with asynchronous web portal (from ESPAsyncWebServer library - https://github.com/me-no-dev/ESPAsyncWebServer). It send html page from SPIFFS flash memory.
The way it is working now, is that it send…

fundakk
- 79
- 1
- 7
0
votes
0 answers
Importing JQuery via SPIFFS ESP8266
I have a working code that works well. The essence of the code is that the person connects to the Wi-Fi network, transfers him to the Captive Portal in which he enters some text that is sent to esp8266. But this does not work that way, since I want…

exiperon
- 31
- 5
0
votes
1 answer
How to read json file from ESP8266's SPIFFS with ArduinoJSON 6?
I am currently working on a project with ESP8266 (ESP-12E) and I need to store information in a json file (more convenient to access via the web interface and easier to manage than EEPROM for me).
My problem is the following: I'm using the latest…

Vincent
- 1
- 1
- 2
0
votes
0 answers
I am not able to write / access files in SPIFFS in ESP8266
I am trying to store text file into SPIFFS memory. I get an error whenever I try to format or to write file into SPIFFS.
Here is the code to format the SPIFFS.
#include
void setup() {
Serial.begin(9600);
SPIFFS.begin();
delay(1000);
…

Amrutha B V
- 1
- 2
0
votes
1 answer
How to Get Value from Color picker (jscolor) SPIFFS from ESP8266 Webserver html page
I am using JScolor Picker from http://jscolor.com/examples/
Need Help to extract those R, G, B Values and use them as Integer input to variable in arduino code.
Please Guide me with code how can i get updated values of R, G & B Transferred via http…

user1543571
- 57
- 2
- 9