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

Possible "interference" with PSUControl? #256

Closed
hessius opened this issue Oct 25, 2019 · 2 comments
Closed

Possible "interference" with PSUControl? #256

hessius opened this issue Oct 25, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hessius
Copy link
Contributor

hessius commented Oct 25, 2019

Describe the bug
I've been using the OctoPrint-PSUControl plugin: https://github.com/kantlivelong/OctoPrint-PSUControl
To control the power of my printer using terminal commands.

While the PSUControl button still works, the automatic shutdown after a print has finished has stopped working.

The behaviour started some time after enabling OctoDash, I'm guessing that the plugin is sensing some sort of command being sent and therefore staying awake.

I'm however unable to find anything in the terminal output in OctoPrint that can corroborate that suspicion as I've added the only other GCODE than M105 (temperature report) that I could find: M117 (Set LCD Message) to the list of ignored commands but to no avail.

This might be some sort of interference with OctoDash querying the API or an interaction with any of the plugin dependencies.

To Reproduce

  1. Install PSUControl and enable the automatic shutdown feature
  2. Install OctoDash

Expected behaviour
Automatic shutdown after a finished print

Actual behaviour
The printer is kept powered on

Screenshots
If applicable, add screenshots to help explain your problem.

General Information:

  • OctoDash Version 1.3.1 and 1.3.2

Additional context
Also posted in the forums here: https://community.octoprint.org/t/psucontrol-automation-stopped-working/12906/1

I understand this is vague, so feel free to close this issue if you feel it does not belong here. Unfortunately the PSUControl repo does not allow issues.

@hessius hessius added the bug Something isn't working label Oct 25, 2019
@UnchartedBull
Copy link
Owner

I think my best guess would be to see if this gets logged somewhere in the system and work my way up from there:
https://github.com/kantlivelong/OctoPrint-PSUControl/blob/master/octoprint_psucontrol/__init__.py#L410

I quickly read over the code and there does seem to be nothing, that is triggered by an API command. OctoDash itself does not send any GCodes to the printer. Maybe try removing all the plugins required by OctoDash and look if it works that way.

@hessius
Copy link
Contributor Author

hessius commented Nov 5, 2019

The issue seems to lie within PSUControl and it's management of on off state. It was merely a correlation in time with the OctoDash install, not causation. Closing

@hessius hessius closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants