Automatic Chamber Fan Control for Enhanced Air Filtration

I’ve configured my printer settings to enable enhanced air filtration for certain filaments that may require it. This setup works well, except for one issue: the chamber fan never turns off automatically, leaving manual intervention as the only option.

I don’t think this behavior is related to the G-code generation in the studio software. For instance, if you pause after a print, the printer remains occupied with the print job until the timeout expires. Additionally, the chamber fan doesn’t turn off when the printer enters standby mode, which could be a great feature—allowing the fan to run until a timeout triggers standby mode.

It seems like these functionalities would need to be implemented at the firmware level. I’m curious to hear what others think about this feature, especially since I’m not using BentoBox or similar setups. Does anyone have insights or ideas on how to achieve automatic control of the chamber fan?