fiberpunk1 / beam-esp32 Goto Github PK
View Code? Open in Web Editor NEWBeam by Fiberpunk - ESP32
License: GNU Affero General Public License v3.0
Beam by Fiberpunk - ESP32
License: GNU Affero General Public License v3.0
Describe the bug
Debug information is sent to the printer serial port. This results in error responses from the printer, in particular when uploading a file.
To Reproduce
Upload a file using the web interface. Check the web console for error messages, like "echo:Unknown command:"
Expected behavior
Debug information is sent to a different serial port or, if needed, to the web console.
Screenshots
N/A
Desktop (please complete the following information):
N/A
So got a question I can't seem to find an answer to My Node Pro and Sentry Pro work fine but the Nexus AI interface expands after searching devices. I lose all my options for controlling my sentry that are on the bottom of the screen and there is no way I can find to shrink the screen back to the proper size.
Has this been abandoned? There's no activity on the discord server other than people complaining.
Describe the bug
I just ordered node to use it instead of octoprint.
One feature is missing:
Prusaslicer can upload gcode directly to octoprint.
Can Node work similarly?
Node is lightweight and easier to use than octoprint. That's why I'd like to replace it.
The prusaslicer uses octoprints Rest API.
So, this should be possible, if Node provides the minimal needed functions:
GET /api/version (new)
POST /api/files/ (/edit)
(May be some others)
You'll find the octoprint documentation here
This can easily be tested by installing prusaslicer and configuring the host name for the printer.
The upload function (/edit) in Node API has the similar functionality. May be it's enough to add
the /api/version and provide an additional URI to the /edit function.
If you like, I can do the development. It should be only a few lines of code in serverprocess.cpp.
What do you think?
Describe the bug
When I used fiberpunk node for the first time, the bed did not heat up.
I am not so familiar with this printer. May be it's an issue with the firmware.
To Reproduce
Steps to how it happened:
Expected behavior
I expected the bed to be heated up because this is stated in the gcode file.
Desktop (please complete the following information):
Additional context
I am new to fiberpunk and I am new to anycubic. So I don't know, where the problem is.
Please confirm, that it's not an fiberpunk issue if possible.
I need a Mac version since I don't have Windows.
Pause, Cancel and Resume button freezes communication with the printer.
I try Reconnect Printer USB without any results
I have to reboot the printer to restart the communication.
M25 gcode pause the printer but after that I lose the communication and I can't resume the printing
I tried M24.
Kobra:X:66.50 Y:105.30 Z:15.00 E:0.00 Count X:5320 Y:8424 Z:800
cmd:M25
Kobra:X:66.50 Y:105.30 Z:15.00 E:0.0X:118.43 Y:118.25 Z:20.00 E:-7.65 Count X:9475 Y:9460 Z:16133
Kobra:echo:Send M108 to resume
cmd:M24
cmd:M108
KobraSD Type:1
Kobra Node init with SD
KobraSD Type: SDIO
cmd:M108
cmd:M108
cmd:M108
Desktop (please complete the following information):
Very often, after delete of a file from SD, the file list doesn't update and you have to click on Update Filelist
Desktop (please complete the following information):
When using the web UI sometimes there are error messages like this (e.g. unmount SD card then click update filesystem):
Is there any reason why this message can't be expanded to provide more info?
e.g. NOT DIR
is explained in https://github.com/fiberpunk1/NodeWebPage/blob/main/NodeWebAPI.md but it would be better to have that in the Web UI itself
Uploading a file to the API proved to be challenging by Postman and NodeJS. The 'filename' is expected to be the full path (which is basically just a '/' prefix as files are uploaded to the root), instead of the actual filename. I believe this is not implemented correctly as filename is distinctively different from path. Both Postman and NodeJS won't allow this or if you try to force it, just ignore the '/' which fails the upload.
I updated the firmware myself to prepend a '/' in front of the filename. Pull request is in #12. I'm sure others would appreciate this as well.
I've created a nodeJS script that monitors a folder and automatically starts the print when a gcode file is dropped inside of that folder. This is much easier then manually having to do these steps through the webinterface. If the firmware is updated with my pull request, I can also make my script open-source for others to use.
Building a separate power board to power the node directly from the existing psu would remove the need for another plug which would be appreciated by some users. This power board can then be offered as an option in addition to the other devices on the website.
When I manually stop a print via the printer's LCD, the node website still sees the print as active. It is stuck in this state and cannot start a new print. Any attempt to start a new print shows "PRINTER BUSY" popup. To recover I must completely power down the node and printer, then reboot in order.
Once stopped, node continually logs :
NODE_MK3_printername: Not SD Printing
NODE_MK3_printername: ok
Current file:/bai-co~1.gco
Actual filename that was cancelled is "bai-coupler7x8_0.25n_0.15mm_petg_mk3s_1h32m.gcode"
This truncated file name also shows under the "print file" section where the hotend and bed temp is displayed.
Recovery:
Completely power down the node and printer, then reboot in correct order.
How it happened:
I would expect the Node to recieve from the printer that the print was stopped, or for the "cancel" button on the node webpage to work, but neither happens. the "Cancel" button doesn't appear to perform any function.
Describe the bug
The G29 L0
gcode command results in the the node-webpage reporting that a print is done, and then no further commands are submitted so the print makes no progress.
To Reproduce
G29 L0
in Gcode and hit SendEnder3V2:Done.
I suspect the issue is that whatever marker is used to detect that a print is finished searches for "Done", but in this case bed leveling is also "done", so the node is confused and stops running the job.
Output from console
cmd:G29 L0
Ender3V2:Mesh loaded from slot 0
Ender3V2:Done.
Ender3V2:ok
System information:
Ender 3 v2 with JyersUI:
cmd:M115
Node version:2022-9-29-2007
Ender3V2:FIRMWARE_NAME:Marlin bugfix-JyersUI v2.0.1 (Nov 5 2021 21:19:32) SOURCE_CODE_URL:github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Ender-3 V2 EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Ender3V2:Cap:SERIAL_XON_XOFF:0
Ender3V2:Cap:BINARY_FILE_TRANSFER:0
Ender3V2:Cap:EEPROM:1
Ender3V2:Cap:VOLUMETRIC:1
Ender3V2:Cap:AUTOREPORT_POS:0
Ender3V2:Cap:AUTOREPORT_TEMP:1
Ender3V2:Cap:PROGRESS:0
Ender3V2:Cap:PRINT_JOB:1
Ender3V2:Cap:AUTOLEVEL:1
Ender3V2:Cap:RUNOUT:1
Ender3V2:Cap:Z_PROBE:1
Node website: node-webpage-2022-9-29-2007.1
Node version: version:2022-9-29-2007
Hello Together,
got the Node Pro by Fiberpunk - Prusa MK3S edition today.
but it wont accept any SD-Card for WiFi Setup.
I tried more than 4 Manufacture (SanDisk, Samsung, Intenso, Transcend) every time i boot the Node i got the Error
"Checking SD Card...
Not Found SD Card."
The SD-Card is formated in FAT32 and die confix.txt saved to the root. It is not the first time i do someting like this, but his will not work.
Some help pls?`
Best Regards
Chris
I tried installing on an OLD Windows laptop (Windows XP) and got the following errro:
"The procedure entry point CancelIoEx would not be located in the dynamic link library KERNER32.dll."
Following the compilation manual, I came across this error. The error is in nodeconfig.h on the line:
extern File uploadFile;
Dozens of other errors were found, even though I just followed the build manual:
In file included from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2Card.h:26:0,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/SdFat.h:29,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:20,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\printerprocess.cpp:2:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2PinMap.h:524:2: error: #error Architecture or board not supported.
#error Architecture or board not supported.
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\printerprocess.cpp:2:0:
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:83:8: error: reference to 'File' is ambiguous
extern File uploadFile;
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\printerprocess.cpp:2:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\printerprocess.cpp:2:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
In file included from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2Card.h:26:0,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/SdFat.h:29,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:20,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2PinMap.h:524:2: error: #error Architecture or board not supported.
#error Architecture or board not supported.
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:0:
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:83:8: error: reference to 'File' is ambiguous
extern File uploadFile;
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:12:1: error: reference to 'File' is ambiguous
File uploadFile;
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.cpp:1:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
In file included from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2Card.h:26:0,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/SdFat.h:29,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:20,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:3:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2PinMap.h:524:2: error: #error Architecture or board not supported.
#error Architecture or board not supported.
^
In file included from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ios:43:0,
from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:38,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\streambuf:811:33: error: macro "swap" requires 2 arguments, but only 1 given
swap(basic_streambuf& __sb)
^
In file included from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ios:44:0,
from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:38,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:494:28: error: macro "swap" requires 2 arguments, but only 1 given
swap(basic_ios& __rhs) noexcept
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8:0,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:404:12: error: macro "swap" requires 2 arguments, but only 1 given
swap(__rhs);
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:409:32: error: macro "swap" requires 2 arguments, but only 1 given
swap(basic_ostream& __rhs)
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:410:31: error: macro "swap" requires 2 arguments, but only 1 given
{ __ios_type::swap(__rhs); }
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/Readers/StdStreamReader.hpp:7:0,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/Reader.hpp:57,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/deserialize.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Json/JsonDeserializer.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:46,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:627:12: error: macro "swap" requires 2 arguments, but only 1 given
swap(__rhs);
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:632:32: error: macro "swap" requires 2 arguments, but only 1 given
swap(basic_istream& __rhs)
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:634:24: error: macro "swap" requires 2 arguments, but only 1 given
__ios_type::swap(__rhs);
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:876:12: error: macro "swap" requires 2 arguments, but only 1 given
swap(__rhs);
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:881:33: error: macro "swap" requires 2 arguments, but only 1 given
swap(basic_iostream& __rhs)
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\istream:882:35: error: macro "swap" requires 2 arguments, but only 1 given
{ __istream_type::swap(__rhs); }
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:3:0:
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:83:8: error: reference to 'File' is ambiguous
extern File uploadFile;
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:3:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:3:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
In file included from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ios:43:0,
from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:38,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\streambuf:820:7: error: variable or field 'swap' declared void
}
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\streambuf:820:7: error: expected ';' at end of member declaration
In file included from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ios:44:0,
from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:38,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:494:7: error: variable or field 'swap' declared void
swap(basic_ios& __rhs) noexcept
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:494:7: error: expected ';' at end of member declaration
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:494:30: error: expected unqualified-id before 'noexcept'
swap(basic_ios& __rhs) noexcept
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantData.hpp:9:0,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantFunctions.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:15,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Numbers/convertNumber.hpp:11:30: error: expected '}' before end of line
In file included from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ios:44:0,
from c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\ostream:38,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:10,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h: In member function 'void std::basic_ios<_CharT, _Traits>::move(std::basic_ios<_CharT, _Traits>&)':
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:482:31: error: there are no arguments to '_M_cache_locale' that depend on a template parameter, so a declaration of '_M_cache_locale' must be available [-fpermissive]
_M_cache_locale(_M_ios_locale);
^
c:\users\maico\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\basic_ios.h:482:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantData.hpp:9:0,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantFunctions.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/JsonVariantConst.hpp:15,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:29,
from d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\serverprocess.cpp:4:
d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Numbers/convertNumber.hpp: At global scope:
d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Numbers/convertNumber.hpp:11:30: error: expected unqualified-id before end of line
d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Numbers/convertNumber.hpp:11:30: error: expected '}' before end of line
d:\OneDrive\Documentos\Arduino\libraries\ArduinoJson\src/ArduinoJson/Numbers/convertNumber.hpp:11:30: error: expected declaration before end of line
In file included from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2Card.h:26:0,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/SdFat.h:29,
from C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:20,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/utility/Sd2PinMap.h:524:2: error: #error Architecture or board not supported.
#error Architecture or board not supported.
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:0:
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:83:8: error: reference to 'File' is ambiguous
extern File uploadFile;
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:68:19: error: reference to 'File' is ambiguous
String readConfig(File& file)
^
In file included from d:\OneDrive\Documentos\Arduino\libraries\ESPAsyncWebServer-master\src/ESPAsyncWebServer.h:27:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:9,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:
C:\Users\maico\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src/FS.h:47:7: note: candidates are: class fs::File
class File : public Stream
^
In file included from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\nodeconfig.h:13:0,
from D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:6:
C:\Users\maico\AppData\Local\Arduino15\libraries\SD\src/SD.h:28:9: note: class SDLib::File
class File : public Stream {
^
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:68:25: error: 'file' was not declared in this scope
String readConfig(File& file)
^
D:\OneDrive\Documentos\Projetos Interessantes\0_Controlador Wifi de Impressora 3D\Beam-ESP32-main\wifinode\wifinode.cpp:69:1: error: expected ',' or ';' before '{' token
{
^
Describe the bug
When printer is offline/powered off while Node was in an unmounted state unable to mount SD card for file upload.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Automatic mounting of SD card when printer is offline/powered off.
Notice printer is offline
Additional context
Came across this while working on the OctoPrint plugin. I regularly power off my printer on idle using TPLinkSmartplug plugin. It's also probably pretty common with PSU Control and other power control related plugins.
Someone willing to create a Docker Image for the PC Client application for portability? Would be awesome to see it compatible on all platforms through Docker
The Fiberpunk website says to expect the version:
Update Guide for Prusa MK3 latest firmware version 2023-02-02-2009-PRUSA-MK3S
When following the guide link I see a 2022 bin file.
This is confusing as it's not the expected version.
/status while printing normally responds with
ok T:37.60 /140.00 B:24.73 /60.00 @:127 B@:12
,,SD printing byte 1123/6282205
After a couple of requests by the webUI it starts responding differently.
Sometimes it starts responding
ok T:37.60 /140.00 B:24.73 /60.00 @:127 B@:127
,,
even though it's printing.
Sometimes it even starts to just respond
,,
or too verbose
ok T:200.97 /200.00 B:60.36 /60.00 @:61 B@:0
,ok T B:59.86 /60.00 @:82 B@:0
,
This behavior also breaks the progress bar in the web UI.
Printer-Firmware: Marlin 2.0.x (for BTT SKR Mini)
Node-Firmware: v1.0.7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.