probonopd / WirelessPrinting

Print wirelessly from Cura, PrusaSlicer or Slic3r to your 3D printer connected to an ESP8266 or ESP32 module
352 stars 65 forks source link

Upload with Cura slow #148

Closed cpeuschel closed 4 years ago

cpeuschel commented 4 years ago

is this normal, that the upload "sending date to OctoPrint" slow is? im uploading a gcode with 6,2 MB and it take over 10 minutes.

probonopd commented 4 years ago

If you can upload your gcode somewhere, I can test it on my hardware.

cpeuschel commented 4 years ago

https://we.tl/t-rHWLrZbrpg

probonopd commented 4 years ago

Took 47 seconds on an ESP8266 with WirelessPrinting bad8e51, Cura 4.5, the latest OctoPrint plugin for Cura, and a microSD card. I think this is about what you can expect from this type of hardware.

probonopd commented 4 years ago

You can also test like this, without Cura:

ubuntu@ubuntu:~$ time curl -F "file=@/home/ubuntu/Downloads/CE2_03_Big_LED_Lampe_esp.gcode" -F "print=true" 192.168.0.24/api/files/local
{
  "files": {
    "local": {
      "name": "CE2_03_Big_LED_Lampe_esp.gcode",
      "origin": "local"
    }
  },
  "done": true
}
real    0m45.146s
user    0m0.023s
sys 0m0.031s

45 seconds.

probonopd commented 4 years ago

Testing on another machine: Using the precompiled WirelessPrinting c34dd15 from the GitHub Releases page, without microSD card, takes forever because the SPIFFS area on the ESP8266 is not large enough for this file to work without an SD card.

Same machine with an old 8 GB SD card (probably not a fast one): 57 seconds.

cpeuschel commented 4 years ago

the SPIFFS area on the ESP8266 is not large enough for this file to work without an SD card.

ok this is my Problem. I need a SD-card shield. Who can read is clearly at an advantage :D