my plan is to have buttons that switch a 433Mhz socket on and off.
So at first I found the plugin "Action Commands" and thought this would work for my needs. I created two Actions of Type system:
action:printerOn rpi-rf_send -t 5 -r 10 -p 500 2439221
action:printerOff rpi-rf_send -t 5 -r 10 -p 500 2858693
I have tested both commands by executing them in the linux command promt and they work.
In OctoPrint I tried executing them in the Terminal by sending:
I receive the message "ok" but nothing happens. I also tried to change the action types to gcode, but nothing changed.
What am I doing wrong?
I also tried another plugin called GCODE System Commands. Here I created
OCTO100 rpi-rf_send -t 5 -r 10 -p 500 2439221
OCTO101 rpi-rf_send -t 5 -r 10 -p 500 2858693
When sending OCTO100 or OCTO101 in the Terminal I receive:
I have no idea why my commands work when executing them directly on the octopi linux distribution but not when I try sending them over the web interface.
Any chance anyone can help me?
Actually my final plan would be to sent the printerOn command after starting a print job so the socket for the printer turns on and after the print is done the printerOff command should be sent after a delay of a few seconds so that the printer turns off.
I have an Ender 3 with Creality 3D 1.1.6 and OctoPrint 1.3.11 on OctoPi 0.17.0