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
- R2.1: pair with Android TV
- Verify 1 works
- R2.2: pair with Android TV
- Verify 2 works
- As long as R2.1 doesn't reboot (or probably doesn't reconnect to Android TV) it's still working
- Reboot R2.1
- --> R2.1 no longer works, see certificate error in the logs
- 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
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:
How to Reproduce
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_namepassed toAndroidTVRemote:https://github.com/unfoldedcircle/integration-androidtv/blob/v0.4.6/intg-androidtv/tv.py#L97