Closed webdiddy closed 3 years ago
Could you upload a log where you have a successful connect?
Sure. I can do that later tonight. Would you like a log with your plugin enabled and psu control disabled or one with psu control enabled and your plug in disabled?
Best regards Tony
On 28 juni 2021 at 12:19, Charlie Powell @.***> wrote:
Could you upload a log where you have a successful connect?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cp2004/OctoPrint-WS281x_LED_Status/issues/147#issuecomment-869562881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUVJBOXHOH74D6EVBWMDYTTVBEBXANCNFSM47NOJM2A .
Either would be fine - I just want to see what a successful connect looks like, to compare what it should be doing. I have no idea how either of these plugins would break this, so there may be a lot of back and forth to try and solve the problem.
Also, one more question - how do you connect to your printer? USB or serial through the GPIO pins?
Hi.
Is this enough? I just copied it from the terminal.
Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 1 port/baudrate candidates: @.
Trying port /dev/ttyACM0, baudrate 115200
Connecting to port /dev/ttyACM0, baudrate 115200
Handshake attempt #1 with timeout 10.0s
Connected to: Serial
Either would be fine - I just want to see what a successful connect looks like, to compare what it should be doing. I have no idea how either of these plugins would break this, so there may be a lot of back and forth to try and solve the problem. Also, one more question - how do you connect to your printer? USB or serial through the GPIO pins? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I have no idea why this plugin or PSU control would stop you from connecting to your printer. In the initial log, it was connecting to /dev/ttyACM0, in the second it also connects with /dev/ttyACM0 and the printer responds properly, whereas previously it responded Recv: Command not found!
. The only thing I can think of is some kind of interference created by both plugins trying to use the GPIO.
Is your printer connected using USB or the GPIO pins?
Yes.
It's very strange. I have octoprint connected to my printer using USB. On 29 Jun 2021, 21:45 +0200, Charlie Powell @.***>, wrote:
I have no idea why this plugin or PSU control would stop you from connecting to your printer. In the initial log, it was connecting to /dev/ttyACM0, in the second it also connects with /dev/ttyACM0 and the printer responds properly, whereas previously it responded Recv: Command not found!. The only thing I can think of is some kind of interference created by both plugins trying to use the GPIO. Is your printer connected using USB or the GPIO pins? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Still no ideas why this plugin can stop your printer from replying to OctoPrint's commands properly, check that your LED strip setup is not causing interference with the printer's USB connection.
Since I am out of ideas, you may be better asking on the community forums or the OctoPrint discord server to see if anyone else has anything to say.
Okay. No problem dude. Thanks anyway for your effort and a nice plugin. On 9 Jul 2021, 19:44 +0200, Charlie Powell @.***>, wrote:
Still no ideas why this plugin can stop your printer from replying to OctoPrint's commands properly, check that your LED strip setup is not causing interference with the printer's USB connection. Since I am out of ideas, you may be better asking on the community forums or the OctoPrint discord server to see if anyone else has anything to say. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Description of the bug
Can not connect to printer with this and the PSU control plugin active at the same time. Disabling either this plugin or psu control plugin resolves the issue.
Here's the messages from terminal.
Changing monitoring state from "Offline" to "Detecting serial connection" Performing autodetection with 1 port/baudrate candidates: /dev/ttyACM0@115200 Trying port /dev/ttyACM0, baudrate 115200 Connecting to port /dev/ttyACM0, baudrate 115200 Handshake attempt #1 with timeout 10.0s Connected to: Serial(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0125
Recv: Command not found!
Handshake attempt #2 with timeout 10.0s
Send: N0 M110 N0125
Handshake attempt #3 with timeout 10.0s
Send: N0 M110 N0*125
Changing monitoring state from "Detecting serial connection" to "Error"
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor
Steps to reproduce
Install both plugins and activate them.
What happened instead?
Will not connect to printer.
Plugin version
Latest
OctoPrint version
Latest
(if relevant) OctoPi version
4B+
Log Files & Screenshots
No response
Anything else?
No response