the shell_command :
shell_command:
cuisine_camera_shell_script: bash -x /config/shell_scripts/cuisine_camera_shell_script.sh **{{cam_token}} >>** /config/shell_scripts/cuisine_camera_shell_script.log 2>&1
doesnt work together {{ }} and >>, i read that in a post https://community.home-assistant.io/t/pass-arguments-to-shell-command-on-event/37029/4?u=olivier974
so i just keep :
shell_command:
cuisine_camera_shell_script: bash -x /config/shell_scripts/cuisine_camera_shell_script.sh {{cam_token}}
and since that i have nothing in the log…and i dont know how make a second line to have the log…
And i have this error still the beginning :
Error running command: `/bin/bash /config/shell_scripts/cuisine_camera_shell_script.sh {{cam_token}}`, return code: 1
i google it but dont find anything…
i have execute the script by double click it in samba share and the echo is appeared but no token provided