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

Small Changes #3

Open
izaius opened this issue Jan 3, 2020 · 2 comments
Open

Small Changes #3

izaius opened this issue Jan 3, 2020 · 2 comments

Comments

@izaius
Copy link

izaius commented Jan 3, 2020

I had to change two things to make this work:
Automatic systemctl didn't work so I had to call it.
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1a86", ATTR{idProduct}=="7523", RUN+="/bin/systemctl --no-block start octoprint_usb_autoconnect.service"

The command issued didn't work so I used this. It may be unique to Klipper.
curl -siL -X POST -H "Content-Type: application/json" -H "X-Api-Key: ${APIKEY}" ${OCTOHOST}/api/printer/command -d '{"command":"FIRMWARE_RESTART"}'

@tekdoc
Copy link

tekdoc commented Oct 8, 2020

The above vendor and product id's work with my 2020 Ender 3 non-pro, but just adding FIRMWARE_RESTART to OctoPrint Settings > Printer > GCODE Scripts > After connection to printer is established solves the other problems without any additional modification of the udev rule or the octoprint_usb_autoconnect script.

@skorokithakis
Copy link

@izaius's change is what worked for me as well. The command in the README didn't work for me, but this change fixed it. Can it be added to the docs?

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