# Turning off a 3d-printer when it is done

**URL:** https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661
**Category:** Questions & Help
**Created:** [July 16, 2019, 3:36pm UTC](https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661 "2019-07-16T15:36:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![OveQ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oveq/32/13526_2.png) [@OveQ](https://community.homey.app/u/OveQ)
#### Post date: [July 16, 2019, 3:36pm UTC](https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661/1 "2019-07-16T15:36:11Z")

</div>

Hi.  
I’m sorry if this has been covered before, yes, I have tried searching… 🙂  
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.

---

<div class="post-metadata">

### Author: ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)
#### Post date: [July 16, 2019, 3:47pm UTC](https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661/2 "2019-07-16T15:47:26Z")

</div>

Try [the washingmachine method](https://community.homey.app/t/get-a-notification-when-the-washingmachine-is-ready/9372). Works for me. And for a lot of others.

---

<div class="post-metadata">

### Author: ![OveQ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oveq/32/13526_2.png) [@OveQ](https://community.homey.app/u/OveQ)
#### Post date: [July 16, 2019, 5:23pm UTC](https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661/3 "2019-07-16T17:23:12Z")

</div>

Thank you. Should do the trick

---

<div class="post-metadata">

### Author: ![Lee\_White](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lee_white/32/18790_2.png) [@Lee\_White](https://community.homey.app/u/Lee_White)
#### Post date: [December 11, 2019, 7:10am UTC](https://community.homey.app/t/turning-off-a-3d-printer-when-it-is-done/15661/4 "2019-12-11T07:10:45Z")

</div>

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](https://printerssupport.co/fixed-ricoh-printer-offline-issue/) 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.
