-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
Android TV sendevent not working on GoogleTV (CCwGTV) and input method slow. #73147
Comments
androidtv documentation |
Hey there @JeffLIrion, @ollo69, mind taking a look at this issue as it has been labeled with an integration ( |
@cdce8p Maybe you can also have a look, please? |
Looks like this comes down to SELinux policy. Android 10 added this policy to shell.te:
|
Seems the new SELinux policy causes the user to receive: I'd recommend updating the documentation if there really is no solution to this problem. |
The problem
The sendevent method is not working on the CCwGTV since permission error is returned. The device cannot be rooted to circumvent this issue. Using the default input command is quite slow. This is a known issue and has been documented in quite a few forums. However, I'd like to make a recommendation for a solution:
SCRCPY has a working solution which is fast and supports unrooted devices. It would be great if that snappy functionality could also be implemented into HomeAssistant. It works on unrooted devices and nothing needs to be installed on the device. And it is open source, so it shouldn't be too much effort identifying and copying the relevant functionality.
https://github.com/Genymobile/scrcpy
Genymobile/scrcpy#2248
What version of Home Assistant Core has the issue?
2022.6.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Android TV
Link to integration documentation on our website
https://www.home-assistant.io/integrations/androidtv/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: