leadustin / QIDI-up2date-english

Update of the Qidi Series 3
33 stars 3 forks source link

klipperscreen_shutdown. #15

Open mendeste opened 2 months ago

mendeste commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

Hi

Thank you yes installed I'll work it out later not important Printer working great

Regards

On Mon, 9 Sep 2024 at 11:13 PM, leadustin @.***> wrote:

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 Comand? via KIAUH and Option 4 Advanced. Actually, this is already installed when you install Klippain Shake And Tune

— Reply to this email directly, view it on GitHub https://github.com/leadustin/QIDI-up2date-english/issues/15#issuecomment-2338396220, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCIQLITRVGM6VTKYDL3Z733ZVW3KRAVCNFSM6AAAAABN4JG64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGM4TMMRSGA . You are receiving this because you authored the thread.Message ID: @.***>

leadustin commented 2 months ago

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 commented 2 months ago

Hi Yes I used WinSPC Ticked the boxes saved Changed IP address Question should the IP be the new screen using raspberry pi or the printer I'm using the BTT K - touch as per picture But setup stand alone screen with full klipper screen Regards

On Tue, 10 Sep 2024 at 2:55 PM, leadustin @.***> wrote:

Hi Thank you yes installed I'll work it out later not important Printer working great Regards … <#m-3567367709041428313> On Mon, 9 Sep 2024 at 11:13 PM, leadustin @.> wrote: 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 Comand? via KIAUH and Option 4 Advanced. Actually, this is already installed when you install Klippain Shake And Tune — Reply to this email directly, view it on GitHub <#15 (comment) https://github.com/leadustin/QIDI-up2date-english/issues/15#issuecomment-2338396220>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCIQLITRVGM6VTKYDL3Z733ZVW3KRAVCNFSM6AAAAABN4JG64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGM4TMMRSGA https://github.com/notifications/unsubscribe-auth/BCIQLITRVGM6VTKYDL3Z733ZVW3KRAVCNFSM6AAAAABN4JG64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGM4TMMRSGA . You are receiving this because you authored the thread.Message ID: @.>

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.

— Reply to this email directly, view it on GitHub https://github.com/leadustin/QIDI-up2date-english/issues/15#issuecomment-2339820090, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCIQLIQTX7C2E4HDHJY7JM3ZV2JXVAVCNFSM6AAAAABN4JG64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZHAZDAMBZGA . You are receiving this because you authored the thread.Message ID: @.***>

leadustin commented 2 months ago

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 commented 2 months ago

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

leadustin commented 2 months ago

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 commented 2 months ago

[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 commented 2 months ago

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 commented 2 months ago

in Mainsail it must look like this.

image
mendeste commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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.