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

AppSelector trait for TV #199

Closed
andiwirs opened this issue Mar 19, 2021 · 5 comments
Closed

AppSelector trait for TV #199

andiwirs opened this issue Mar 19, 2021 · 5 comments

Comments

@andiwirs
Copy link

As requested in the forum:

The Smart Home Television Guide also shows a trait “AppSelector” for starting apps like Netflix or Youtube.
It would be nice to have this available in Openhab as well

@michikrug
Copy link
Collaborator

Hey, what item type you would like to connect here?

Maybe you can construct an example scenario with openHAB items how this trait would work for you.

Thanks.

@andiwirs
Copy link
Author

Hey thanks for taking the time to consider adding this feature. My setup works as follows:
On my TV i have Tasker running, which is waiting for HTTP Requests to start apps. For that I have defined a String item which triggers a rule that handles some tasks for preparation, like setting a default source, volume etc. and the http request of course.

Item
String	St_MultimediaPreset_Lr	"Multimedia Preset [%s]"	(gPersist_MapDB_Restore)
Sitemap
Selection item=St_MultimediaPreset_Lr mappings=["Off"="Off", "Startseite"="Startseite", "TV"="TV", "ARD Mediathek"="ARD Mediathek", "ZDFmediathek"="ZDFmediathek", "YouTube"="YouTube", "Netflix"="Netflix", "Kodi"="Kodi", "ARTE"="ARTE", "Steamlink"="Steamlink", "Chromecast built-in"="Chromecast built-in"]

So it would be perfect (for my setup) if i was able to set that String Item "St_MultimediaPreset_Lr" to one of the predefined values via Google Assistant :)

@Legion2
Copy link

Legion2 commented Mar 21, 2021

I think this is related to #178

@michikrug
Copy link
Collaborator

Please have a look at #201

@andiwirs
Copy link
Author

andiwirs commented May 3, 2021

Thanks for merging #201
Cannot wait for it to be deployed :)

@andiwirs andiwirs closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants