-
Notifications
You must be signed in to change notification settings - Fork 90
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
Install addons/plugins #194
Comments
Hi there, that depends on how that "plugin" interacts with moonraker/klipper. If files need to be placed in a specific directory of one of the services, like the gcode_shell_command, its best do add a build section to your services:
klipper:
image: klipper:gsc
build:
dockerfile_inline: |
FROM alpine/curl AS download
RUN curl https://raw.githubusercontent.com/dw-0/kiauh/refs/heads/master/resources/gcode_shell_command.py -o /tmp/gcode_shell_command.py
FROM mkuf/klipper:latest
COPY --chown=klipper:klipper --from=download /tmp/gcode_shell_command.py /opt/klipper/klippy/extras/ Other "plugins" like crowsnest are separate processes that would run alongside klipper/moonraker. I did something like that for mobileraker_companion in Clon1998/mobileraker_companion#29 Aside from that, I'm not really familiar with crowsnest and its usecases. I also had a quick glance at the OctoApp companion but couldn't identify what the installer is doing without having to test it myself. If you have insights on that, I may be able to also provide an example on how to implement it. |
Another day later I took the chance to look into the OctoApp Companion, specifically as it seems OctoApp Companion caused a problem I had to iron out first! I had my last (and first since migrating to prind) two prints fail with MCU timing issues...
As this service seemed to have caused my mcu timeout failures it's now disabled!
So this is just a Service running for OctoApp to be able to send notifications... It seems that me trying to load a camera-stream through the App caused my MCU timeouts, while OctoApp Companion was running in the Kiauh context. Argghhh, just realized I forgot to click the 'Update comment' Button yesterday :-( |
Sorry for the delay, family first... Won't be better next days as 2 out of 3 kids will have their birthdays in the next 5 days... Here's a glance at the install.sh
|
Hey again, so i had a look at the octoapp installer and companion for moonraker and it would probably be possible to package it into its own container as it communicates with moonraker via its network port but it would require upstream code changes to work. Unfortunately the address and port are hardcoded to localhost in the client, as it assumes it is running on the same host as moonraker itself. When running in a different container, it would be required to point the companion to the moonraker container instead of localhost. I'd suggest giving the mobileraker or moonraker-obico profile a try for now. |
Hi Markus, erstmal 1000 Dank für Dein tolles Projekt! <3
Thanks to prind I could klipper my Kobra 2 Neo in a breeze...
But after I've started with Kiauh to build my firmware and for first test and also install the OctoApp-Plugin and a few others. But as a fellow DevOps I had to switch to Docker to run my environment! But now I can't find a single hint on how to install stuff like:
to only name a few...
I would expect them to be installed in specific dir but I can't see where... Except for config there's not a single Volume/Dir that would make sense to me.
So I guess one could come up with a new Volume to be mounted into the klipper-image... Hope you have a hint for me ;-)
The text was updated successfully, but these errors were encountered: