Hello! I have a stereo amp that uses IP controls to adjust settings. To set the volume to 50, I have successfully sent the following using command_shell:
"echo -ne \"-v.50\r\n\" | nc [IP] [PORT]"
I would like to use input_number to input a variable via slider into the command to adjust the volume. Given that the docs says command_shell can’t be used with a template and a pipe operator, is there any way to achieve this?
As reference, the command I initially tried (before I read the part in the docs about the pipe operator) was the following:
I tried to replicate your solution with my command but I didn’t get it right. Still not working…
Would you be so kind to show me what the command should look like?