Skip to content

Latest commit

 

History

History
89 lines (71 loc) · 3.66 KB

README.md

File metadata and controls

89 lines (71 loc) · 3.66 KB

ESP wifi template

Libraries

HttpServer page

Link Description
/wifi.htm setting wifi access point and station
/index.htm Monitor some information system as Heap memory, temperature
/edit web editor internal file system
/edit_sdfs web editor SD card file system
Authorize default pass: admin, user" admin
Pin default 1234

Http request API

Link Description
/get?param_wifi=restart Restart ESP
/get?param_wifi=fw_version Firmware version

Usage API file system editor

Request to download file from sd card (method GET)

  • /edit_sdfs?download=/file.txt
  • /edit_sdfs?download=/file.txt&filename=newName.txt

Request to edit file from sd card (method GET)

  • /edit_sdfs?edit=/file.txt

Request to delete file from sd card (method DELETE)

  • /edit_sdfs , path=/file.txt

Request to download file from spiffs/LittleFS (method GET)

  • /edit?download=/file.txt
  • /edit?download=/file.txt&filename=newName.txt

Request to edit file from spiffs/LittleFS (method GET)

  • /edit?edit=/file.txt

Request to delete file from spiffs/LittleFS (method DELETE)

  • /edit , path=/file.txt

Usage ESP8266 Sketch Data Upload

1. Download ESP8266LittleFS-2.6.0.zip

Usage ESP32 Sketch Data Upload

1. Download esp32fs.zip

2. Download x86_64-w64-mingw32-mklittlefs-295fe9b.zip

3. Download mkfatfs

4. mkspiffs.exe is already in directory

  • C:\Users\PC-NAME\Documents\Arduino\hardware\espressif\esp32\tools\mkspiffs\mkspiffs.exe

5. Install LITTLEFS

Sketch Data Upload

  • Restart Arduino IDE after any steps above
  • Tools --> ESP32 Sketch Data Upload --> [LITTLEFS, SPIFFS, FATFS, Erase Flash]
  • Tools --> ESP8266 LittleFS Data Upload
  • Tools --> ESP8266 Sketch Data Upload

Tools using convert gzip

Tools usage json