Amazon Echo Control Binding OH3 no channels in UI

Hi, since upgrading to OH3 I can’t create equipment from any “amazonechocontrol:smartHomeDevices” via the UI. This is a real strange one and I spotted some users having a similiar issue in this thread but there’s a typo in the name so I’m not sure if that’s why it hasn’t been picked up:

Here’s some additional information that should hopefully help:

In the OH 3 when I try to create equipment from any Smarthome Device I see no channels. Other items i.e. “amazonechocontrol:echo” work and those devices have channels in the UI. These screen shots are for a simple Smarthome controlled plug with a power state. When I try and create equipment I get the following error:

If I click ‘Expert Mode’ I get the following error:

However if I access the Thing via VS code using the API I see the expected channel ‘PowerState’ here’s a screenshot:

Using the Developer tools API explorer I see the following ( I’ve XXX out my specific numbers):

{
"statusInfo": {
  "status": "ONLINE",
  "statusDetail": "NONE"
},
"editable": true,
"label": "DD Mirror light",
"bridgeUID": "amazonechocontrol:account:XXXXX",
"configuration": {
  "id": "SKILL_XXXXXX"
},
"properties": {},
"UID": "amazonechocontrol:smartHomeDevice:XXXXXXXXXXXXX",
"thingTypeUID": "amazonechocontrol:smartHomeDevice",
"channels": [
  {
    "linkedItems": [],
    "uid": "amazonechocontrol:smartHomeDevice:XXXXXXXXXXXXX:powerState",
    "id": "powerState",
    "channelTypeUID": "amazonechocontrol:powerState",
    "itemType": "Switch",
    "kind": "STATE",
    "defaultTags": [],
    "properties": {},
    "configuration": {}
  }
]

},

That looks correct if I compare it to another Thing with channels that display fine in the UI and confirms again that the API is aware of the channels they just don’t appear in the UI.

I’ve tried this on my upgraded OH2 system and a clean OH3 build and both times get the same result. I could work around this creating OH3 equipment using text files but I wonder if others are having this issue and if the screen shots and detail would help diagnose the issue.

Thanks in advance.

That channel doesn’t have a label, could be this confusing the UI.
Please check the output of the console in the (browser) developer tools (F12) for errors & report.

I think you are on to something :slight_smile:

Looking at Console in Dev tools I see the error:

So is that an issue in the binding?

If that channel type amazonechocontrol:powerState really doesn’t exist, then yes I would say so.

    <channel-type id="powerState">
		<item-type>Switch</item-type>
		<label>Power State</label>
		<description>Power State</description>
	</channel-type>

@LewisH could you do the following:

  • in the main UI go to Developer Tools > API Explorer
  • then open channel-types and GET /channel-types
  • click “Try it out” on the right
  • Type “amazonechocontrol” in the prefixes text box
  • Click Execute
  • Paste the results under “Response body”.

Thx!

No problem. Doing that I get the response:

[
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Save the current flash briefing configuration (Write only)",
    "label": "Save",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:save",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Activate this flash briefing configuration",
    "label": "Active",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:active",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Plays the briefing on the device (serial number or name, write only)",
    "label": "Play On Device",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:playOnDevice",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Connected bluetooth device",
    "label": "Bluetooth Device",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:bluetoothDeviceName",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Id of the radio station",
    "label": "TuneIn Radio Station Id",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:radioStationId",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Speak the reminder and send a notification to the Alexa app",
    "label": "Remind",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:remind",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "The command which must be spoken to active the routing without the preceding \"Alexa,\" (Write Only)",
    "label": "Start a Routine",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:startRoutine",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Plays an alarm sound",
    "label": "Alarm Sound",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:playAlarmSound",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Id of the amazon music track",
    "label": "Amazon Music Track Id",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:amazonMusicTrackId",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Amazon Music turned on",
    "label": "Amazon Music",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:amazonMusic",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Amazon Music play list id (Write only, no current state)",
    "label": "Amazon Music Play List Id",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:amazonMusicPlayListId",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Id of the playlist which was started with openHAB",
    "label": "Amazon Music Last Selected Playlist Id",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:amazonMusicPlayListIdLastUsed",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Name of music provider",
    "label": "Provider Name",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:providerDisplayName",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "MAC-Address of the bluetooth connected device",
    "label": "Bluetooth Connection",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:bluetoothMAC",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Url of the album image or radio station logo",
    "label": "Image Url",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:imageUrl",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Title",
    "label": "Title",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:title",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Subtitle 1",
    "label": "Subtitle 1",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:subtitle1",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Subtitle 2",
    "label": "Subtitle 2",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:subtitle2",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Radio turned on",
    "label": "TuneIn Radio",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:radio",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Connect to last used device",
    "label": "Bluetooth Connection",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:bluetooth",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Loop",
    "label": "Loop",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:loop",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Shuffle play",
    "label": "Shuffle",
    "itemType": "Switch",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:shuffle",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Music Player",
    "label": "Player",
    "itemType": "Player",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:player",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Volume of the sound",
    "label": "Volume",
    "itemType": "Dimmer",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:volume",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Equalizer Treble",
    "label": "Treble",
    "itemType": "Number",
    "kind": "STATE",
    "stateDescription": {
      "minimum": -6,
      "maximum": 6,
      "step": 1,
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:equalizerTreble",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Equalizer Midrange",
    "label": "Midrange",
    "itemType": "Number",
    "kind": "STATE",
    "stateDescription": {
      "minimum": -6,
      "maximum": 6,
      "step": 1,
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:equalizerMidrange",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Equalizer Bass",
    "label": "Bass",
    "itemType": "Number",
    "kind": "STATE",
    "stateDescription": {
      "minimum": -6,
      "maximum": 6,
      "step": 1,
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:equalizerBass",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Music provider",
    "label": "Music Provider",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:musicProviderId",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Voice command as text. E.g. 'Yesterday from the Beatles' (Write only)",
    "label": "Music Voice Command",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:playMusicVoiceCommand",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Sends a message to the Echo devices (Write only).",
    "label": "Send Message",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:sendMessage",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Display the announcement message on the display (Write only). See in the tutorial section of the binding description to learn how it's possible to set the title and turn off the sound.",
    "label": "Announcement",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:announcement",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Speak the text (Write only). It is possible to use plain text or SSML: <speak>I want to tell you a secret.<amazon:effect name=\"whispered\">I am not a real human.</amazon:effect>.Can you believe it?</speak>",
    "label": "Speak",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:textToSpeech",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Volume of the Speak channel. If 0, the current volume will be used.",
    "label": "Speak Volume",
    "itemType": "Dimmer",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:textToSpeechVolume",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Run a command (Write only). The command can run like a spoken command.",
    "label": "TextCommand",
    "itemType": "String",
    "kind": "STATE",
    "tags": [],
    "UID": "amazonechocontrol:textCommand",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Last voice command spoken to the device. Writing to the channel starts voice output.",
    "label": "Last Voice Command",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:lastVoiceCommand",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Media progress in percent",
    "label": "Media Progress",
    "itemType": "Dimmer",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:mediaProgress",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Media play time",
    "label": "Media Play Time",
    "itemType": "Number:Time",
    "kind": "STATE",
    "stateDescription": {
      "pattern": "%d %unit%",
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:mediaProgressTime",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Media length",
    "label": "Media Length",
    "itemType": "Number:Time",
    "kind": "STATE",
    "stateDescription": {
      "pattern": "%d %unit%",
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:mediaLength",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Start information (Write only)",
    "label": "Start",
    "itemType": "String",
    "kind": "STATE",
    "stateDescription": {
      "pattern": "String",
      "readOnly": false,
      "options": [
        {
          "value": "Weather",
          "label": "Weather"
        },
        {
          "value": "Traffic",
          "label": "Traffic"
        },
        {
          "value": "GoodMorning",
          "label": "Good morning"
        },
        {
          "value": "SingASong",
          "label": "Song"
        },
        {
          "value": "TellStory",
          "label": "Story"
        },
        {
          "value": "FlashBriefing",
          "label": "Flash briefing"
        }
      ]
    },
    "tags": [],
    "UID": "amazonechocontrol:startCommand",
    "advanced": false
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Notification Volume",
    "label": "Notification Volume",
    "itemType": "Dimmer",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:notificationVolume",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Ascending alarm up to the configured volume",
    "label": "Ascending Alarm",
    "itemType": "Switch",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": false,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:ascendingAlarm",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Next Reminder",
    "label": "Next Reminder",
    "itemType": "DateTime",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:nextReminder",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Next alarm",
    "label": "Next Alarm",
    "itemType": "DateTime",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:nextAlarm",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Next music alarm",
    "label": "Next Music Alarm",
    "itemType": "DateTime",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:nextMusicAlarm",
    "advanced": true
  },
  {
    "parameters": [],
    "parameterGroups": [],
    "description": "Next timer",
    "label": "Next Timer",
    "itemType": "DateTime",
    "kind": "STATE",
    "stateDescription": {
      "readOnly": true,
      "options": []
    },
    "tags": [],
    "UID": "amazonechocontrol:nextTimer",
    "advanced": true
  }
]

Many thanks for all your help with this.

@J-N-K I don’t see any powerState channel type in the above, do you know why this could be?

My fault. Was fixed only some days ago and was missing in the release version.

2 Likes

Hi, I’ve since switched to the SNAPSHOT release and I can confirm for anyone reading this or linking from the other post that this is fixed and working perfectly…

In the meantime, you can at least use an item with it, but you have to do it with a workaround:

  1. copy the UID for the Thing by changing to “Code”
  2. go to Development Tools - Add Items from Textual Definition
  3. add item via textual configuration and change the channel using the above UID plus “:powerState”
Switch Light_State "On/Off" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:powerState" }

If you’d like to add the item to the right model, just insert the model Group name as usual:

Switch Light_State (yourGroupName) "On/Off" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:powerState" }

Hi, thanks for the fix. I installed 3.1.0~S2135-1 and it works.
There is a slight issue though with Items/Channels naming preventing from adding at least thermostats into model. Autocreated items from both channels containing Temperature are named identically (not adding the expected “targetSetpoint” to item name, causing conflict. See screenshot. Pls have a look.

Thank you

Confirmed. Fixed.

1 Like

Confirmed as fixed in current snapshot. You’re perfect. Thank you

1 Like

hello everybody,
i´m new i openhab and have set up an openhab 3 which also works.
I have the problem that I want to have some devices connected via Amazon Alexa with this addon to oh3.

i can see the devices as things, but i have no channel.
the add-on is displayed in v.3.0.1. do I have to import this fix somehow differently?
image

many thanks for your help

Christian

Hi, AFAIK the fix is not included in 3.0.1 hotfix, try snapshot or 3.1.0 M1. I’m running 3.1.0~S2196-1 without issues.

Good luck, Robert