Release Candidate and Support: Amazon Echo Control Binding

Hi Micheal,

Did you get a chance to address the possible different API’s interfaces for the “Echo Dot’s” in this Beta release? The THING setup instructions for Echo’s are still the same for all Echo’s across the board hence the question.

From an earlier post about this if you recall; the regular Echo’s work fine with your last beta version but the Echo Dot’s stopped working completely.

Thanks again for all your HARD work on this!

Best, Jay

I just tried it with from the US and I get the following error (I truncated the super long URLs, if you need them let me know). I’m running 2.3 release build

HTTP ERROR 500

Problem accessing /amazonechocontrol/echoAP/PROXY/ap/signin. Reason:

    Server Error

Caused by:

java.lang.IllegalArgumentException: Malformed escape pair at index 8179: https://www.amazon.com/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.com  .... 
	at java.net.URI.create(URI.java:852)
	at java.net.URI.resolve(URI.java:1036)
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:449)
	at org.openhab.binding.amazonechocontrol.internal.AccountServlet.HandleProxyRequest(AccountServlet.java:517)
	at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doGet(AccountServlet.java:244)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:534)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.URISyntaxException: Malformed escape pair at index 8179: https://www.amazon.com/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.com...
	at java.net.URI$Parser.fail(URI.java:2848)
	at java.net.URI$Parser.scanEscape(URI.java:2978)
	at java.net.URI$Parser.scan(URI.java:3001)
	at java.net.URI$Parser.checkChars(URI.java:3019)
	at java.net.URI$Parser.parseHierarchical(URI.java:3111)
	at java.net.URI$Parser.parse(URI.java:3053)
	at java.net.URI.<init>(URI.java:588)
	at java.net.URI.create(URI.java:850)
	... 32 more

Caused by:

java.net.URISyntaxException: Malformed escape pair at index 8179: https://www.amazon.com/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.com%2Fap%2Fsignin%3FshowRmrMe%3D1%26openid.return_to...
	at java.net.URI$Parser.fail(URI.java:2848)
	at java.net.URI$Parser.scanEscape(URI.java:2978)
	at java.net.URI$Parser.scan(URI.java:3001)
	at java.net.URI$Parser.checkChars(URI.java:3019)
	at java.net.URI$Parser.parseHierarchical(URI.java:3111)
	at java.net.URI$Parser.parse(URI.java:3053)
	at java.net.URI.<init>(URI.java:588)
	at java.net.URI.create(URI.java:850)
	at java.net.URI.resolve(URI.java:1036)
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:449)
	at org.openhab.binding.amazonechocontrol.internal.AccountServlet.HandleProxyRequest(AccountServlet.java:517)
	at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doGet(AccountServlet.java:244)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:534)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:748)

Powered by Jetty:// 9.3.21.v20170918 

not sure if related but not even with the new binding, just readded the account thing im getting:

HTTP ERROR 500
Problem accessing /amazonechocontrol/cfb69c4e. Reason:

    Server Error
Caused by:
java.net.UnknownHostException: alexa.amazon.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:355)
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:286)
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:281)
	at org.openhab.binding.amazonechocontrol.internal.Connection.verifyLogin(Connection.java:544)
	at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doGet(AccountServlet.java:190)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:534)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:748)

The beta (4) works with amazon.com . But i had to reconnect manually into my navaigator : http://openhab:8080/amazonechocontrol/

I am on snapshot 1390.

Will stay on this snapshot until your next beta

My private working branch is here: https://github.com/mgeramb/openhab2-addons/tree/AppLogin
The offical is here: https://github.com/openhab/openhab2-addons
For general questions about the binding development look at https://www.openhab.org/docs/developer/development/bindings.html and https://www.eclipse.org/smarthome/documentation/development/bindings/how-to.html
Would be nice to see more developers working on this binding :slight_smile:

The binding is tested with my 2 echo dots. Both of them are working correct. But these are not the latest generation, so I can not say if they are working or not.
Maybe you can test this version, and if the are not working, I could check what is going on.

Hi, yes because the errors seems to occure in the url at position 8179, I would need the url. Sent it to me as private message and maybe you can give me more details in which step it occurs. Have you seen the login dialog already? Have you entered your credentials?

That is exactly which should happen. But of course this should be the only one! Now the refresh token received from the login is stored instead of the credentials.

1 Like

Yeah thanks Michi :slight_smile:

It seem you have a problem with the DNS lookups on your system. This is not related to the binding. Please check your IP configuration.

I think it may have been because I had 2 factor enabled with the authenticator app. I tried again this morning with my password+6 digit authenticator code instead of just my password and it worked fine. I’ll still PM you the full log in case it helps. The error was when I went to the http://openhab/amazonechocontrol/accountThing and tried to log in at the alexa login screen. After I put in my credentials and hit log in, it was taking a while and finally giving me that error.

Hey Michael,

Same situation for the Echo Dot’s 2nd Gen in the US; still doesn’t work . . . but the login process is different because it’s NOT asking me to key in the captcha anymore.

Here’s some info to go on in order to debug.

This message was the same as the past Beta version:

2018-10-29 11:57:24.013 [INFO ] [.eclipse.smarthome.model.script.Echo] - ** Start of Echo Routine on Jays
2018-10-29 11:57:24.234 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.amazonechocontrol.handler.EchoHandler@1c42a167': POST url 'https://alexa.amazon.com/api/behaviors/preview' failed: Bad Request
org.openhab.binding.amazonechocontrol.internal.HttpException: POST url 'https://alexa.amazon.com/api/behaviors/preview' failed: Bad Request
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:477) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.internal.Connection.executeSequenceNode(Connection.java:942) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.internal.Connection.executeSequenceCommand(Connection.java:930) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.handler.EchoHandler.handleCommand(EchoHandler.java:337) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at com.sun.proxy.$Proxy196.handleCommand(Unknown Source) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [106:org.eclipse.smarthome.core.thing:0.10.0.201805151356]
	at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [106:org.eclipse.smarthome.core.thing:0.10.0.201805151356]
	at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-10-29 11:57:27.028 [INFO ] [marthome.model.script.Startup Script] - -----------------------------------------------------------------------------
2018-10-29 11:57:27.034 [INFO ] [marthome.model.script.Startup Script] -  Startup Script Done with - Echo Speaks if Jay is home
2018-10-29 11:57:27.035 [INFO ] [marthome.model.script.Startup Script] - -----------------------------------------------------------------------------
2018-10-29 11:57:27.179 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.amazonechocontrol.handler.EchoHandler@1c42a167': POST url 'https://alexa.amazon.com/api/behaviors/preview' failed: Bad Request
org.openhab.binding.amazonechocontrol.internal.HttpException: POST url 'https://alexa.amazon.com/api/behaviors/preview' failed: Bad Request
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:477) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.internal.Connection.executeSequenceNode(Connection.java:942) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.internal.Connection.executeSequenceCommand(Connection.java:930) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.internal.Connection.textToSpeech(Connection.java:921) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.handler.EchoHandler.startTextToSpeech(EchoHandler.java:640) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.openhab.binding.amazonechocontrol.handler.EchoHandler.handleCommand(EchoHandler.java:527) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at com.sun.proxy.$Proxy196.handleCommand(Unknown Source) [195:org.openhab.binding.amazonechocontrol:2.4.0.201810281942]
	at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [106:org.eclipse.smarthome.core.thing:0.10.0.201805151356]
	at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [106:org.eclipse.smarthome.core.thing:0.10.0.201805151356]
	at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [99:org.eclipse.smarthome.core:0.10.0.201805151356]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Here’s your Amazon account login screen results. As you can see the Echo’s share the same family ID and so does the Echo Dots.

Device		Serial Number	State	Thing	Type	Family
Ryan Room	G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Loft		        G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Parker Room	G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Garage		G090LF117xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Gym Echo	G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Tricias Office   G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Guest Bd	        G090LF097xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Jays Office	G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Kitchen		B0F007125xxx	Online	Alexa	ECHO	AB72C64C86xxx	<-- Regular Echo
Jays Work	G090LF107xxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Basement	G090LF10xxxx	Online	Alexa	ECHO	A3S5BH2HU6Vxxx	
Bedroom		90F00718xxxx	        Online	Alexa	ECHO	AB72C64C86xxx	<-- Regular Echo

All the rest of them above are Echo Dot''s 2nd Generation

Here’s my rule triggering the TTS -Living Room works (Echo Device) - Jays Office doesn’t (Echo Dot). I have also insured it’s not just tied to my Echo Dot unit in my office to rule that out.

	    	logInfo("Echo", "** Start of Echo Routine on Living Room")
	    	Echo_Living_Room_Volume.sendCommand('30')
			Thread::sleep(3000)  // 3 second wait
	    	Echo_Living_Room_TTS.sendCommand("Excuse me folks, Open HAB has started back up.")

    		logInfo("Echo", "** Start of Echo Routine on Jays")
 	    	Echo_Jay_Volume.sendCommand('50')
			Thread::sleep(3000)  // 3 second wait
 	    	Echo_Jay_TTS.sendCommand("   Excuse me folks, Open HAB has started back up.")

I’m still using your original THING definition which has the user/pass in it. You may want to update your docs to let us know what we should change the format to since your latest version doesn’t require it in the THING file anymore.

Let me know if you need anything else from me?

Best, Jay

Hi Mr. Wiseman,
that is really bad, because I can’t help for this issue. The problem is, that the request itself is correct, but it seems that amazon have changed the api for this. But I do not know how it is changed, this can only be resolved by getting the network traffic from the alexa app, and this is a complicated task.

But let us verify if the problem is only a problem in the binding. Please create a routine in your alexa app which speak some text and start the preview function.

If this work, it could be fixed with help from other users. Otherwise we have to wait for a fix from amazon.

Best regards,
Michael

Could you please provide some details on the issue(s) you’re having supporting the recent snapshots? In my testing so far, everything looks to be working correctly with snapshot 1390 (thank you!) using gen 2 Dots in the US.

I started with brand new Things, and followed the steps in the first post. Previous versions of this binding were not working for me due to auth issues.

I had the same issue as I also have 2 factor authentication enabled on my Amazon account. Adding the authentication code to my password did the trick. I am connecting to the US server.

@michi Thanks for all the work you have done on this binding. I was just wondering if this is how you intended for 2 factor authentication to be support with the latest beta release?

Hi Scott,
I have not tested it yet and it could happen the changes in the core requires recompilation of the binding. It’s good to know that it is working! Anyway, I will provide a tested and compiled against the daily snapshot version jar in some days.
Best regards,
Michael

1 Like

This should not make any difference, the configuration data will be ignored from the binding.

No, it’s not, I think I have to check was going on. But thanks for the information of the workaround by using the authentication code in the password for 2 factor authentication users!

Hi Michael,

I’m not seeing the Preview option in the App after creating a new routine. All I have is Alexa Says, Audio Control, Calendar, Messaging, Music, News, Smart Home, Traffic and Weather.

I Google’d the “alexa preview functions” and this came up; not sure if your aware of it or not?

https://developer.amazon.com/alexa-skills-kit/features/beta-developer-preview

Best, Jay