OctoPrint/OctoPrint-MQTT

Sometimes not sending printing: false

lauron opened this issue · 1 comments

It appears that sometimes printing does not get set to false after a print. The one time that I could confirm this is after reprinting a file that was reprinted with Octoprint from its local file storage. I look for printing to be turned to false to execute actions in my home automation system. Seese like we are sending finishing: true but did not send the final printing: false. Here is the last screen of activity.

octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 92, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 30.65, "progress": {"completion": 92.00714527141359, "filepos": 4336340, "printTime": 10101, "printTimeLeft": 912, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 156452, "ratio": 0}}, "_timestamp": 1629303524}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 93, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 30.95, "progress": {"completion": 93.00821740160877, "filepos": 4383521, "printTime": 10174, "printTimeLeft": 799, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 158157, "ratio": 0}}, "_timestamp": 1629303596}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 94, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 31.4, "progress": {"completion": 94.00279691672924, "filepos": 4430396, "printTime": 10259, "printTimeLeft": 689, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 159856, "ratio": 0}}, "_timestamp": 1629303681}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 95, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 31.7, "progress": {"completion": 95.0011319640988, "filepos": 4477448, "printTime": 10349, "printTimeLeft": 579, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 161583, "ratio": 0}}, "_timestamp": 1629303771}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 96, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 32.0, "progress": {"completion": 96.00943932873999, "filepos": 4524970, "printTime": 10427, "printTimeLeft": 468, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 163317, "ratio": 0}}, "_timestamp": 1629303849}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 97, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 32.3, "progress": {"completion": 97.00342474836343, "filepos": 4571817, "printTime": 10558, "printTimeLeft": 361, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 164985, "ratio": 0}}, "_timestamp": 1629303980}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 98, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": -0.2, "progress": {"completion": 98.00099595866538, "filepos": 4618833, "printTime": 10684, "printTimeLeft": 253, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 166651, "ratio": 0}}, "_timestamp": 1629304106}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 99, "printer_data": {"state": {"text": "Printing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": false, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": -0.2, "progress": {"completion": 99.00402011692225, "filepos": 4666106, "printTime": 10810, "printTimeLeft": 143, "printTimeLeftOrigin": "linear"}, "offsets": {}, "resends": {"count": 0, "transmitted": 168318, "ratio": 0}}, "_timestamp": 1629304232}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 100, "printer_data": {"state": {"text": "Finishing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": true, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 63.05, "progress": {"completion": 100.0, "filepos": 4713047, "printTime": 10919, "printTimeLeft": 0, "printTimeLeftOrigin": null}, "offsets": {}, "resends": {"count": 0, "transmitted": 169631, "ratio": 0}}, "_timestamp": 1629304341}
octoPrint/progress/printing {"location": "local", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "progress": 100, "printer_data": {"state": {"text": "Finishing", "flags": {"operational": true, "printing": true, "cancelling": false, "pausing": false, "resuming": false, "finishing": true, "closedOrError": false, "error": false, "paused": false, "ready": false, "sdReady": false}, "error": ""}, "job": {"file": {"name": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "path": "headphone_holder_v4_0.15mm_PLA_MINI_2h57m.gcode", "display": "headphone holder v4_0.15mm_PLA_MINI_2h57m.gcode", "origin": "local", "size": 4713047, "date": 1629156771}, "estimatedPrintTime": 8583.767716327977, "averagePrintTime": 11012.267644908003, "lastPrintTime": 11012.267644908003, "filament": {"tool0": {"length": 10295.38853000338, "volume": 24.763311431466416}}, "user": "ron"}, "currentZ": 63.05, "progress": {"completion": 100.0, "filepos": 4713047, "printTime": 10919, "printTimeLeft": 0, "printTimeLeftOrigin": null}, "offsets": {}, "resends": {"count": 0, "transmitted": 169631, "ratio": 0}}, "_timestamp": 1629304341}

This also happens when canceling a print