Release Candidate and Support: Amazon Echo Control Binding

There has been a problem with an update of the community software and posts of ~2 days vanished / could not be restored, AFAIK.

Hi there,
I need to control a security system that has no Openhab binding but I can arm&disarm from alexa by his skill.
I can’t use a routine as the system does not appear on “do this” section of the routine.
I think I should use a textcommand channel. I can’t find any info if this is possible. I’m using a 2.5.9 OH, and in Echo binding I can’t find this channel. Maybe I have to upgrade to OH3 to find an upgrade of the Echo binding?
Thank you.
Andrea
Thank you Andrea

you can do this - I am doing it with my reverse cycle air conditioner.
On your Amazon Account thing change the discovery to Direct and over Alexa Skill
You will then have items appear for EVERY Alexa item you have (so careful of duplicates)
Once you have discovered and found, you can change it back to No Discovery again

2 Likes

Thank you Andrew!
I didn’t remember I had to change the discovery in the account thing.
Now I see it.
Going to try to arm/disarm from rules, it works!
Andrea

1 Like

I’m not seeing any channels available for smart home device or Alexa guard. I can add the things, but they don’t have any channels. Do I need to add them manually somehow?

I’m using OH3.1 with openHabian

Same here I am migrating over - have discovered all my smart home things but without channels cant do much?

EDIT:
My openHAB instance seemed to revert back to 2.5.12. I’ve uninstalled this, and it’s picked up the 2.5.13-SNAPSHOT version from the addons directory, and all is OK again!

==============================================

Unfortunately I seem to be getting this error again :frowning:

[rnal.common.AbstractInvocationHandler] - An error occurred while calling method ‘ThingHandler.handleCommand()’ on ‘org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler@2c6275’: GET url ‘https://alexa.amazon.com/api/behaviors/automations?limit=2000 1’ failed: Not Found
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url ‘https://alexa.amazon.com/api/behaviors/automations?limit=2000 1’ failed: Not Found

I’m still on openHAB 2, using the build from

I’m not able to change to openHAB 3 any time soon and learn how it works as I’m snowed under and can’t put the time aside yet, but this is one of my core bindings, and not having it working is causing issues :frowning:

Any assistance would be hugely appreciated.

I’m using version 2.5.12, sometimes I got an error.
I send a command to an item and I obtain:
2021-04-04 18:43:04.604 [INFO ] [mazonechocontrol.internal.Connection] - {“controlRequests”:[{“entityId”:“xxxx”,“entityType”:“APPLIANCE”,“parameters”:{“action”:“controlSecurityPanel”,“armState”:“ARMED_NIGHT”}}]}
2021-04-04 18:43:04.606 [INFO ] [mazonechocontrol.internal.Connection] - Answer:
2021-04-04 18:43:04.607 [INFO ] [mazonechocontrol.internal.Connection] - {“entity”:{“entityId”:“xxxx"entityType”:“APPLIANCE”},“code”:“IotaServiceException”,“message”:“IOTA_SERVICE_EXCEPTION”,“data”:null}

This happens sometimes, sometimes it works. Is there a way to trigger if it doesn’t work?
Do you think it depends from the load on Amazon servers?

Andrea

I too have tried 2.5.13 and can confirm it still does not come online.
If you need additional logs or debug doing let me know and I will try and supply.
Regards
Paul

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