crysxd / OctoApp-Plugin

Companion plugin for OctoApp
GNU Affero General Public License v3.0
54 stars 4 forks source link

PSU Control stops working #2

Closed arut16 closed 2 years ago

arut16 commented 2 years ago

Describe the bug PSU Control Stops working after installation of the plugin.

To Reproduce Steps to reproduce the behavior:

  1. Install the plugin
  2. Try to turn on/off the printer

Expected behavior Sending notifications and not interfere with other plugins

Your software and hardware (please complete the following information):

Octoprint 1.7.0 Python 3.7.3 OctoPi 0.17.0

crysxd commented 2 years ago

This is pretty weird, I have the exact same setup here.

In the ticket for OctoApp you said that the PSU is turned on and then off again after a few seconds. Is this still the case?

arut16 commented 2 years ago

Actually, it's kinda weird. Sometimes, then I trigger the power button, the relay just close and then open after few seconds (1-3 sec). Sometimes, it just immediately close and open again. And the last time, it doesn't even react by punching the power button... But after deactivating the plugin, restarting octoprint, all works again.

crysxd commented 2 years ago

Could you add OctoApp and PSUControl with debug logging level and send me the octoprint.log after the issue happened again? (in the settings > logging) Maybe it's best to delete the octoprint.log as well when you enable the debug logging so we only have the relevant logs

Screen Shot 2021-10-31 at 08 45 06

I will also start a discussion in the OctoPrint Discord, maybe somebody knows what's up here. Looking at the source code of both plugins, I'm not sure how they'd interfere