ha-bambulab icon indicating copy to clipboard operation
ha-bambulab copied to clipboard

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

Open atax112 opened this issue 11 months ago • 5 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

atax112 avatar Mar 21 '24 08:03 atax112

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

kiwiholmberg avatar Mar 21 '24 12:03 kiwiholmberg

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.

atax112 avatar Mar 21 '24 12:03 atax112

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.

atax112 avatar Apr 20 '24 17:04 atax112

@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 !

atax112 avatar Apr 25 '24 07:04 atax112

Stale issue message

github-actions[bot] avatar Jun 24 '24 08:06 github-actions[bot]