Add an auto-sleep function after a set idle timer



  • It would be nice to be able to set a timeout period where the printer would go to sleep after being idle for that period of time. This would make it easier to leave the printer on, save energy, and probably make it safer when a print has finished an no one is around for a while.



  • @bass4aj said in Add an auto-sleep function after a set idle timer:

    It would be nice to be able to set a timeout period where the printer would go to sleep after being idle for that period of time. This would make it easier to leave the printer on, save energy, and probably make it safer when a print has finished an no one is around for a while.

    Well it kind of does already. That is to say that at the end of a print, it's generally best practice to always turn off any heaters and fans. (The hot end fan can be configured in thermostatic mode to turn off once the hot end has cooled sufficiently). So the only things that consume any significant amount of power are the steppers and these will switch to a (configurable) lower hold current after a (configurable) amount of time. There is nothing to stop you turning off the steppers all together but if you do that for X Y or Z then you'll lose the homing status and have to re-home before the next print. All those commands can go into the print end gcode or you could write a macro. I can't think of anything much more you could do to save power or make it any safer, unless I've overlooked something.



  • Consider implementing PSON and PSOFF functions using a relay/SSR. This way you begin a print with M80 in your start Gcode this connects the mains (the duet is being powered from a USB 5v supply). Then you print. In the end gcode you shut off the bed heater, and set to cool the hotend to below glass transition temp for any filament so 50 deg C, and wait for temps M116. Then you send M81 - machine turns off. But duet is still active.

    Its not all gravy, if you have to hit the software stop button, it automatically disconnects the mains power, so fans turn off including hotend, and it takes about 20-30 seconds to reboot and for them to come back on, which might lead to heat creep and a jam.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.