I've installed octoprint on my Raspberry Pi which is connected to wireless and plugged into printer via USB. Previously none of the controls were working so I updated the motherboard & LCD screen firmware for my CR10S pro (version 1) and now get the following error when trying to connect octoprint:
"Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: Failed to enable Bed Leveling"
What did you already try to solve it?
Restarted raspberry pi & 3D printer
Have you tried running in safe mode and if so did it solve the issue?
Don't know how to do this
Additional information about your setup
Printer: CR10s pro (version 1)
Raspberry Pi: 3B+
OctoPrint version: 1.4.2
OctoPi version: 0.1.7.0
printer, firmware: motherboard & LCD screen both 1.70.1
browser: Google Chrome
operating system: Window 10
As it says there, it's the firmware that is running into a (non recoverable) error here. You need to either figure out why your firmware fails to enable bed leveling, or configure it so it doesn't try to perform bed leveling.
I've just turn off auto bed levelling from the menus in the printer and now I'm able to connect and print from Octoprint.
I'm not sure is the is a fix or just workaround because now before printing the probe just goes up and down a few times calibrate the Z axis in the center then prints. Instead of using measuring multiple areas of the bed before it starts.
That's all on your firmware. I guess you need to compile a new build that's properly configured for your setup (and not as broken as Creality firmware usually is).
I assume the G29 command appears in one of the start code sections, either in the slicer or in OctoPrint.
If there is one, you might comment it out (Putting a ; in front of it).
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
M140 S{material_bed_temperature} ; Start heating the bed
G4 S60 ; wait 1 minute
M104 S{material_print_temperature} ; start heating the hot end
M190 S{material_bed_temperature} ; wait for bed
M109 S{material_print_temperature} ; wait for hotend
M300 S1000 P500 ; BEEP heating done
G28 X0 Y10 Z0 ; move X/Y to min endstops
M420 S1 ; Enable leveling
M420 Z2.0 ; Set leveling fading height to 2 mm
G0 Z0.15 ; lift nozzle a bit
G92 E0 ; zero the extruded length
G1 X50 E25 F500 ; Extrude 25mm of filament in a 5cm line.
G92 E0 ; zero the extruded length again
G1 E-2 F500 ; Retract a little
G1 X120 F4000 ; Quickly wipe away from the filament line
nor in the settings of Octoprint
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
M140 S{material_bed_temperature} ; Start heating the bed
G4 S60 ; wait 1 minute
M104 S{material_print_temperature} ; start heating the hot end
M190 S{material_bed_temperature} ; wait for bed
M109 S{material_print_temperature} ; wait for hotend
M300 S1000 P500 ; BEEP heating done
G28 X0 Y10 Z0 ; move X/Y to min endstops
M420 S1 ; Enable leveling
M420 Z2.0 ; Set leveling fading height to 2 mm
G0 Z0.15 ; lift nozzle a bit
G92 E0 ; zero the extruded length
G1 X50 E25 F500 ; Extrude 25mm of filament in a 5cm line.
G92 E0 ; zero the extruded length again
G1 E-2 F500 ; Retract a little
G1 X120 F4000 ; Quickly wipe away from the filament line
EDIT: Is there an answer about why this isn´t relevant when printing by SD-card?
EDIT2: while testing: Is it sufficient when the start commands only in Cura are?
Is it possible to clear the Octoprint setting fully and only use the commands by Cura?
Usually because when printing from the SD card, the printer just ignores the error and continues. The M420 S1 command will definitely be your problem, if you don't have auto bed levelling installed.
Thx
I did unsubscribe the M420 command lines and now it works
Only my last question is now left to be answered:
Is it sufficient when the start commands only in Cura are?
Is it possible to clear the Octoprint setting fully and only use the commands by Cura?
EDIT:
I cleared my octoprint command lines and tried to print by Cura gcode and it works very well.
I do thank all of you while helping my problem to get solved
I wrote all the sensor types but it keeps giving an error
Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: Option 'sensor type' in section 'heater bed' must be specified