Release Candidate and Support: Amazon Echo Control Binding

Thats available in the beta (possibly the 2.5GM release as well?)

Show an announcement on the echo show or echo spot:

  1. Create a rule with a trigger of your choice

Simple:

rule "Say welcome if the door opens"
when
    Item Door_Contact changed to OPEN
then
    Echo_Living_Room_Announcement.sendCommand('Door opened')
end

Expert:
You can use a json formatted string to control title, sound and volume:

{ "sound": true, "speak":"<Speak>" "title": "<Title>", "body": "<Body Text>", "volume": 20}

The combination of sound=true and speak in SSML syntax is not allowed.
Not all properties need to be specified.
The value for volume can be between 0 and 100 to set the volume.
A volume value smaller then 0 means that the current alexa volume should be used.
No specification uses the volume from the textToSpeechVolume channel.

You can use a json formatted string to control the title and the sound:

{ "sound": true, "speak":"<Speak>" "title": "<Title>", "body": "<Body Text>"}

The combination of sound=true and speak in SSML syntax is not allowed

Note: If you turn off the sound and alexa is playing music, it will anyway turn down the volume for a moment. This behavior can not be changed.

rule "Say welcome if the door opens"
when
    Item Door_Contact changed to OPEN
then
    Echo_Living_Room_Announcement.sendCommand('{ "sound": false, "title": "Doorstep", "body": "Door opened"}')
end