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

Error when attempting to turn on printer via PSU Control #2389

Closed
lightmaster opened this issue Oct 28, 2021 · 4 comments
Closed

Error when attempting to turn on printer via PSU Control #2389

lightmaster opened this issue Oct 28, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@lightmaster
Copy link

Describe the bug
I have OctoDash configured to use PSU Control to turn on the printer when the sleeping Octodash screen is touched. PSU Control is configured to use the sub-plugin "PSU Control - MQTT" to send an ON command to a smart outlet via MQTT. From inside OctoPrint, PSU Control and PSU Control - MQTT work great, successfully turning on the printer when the lightning bolt is clicked and turning it off when the lightning bolt is clicked again. From OctoDash however, all I get is an error message saying that OctoDash could not send some GCode. OctoDash should not be trying to send any GCode at this point, so not sure what its attempting to send or why it's attempting to send some GCode.

To Reproduce
Steps to reproduce the behavior:

  1. Configure PSU Control with sub-plugin "PSU Control - MQTT"
  2. Attempt to wake printer by touching the screen or sending the custom action [!POWERON]

Expected behavior
Octodash should interact with the PSU Control plugin to send a MQTT command to turn on the outlet the printer is connected to.

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

General Information:

  • Hardware: RPI4
  • OS Info: OctoPi 0.18.0
  • OctoDash Version: v2.2.0
  • OctoPrint Version: v1.7.0

Additional context
Add any other context about the problem here.

@lightmaster lightmaster added the bug Something isn't working label Oct 28, 2021
@UnchartedBull
Copy link
Owner

Mhhh interesting.The error message might be a bit misleading here, but it's being thrown at the right place. Could you please provide the full error message? The smaller text is the interesting part here :)

@lightmaster
Copy link
Author

Sorry, gmail decided to mark the email about this as spam.
OctoDash Can't Send Gcode Error 2021-11-04

@UnchartedBull
Copy link
Owner

Ok 403 is super weird here. That usually happens when the URL is wrong. Could you for the sake of testing disable the MQTT sub-plugin and check whether the error message pops up again?

@UnchartedBull
Copy link
Owner

Closing due to inactivity. Please reopen if this is still an issue.

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