Code Monkey home page Code Monkey logo

beam-esp32's People

Contributors

binrobo avatar fiber-punk avatar just-trey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

beam-esp32's Issues

Debug information is sent to the printer serial port.

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

Additional context
image

Problem with UI

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.

Dead project??

Has this been abandoned? There's no activity on the discord server other than people complaining.

Feature Request: Upload file to Node via Prusaclicer

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.

  • OS: [e.g. Ubuntu 22.04 64bit]
  • CPU [e.g. Intel i7]
  • Version [e.g. Latest (1.0.9) ]

If you like, I can do the development. It should be only a few lines of code in serverprocess.cpp.
What do you think?

Bed not heated up on Anycubic vyper when starting via fiberpunk beam

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:

  1. Heat up for Filament removal
  2. Fill in new Filament (Bed temperature is low, Hotend is on temperature 230°C )
  3. Uploading file from prusa slicer
  4. The print did not start automatically
  5. The Bed was not heated up
  6. Copy the file to SD card
  7. Start printing
  8. Bed heats up properly.

Expected behavior
I expected the bed to be heated up because this is stated in the gcode file.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • CPU Intel i7-????]
  • Version Fiberpunk: latest node-webpage-2022-10-19-2008.1

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.

Mac version

I need a Mac version since I don't have Windows.

Pause, Cancel and Resume button freezes communication

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):

  • OS: Win10 64bit
  • CPU Intel i5-3570
  • Version node-webpage-2023-02-02-2009.1 with latest firmware
  • Anycubic Kobra [v2.7.9]

Filelist web interface doesn't update

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):

  • OS: Win10 64bit
  • CPU Intel i5-3570
  • Version node-webpage-2023-02-02-2009.1 with latest firmware
  • Anycubic Kobra [v2.7.9]

Support for uploading files through API using filename instead of path

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.

[Feature Request] alternative power supply (24v option)

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.

Prusa MK3s+: Node not recognizing a stopped / cancelled print and requires reboot

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:

  • Start print via NODE on PC
  • Went to visually inspect print and realized it needed to be stopped
  • Stopped print via MK3 display panel
  • Returned to NODE dashboard on PC
  • Attempt to start a new print, results in error

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.

Node confused by "G29 L0" Gcode command, thinks it means that the print is finished

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

  1. Connect to node attached to an ender with JyersUI installed
  2. Enter G29 L0 in Gcode and hit Send
  3. See "Print job finish!" in the website.
  4. When you hit OK in the dialog the output console then prints: Ender3V2: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

No SD-Card works in the Node for MK3s - every time "Not Found SD Card"

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

Entry Point Not Found

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."

Error reference to 'File' is ambiguous

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
{
^

Unable to Mount with Printer Offline

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:

  1. Press unmount in Node to give control to printer.
  2. Power off printer.
  3. Press mount in Node to take back control of SD card.
  4. Get error "NO PRINTER"

Expected behavior
Automatic mounting of SD card when printer is offline/powered off.

Screenshots
image

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.

Docker Image

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

Status API not responding correctly

/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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.