Hello,
Need help. I’m trying to call the following command line:
curl -i -X POST -H "Content-Type: application / json" -d '{"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": {"wait": false, "addonid": "plugin.video.surveillanceroom", "params": {"action": "show_preview", "camera_number": "1", "id": "1"}}, "id": 2 ' http://192.168.1.163:8080/jsonrpc
I’m trying the following:
shell_command:
show_cam: ‘ssh /home/textcommands/cam.txt’
I already tried the following variants
shell_command:
show_cam: ‘ssh /home/textcommands/cam.txt’
show_cam: ‘ssh /home/textcommands/cam.sh’
show_cam: bash /home/textcommands/cam.sh
I can not execute the command. Can someone help me ? What am I doing wrong ?
I get this error:
Error running command: bash / home / textcommands / cam.txt
, return code: 127
NoneType: None