From c5975dae43842e4f98dc38ac0d72530bf63b1032 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 18 Jun 2018 20:31:09 +0200 Subject: [PATCH] Added Alexa routines execution --- alexa_remote_control.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/alexa_remote_control.sh b/alexa_remote_control.sh index 7bf8ceb..6abdad9 100644 --- a/alexa_remote_control.sh +++ b/alexa_remote_control.sh @@ -497,7 +497,6 @@ if [ -n "${SEQUENCECMD}" ] echo "Sequence command: ${SEQUENCECMD}" COMMAND="{\"behaviorId\":\"PREVIEW\",\"sequenceJson\":\"{\\\"@type\\\":\\\"com.amazon.alexa.behaviors.model.Sequence\\\",\\\"startNode\\\":{\\\"@type\\\":\\\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\\\",\\\"type\\\":\\\"${SEQUENCECMD}\\\",\\\"operationPayload\\\":{\\\"deviceType\\\":\\\"${DEVICETYPE}\\\",\\\"deviceSerialNumber\\\":\\\"${DEVICESERIALNUMBER}\\\",\\\"locale\\\":\\\"${LANGUAGE}\\\",\\\"customerId\\\":\\\"${MEDIAOWNERCUSTOMERID}\\\"${TTS}}}}\",\"status\":\"ENABLED\"}" fi -echo $COMMAND ${CURL} ${OPTS} -s -b ${COOKIE} -A "${BROWSER}" -H "DNT: 1" -H "Connection: keep-alive" -L\ -H "Content-Type: application/json; charset=UTF-8" -H "Referer: https://alexa.${AMAZON}/spa/index.html" -H "Origin: https://alexa.${AMAZON}"\