Skip to content

Same Android TV device cannot be controlled by multiple Remote Two devices #39

@zehnm

Description

@zehnm

Description

An Android TV device can only be controlled by one Remote Two device. As soon as a new R2 is paired with the device, the pairing of the other R2 becomes invalid:

DEBUG:androidtvremote2:Connection lost. Error: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] ssl/tls alert certificate unknown (_ssl.c:2580)

How to Reproduce

  1. R2.1: pair with Android TV
  2. Verify 1 works
  3. R2.2: pair with Android TV
  4. Verify 2 works
  5. As long as R2.1 doesn't reboot (or probably doesn't reconnect to Android TV) it's still working
  6. Reboot R2.1
  7. --> R2.1 no longer works, see certificate error in the logs
  8. R2.2 still works, even after a reboot

Expected behavior

Multiple R2 can control the same Android TV device.

Integration version

0.4.6

Additional context

This might be caused to the hardcoded client_name passed to AndroidTVRemote:
https://github.com/unfoldedcircle/integration-androidtv/blob/v0.4.6/intg-androidtv/tv.py#L97

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions