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

Key Control and TV Control capabilities missing on Android TV #254

Open
theCanabrava opened this issue Apr 24, 2023 · 2 comments
Open

Key Control and TV Control capabilities missing on Android TV #254

theCanabrava opened this issue Apr 24, 2023 · 2 comments

Comments

@theCanabrava
Copy link

I've been working on a TV Remote app and was able to successfully connect to an Android TV.

However, the following necessary controls are missing:
 - Key control
 - TV control
 - Power control
 
All I could get working was the volume control, and the remaining buttons are without functionality.
The TV model is a Xiaomi TV.

Did anyone else have similar problems?
Does anyone know if there is a way to fix this?

@Kanagizhe
Copy link

I also encountered this problem on Xiaomi TV. When I printed device.capabilities, I found that keyControl, powerControl, and TVControl are not supported. Have you solved this problem?

@HarshadTechmero
Copy link

HarshadTechmero commented Apr 15, 2024

Hi @theCanabrava @Kanagizhe

i am also working on TV Connect App, I am able to fetch list SmartTV but after connect connectable device not shown pairing code,I have code but device not show any pairing code

self.connectedDevice = obj self.connectedDevice?.delegate = self self.connectedDevice?.setPairingType(DeviceServicePairingTypeMixed) self.connectedDevice?.connect()

Try with pairingType DeviceServicePairingTypeMixed, DeviceServicePairingTypePinCode and DeviceServicePairingTypeFirstScreen but no luck

Can you please help if possible

is there any capability or permission require for pairing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants