That’s hard to answer, but I will try…
I’m on OH 2.4 (newest version from docker hub, not raspberry!) now and just saw that the binding is available as official binding now. So I shut down OH, removed old org.openhab.binding.amazonechocontrol_2.4.0.201811041600.jar from addons folder and cleared all caches.
I would recommend to do that also, to start on a clear state.
After that I restarted OH and installed the official Amazon Echo Control Binding. Even after this upgrade all is still working fine.
Here some extracts from my configuration files.
sonos.things
...
// BATH ONE sonos:One
Thing sonos:One:RINCON_xxx [udn="RINCON_xxx", refresh=60, notificationVolume=25]
...
amazonecho.things
Bridge amazonechocontrol:account:account1 "Amazon Account" @ "Accounts" [amazonSite="amazon.de", email="abc@def.gh", password="xxx", pollingIntervalInSeconds=60]
{
...
Thing echo echoBath "AlexaBath" @ "OG" [serialNumber="xxx"]
...
}
amazonecho.items
...
// Commands
String EchoBathTTS "Text to Speech" (AlexaBath) {channel="amazonechocontrol:echo:account1:echoBath:textToSpeech"}
...
and a part of my contacts.rules
rule "FrontDoorOpened"
when
Item ContactFrontDoor_DoorSensor changed from CLOSED to OPEN
then
if (ContactFrontDoor_DoorSensor.state == OPEN) {
...
EchoBathTTS.sendCommand('Die Haustür wurde geöffnet!')
EchoDiningTTS.sendCommand('Die Haustür wurde geöffnet!')
EchoWorkingTTS.sendCommand('Die Haustür wurde geöffnet!')
...
}
end
As you can see here, I’m sending the text also to other speakers in my house, but only EchoBathTTS will play the sound. All other speakers won’t play anything over TTS.
But that’s - as I understood - a limitation of Amazon’s api and won’t work (at this moment).
So perhaps start with a clean installation with only one speaker and try to get it working with config-files and a rule for testing like above. If you get that running, place more speakers to it.
Good luck and (most important) have some nice Christmas days!