I use alexa_remote_control.sh alexa-remote-control/alexa_remote_control.sh at 1bfce803c3981d7ecdc8e1e8233957197116ef14 · thorsten-gehrig/alexa-remote-control · GitHub
Along with various shell commands:
shell_command:
create_event: '/usr/bin/curl -s -X POST http://home.lan:5000/api/events/{{camera}}/PIR_motion/create'
record_video: '/usr/bin/ffmpeg -hide_banner -y -rtsp_transport tcp -t 00:00:10 -i {{ video_url }} -vf scale=640:-1 -an {{ video_output }}'
video_to_jpg: '/usr/bin/ffmpeg -hide_banner -y -i {{ video_input }} -r 1 {{ jpg_output }}'
alexa_remote: '/config/scripts/alexa_remote_control.sh {{command}}'
alexa_tts: '/config/scripts/alexa_remote_control.sh -d {{device}} -e speak:"{{tts}}"'