hass-flashforge-adventurer-3 icon indicating copy to clipboard operation
hass-flashforge-adventurer-3 copied to clipboard

Module causes printer to stop and lock up

Open rambudo opened this issue 3 years ago • 2 comments
trafficstars

Using this module causes my printers to stop and lock up.

Both of my Adventurer 3s will completely lock up about 5-6 hours into a 12 hour print while this module is running on HA. This typically will happen on the second or third print after restarting the printer. I am pressed for production, so I have limited availability to troubleshoot exactly when this is happening. That said, it started after activating this module and stopped after deactivating this module.

I suspect that the constant connection is somehow overloading the printer's memory and it just locks up.

This module appears to be polling the printer for a status, so I wonder if there is a way to throttle the requests so that the printer is not overloaded?

rambudo avatar Sep 26 '22 05:09 rambudo

Hey, thanks for the report.

Requests should be already throttled by HA to one call per 60 seconds: https://github.com/modrzew/hass-flashforge-adventurer-3/blob/master/custom_components/flashforge_adventurer_3/sensor.py#L58. The integration opens a new TCP connection, sends three commands, and closes the connection.

I can check whether Adventurer 3 behaves in the same way at some point in the future, I haven't printed anything large enough since I started using this integration.

modrzew avatar Oct 05 '22 10:10 modrzew

Hey @rambudo, have you had any luck with running this integration? I've ran a few print jobs since October (the longest taking 12 hours) and nothing wrong happened to my printer.

modrzew avatar Apr 05 '23 12:04 modrzew