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

[FR] Filament Runout Detection with OctoPrint #11

Open
Mave95 opened this issue Apr 18, 2020 · 2 comments
Open

[FR] Filament Runout Detection with OctoPrint #11

Mave95 opened this issue Apr 18, 2020 · 2 comments

Comments

@Mave95
Copy link

Mave95 commented Apr 18, 2020

Would be great to have Filament Runout Detection working with OctoPrint. Currently it doesn't send a Pause via Serial to OctoPrint, so it can't be detected.

@Bodengriller
Copy link
Collaborator

IMHO this is not possible because the filament sensor runs directly over the TFT.

@rebel1
Copy link

rebel1 commented Apr 23, 2020

Hi, this is possible. ;)
Octoprint supports Host Action Commands.
You can configure this in configuration_adv.h and that should work.

/**

  • Host Action Commands
  • Define host streamer action commands in compliance with the standard.
  • See https://reprap.org/wiki/G-code#Action_commands
  • Common commands ........ poweroff, pause, paused, resume, resumed, cancel
  • G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
  • Some features add reason codes to extend these commands.
  • Host Prompt Support enables Marlin to use the host for user prompts so
  • filament runout and other processes can be managed from the host side.
    */
    //#define HOST_ACTION_COMMANDS
    #if ENABLED(HOST_ACTION_COMMANDS)
    //#define HOST_PROMPT_SUPPORT
    #endif

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

3 participants