marcolivierarsenault / moonraker-home-assistant

Home Assistant integration for Moonraker, Klipper and Mainsail
https://moonraker-home-assistant.readthedocs.io
MIT License
262 stars 27 forks source link

Run arbitrary GCode? #440

Open Jeppedy opened 2 weeks ago

Jeppedy commented 2 weeks ago

Is your feature request related to a problem? Please describe.

I see that I can run macros with the push of a button. But I don't see any way to pass parameters such as nozzle temperature or bed temperature. In the absence of that, being able to run arbitrary G-Code would both solve that problem and provide a little flexibility/extensibility

Describe your setup

Nothing special, just an ender 3 V3 KE

Describe the solution you'd like

Perhaps an action that takes g code as data and invokes it on moonraker.

Additional context

Add any other context or screenshots about the feature request here.

marcolivierarsenault commented 2 weeks ago

Hey, honestly the reason we don't have a way to have macro with input is we have not found a good way to do it respecting HA standards/philosophy, same for arbitrairy G-Code.

So for now there is no plan to implement this feature

Jeppedy commented 2 weeks ago

I never stopped to think about whether other HA integrations allow me to send data to it. Thanks for pointing that out! And I appreciate your work!!

On Sat, Nov 9, 2024, 06:38 Marc-Olivier Arsenault @.***> wrote:

Hey, honestly the reason we don't have a way to have macro with input is we have not found a good way to do it respecting HA standards/philosophy, same for arbitrairy G-Code.

So for now there is no plan to implement this feature

— Reply to this email directly, view it on GitHub https://github.com/marcolivierarsenault/moonraker-home-assistant/issues/440#issuecomment-2466199035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY6QKX6CNCVDA3UEGXTZ7X63VAVCNFSM6AAAAABRNUHYKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGE4TSMBTGU . You are receiving this because you authored the thread.Message ID: <marcolivierarsenault/moonraker-home-assistant/issues/440/2466199035@ github.com>

marcolivierarsenault commented 2 weeks ago

actually, you made me investigate, I think there is a possibility if we do custom service.

Which would be usable from template/service/automation. But it will not give a front end option

This is an example from the ecobee integration image

Jeppedy commented 2 weeks ago

Great! If I can collaborate or just test, let me know.