Turning off a 3d-printer when it is done

I’m sorry if this has been covered before, yes, I have tried searching… :slight_smile:
What I am trying to do with separate flows and my fibaro plug are as follows:

When power on the printer goes over 50watt, I set the global variable PrinterPrinting to true.
When power on the printer goes under 18 watt, I wait for 5 minutes, then set PrinterPrinting to false.
When PrinterPrinting changes state, I turn off the plug if it is false.

There is some other code as well, but this is the essence.

The thing is, this gives me several false positives and wants to turn off my printer mid-print.
So, what I am wondering, is there a good way to implement this without getting false readings? I do not like the thought of my printer turning off after 10 hours because there is a slight hiccup where it doesn’t draw a lot of power.

Try the washingmachine method. Works for me. And for a lot of others.

Thank you. Should do the trick

This forum is co related to my issue. I have been using a 3D printer for a much longer time for my officeand the brand is RICOH. I bought is 6 years ago and recently I faced the same issue that my printer was turning off consistantly, the same issue like you have. I have tried to fix this issue several times but I couldn’t then I got the solution Fix Ricoh Printer is Offline from the RICOH then I did it myself by the help of RIOCH. You may also follow the same basic steps it might fix your issue.