Skip to content

Small Changes #3

@izaius

Description

@izaius

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"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions