I used this github repo to send command to Alexa https://github.com/adn77/alexa-cookie-cli bundle with this shell script https://github.com/thorsten-gehrig/alexa-remote-control