You may need to reconfigure or delete/readd your Account Thing. Since you have everything in a .things file, move it and then move it back. This will also bring in any new/modified Channels when the Things are recreated.
In your rule, you’ve defined tts as a string. Strings do not have a sendCommand method. You’d need to ScriptServiceUtil to get an Item first, or use the sendCommand EventBus Action, like in my example.
Ok so I did that and it looks like all 12 of my echo’s on account1 came online but so did a bunch of stuff on the amazonechocontrol:echo:618151a0 account(?). They contain all my echos except for the show (10 echo dots and 1 original echo). It still says waiting for login. In addition, when I speak to one of the echos, I don’t get the LastVoiceCommand for the Echo_LivingRoom (even thought it says online). However, at least two echo dots Echo_BrandonSBedroom and Echo_Master_Bedroom are showing LastVoiceCommand when spokent to.
2019-06-06 20:42:38.069 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'amazonechocontrol.things'
2019-06-06 20:42:38.716 [hingStatusInfoChangedEvent] - 'amazonechocontrol:account:account1' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:38.732 [hingStatusInfoChangedEvent] - 'amazonechocontrol:account:account1' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Wait for login
2019-06-06 20:42:38.746 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220W0L' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.754 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:618151a0:G000MW0474950LKA' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.761 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220W0L' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.769 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:618151a0:G000MW0474950LKA' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.780 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:45f19daeb43746c6b5a0d88cb7595f75' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.802 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_LivingRoom' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:38.807 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_LivingRoom' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.816 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:45f19daeb43746c6b5a0d88cb7595f75' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.824 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:158074967e804b1dab1b33a6a57ebe69' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.833 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:c57c1cf818834a34bd67dced232d8157' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.855 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:158074967e804b1dab1b33a6a57ebe69' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.873 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072971X0L' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.878 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:c57c1cf818834a34bd67dced232d8157' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.889 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072971X0L' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.902 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174770CD5' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.922 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220XDU' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.929 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174770CD5' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.934 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220XDU' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.937 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174450PLP' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.946 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174450PLP' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.950 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF10728623FK' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.959 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF10728623FK' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.963 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDT' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.966 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Office' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:38.981 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Office' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.984 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:90F0081873220AQ7' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.989 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDT' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:38.993 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDU' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:38.996 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:90F0081873220AQ7' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.001 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDU' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.006 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Outside' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.013 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Outside' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.015 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730NNT' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-06-06 20:42:39.021 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730NNT' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.027 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bathroom' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.035 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bathroom' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.042 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Guest_Room' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.047 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Guest_Room' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.055 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bedroom' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.059 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bedroom' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.070 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Porch' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.073 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Porch' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.086 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Home_Cinema' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.090 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Home_Cinema' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.105 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_BrandonsBedroom' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.111 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_BrandonsBedroom' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.116 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_Workshop' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.119 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_Workshop' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.139 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_BackWorkshop' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.145 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_BackWorkshop' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:39.170 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:account1:Echo_Kitchen' changed from UNINITIALIZED to INITIALIZING
2019-06-06 20:42:39.176 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:account1:Echo_Kitchen' changed from INITIALIZING to UNKNOWN
2019-06-06 20:42:42.032 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_Workshop' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.045 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174450PLP' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.050 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Outside' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.065 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDU' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.071 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bathroom' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.081 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220XDU' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.092 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:618151a0:G000MW0474950LKA' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.100 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1073220W0L' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.108 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Master_Bedroom' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.117 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:c57c1cf818834a34bd67dced232d8157' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.123 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:158074967e804b1dab1b33a6a57ebe69' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.125 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Porch' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.134 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:90F0081873220AQ7' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.137 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Garage_BackWorkshop' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.149 [hingStatusInfoChangedEvent] - 'amazonechocontrol:wha:618151a0:45f19daeb43746c6b5a0d88cb7595f75' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.158 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Office' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.174 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Home_Cinema' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.188 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072971X0L' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.194 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1174770CD5' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.200 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730QDT' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.206 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF1072730NNT' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.209 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echoshow:account1:Echo_Kitchen' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.214 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:618151a0:G090LF10728623FK' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.221 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_BrandonsBedroom' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.225 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_LivingRoom' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.232 [hingStatusInfoChangedEvent] - 'amazonechocontrol:echo:account1:Echo_Guest_Room' changed from UNKNOWN to ONLINE
2019-06-06 20:42:42.606 [hingStatusInfoChangedEvent] - 'amazonechocontrol:account:account1' changed from OFFLINE (CONFIGURATION_PENDING): Wait for login to ONLINE
Oh, ok. I gotcha now. I got that from another example but it wasn’t tested as the rule isn’t getting activated.
** EDIT **
I have since discovered that the echo(s) that arn’t available is a moving target. Sometimes, the Living Room is gone sometimes the Bedroom. Sometimes the Office is gone, sometimes the Kitchen. (you get the picture). Is there some kind of limit to the number of echos that can be connected at one time; it seems to be 10 or 11?
Hello,
Iv just recently began using and learning OH. I am attempting to pair my Amazon Echo Dot and am having some complications. I added the Amazon Account thing and tried to go to the following link: http://localhost:8080/amazonechocontrol/5e80e241/ - Upto this point everythink works OK. However, when i input the username and passwork and hit ‘Sign In’ i am greeted with the follwoing error:
HTTP ERROR 500
Problem accessing /amazonechocontrol/5e80e241/ap/signin/142-0456914-8924004. Reason:
Server Error
Caused by:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
at com.google.gson.Gson.fromJson(Gson.java:887)
at com.google.gson.Gson.fromJson(Gson.java:852)
at com.google.gson.Gson.fromJson(Gson.java:801)
at com.google.gson.Gson.fromJson(Gson.java:773)
at org.openhab.binding.amazonechocontrol.internal.Connection.parseJson(Connection.java:871)
at org.openhab.binding.amazonechocontrol.internal.Connection.registerConnectionAsApp(Connection.java:711)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.handleProxyRequest(AccountServlet.java:639)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doVerb(AccountServlet.java:229)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doPost(AccountServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
… 44 more
Caused by:
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
at com.google.gson.Gson.fromJson(Gson.java:887)
at com.google.gson.Gson.fromJson(Gson.java:852)
at com.google.gson.Gson.fromJson(Gson.java:801)
at com.google.gson.Gson.fromJson(Gson.java:773)
at org.openhab.binding.amazonechocontrol.internal.Connection.parseJson(Connection.java:871)
at org.openhab.binding.amazonechocontrol.internal.Connection.registerConnectionAsApp(Connection.java:711)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.handleProxyRequest(AccountServlet.java:639)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doVerb(AccountServlet.java:229)
at org.openhab.binding.amazonechocontrol.internal.AccountServlet.doPost(AccountServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
at java.lang.Thread.run(Unknown Source)
@michi , any plans or ideas on implementing this? I have no experience in binding development, but I could try to take a look
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
1817
Echo Auto Coming
I finally got my invitation for the Echo Auto, once I get it - I will give Michael all the details to it. This opens up a whole new communication level from OH to your car.
Your request for an invitation to purchase Echo Auto has been granted. We hope you’ll have as much fun using it as we did inventing it.
To accept this invitation, go to the Echo Auto detail page, add to cart, and purchase as usual. You will receive a delivery confirmation when your order is ready to ship. Due to the high number of requests, this invitation will expire after seven days after we’ve sent it to you.
Will Echo Auto connect to my car? Echo Auto connects to most cars that support Bluetooth to play music or that have an auxiliary input. It works best on cars that don’t have Apple CarPlay or Android Auto. These vehicles are not compatible when using Bluetooth.
By purchasing Echo Auto during this limited-release period, you agree to receive an email asking for your feedback on the product. As one of the first customers to use Echo Auto, your input will help to drive future Echo Auto features.
An amazing feature would be to be able to send and ‘’off’’ command. To any echo.
I know iobroker does have this, but I don’t want to mount a system just for that feature.
That would allow me to have better integration with alarms etc in my living room and bed room with two echo per room.
So I would be able to ‘say ‘’stop ‘’ when an alam is heard in the morning and then would be able to send a stop command to the other echo in the same room…so wtv where the alarm has been set…all the echo would just turn their alarm off in the same room!
It would also permit the ability to send an off command to any echo in the house wehnever you want it to stop what it is doing , without having to be next to it.
This is still not working for me; at least not consistently. I use echo a lot throughout the day and according to my logs – events.log (nothing shows in the openhab.log for same search):
more /var/log/openhab2/events.log | grep LastVoiceCommand
2019-06-09 08:46:16.606 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from alexa to the front door
2019-06-09 08:46:16.913 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from alexa to lock the front door
2019-06-09 08:46:17.232 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from lock the front door to
2019-06-09 08:46:17.240 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from to lock the front door
2019-06-09 08:46:35.273 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from alexa to
2019-06-09 08:46:35.276 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from to alexa
2019-06-09 08:46:35.458 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from the front door to alexa
2019-06-09 08:46:38.094 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from alexa to turn off dining room light
2019-06-09 08:58:36.603 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from turn off dining room light to alexa
2019-06-09 08:58:36.800 [vent.ItemStateChangedEvent] - Echo_Master_Bedroom_LastVoiceCommand changed from what's the forecast today to alexa
2019-06-09 08:58:37.103 [vent.ItemStateChangedEvent] - Echo_Master_Bathroom_LastVoiceCommand changed from what's the forecast to alexa
2019-06-09 08:58:37.946 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from alexa to lock the front door
2019-06-09 08:58:38.659 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from lock the front door to
2019-06-09 08:58:38.663 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from to lock the front door
2019-06-09 09:40:09.067 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from lock the front door to goodbye
2019-06-09 10:56:40.233 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from lock the front door to what time is it
2019-06-09 10:56:40.530 [vent.ItemStateChangedEvent] - Echo_Master_Bathroom_LastVoiceCommand changed from alexa to what time is it
2019-06-09 12:12:54.660 [vent.ItemStateChangedEvent] - Echo_Master_Bathroom_LastVoiceCommand changed from what time is it to alexa
2019-06-09 12:12:54.871 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from what time is it to alexa
2019-06-09 12:12:55.066 [vent.ItemStateChangedEvent] - Echo_BrandonsBedroom_LastVoiceCommand changed from turn off brandon's lamp to alexa
2019-06-09 12:12:55.274 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from alexa to
2019-06-09 12:12:55.281 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from to alexa
2019-06-09 12:12:58.840 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from alexa to drawing room light one hundred percent
2019-06-09 15:45:56.297 [vent.ItemStateChangedEvent] - Echo_Porch_LastVoiceCommand changed from announce to alexa
2019-06-09 15:45:56.503 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from goodbye to alexa
2019-06-09 15:45:56.873 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from alexa to
2019-06-09 15:45:56.877 [vent.ItemStateChangedEvent] - Echo_Office_LastVoiceCommand changed from to alexa
2019-06-09 15:45:57.085 [vent.ItemStateChangedEvent] - Echo_Home_Cinema_LastVoiceCommand changed from drawing room light one hundred percent to alexa
2019-06-09 15:45:58.943 [vent.ItemStateChangedEvent] - Echo_Porch_LastVoiceCommand changed from alexa to what time is it
2019-06-09 17:00:48.464 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from alexa to
2019-06-09 17:00:48.469 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from to alexa
2019-06-09 17:00:51.848 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from alexa to turn on living room lamp
The last communication openhab received for echo was 9 days ago.
Many errors are shown in the openhab.log for echo:
more /var/log/openhab2/openhab.log | grep echo
2019-06-09 19:15:36.185 [WARN ] [mazonechocontrol.internal.Connection] - Request to url 'https://alexa.amazon.com/api/cloudplayer/playlists?deviceSerialNumber=G090LF1174770CD5&deviceType=A3S5BH2HU6VAYF&mediaOwnerCustomerId=A38APXBDKA3JLQ' fails with unkown error
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:572) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:485) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:480) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.getPlaylists(Connection.java:954) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.refreshData(AccountHandler.java:476) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.checkData(AccountHandler.java:380) ~[?:?]
2019-06-18 19:54:09.650 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler@51b76': POST url 'https://alexa.amazon.com/api/np/command?deviceSerialNumber=G090LF1073220XDU&deviceType=A3S5BH2HU6VAYF' failed: Not Found
org.openhab.binding.amazonechocontrol.internal.HttpException: POST url 'https://alexa.amazon.com/api/np/command?deviceSerialNumber=G090LF1073220XDU&deviceType=A3S5BH2HU6VAYF' failed: Not Found
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:634) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.command(Connection.java:965) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler.handleCommand(EchoHandler.java:283) ~[?:?]
at com.sun.proxy.$Proxy132.handleCommand(Unknown Source) [336:org.openhab.binding.amazonechocontrol:2.4.0.Beta_8]
2019-06-18 19:54:09.898 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler@51b76': POST url 'https://alexa.amazon.com/api/np/command?deviceSerialNumber=G090LF1073220XDU&deviceType=A3S5BH2HU6VAYF' failed: Not Found
org.openhab.binding.amazonechocontrol.internal.HttpException: POST url 'https://alexa.amazon.com/api/np/command?deviceSerialNumber=G090LF1073220XDU&deviceType=A3S5BH2HU6VAYF' failed: Not Found
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:634) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.command(Connection.java:965) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler.handleCommand(EchoHandler.java:283) ~[?:?]
at com.sun.proxy.$Proxy132.handleCommand(Unknown Source) [336:org.openhab.binding.amazonechocontrol:2.4.0.Beta_8]
Communication to the internet is not a problem. I am telneted into the server to view the logs and I can ping alexa.amazon.com:
ping alexa.amazon.com
PING pitangui.amazon.com (52.94.233.137) 56(84) bytes of data.
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=1 ttl=235 time=18.4 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=2 ttl=235 time=18.3 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=3 ttl=235 time=35.3 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=4 ttl=235 time=16.2 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=5 ttl=235 time=17.3 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=6 ttl=235 time=18.3 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=7 ttl=235 time=16.7 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=8 ttl=235 time=17.3 ms
64 bytes from 52.94.233.137 (52.94.233.137): icmp_seq=9 ttl=235 time=16.4 ms
^C
--- pitangui.amazon.com ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8009ms
rtt min/avg/max/mdev = 16.274/19.422/35.375/5.695 ms'
I get many errors like the above, but ran out of characters for posting. Why is the binding loosing communication and getting errors? I’m using the current “beta” version:
openhab> list | grep Amazon
336 x Active x 80 x 2.4.0.Beta_8 x Amazon Echo Control Binding
ls /srv/openhab2-addons -al
total 324
drwxrwxr-x+ 2 openhab openhabian 4096 Jun 15 10:30 .
drwxr-xr-x 7 openhab openhabian 4096 Apr 16 13:01 ..
-rwxrw-r-- 1 openhabian openhabian 177561 Jun 6 20:38 org.openhab.binding.amazonechocontrol_2.5.0.Beta_8.jar
-rw-r--r-- 1 openhabian openhabian 52938 May 1 12:38 org.openhab.binding.smartthings-2.5.0-SNAPSHOT.jar
-rw-rw-r-- 1 openhab openhabian 70 Dec 17 2018 README
My things are defined as shown in previous posts.
** EDIT **
If I past one of the urls showing errors: I get as a response.
@Bredmich @edwolfe3
The project is not dead, but on my location is sommer with 35 degrees and so I prefer to go swimming instead of programming
Btw, bindings in OH have know knowlegde about groups, this feature is handeled in the OH framwork. This means, that the binding receives a lot of independent request at the same time if you send a command to a group. unfortunally has the amazon server problems with a big number of requests in a short time period. There is no perfect solution at this time for this problem. The current beta version tries to repeat the calls if an error occurs, but it seems depenending from the number of calls that this also to not fix the problem.
Best Michael
In the same logic. Would it be possible to add a button to delete all the alarm of a particular echo ? Same thing for the timers?
The reason is I have more than one echo in a room. So when i say ‘’ delete all the alarms, I could delete all the alarm of the echo that are in the same rooms. Same for timers.
@michi i have an echo dot and a firetv stick.
I can see the firetv stick listed and get his serial.
Is it possible to control it with amazon echo control binding too?
Would like to start vimeo app on the firetv with openhab as part of a szene.