Alexa Skill - TV group members & group item are both discovered by Alexa

Before and after the update of the skill I have used Alexa metadata, therefore I did not expected any impact while reading the notes.

However I have just tried again to remove the tv device & the duplicate devices from Alexa and start a rediscovery:

If the group item has Alexa metadata, than no device is found during discovery. If I remove the Alexa metadata from the group, then it will discover 6 individual devices (= all the members of the oh group, as they have individual metadata) and the group is ignored due to missing metadata.

Therefore it more seems that there is an issue with the group and/or television device type.

Is there any way to lookup a logfile or putting Alexa into a debug mode to see what’s happening?

Removing all OH devices:
To be honest I want to avoid this, as this would break all the routines and groups I have created within Alexa, therefore I hoped that it is enough of I only remove the TV device from Alexa.

Regarding disabling:
At the time when I had all the items discovered two times, I have disabled within the Alexa app the duplicated devices (linked to the group members) and only keep the old TV device (that’s linked to the group) active (to avoid the Alexa will mix up the devices).

Other:
The parent group Wohnzimmer does not have Alexa metadata.

The TV is a LG device using the WebOS binding.
The channel is some internal ID, that is part of the options & commandOptions. Here is the relevant part with a few samples, I have removed the remaining definition to keep it short

{
  "link": "https://XXX/rest/items/EGWohnzimmerFernseher_Channel",
  "state": "7_88_3_0_1089_12003_1",
  "stateDescription": {
    "pattern": "%s",
    "readOnly": false,
    "options": [
      {
        "value": "7_70_1_0_1019_10301_1",
        "label": "1 - Das Erste HD"
      },
      {
        "value": "7_66_2_0_1011_11110_1",
        "label": "2 - ZDF HD"
      },
      {
        "value": "7_88_3_0_1089_12003_1",
        "label": "3 - RTL Television"
      }
      ]
  },
  "commandDescription": {
    "commandOptions": [
      {
        "command": "7_70_1_0_1019_10301_1",
        "label": "1 - Das Erste HD"
      },
      {
        "command": "7_66_2_0_1011_11110_1",
        "label": "2 - ZDF HD"
      },
      {
        "command": "7_88_3_0_1089_12003_1",
        "label": "3 - RTL Television"
      }
      ]
    }

1 Like