Giter Club home page Giter Club logo

Comments (3)

github-actions avatar github-actions commented on July 4, 2024

Welcome lilFonsi15!\nCongrats on creating your first issue.\nPlease follow the issue template to help us resolve your issue quickly.

from zippy-klipper_config.

Shift92 avatar Shift92 commented on July 4, 2024

lilFonsi15,

I ran into the same error as you. I resolved the problem by commenting out the SET_IDLE_TIMEOUT. From what I understand the TIMEOUT is for when audio alerts are being used, so if you do need the TIMEOUT you could also set the duration instead of having it pulled from M600.

[gcode_macro COLOR_CHANGE] description: Procedure when Color Change is triggered gcode: {% set m600cfg = printer["gcode_macro _m600cfg"] %} ; get m600cfg variables M{m600cfg.output|int} Filament Runout {% if m600cfg.use_telegram == True %} TELEGRAM_FILAMENT_RUNOUT {% endif %} #SET_IDLE_TIMEOUT TIMEOUT={m600cfg.m600_idle_time} ; results in parsing error {% if m600cfg.audio_status == True %} ; if using audio status alerts {m600cfg.audio_macro} ALERT_BEEP_ON {% endif %} M600 SET_GCODE_VARIABLE MACRO=_m600cfg VARIABLE=prev_temp VALUE={printer.extruder.target} SET_GCODE_VARIABLE MACRO=_m600cfg VARIABLE=runout VALUE=True M{m600cfg.output|int} Unloading Filament... UNLOAD_FILAMENT

Hope this helps!

from zippy-klipper_config.

rootiest avatar rootiest commented on July 4, 2024

Hey folks,

Sorry for the really delayed response!
I took a look at this issue and I think I have a solution.

The macro tries to reference a variable called m600_idle_time which is missing.
That causes it to try to set the new idle timeout to an undefined value, which caused the error you experienced.

I have pushed an update that should correct this issue, and the idle timeout adjustments should work as expected now.

Relevant commit:

[Fix for missing m600_idle_time variable in smart-m600](26ab35a)

from zippy-klipper_config.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.