🔘

Octoprint_Additional_Buttons_Helper- 2024-06-08 by SirGoodenough

This is Blueprint is provided as a helper for people using the Octoprint Plugin called OctoPrint-HomeAssistant. What this does is add 8 buttons, 4 of which you as the user can set your own G-Codes to for customizing. Also adds safe shutdown and presentation functions along with Change Filament and Load Filament.

The first thing to remember is ANYTIME you make ANY changes to this Blueprint, you MUST restart the server so that the button entities can rebuild in the configuration you have selected. If you don't restart OctoPrint, the change may not be seen and you will wonder why and what is happening.

To use this you will need the OctoPrint-MQTT plug-in installed along with the OctoPrint-HomeAssistant plugin. You will also need to be connected to an MQTT Broker that your Home Assistant instance is also connected to. Set-up for all that is covered within those packages.
This also a Safe Shutdown to your setup that will stop the OctoPrint server then shut down the PI & power off your devices safely and cleanly. This works either by manually pressing a Home Assistant Button manually or it can be triggered as the temperature of the hot end ramps down with adjustable trigger points. This feature requires you to have mains power switch(s) to control power to the printer and peripherals.
There is also a Presentation button that raises the Z and moves the print out for better access. Caution, this button assumes that the printer knows where home is and moves to an absolute position. The intention is to use it after a print has happened and you want access to get the item off the platter. If pressed when HOME is unknown it might bump into the end of the Y axis. Also if the Z is very high, it blindly moves the Z up 40 mm so make sure it looks like there is room. These values can be adjusted by editing the Blueprint itself if needed.

Community link for this blueprint

🗿Notice👮🏿‍♂️:

  • Copies of the original Blueprint that were converted via the 'Take Control' feature or other means are officially not supported by me.

  • I may or may not be able to support you when you have a problem after you make changes to my code, as some of the code is no longer mine.

  • I & my license also require attribution as a link back to the original should you use this code in your own creation.

  • Here is a link to my license & the original github post expected to be followed & referenced as attribution should you use this code elsewhere.

200
Stars
2.1K
Views
352
Imports

Import to Home Assistant

Click to import this blueprint directly into your Home Assistant instance.

Configuration

Requires 2 inputs to configure

Source Code

View on GitHub

Details

Complexity
Medium
Author
SirGoodenough
Last Updated
Nov 4, 2025

Related Blueprints

More button actions automations you might like

View all
🔘
Button Actions
complex
17 inputs

Send a mobile notification when add-on update is available

Send a mobile notification when add-on update is available

Send a notification to the provided mobile devices whenever an update for the given Home Assistant add-on is available. Supports full notification customization, notification groups, auto-dismissal when the add-on is updated and button for starting the update directly from your notification tray, with optional notification after the update completed succesfully. 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. ℹ️ Version 2021.10.26
addon
text
entity
+2
1.2K1.6K2.5K
🔘
Button Actions
complex
37 inputs

Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote

Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote. Allows to optionally loop an action on a button long press. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K9.2K702
🔘
Button Actions
complex
19 inputs

Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer

Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer

Controller automation for executing any kind of action triggered by the provided IKEA E1743 TRÅDFRI On/Off Switch & Dimmer. Allows to optionally loop an action on a button long press. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K1.7K786
🔘
Button Actions
complex
15 inputs

Controller - IKEA E1744 SYMFONISK Rotary Remote

Controller - IKEA E1744 SYMFONISK Rotary Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1744 SYMFONISK Rotary Remote. Allows to optionally loop a custom action during controller rotation. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K6.0K4.8K
🔘
Button Actions
complex
13 inputs

Controller - IKEA E1766 TRÅDFRI Open/Close Remote

Controller - IKEA E1766 TRÅDFRI Open/Close Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1766 TRÅDFRI Open/Close Remote. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K10.6K4.0K