Yesterday I successfully implemented the Amazon Alexa Smart Home Skill for the first time.
Today I am trying to implement Echo Text to Speech thru the Amazon Echo Control Binding and am having very basic problems. I’m running OpenHAB3 3.0.2 and use configuration files as follows:
addons.cfg
I added amazonechocontrol
to the addons.cfg:
binding = network,mqtt,wemo,exec,mail,amazonechocontrol
I assume OpenHAB will load the amazonechocontrol
binding from the cloud and that I do not need to add it to the addons folder (I have read somewhere that org.smarthomej.binding.amazonechocontrol-3.2.11 (1).kar should be used?)
.things:
Thing echo EDkitchen "Alexa" @ "Kitchen" [serialNumber="G090L..........."]
Thing echo EDcomputer "Alexa" @ "Computer" [serialNumber="G090L..........."]
Thing echo EDmbr "Alexa" @ "MBR" [serialNumber="G090L..........."]
Thing echo EDhottub "Alexa" @ "HotTub" [serialNumber="G090L..........."]
}
.items:
String OHC_EDkitchen "Echo TTS-Kitchen [%s]" {channel="amazonechocontrol:echo:account1:EDkitchen:textToSpeech"}
String OHC_EDcomputer "Echo TTS-Computer [%s]" {channel="amazonechocontrol:echo:account1:EDcomputer:textToSpeech"}
String OHC_EDmbr "Echo TTS-MasterBR [%s]" {channel="amazonechocontrol:echo:account1:EDmbr:textToSpeech"}
String OHC_EDhottub "Echo TTS-HotTub [%s]" {channel="amazonechocontrol:echo:account1:EDhottub:textToSpeech"}
.rules:
OHC_EDcomputer.postUpdate("Master control mode changed value")
OHC_EDcomputer.sendCommand('Hello World. Master control mode changed value')
OHC_EDkitchen.postUpdate("Master control mode changed value")
OHC_EDkitchen.sendCommand(OHC_EDkitchen)
Per the documentation at Amazon Echo Control - Bindings | openHAB
First Steps
Create an ‘Amazon Account’ thing
open the url YOUR_OPENHAB/amazonechocontrol in your browser (e.g. http://openhab:8080/amazonechocontrol/ (opens new window)), click the link for your account thing and login.
You should see now a message that the login was successful
If you encounter redirect/page refresh issues, enable two-factor authentication (2FA) on your Amazon account.
I started OpenHAB and it throws errors presumably because the amazonechocontrol binding is not configured.
I click on http://openhab:8080/amazonechocontrol/ and the site can not be reached
I am missing / overlooking something very basic. What is it?
Again, I have the Amazon Alexa Smart Home Skill successfully running.
Thanks in advance for your help.