You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
[power printer] config has a lot of different types of supported switches, but the issue is that all of them are very device specific.
But there might be cases that all of available solutions are not working for specific case. Then some universal solution would be appropriate.
Example case: im running klipper+moonraker+mainsail on NanoPi Neo Air, my power relay (that shuts down whole printer with MCU) is connected to one of gpios. As this is not RaspberryPI there are some issues to use gpio type for this config.
But i can switch gpio using alternative WiringNP library, just calling gpio write 7 1.
Describe the solution you'd like
It would be good to add option to have possibility to execute shell command as power on/power off command. Similar as in linked discussion
I've tried using shell macros extension for klipper, but issue is that it only works when MCU is already running which is not possible before powering MCU of printer.
Additional information
No response
The text was updated successfully, but these errors were encountered:
+1, I have a TP Link Tapo smart plug between my printer and power supply, but the plug is no longer natively compatible with Moonraker, this tool https://github.com/python-kasa/python-kasa let's me control it via a CLI - using Klippers shell command extensions I have some level of control on my MCU
The CLI/Library for controlling my smart plug could be wrapped in a HTTP server which I've already made an issue about here python-kasa/python-kasa#1403 but if Moonraker had the ability to just execute the CLI, there would be no need
Is your feature request related to a problem? Please describe
[power printer] config has a lot of different types of supported switches, but the issue is that all of them are very device specific.
But there might be cases that all of available solutions are not working for specific case. Then some universal solution would be appropriate.
Example case: im running klipper+moonraker+mainsail on NanoPi Neo Air, my power relay (that shuts down whole printer with MCU) is connected to one of gpios. As this is not RaspberryPI there are some issues to use gpio type for this config.
But i can switch gpio using alternative WiringNP library, just calling gpio write 7 1.
Describe the solution you'd like
It would be good to add option to have possibility to execute shell command as power on/power off command. Similar as in linked discussion
Describe alternatives you've considered
I've tried using shell macros extension for klipper, but issue is that it only works when MCU is already running which is not possible before powering MCU of printer.
Additional information
No response
The text was updated successfully, but these errors were encountered: