Release Candidate and Support: Amazon Echo Control Binding

Some further info. Below is the debug (2.5.13 now). I have an error but the command gets executed (status is not updated):
2021-04-06 17:32:10.284 [DEBUG] [mazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.it/api/phoenix/state
2021-04-06 17:32:10.286 [DEBUG] [mazonechocontrol.internal.Connection] - PUT: {“controlRequests”:[{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”,“parameters”:{“action”:“controlSecurityPanel”,“armState”:“ARMED_NIGHT”}}]}
2021-04-06 17:32:11.309 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:11.310 [DEBUG] [mazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.it/api/phoenix/state
2021-04-06 17:32:11.313 [DEBUG] [mazonechocontrol.internal.Connection] - POST: {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“APPLIANCE”}]}
2021-04-06 17:32:15.514 [DEBUG] [mazonechocontrol.internal.Connection] - Call to https://alexa.amazon.it/api/phoenix/state succeeded
2021-04-06 17:32:15.518 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST https://alexa.amazon.it/api/phoenix/state:{“deviceStates”:[],“errors”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“code”:“INTERNAL_ERROR”,“message”:null,"data":null}]}
2021-04-06 17:32:15.520 [TRACE] [mazonechocontrol.internal.Connection] - Requested {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“APPLIANCE”}]} and received {“deviceStates”:[],“errors”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“code”:“INTERNAL_ERROR”,“message”:null,“data”:null}]}
2021-04-06 17:32:15.522 [TRACE] [trol.internal.handler.AccountHandler] - Id a not matching filter SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:15.529 [TRACE] [trol.internal.handler.AccountHandler] - Id SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjdiZDVmZGI1LWYzYTktNDRkOS05ODdmLTM4OGM5N2YwZDgzMCIsInN0YWdlIjoibGl2ZSJ9_e5048262-b06b-431d-a6e3-b963eb8bd5ea not matching filter SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:15.531 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState finished
2021-04-06 17:32:15.533 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=null
2021-04-06 17:32:16.768 [DEBUG] [mazonechocontrol.internal.Connection] - Call to https://alexa.amazon.it/api/phoenix/state succeeded
2021-04-06 17:32:16.774 [DEBUG] [mazonechocontrol.internal.Connection] - Result of PUT https://alexa.amazon.it/api/phoenix/state:{“controlResponses”:[{“code”:“SUCCESS”,“message”:null,“data”:null,“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”}],“errors”:[]}
2021-04-06 17:32:16.776 [DEBUG] [mazonechocontrol.internal.Connection] - {“controlResponses”:[{“code”:“SUCCESS”,“message”:null,“data”:null,“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”}],“errors”:[]}
2021-04-06 17:32:16.778 [DEBUG] [ernal.handler.SmartHomeDeviceHandler] - Command ARMED_NIGHT sent to SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:17.278 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:17.280 [DEBUG] [mazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.it/api/phoenix/state
2021-04-06 17:32:17.282 [DEBUG] [mazonechocontrol.internal.Connection] - POST: {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“APPLIANCE”}]}
2021-04-06 17:32:18.093 [DEBUG] [mazonechocontrol.internal.Connection] - Call to https://alexa.amazon.it/api/phoenix/state succeeded
2021-04-06 17:32:18.095 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST https://alexa.amazon.it/api/phoenix/state:{“deviceStates”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“capabilityStates”:["{“namespace”:“Alexa.SecurityPanelController”,“name”:“armState”,“value”:“ARMED_NIGHT”,“timeOfSample”:“2021-04-06T15:32:17.856Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.EndpointHealth”,“name”:“connectivity”,“value”:{“value”:“OK”},“timeOfSample”:“2021-04-06T15:32:17.449Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.SecurityPanelController”,“name”:“burglaryAlarm”,“value”:{“value”:“ALARM”},“timeOfSample”:“2021-04-06T15:32:18.033Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}"],“error”:null}],“errors”:[]}
2021-04-06 17:32:18.096 [TRACE] [mazonechocontrol.internal.Connection] - Requested {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919”,“entityType”:“APPLIANCE”}]} and received {“deviceStates”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“capabilityStates”:["{“namespace”:“Alexa.SecurityPanelController”,“name”:“armState”,“value”:“ARMED_NIGHT”,“timeOfSample”:“2021-04-06T15:32:17.856Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.EndpointHealth”,“name”:“connectivity”,“value”:{“value”:“OK”},“timeOfSample”:“2021-04-06T15:32:17.449Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.SecurityPanelController”,“name”:“burglaryAlarm”,“value”:{“value”:“ALARM”},“timeOfSample”:“2021-04-06T15:32:18.033Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}"],“error”:null}],“errors”:[]}
2021-04-06 17:32:18.099 [TRACE] [trol.internal.handler.AccountHandler] - Id a not matching filter SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-0030189xx
2021-04-06 17:32:18.100 [DEBUG] [ernal.handler.SmartHomeDeviceHandler] - Updating states failed
java.lang.UnsupportedOperationException: JsonObject
at com.google.gson.JsonElement.getAsString(JsonElement.java:192) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.smarthome.HandlerSecurityPanelController.updateChannels(HandlerSecurityPanelController.java:121) ~[?:?]

Here instead the command fails (and the status is not update too:
2021-04-06 18:28:51.534 [DEBUG] [mazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.it/api/phoenix/state
2021-04-06 18:28:51.537 [DEBUG] [mazonechocontrol.internal.Connection] - PUT: {“controlRequests”:[{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”,“parameters”:{“action”:“controlSecurityPanel”,“armState”:“DISARMED”}}]}
2021-04-06 18:28:52.033 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState started with deviceFilterId=SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919
2021-04-06 18:28:52.034 [DEBUG] [mazonechocontrol.internal.Connection] - Make request to https://alexa.amazon.it/api/phoenix/state
2021-04-06 18:28:52.038 [DEBUG] [mazonechocontrol.internal.Connection] - POST: {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919”,“entityType”:“APPLIANCE”}]}
2021-04-06 18:28:59.418 [DEBUG] [mazonechocontrol.internal.Connection] - Call to https://alexa.amazon.it/api/phoenix/state succeeded
2021-04-06 18:28:59.420 [DEBUG] [mazonechocontrol.internal.Connection] - Result of PUT https://alexa.amazon.it/api/phoenix/state:{“controlResponses”:[],“errors”:[{“entity”:{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”},“code”:“IotaServiceException”,“message”:“IOTA_SERVICE_EXCEPTION”,"data":null}]}
2021-04-06 18:28:59.422 [DEBUG] [mazonechocontrol.internal.Connection] - {“controlResponses”:[],“errors”:[{“entity”:{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”},“code”:“IotaServiceException”,“message”:“IOTA_SERVICE_EXCEPTION”,“data”:null}]}
2021-04-06 18:28:59.423 [INFO ] [mazonechocontrol.internal.Connection] - Smart home device command failed.
2021-04-06 18:28:59.425 [INFO ] [mazonechocontrol.internal.Connection] - Request:
2021-04-06 18:28:59.426 [INFO ] [mazonechocontrol.internal.Connection] - {“controlRequests”:[{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”,“parameters”:{“action”:“controlSecurityPanel”,“armState”:“DISARMED”}}]}
2021-04-06 18:28:59.428 [INFO ] [mazonechocontrol.internal.Connection] - Answer:
2021-04-06 18:28:59.429 [INFO ] [mazonechocontrol.internal.Connection] - {“entity”:{“entityId”:“7d469d0e-9b7b-4574-bc2f-baa679bac93a”,“entityType”:“APPLIANCE”},“code”:“IotaServiceException”,“message”:“IOTA_SERVICE_EXCEPTION”,“data”:null}
2021-04-06 18:28:59.431 [DEBUG] [ernal.handler.SmartHomeDeviceHandler] - Command DISARMED sent to SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919
2021-04-06 18:28:59.932 [DEBUG] [mazonechocontrol.internal.Connection] - Call to https://alexa.amazon.it/api/phoenix/state succeeded
2021-04-06 18:28:59.945 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST https://alexa.amazon.it/api/phoenix/state:{“deviceStates”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“capabilityStates”:["{“namespace”:“Alexa.SecurityPanelController”,“name”:“armState”,“value”:“ARMED_NIGHT”,“timeOfSample”:“2021-04-06T16:28:59.572Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.EndpointHealth”,“name”:“connectivity”,“value”:{“value”:“OK”},“timeOfSample”:“2021-04-06T16:28:52.889Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.SecurityPanelController”,“name”:“burglaryAlarm”,“value”:{“value”:“ALARM”},“timeOfSample”:“2021-04-06T16:28:59.889Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}"],“error”:null}],“errors”:[]}
2021-04-06 18:28:59.948 [TRACE] [mazonechocontrol.internal.Connection] - Requested {“stateRequests”:[{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919”,“entityType”:“APPLIANCE”}]} and received {“deviceStates”:[{“entity”:{“entityId”:“SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919”,“entityType”:“CLOUD_DISCOVERED_DEVICE”},“capabilityStates”:["{“namespace”:“Alexa.SecurityPanelController”,“name”:“armState”,“value”:“ARMED_NIGHT”,“timeOfSample”:“2021-04-06T16:28:59.572Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.EndpointHealth”,“name”:“connectivity”,“value”:{“value”:“OK”},“timeOfSample”:“2021-04-06T16:28:52.889Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}","{“namespace”:“Alexa.SecurityPanelController”,“name”:“burglaryAlarm”,“value”:{“value”:“ALARM”},“timeOfSample”:“2021-04-06T16:28:59.889Z”,“uncertaintyInMilliseconds”:0,“deepQuery”:true,“timeOfStateChange”:""}"],“error”:null}],“errors”:[]}
2021-04-06 18:28:59.950 [TRACE] [trol.internal.handler.AccountHandler] - Id a not matching filter SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919
2021-04-06 18:28:59.953 [TRACE] [trol.internal.handler.AccountHandler] - Id SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjdiZDVmZGI1LWYzYTktNDRkOS05ODdmLTM4OGM5N2YwZDgzMCIsInN0YWdlIjoibGl2ZSJ9_e5048262-b06b-431d-a6e3-b963eb8bd5ea not matching filter SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjFiMmEzZWY3LWVmZGMtNDllYy04MTI3LTA3YWMyOWYwMDY5YyIsInN0YWdlIjoibGl2ZSJ9_tp042-003018919
2021-04-06 18:28:59.956 [DEBUG] [ernal.handler.SmartHomeDeviceHandler] - Updating states failed
java.lang.UnsupportedOperationException: JsonObject
at com.google.gson.JsonElement.getAsString(JsonElement.java:192) ~[?:?]

Info: Echo show 10… I just set up Echo show 10 without issue for the binding.

Is there any change in OH3.* compared to OH2.5 for Alexa usage in rules ?
I can’t find the right way to instanciate my Alexa thing in a rule. Also, in the documentation, I see a lot of channels and actions, but in the example, the “sendCommand” is still shown as the command to use to send “TextToSpeech” actions, while in the think definition, sendCommand is never shown… I’m a bit lost there…

is there a ‘show more’ button? It is usually at the top of the list on the right

Was solved on Discord. I had two consecutive problems :slight_smile:

  1. Linked to the migraiton, I had some “shadow thing & items” I had to manually removed.
  2. The Cache and Temp folder needed to be removed to clear everything.

I searched a lot, but finally, it’s working now.

Thanks for your help.

1 Like

I appreciate all of the effort that goes into developing and maintaining this binding.

I am using the main release 3.01 version, and am still experiencing the looping problem discussed here: AmazonEchoControl cycles rapidly between UNKNOWN and ONLINE SNAPSHOT 3.1 binding

By randomly catching the Things online, I am able to create the links/channels/Items I need, and then everything works great. But my log still fills up with status changes between UNKNOWN and ONLINE. I previously tried the 3.1.0 SNAPSHOT release and that didn’t solve it (or I didn’t install it correctly).

Has this by chance been addressed in a later release? If so, where can I find the .jar file?

Thank you for your assistance.

George

I don’t think this issue has been addressed in any openHAB version.

Anybody running OH 2.5.x with org.openhab.binding.amazonechocontrol-2.5.13-SNAPSHOT for this binding?

As of yesterday; the last command heard stopped working and the log is filling up with these messages.

TTS is still working it’s just the last voice command channel has stopped.

2021-09-30 15:20:07.264 [INFO ] [control.internal.WebSocketConnection] - Web Socket error
org.eclipse.jetty.io.EofException: null
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:286) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1044) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:323) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:380) [75:org.eclipse.jetty.io:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.FrameFlusher.flush(FrameFlusher.java:218) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.FrameFlusher.process(FrameFlusher.java:157) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) [87:org.eclipse.jetty.util:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.FrameFlusher.enqueue(FrameFlusher.java:90) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.outgoingFrame(AbstractWebSocketConnection.java:495) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.client.io.WebSocketClientConnection.outgoingFrame(WebSocketClientConnection.java:72) [91:org.eclipse.jetty.websocket.client:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:223) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:202) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onConnectionStateChange(AbstractWebSocketConnection.java:369) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.IOState.notifyStateListeners(IOState.java:184) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.io.IOState.onCloseRemote(IOState.java:373) [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:121) [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$2.run(SslConnection.java:136) [75:org.eclipse.jetty.io: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) [?:?]
Caused by: java.io.IOException: Broken pipe
	at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]
	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:?]
	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[?:?]
	at sun.nio.ch.IOUtil.write(IOUtil.java:51) ~[?:?]
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) ~[?:?]
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:264) ~[?:?]
	... 29 more
2021-09-30 15:21:14.327 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:22:35.532 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:24:06.996 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:25:28.186 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:26:49.439 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:28:11.055 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:29:31.903 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:30:52.902 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:32:15.506 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:33:36.096 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:34:56.647 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:36:17.966 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:37:38.960 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:38:59.776 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:40:21.216 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:41:42.827 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:43:05.060 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:44:30.370 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:45:52.272 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:47:13.397 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:48:33.972 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:49:54.783 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:51:16.322 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null
2021-09-30 15:52:37.474 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1005. Reason: null

@jwiseman This appears to be related to the reported AmazonEchoControl Binding issue that began this week. See the discussion here:

  • Thomas
2 Likes

Stared working again this morning.

Best, Jay

+1. Mine is working again too. No more log errors / All web socket related items are functional.

  • Thomas

Mine was working fine yesterday but now within the last hour I’m getting the web socket error. I have restarted openHAB a bunch of times, cleared the cache, logged out and back into my Amazon account, removed and reinstalled the binding but nothing seems to fix it. :frowning:

Hi,
it seems that LastVoiceCommand does not work anymore on my OH3 (3.2.0.SNAPSHOT).
I look into the Alexa app - privacy and the lastvoicemessage are still there but probably not passed to the binding.
Any Idea how to solve?
Regards
Lorenzo

Seems the problem is back. We’re working on a solution. Nothing you can do at the moment.

Thanks for the quick answer … and good luck ! we are on your hands :wink:

If this can help : i noticed that, in my case, the problem came back just after a restart (I restarted for another reason).
Weird behaviour that I dont understand.
Why there is an “old” socket stable, and when we restart the “new” socket close with 1005 error ?

Just coincidence. I didn’t restart and experience the same issue, too.

Could it be that we are dealing with a certificate problem?

I know from another context that an important root certificate expired on October 1st, 2021 that caused all kinds of problems because the underlying certificates require a new certificate chain and intermediate certificates. Of this was z. B also “CertifyTheWeb” and “LetsEncyrpt” affected …

Here is an excerpt from the mail I received at the time …

As per our previous email a couple of weeks ago, all of our customers should now be aware of the Let’s Encrypt root certificate (DST Root CA X3) expiry last week (replaced by their newer ISRG Root X1 root certificate). This root certificate affects how your own certificates are trusted by browsers and other software.

I don’t now about the architecture of this binding, but the websocket needs correct SSL/TLS-Certification…or not ?

Just an idea…Ralph

I’ve been having the same problem over the last few days also. Hope there’s a fix for it.

No, Amazon Switched protocol

1 Like