Coder Social home page Coder Social logo

Comments (2)

moggieuk avatar moggieuk commented on August 20, 2024

Can you tell me more about the KlipperScreen state. I have never used one but on entering an ERCF_PAUSE, I do format the message as an error (prefixing "!!" as per klipper convention). You should be able to see this in the console output. I'd be interested to see how KlipperScreen handles this. Would love a picture if you have one.

On entering a pause state when not printing, that is an interesting idea. The problem is how to detect whether or not you are printing. It sounds simple but actually Klipper doesn't now the difference between a print job and just running some arbitrary gcode. it could be solved with explicit commands to ERCF to say "print start" and "print end" but that isn't ideal. Any ideas on how to reliably detect?

from ercf-software-v3.

spikeygg avatar spikeygg commented on August 20, 2024

Actually, this may be a non-issue after your description. I figured that klipper would know if it's printing or not with a boolean state. I opened a similar ticket in the KlipperScreen github and it has been resolved with a modification one-liner. I've already pulled this change in and tested it out. It resolved the weird locked screen, otherwise I would get you a screenshot.

Maybe a PAUSE issued when the printer isn't printing isn't a problem. I did include a CLEAR_PAUSE in my PRINT_START a long time ago when I first started using the ERCF because the ERCF at that time would issue several PAUSEs and something would cause klipper to get confused and not actually PAUSE while also claiming that the printer was already paused. I found that the CLEAR_PAUSE command before starting the print usually cleared out that issue. The CLEAR_PAUSE at PRINT_START probably would keep any left-over PAUSE from causing issues.

from ercf-software-v3.

Related Issues (20)

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.