Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Television device not discovered if Channel item type is string #478

Closed
erelor opened this issue Jan 31, 2022 · 4 comments
Closed

Television device not discovered if Channel item type is string #478

erelor opened this issue Jan 31, 2022 · 4 comments
Labels

Comments

@erelor
Copy link

erelor commented Jan 31, 2022

Alexa can't discover Television device if Channel item type is String. Everything works if the channel type is Number.
If channel item type is Number: Alexa discover the device as a TV set and I can change channel item value by voice.
If channel item type is String: Alexa doesn't discover the device.

Here the configuration that doesn't work

Group item
"TVSoggiorno": { "class": "org.openhab.core.items.ManagedItemProvider$PersistedItem", "value": { "groupNames": [ "gSoggiorno" ], "itemType": "Group", "tags": [ "Equipment" ], "label": "TV Soggiorno", "category": "" } },

Group metadata
"alexa:TVSoggiorno": { "class": "org.openhab.core.items.Metadata", "value": { "key": { "segments": [ "alexa", "TVSoggiorno" ], "uid": "alexa:TVSoggiorno" }, "value": "Television", "configuration": {} } },

Channel item
"TVSoggiorno_Channel": { "class": "org.openhab.core.items.ManagedItemProvider$PersistedItem", "value": { "groupNames": [ "TVSoggiorno" ], "itemType": "String", "tags": [ "Point" ], "label": "Channel", "category": "" } },

Channel metadata
"alexa:TVSoggiorno_Channel": { "class": "org.openhab.core.items.Metadata", "value": { "key": { "segments": [ "alexa", "TVSoggiorno_Channel" ], "uid": "alexa:TVSoggiorno_Channel" }, "value": "Television.Channel", "configuration": {} } },

@jsetton
Copy link
Collaborator

jsetton commented Jan 31, 2022

Alexa can't discover Television device if Channel item type is String. Everything works if the channel type is Number.

Are you using the LG webOS binding by any chance? If so, there is a known issue which has been introduced by a recent change to the channel integration for String item type (#468) and has been fixed (#477) but not yet release into the live skill. You can read this forum post for more information. The workaround is to set the metadata parameter channelMappings.

@jsetton
Copy link
Collaborator

jsetton commented Feb 3, 2022

@erelor any chance you can clarify your use case? We are planning to cut a patch release shortly including the change mentioned above for the upcoming OH 3.3 release. Thanks.

@erelor
Copy link
Author

erelor commented Feb 4, 2022

Yes, I use LG webOS binding

@jsetton
Copy link
Collaborator

jsetton commented Feb 4, 2022

Thanks for confirming. I will close this issue since it is a known issue and fixed by #477.

@jsetton jsetton closed this as completed Feb 4, 2022
@jsetton jsetton added bug and removed question labels Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants