Release Candidate and Support: Amazon Echo Control Binding

Thanks jwiseman, I take it no one ever fixed the websockets fail errors :frowning:

15:16:12.909 [WARN ] [ntrol.internal.handler.AccountHandler] - handling of websockets fails
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url ‘’ failed: Bad Request
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequest( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.Connection.makeRequestAndReturnString( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.Connection.getActivities( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handlePushActivity( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.handleWebsocketCommand( ~[272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.handler.AccountHandler.webSocketCommandReceived( [272:org.openhab.binding.amazonechocontrol:]
at org.openhab.binding.amazonechocontrol.internal.WebSocketConnection$AmazonEchoControlWebSocket.onWebSocketBinary( [272:org.openhab.binding.amazonechocontrol:]
at sun.reflect.GeneratedMethodAccessor1997.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?]
at java.lang.reflect.Method.invoke( ~[?:?]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at org.eclipse.jetty.websocket.common.message.SimpleBinaryMessage.messageComplete( [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame( [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame( [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at org.eclipse.jetty.websocket.common.Parser.notifyFrame( [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at org.eclipse.jetty.websocket.common.Parser.parse( [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]
at [92:org.eclipse.jetty.websocket.common:9.4.11.v20180605]

@jwiseman would you happen to know where I could get the latest nightly build for this binding?

I’m looking for the fix right after the one completed by @J-N-K



It doesn’t exist, the 2.5.x build process is broken. I asked @Kai about it w/o a response yet.

I agree its frustrating.

Sorry, Jay

ok thanks – I broke down and installed everything I needed to compile the binding. I now have the latest copy of this binding in my environment. It seems like its working as expected and the issue I had with parsing DateTime is now fixed.

If anyone needs the binding, let me know where to put it and I’m happy to send it to you.

Thank you,

I’d like the latest copy when you can.

Thanks! Jay

ok – here is a public dropbox link

Dropbox - org.openhab.binding.amazonechocontrol-2.5.13-SNAPSHOT.jar - Simplify your life

BTW – I have rules in place to allow you to say things like “turn on the (device)” in any room in the house and have alexa turn on the correct device. Alexa only turns on the lights natively through the app, but this allows you to have generic names for lamps, TVs, fans, etc. Its a lot more natural than having to remember the specific name of the device.

If anyone is interested, I can post my configs.


Even if you feel like on “Groundhog Day”: i raise my hand up!

Hopefully you don’t mind to post your configs again after they 've got lost in one of these parallel digital universes. :wink:

very strange about what happened to the post – here it is again.

Here is the item file. For each device you want to control you will need to create a Generic_Item and Timer Item. The format of the items are used in the rules files to control the real item in the correct room. Also, your Alexa will need to be configured to turn on/off this Generic_Item whenever you want to turn on the appropriate item. I do this through ha-bridge which is HUE emulation app but you can certainly use openHab for this configuration.

In the future, if you ever need to add another device you want to control, you simply create these two items and get Alexa to discover the generic item and everything will simply work. No other changes are required.


Group:DateTime:LATEST  gLastCommandTime
// Group:DateTime:MAX  gMaxCommandTime 
Group  gLastPhrase 
Group  gGenericDevices
Group:Switch:OR(ON, OFF)  gGenericTimers  

Switch Generic_Fan                      (gGenericDevices)
Switch TimerGeneric_Fan                 (gGenericTimers)                {expire="5S, command=OFF"}
Switch Generic_Lamp                     (gGenericDevices)
Switch TimerGeneric_Lamp                (gGenericTimers)                {expire="5S, command=OFF"}
Switch Generic_LedLight                 (gGenericDevices)
Switch TimerGeneric_LedLight            (gGenericTimers)                {expire="5S, command=OFF"}
Switch Generic_PlayShanana              (gGenericDevices)
Switch TimerGeneric_PlayShanana         (gGenericTimers)                {expire="5S, command=OFF"}
Dimmer Generic_Heat                     (gGenericDevices)
Switch TimerGeneric_Heat                (gGenericTimers)                {expire="5S, command=OFF"}
Dimmer Generic_Air                      (gGenericDevices)
Switch TimerGeneric_Air                 (gGenericTimers)                {expire="5S, command=OFF"}

Each Alexa that you own has to have the lastvoice command be a member of the gLastPhrase group. And a DateTime item has to be created to store the last time this alexa received a command. The name of the item is used in the rules file so stick to the format (or update the rules). I think I missed this the last time I posted. Here is an example from my Kitchen Alexa:

String Echo_Kitchen_LastVoiceCommand       "Last voice command"                    (Alexa_Kitchen, gLastPhrase) {channel="amazonechocontrol:echo:account1:echoshow1:lastVoiceCommand"}
// Time of Last voice command
DateTime Echo_Kitchen_LastVoiceCommandTime                                         (gLastCommandTime)

Because I copied the demo config and the configs from this binding when I first created my items the room names are not entirely consistent. Therefore, I created a map file to find the correct room the Alexa is in and get to the correct device. Here is the map file I use. You will most likely need something similar to find the right room and the correct device to activate.

Echo_Family_Room = FF_FamilyRoom
Echo_Living_Room = FF_LivingRoom
Echo_Dinning_Room = FF_Dining
Echo_Office = FF_Office
Echo_Guest_Room = FF_GuestRoom
Echo_EFL_Room = FF_EmiliaSRoom
Echo_ACL_Room = F2_AmandaSRoom
Echo_Kitchen = FF_Kitchen
Echo_SEL_Room = F2_SophieSRoom
Echo_MasterBed_Room = F2_MasterBedroom

So if I say turn on the fan in the Kitchen, Alexa will turn on the Generic_Fan item and the rules will find that voice command came from the Kitchen Alexa. Once the rules know it was the Kitchen, they will know that Echo_Kitchen is mapped to FF_Kitchen and will ultimately turn on the FF_Kitchen_Fan

The part after the underscore in the Generic_Item identifies the device that will be turned on/off. I parse out the name of the item and look for it in the phrase. For some of my items the item name doesnt match the phrase that I say to Alexa. For those items I have another map file that maps the item name to the phrase I use with Alexa. For instance, I have an item called PlayShanana but I say “sophies bedtime music” to Alexa. If you have those types of situations, you can use the following map file to ensure the correct item maps to the phrase you use with Alexa. If you dont have this situation, you can ignore this file and the code in the rules that reference it.

LedLight = l. e. d.
PlayShanana = sophie's bedtime music

Once you have the items and maps setup, all you need are the rules that make this work. There shouldnt be any changes needed here.


import org.eclipse.smarthome.model.script.ScriptServiceUtil

rule "Get Last Echo Command TimeStamp"

    Member of gLastPhrase changed  

    val String itemName = + "Time"
    val currentTime = new DateTimeType()
    postUpdate(itemName, currentTime.toString )

    // if the timer is on, we're waiting for the utterance to catch up to the switch
    gGenericTimers.members.filter( item | item.state == ON ).forEach[ item |
      //  var GenericItem deviceItem = null 

        item.postUpdate(OFF) // cancel the timer
        val deviceItem = ScriptServiceUtil.getItemRegistry.getItem("Generic_" +'_').get(1))  as GenericItem //by convention the item is xxxTimer _device

        logInfo("Amazon Echo","Sending a Command to {} with value {} to trigger the rule again",, deviceItem.state )
        deviceItem.sendCommand(deviceItem.state.toString) //retrigger my device rule since the phrase just caught up


rule "find alexa that changed device state"

when Member of gGenericDevices received command 

    val String device ='_').get(1)
    val String tmpMapping = transform("MAP","", device)
    val String deviceUtterance = if (tmpMapping == "UNDEF") device else tmpMapping

    // find the room that spoke most recently, but check only the ones where the word 'turn', 'set' and the triggering device is in the phrase
    val turnList = gLastPhrase.members.filter( i | i.state.toString.contains(deviceUtterance.toLowerCase) &&  (i.state.toString.contains("turn") || i.state.toString.contains("set")))
    val mostRecentItem = turnList.sortBy[ i | (ScriptServiceUtil.getItemRegistry.getItem( + "Time").state as DateTimeType).zonedDateTime.toInstant.toEpochMilli ].last 
    val Number maxEpoch = if (mostRecentItem !== null) (ScriptServiceUtil.getItemRegistry.getItem( + "Time").state as DateTimeType).zonedDateTime.toInstant.toEpochMilli else 0
    val Number timeNow = now.millis

    // logInfo ("Amazon Echo", "The most recent echo utterance happened in {} at {}",, maxEpoch)
    // logInfo ("Amazon Echo", "The time now is {} and the time difference is {}", timeNow, (maxEpoch + 5000 - timeNow))

    if ((maxEpoch + 5000) > timeNow) {  //the oldest voice command is less than 5s old
      val String maxItem ="_LastVoiceCommand","")
      var String commandDevice = transform("MAP","",maxItem) + "_" + device
      // a device item doesnt exist 
      if (ScriptServiceUtil.getItemRegistry.getItems(commandDevice).isEmpty) {
         logInfo("Amazon Echo", "No such device: {}; Checking thermostat", commandDevice)
        // check to see if a tstat item was changed
        val String tstatDevice = transform("MAP","", maxItem) + "_" + device 

        if (ScriptServiceUtil.getItemRegistry.getItems(tstatDevice).isEmpty) {
            logInfo("Amazon Echo", "No such thermostat: {}", tstatDevice)

            ScriptServiceUtil.getItemRegistry.getItem(maxItem +"_TTS").sendCommand("This room does not have a controllable " + deviceUtterance.toLowerCase)
        // found a thermostat
        commandDevice = tstatDevice
      // logInfo("Amazon Echo", "Device: {} , ReceivedCommand: {}, FinalCommand: {}", commandDevice, receivedCommand, finalCommand)

      sendCommand(commandDevice, receivedCommand.toString)
    else  {
      // state change happened first or last voice command happened too long ago or someone used controller to change status     
      // start a timer to let the voice utterance happen, if timer finishes before utterance the command was too far in the past
      sendCommand("TimerGeneric_" + device, "ON") 
      // logInfo("Amazon Echo", "Starting Timer on {} to see if the utterance catches up", device)


After getting this working for fans, lamps, leds, I decided I wanted to be able to say turn on the heat or turn off the air from anywhere in the house and the correct thermostat would be set. In order to do that I needed to add a few items and configurations. This shows you what I added, but feel free to not use and comment out the parts that have to do with tstats in the rules file.

Echo_Family_Room = FF_FR_Tstat
Echo_Living_Room = FF_FR_Tstat
Echo_Dinning_Room = FF_FR_Tstat
Echo_Office = FF_Hall_Tstat
Echo_Guest_Room = FF_Hall_Tstat
Echo_EFL_Room = FF_Hall_Tstat
Echo_ACL_Room = F2_Hall_Tstat
Echo_Kitchen = FF_FR_Tstat
Echo_SEL_Room = F2_Hall_Tstat
Echo_MasterBed_Room = F2_Hall_Tstat

This says that when I’m in a some room, I want to control the specific thermostat.
I also created an Air and Heat Dimmer item for each thermostat as such:

Dimmer                              FF_Hall_Tstat_Air                                                                                    (gTstatSwitch)
Dimmer                              FF_Hall_Tstat_Heat                                                                                   (gTstatSwitch)
Number                              FF_Hall_Tstat_HeatSetPoint     "Heat [%d °F]"                                    <heating>           (FF_Hall_Tstat)                                                {channel="omnilink:thermostat:2c8fef01:3:heat_setpoint"}
Number                              FF_Hall_Tstat_CoolSetPoint     "Cool [%d °F]"                                    <snow>              (FF_Hall_Tstat)                                                {channel="omnilink:thermostat:2c8fef01:3:cool_setpoint"}
Number                              FF_Hall_Tstat_SystemMode       "Mode [%s]"                                       <airconditioner>    (FF_Hall_Tstat)                                                {channel="omnilink:thermostat:2c8fef01:3:system_mode"}

Do the same for each thermostat and add these items to the group item gTstatSwitch. I use a Dimmer so that I can set the temperature to a specific value.

These items get turned on/off or set to a specific value from the Generic_Air or Generic_Heat item after you tell Alexa to do something like set the heat to 70. Or turn the heat off.

I have Omni Thermostats, but the code should be similar to any other thermostat. The rules determine if we’re calling for air or heat, then set the cool set point or heat set point appropriately based on how my thermostats work. This is a rule file you will most likely need to modify based on your thermostats.

import org.eclipse.smarthome.model.script.ScriptServiceUtil

rule "air or heat turned on or off"
    Member of gTstatSwitch received command

    var String device ='_').get(3)  // contains "Air" or "Heat"
    var String itemPrefixName ="_" + device,"")  // tstat prefix

    var Number multiplier = 1
    var Number newTemp = triggeringItem.state as DecimalType 
    var String itemSuffix = ""

    if (receivedCommand.toString == "ON" || receivedCommand.toString == "100") multiplier = 1
    else multiplier = -1

    var Number currentTemp = (ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName +"_Temperature").state as DecimalType).intValue
    var Number heatSPTemp = (ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName +"_HeatSetPoint").state as DecimalType).intValue
    var Number coolSPTemp = (ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName +"_CoolSetPoint").state as DecimalType).intValue
    var Number currentState = ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName +"_SystemMode").state as DecimalType

    if (device == "Heat") {
        itemSuffix = "_HeatSetPoint" 
        if (newTemp == 0 || newTemp == 100)  {        
            if (heatSPTemp > currentTemp) currentTemp = heatSPTemp

            newTemp = (currentTemp + (2.75 * multiplier)).intValue
    else {
        itemSuffix = "_CoolSetPoint"
        if (newTemp == 0 || newTemp == 100 ) {
            if (coolSPTemp > currentTemp) currentTemp = coolSPTemp

            newTemp = (currentTemp - (2.75 * multiplier)).intValue
    if (currentState != 3)
        ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName +"_SystemMode").sendCommand(3)

    logInfo("TStat Rules", "currentTemp: {} , newTemp: {}, multiplier: {}", currentTemp, newTemp, multiplier)

    ScriptServiceUtil.getItemRegistry.getItem(itemPrefixName + itemSuffix).sendCommand(newTemp)


Like I said in my last post, I’m happy to help explain any of the code or logic so that you can get your house working like this. This has really been a huge improvement to what Alexa can do on its own.

Now that this is all working in OH 2.5.x, it looks like I need to start thinking about porting it to OH3.

Best wishes,


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.
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


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!

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?

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 ‘ 1’ failed: Not Found
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url ‘ 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?


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.

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
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
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 succeeded
2021-04-06 17:32:15.518 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST{“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 succeeded
2021-04-06 17:32:16.774 [DEBUG] [mazonechocontrol.internal.Connection] - Result of PUT{“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
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 succeeded
2021-04-06 17:32:18.095 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST{“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 ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.smarthome.HandlerSecurityPanelController.updateChannels( ~[?:?]

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
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
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 succeeded
2021-04-06 18:28:59.420 [DEBUG] [mazonechocontrol.internal.Connection] - Result of PUT{“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 succeeded
2021-04-06 18:28:59.945 [DEBUG] [mazonechocontrol.internal.Connection] - Result of POST{“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 ~[?:?]

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