Skip to content

13.3.24 tweaked onChange logging for state and gcode

Choose a tag to compare

@wile1411 wile1411 released this 12 Mar 14:57

A quick turn around release to slightly change the logging to OnChange when MQTT updates happen.

Below is an example of what a print log looks like from the serial terminal.
Steps I physically performed:

  • I opened the door
  • Click Desktop app to send print to printer
  • Closed the door while calibrating extrusion
  • Waited for Green light after the bed was lowered
  • Opened door (light went WHITE)
  • Cleaned build place
  • Closed door twice within 6 seconds to jump to idle state and lights are turned off
    (I'm off to bed 2am here)

PRINT LOG
Initial BLLED bootup - Turning Leds WHITE, Start IDLE timer
Wifi Strength now -69
MQTT stg_cur now: -1
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT Door Opened
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT gcode_state now: RUNNING
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT stg_cur now: 2
Stage 2, PREHEATING BED, Turning Leds WHITE
MQTT stg_cur now: 14
Stage 14, CLEANING NOZZLE, Turning Leds OFF
MQTT stg_cur now: 1
Stage 1, BED LEVELING, Turning Leds OFF
MQTT stg_cur now: 8
Stage 8, CALIBRATING EXTRUSION, Turning Leds OFF
MQTT Door Closed
Stage 8, CALIBRATING EXTRUSION, Turning Leds OFF
MQTT stg_cur now: 0
Stage 0, PRINTING - gcodeState RUNNING, Turning Leds WHITE
MQTT parsedHMS now: Common
Stage 0, PRINTING - gcodeState RUNNING, Turning Leds WHITE
MQTT parsedHMS now:
Stage 0, PRINTING - gcodeState RUNNING, Turning Leds WHITE
MQTT stg_cur now: -1
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT gcode_state now: FINISH
Finished print, Turning Leds GREEN
Updating from finishloop after Door interaction - Starting IDLE timer
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT Door Closed
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT Door Opened
Stage -1, IDLE Turning Leds WHITE. Brightness: 100
MQTT Door Closed
Door closed twice within 6 seconds - Toggling lights to OFF