greghesp / ha-bambulab

A Home Assistant Integration for Bambu Lab Printers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Filament change trigger from HA, load/unload

atax112 opened this issue · comments

Describe the feature

Hello.

Many thanks for the integration, great work.

Would be great to be able to trigger filament load/unload from the integration

Not sure if it s that more complicated than the rest of the controls which already work.

Thank you.

What device is this for?

A1

Other Information

No response

At a glance, it looks like it should be possible. According to this post it's a gcode command, stored in a file on the printer. You could possibly define the command like:

UNLOAD = {
    "print": {
        "sequence_id": "0",
        "command": "gcode_file",
        "param": "/usr/etc/print/filament_unload.gcode" // Filename on the printer's filesystem to print
    }
}

That sounds pretty straightforward with a few unknowns though...

How do I go about of trying it myself?

I search for the file on the SD card?

Can I somehow embed the command in the integration/Hass?

Do I wait for the repo creator to make an update?

Thank you.

Im not sure where to begin to implement or help implement this feature and there is no activity on this feature, while others(certainly more important) get updates as I follow.

Any suggestions where I can begin? Previous comment pointed towards a possible approach but I have no idea how to verify that gcode file on the A1 sytem partition or how to be able to trigger it.

@greghesp @AdrianGarside @kiwiholmberg Sorry if I am disturbing, I can see there is a lot of activity, topics to be covered. Is there any direction, insight you could possibly give so that I can start some investigation/implementation of this feature? Anything I can do to help or rather how to start?

Thank you for all your efforts !

Stale issue message