Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

klipperscreen_shutdown. #15

Open
mendeste opened this issue Sep 9, 2024 · 14 comments
Open

klipperscreen_shutdown. #15

mendeste opened this issue Sep 9, 2024 · 14 comments

Comments

@mendeste
Copy link

mendeste commented Sep 9, 2024

Hi Leadustin

why am i getting this error
all files in correct location
when i save and restart

Section 'gcode_shell_command klipperscreen_shutdown' is not a valid config section

Regards

@leadustin
Copy link
Owner

leadustin commented Sep 9, 2024

Hi Leadustin

why am i getting this error all files in correct location when i save and restart

Section 'gcode_shell_command klipperscreen_shutdown' is not a valid config section

Regards

Have you installed the GCode Shell Command?
via KIAUH and Option 4 Advanced. Actually, this is already installed when you install Klippain Shake And Tune

@mendeste
Copy link
Author

mendeste commented Sep 10, 2024 via email

@leadustin
Copy link
Owner

leadustin commented Sep 10, 2024

Have you also observed the file permissions accordingly? Changes in Mainsail or Fluidd reset the permissions. Therefore, set the permissions in a tool such as WinSCP.

@mendeste
Copy link
Author

mendeste commented Sep 10, 2024 via email

@leadustin
Copy link
Owner

The IP must be that of the Raspberry. Just to be on the safe side. Have you installed Gcode Shell Command on the printer or the Raspberry?

@mendeste
Copy link
Author

Yes using the Raspberry pi IP address.
installed Gcode Shell command on the printer

@leadustin
Copy link
Owner

You may have changed the syntax of the script in your edits. Deleted spaces that are required. Can you post the content of the Klipperscreen_shutdown.cfg?

@mendeste
Copy link
Author

[gcode_shell_command klipperscreen_shutdown]
command: ~/printer_data/config/Scripts/klipperscreen_shutdown.sh #Adjust the path of the shutdown script according to the printer. If the "Automatic Github backup" guide is installed, the path is correct.
timeout: 60
verbose: True

[gcode_macro Klipperscreen_Shutdown]
description: Remote Shutdown Klipperscreen
gcode:
RUN_SHELL_COMMAND CMD=klipperscreen_shutdown

@leadustin
Copy link
Owner

leadustin commented Sep 10, 2024

You must indent the text from the beginning of the second line. Take another look at the original config from the instructions. There is a space at the beginning of the second line.

[gcode_shell_command klipperscreen_shutdown]
command: ~/printer_data/config/Scripts/klipperscreen_shutdown.sh
timeout: 60
verbose: True

[gcode_macro Klipperscreen_Shutdown]
description: Fährt Klipperscreen herunter
gcode:
RUN_SHELL_COMMAND CMD=klipperscreen_shutdown

@leadustin
Copy link
Owner

in Mainsail it must look like this.

image

@mendeste
Copy link
Author

Hi Leadustin
great error is gone
how ever when I click the Klipperscreen_shutdown button i get this error
!! Error running command {klipperscreen_shutdown}

@leadustin
Copy link
Owner

Hi Leadustin great error is gone how ever when I click the Klipperscreen_shutdown button i get this error !! Error running command {klipperscreen_shutdown}

Are there any other messages in the console? Are the correct file permissions really set?

@mendeste
Copy link
Author

Hi
All working don’t know what I did because was trying so many options 🤪
Question does the wifi work after this update
I’m using Ethernet port
Tried the wifi and it’s not connecting/ working
Regards

@leadustin
Copy link
Owner

I'm glad it works now. Wifi did not work directly with the printer. I can't say whether there are suitable drivers. I've never looked for them as I only use LAN. The Pi with Klipperscreen also works via WLAN, but I switched to LAN anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants