then I type:
pi@raspberrypi:~/domoticz/scripts/tele $ ./volumen-down.sh
and it shows me:
Sending control command: KEY_VOLDOWN
The script works but sends me this message (KEY_VOLDOWN). I think the script is wrong. I tried to look for "samsungctl" in the raspberry but i didnt find. I think the proble is that my script doesnt find samsungctl
Hello everybody
I instaled samsungctl a few days ago. I work with raspibian
I connect to TV without problems, and i can send orders for example using:
samsungctl --host 192.168.0.10 --method websocket KEY_VOLDOWN
I decided to create a script, named "volumen-down.sh"
!/bin/bash
samsungctl --method websocket --host 192.168.0.10 --port 8001 -v KEY_VOLDOWN >> /dev/null exit 0
then I type: pi@raspberrypi:~/domoticz/scripts/tele $ ./volumen-down.sh
and it shows me: Sending control command: KEY_VOLDOWN
The script works but sends me this message (KEY_VOLDOWN). I think the script is wrong. I tried to look for "samsungctl" in the raspberry but i didnt find. I think the proble is that my script doesnt find samsungctl
Do you understand me? I need help
thanks