I'v got problems with configuring input switch: when the output_on_command is configured as one word e.g.
it works perfectly fine, but when it contains spaces as it is in an example
switch.zplus10.output_on_command G91 G0 Z10 G90
It doesn't work.
What i want to achieve is to configure it to play a gcode file so that i can print from sd card without having panel and without connecting to the machine:
switch.pplay.output_on_command play /sd/default.gcode