Preview and Beta: Amazon Echo Control

Also another something I noticed , often the devices ( lights or Switches ) connected thru the skill , will turn to Unknown status after some time… ,is there a way to change that ?
it flips to UNKNOW in about 2 minutes…and then 5 minutes later back to ONLINE
for example :
11:30:34.840 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDeviceGroup:0a4c3487:amzn1-HomeAutomation-ApplianceGroup-A27YIRXFVUWEJV-d1543a99-f4e3-45

94-931f-5900aef42e89’ changed from UNKNOWN to ONLINE

11:32:15.218 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDeviceGroup:0a4c3487:amzn1-HomeAutomation-ApplianceGroup-A27YIRXFVUWEJV-d1543a99-f4e3-45

94-931f-5900aef42e89’ changed from ONLINE to UNKNOWN

11:35:37.520 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:smartHomeDeviceGroup:0a4c3487:amzn1-HomeAutomation-ApplianceGroup-A27YIRXFVUWEJV-d1543a99-f4e3-45

94-931f-5900aef42e89’ changed from UNKNOWN to ONLINE

+1 for this.

Getting these every day; anything I should be looking for?

Most of my interactions with this binding is TTS stuff.

2020-02-08 17:17:16.392 [WARN ] [trol.internal.handler.AccountHandler] - handling of websockets fails: {}
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url 'https://alexa.amazon.com/api/activities?startTime=1581203835846&size=10&offset=1' failed: Bad Request
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:654) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:506) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:501) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.getActivities(Connection.java:1161) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handlePushActivity(AccountHandler.java:839) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handleWebsocketCommand(AccountHandler.java:784) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.webSocketCommandReceived(AccountHandler.java:772) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$Listener.onWebSocketBinary(WebSocketConnection.java:406) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryMessage(JettyListenerEventDriver.java:82) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.message.SimpleBinaryMessage.messageComplete(SimpleBinaryMessage.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:66) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryFrame(JettyListenerEventDriver.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:157) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:476) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:245) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:560) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:391) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2020-02-08 18:53:44.844 [WARN ] [trol.internal.handler.AccountHandler] - handling of websockets fails: {}
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url 'https://alexa.amazon.com/api/activities?startTime=1581209624640&size=10&offset=1' failed: Bad Request
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:654) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:506) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:501) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.getActivities(Connection.java:1161) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handlePushActivity(AccountHandler.java:839) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handleWebsocketCommand(AccountHandler.java:784) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.webSocketCommandReceived(AccountHandler.java:772) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$Listener.onWebSocketBinary(WebSocketConnection.java:406) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryMessage(JettyListenerEventDriver.java:82) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.message.SimpleBinaryMessage.messageComplete(SimpleBinaryMessage.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:66) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryFrame(JettyListenerEventDriver.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:157) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:476) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:245) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:560) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:391) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2020-02-09 07:28:03.152 [WARN ] [trol.internal.handler.AccountHandler] - handling of websockets fails: {}
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url 'https://alexa.amazon.com/api/activities?startTime=1581254883007&size=10&offset=1' failed: Bad Request
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:654) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:506) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:501) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.Connection.getActivities(Connection.java:1161) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handlePushActivity(AccountHandler.java:839) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handleWebsocketCommand(AccountHandler.java:784) ~[231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.webSocketCommandReceived(AccountHandler.java:772) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$Listener.onWebSocketBinary(WebSocketConnection.java:406) [231:org.openhab.binding.amazonechocontrol:2.5.0.-2019-10-23]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryMessage(JettyListenerEventDriver.java:82) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.message.SimpleBinaryMessage.messageComplete(SimpleBinaryMessage.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:66) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryFrame(JettyListenerEventDriver.java:68) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:157) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:476) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:245) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:560) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:391) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Best, Jay

Hi
From this document

It also provides features to control devices connected to your echo:

I wonder how do I control in OH a device that connects to echo?
I have several devices like sonoff and yeelight that binded in the echo, but not been discovered on OH.
Is it possible?

hi @michi recently ( 1 month I think), there are a lot of command that do not got into the lastvoicecommand channel.

I can see them in the Jeedom alexa-api plugin history. But now into the openhab binding.

also got a lot of these errors in the log:

    2020-02-15 00:31:54.246 [WARN ] [trol.internal.handler.AccountHandler] - handling of websockets fails: {}
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url 'https://alexa.amazon.com/api/activities?startTime=1581744714119&size=10&offset=1' failed: Bad Request
        at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest(Connection.java:654) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:506) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString(Connection.java:501) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.Connection.getActivities(Connection.java:1161) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handlePushActivity(AccountHandler.java:839) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handleWebsocketCommand(AccountHandler.java:784) ~[bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.webSocketCommandReceived(AccountHandler.java:772) [bundleFile:?]
        at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$Listener.onWebSocketBinary(WebSocketConnection.java:406) [bundleFile:?]
        at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryMessage(JettyListenerEventDriver.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.message.SimpleBinaryMessage.messageComplete(SimpleBinaryMessage.java:68) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onBinaryFrame(JettyListenerEventDriver.java:74) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:145) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:321) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:202) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:226) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.Parser.parseSingleFrame(Parser.java:262) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:582) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:441) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:428) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:426) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:320) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
1 Like

if i sayd ‘‘alexa bright’’ , this is what i got :

2020-02-16 20:22:41.311 [vent.ItemStateChangedEvent] - Bedroom_LastVoiceCommand changed from alexa to
2020-02-16 20:22:41.312 [vent.ItemStateChangedEvent] - Bedroom_LastVoiceCommand changed from to alexa
2020-02-16 20:23:41.551 [vent.ItemStateChangedEvent] - Bedroom_LastVoiceCommand changed from alexa to
2020-02-16 20:23:41.552 [vent.ItemStateChangedEvent] - Bedroom_LastVoiceCommand changed from to alexa

here in Jeedom, alexa didn’t hear the b of Bright, but definitly the command was there:

Hi, very nice and usefull binding !
a “nice to have” function to implement could be the possibility to add or remove shopping items from Alexa todo lists.
For example I have a washing machine capsule countdown and could be nice if at certain point I could add to the todo shopping list the washing machine capsule.
Same for coffee and dishwater … or just list items that are daily or periodical used such as medicines or so.
Regards
Lorenzo

1 Like

Experiencing a sudden problem: the “last voice command” item stopped updating for any of my echo devices. I’ve cleared-cache, restarted, reinstalled the binding .jar file, etc. etc. but it just won’t work :frowning: Where do I begin to look to fix this?

My openhab.log file is giving me this error:

java.nio.channels.AsynchronousCloseException: null
    at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.close(HttpConnectionOverHTTP.java:181) ~[?:?]
    at java.util.ArrayList.forEach(ArrayList.java:1257) [?:1.8.0_232]
    at org.eclipse.jetty.client.AbstractConnectionPool.close(AbstractConnectionPool.java:208) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.DuplexConnectionPool.close(DuplexConnectionPool.java:237) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.HttpDestination.close(HttpDestination.java:385) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.HttpClient.doStop(HttpClient.java:260) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:93) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:180) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:201) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.websocket.client.WebSocketClient.doStop(WebSocketClient.java:371) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:93) [bundleFile:9.4.20.v20190813]
    at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection.close(WebSocketConnection.java:159) [bundleFile:?]
    at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$2.run(WebSocketConnection.java:184) [bundleFile:?]
    at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_232]
    at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_232]

And my in my events.log file the status of various echo/smart home devices keeps fluctuating:

2020-03-13 16:07:34.799 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Den' has been updated.
2020-03-13 16:07:34.800 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Den' changed from ONLINE to 
UNKNOWN
2020-03-13 16:07:34.800 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bathroom' has been updated.
2020-03-13 16:07:34.800 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bathroom' has been updated.
2020-03-13 16:07:34.803 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Downstairs_Bedroom' has been updated.
2020-03-13 16:07:34.804 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Downstairs_Bedroom' has been updated.
2020-03-13 16:07:34.806 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Living_Room' has been updated.
2020-03-13 16:07:34.807 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Living_Room' has been updated.
2020-03-13 16:07:34.808 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Living_Room' changed from ONLINE to 
UNKNOWN
2020-03-13 16:07:34.808 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Kitchen' has been updated.
2020-03-13 16:07:34.809 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Kitchen' has been updated.
2020-03-13 16:07:34.810 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Kitchen' changed from ONLINE to 
UNKNOWN
2020-03-13 16:07:34.815 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bedroom' has been updated.
2020-03-13 16:07:34.816 [me.event.ThingUpdatedEvent] - Thing 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bedroom' has been updated.
2020-03-13 16:07:34.817 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bedroom' changed from 
ONLINE to UNKNOWN
2020-03-13 16:07:42.145 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Foyer' changed from UNKNOWN to 
ONLINE
2020-03-13 16:07:42.151 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDevice:20e3dd5f:Upstairs_Den_Light' changed from ONLINE to 
UNKNOWN
2020-03-13 16:07:42.154 [vent.ItemStateChangedEvent] - Upstairs_Den_Light changed from ON 
to UNDEF
2020-03-13 16:07:42.156 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Den' changed from UNKNOWN 
to ONLINE
2020-03-13 16:07:42.193 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bathroom' changed from 
UNKNOWN to ONLINE
2020-03-13 16:07:42.199 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Downstairs_Bedroom' changed from 
UNKNOWN to ONLINE
2020-03-13 16:07:42.203 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Living_Room' changed from UNKNOWN 
to ONLINE
2020-03-13 16:07:42.213 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Kitchen' changed from UNKNOWN to 
ONLINE
2020-03-13 16:07:42.220 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:ALL_LIGHTs' changed from ONLINE to 
UNKNOWN
2020-03-13 16:07:42.222 [hingStatusInfoChangedEvent] - 
'amazonechocontrol:smartHomeDeviceGroup:20e3dd5f:Upstairs_Bedroom' changed from 
UNKNOWN to ONLINE

And now the log is saying:

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1526) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.shutdown(HttpReceiverOverHTTP.java:209) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:147) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:73) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:133) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:154) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:426) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:320) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

lol, and now the following:

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
2020-03-13 16:20:21.240 [INFO ] [mazonechocontrol.internal.Connection] - Smart home device command failed.
2020-03-13 16:20:21.241 [INFO ] [mazonechocontrol.internal.Connection] - Request:
2020-03-13 16:20:21.242 [INFO ] [mazonechocontrol.internal.Connection] - {"controlRequests":[{"entityId":"352f7daa-a03b-4c73-943a-f04ccc8b9d55","entityType":"APPLIANCE","par
ameters":{"action":"turnOff"}}]}
2020-03-13 16:20:21.242 [INFO ] [mazonechocontrol.internal.Connection] - Answer:
2020-03-13 16:20:21.243 [INFO ] [mazonechocontrol.internal.Connection] - {"entity":{"entityId":"352f7daa-a03b-4c73-943a-f04ccc8b9d55","entityType":"APPLIANCE"},"code":"Appli
anceDriverHostingServiceException","message":null,"data":null}
2020-03-13 16:20:21.913 [INFO ] [mazonechocontrol.internal.Connection] - Smart home device command failed.
2020-03-13 16:20:21.914 [INFO ] [mazonechocontrol.internal.Connection] - Request:
2020-03-13 16:20:21.914 [INFO ] [mazonechocontrol.internal.Connection] - {"controlRequests":[{"entityId":"c558d374-0002-4574-8c6a-f8826c30727d","entityType":"APPLIANCE","par
ameters":{"action":"turnOn"}}]}
2020-03-13 16:20:21.915 [INFO ] [mazonechocontrol.internal.Connection] - Answer:
2020-03-13 16:20:21.916 [INFO ] [mazonechocontrol.internal.Connection] - {"entity":{"entityId":"c558d374-0002-4574-8c6a-f8826c30727d","entityType":"APPLIANCE"},"code":"Appli
anceDriverHostingServiceException","message":null,"data":null}
01] /var/log/openhab2/openhab.log

@michi

Re, my comments above: everything eventually resolved itself, by itself.

This is a great binding. You are doing a awesome job! One question: is it possible to make smart home device available in Open Hab, which have the type “other” in the Alexa App?
Background:
I do have some Eltako devices which are connected to a GFVS-server. There is no OpenHab binding for this - but a Alexa-skill exists. Unfortunately all devices (lights, rollershutter, heating) which are being discovered are recognized as “others” in Alexa app.

Thanks

Hi michi,

iobroker has updated its plugin so it can catch all the card info correctly .

Amazon did change something on their side… so not all the last voice command are catched since this time.

Im looking to get the led ring on my echo to be used as a night light when I go to the bathroom - has anyone got any ideas how I could do this? I dont think its in the API but wondering if there is something else I could do to simulate keeping the light on for a proxy expire binding time duration

There are nightlight skills out there that let you turn on/off the LED through a routine.

I concur with this observation.

Best, Jay

I am using OH 2.5.0 but since I get some problems with my Echo Control binding (error log is flooded and some voice controls not working) I would like to update to the newest version. Would it be sufficient to update to OH 2.5.4 or should I go for 2.5.5 snapshot release in regards to the Echo Control binding or is there a seperate Echo control beta release which I could use (the one linked in the first post of this thread is pretty old from 2019).

NoTechi

I second this. I used to use wonderlist and IFTTT to add things to a list but since that has now become Microsoft ToDo it’s lost all its connectivity apis.

I’m looking for a new way to add things to a family list and the amazon shopping list function fits perfectly. My family use Alexa commands a lot and it’s pretty easy to add things so if a binding could access the lists and allow us to manipulate them then that would be amazing.

A quick google and it seems to be pretty open to interrogation.

https://developer.amazon.com/en-GB/docs/alexa/custom-skills/access-the-alexa-shopping-and-to-do-lists.html

Not sure how to start a project with OH…some reading to be done!