You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Edit the config.json file
I've replaced the KILL button with a power-off button with following code: { "icon": "power-off", "command": "[!SHUTDOWN]", "color": "#e84118", "confirm": true, "exit": false }
Saved and rebooted my Pi.
Clicking the power button gives the 403-error.
Expected behavior
Clicking the power button sends the shutdown command and the Pi shuts down.
General Information:
Raspberry Pi 3 Model B Rev 1.2
Octopi image Version 0.17.0
OctoDash Version v2.0
OctoPrint Version 1.4.2
Additional context
My Pi is powered with a buck converter to my printer's power supply. I want to do a clean shutdown of the Pi before powering off my printer.
The text was updated successfully, but these errors were encountered:
Yes, I can shutdown/reboot the Pi through the Octoprint menu. I must say that all the stuff mentioned in the page you linked has been taken care of in the Octopi image.
One thing I am just thinking of... I made a dedicated user for OctoDash and use that user's API key. Could that be causing the problem?
The Predefined Action [!SHUTDOWN] does not work.
Following error message is shown:
Can't execute shutdown command
Http failure response from http://localhost:5000/api/system/commands/core/shutdown
403 Forbidden
To Reproduce
Edit the config.json file
I've replaced the KILL button with a power-off button with following code:
{ "icon": "power-off", "command": "[!SHUTDOWN]", "color": "#e84118", "confirm": true, "exit": false }
Saved and rebooted my Pi.
Clicking the power button gives the 403-error.
Expected behavior
Clicking the power button sends the shutdown command and the Pi shuts down.
General Information:
Additional context
My Pi is powered with a buck converter to my printer's power supply. I want to do a clean shutdown of the Pi before powering off my printer.
The text was updated successfully, but these errors were encountered: