I am trying to send a simple command using netcat. If I got to a webrowser and type in
http://192.168.1.20:4444/test it shows an acknowledgement and works.
I have tried to follow the guides. I have added the line
shell_command: !include shell_commands.yaml
I have then added a shell_commands.yaml file with the folliwng info
jgaragetoggle: echo “test” | nc 192.168.1.20 4444
I can add the action from automation but it isnt working. I can not find a good guide to what I am missing. I have tried echo -e “test” | nc 192.168.1.20 4444. I have tried “test\n” | nc 192.168.1.20 4444 Can anyone tell me or even better tell me and send me in a direction to learn what I am missing
Thank YOu