If your printer works with OctoPrint, I highly recommend setting it up. You can then send status messages to openHAB via MQTT or REST. I did this recently, and now I have toggles in my sitemap that enable me to do two things:
- Turn off the printer after it has cooled down to 50 degrees (so there’s no need for a timer).
- Send a notification to the openHAB app when the print is complete.
I could have just made these default rules, but I don’t always want the printer to turn off when it’s done, and I don’t always want a notification.
I’d been thinking about trying this for awhile, and I wish I had done it sooner.