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

homebridge restarts frequently after experiencing an address collision #48

Open
KlinkOnE opened this issue Jan 19, 2023 · 3 comments
Open

Comments

@KlinkOnE
Copy link

Hi,

first of all thanks for the plugin.
I have a fresh installation of homebridge and your plugin nothing else on a raspi 4b.
Unfortunately i have know knowledge about homebridge yet.

I am getting following error frequently.

192.168.178.70 Remote Connection closed false Start Remote Connect 192.168.178.70 Remote secureConnect 192.168.178.70 Receive : {"remoteConfigure":{"code1":639,"deviceInfo":{"model":"Android TV","vendor":"My","unknown1":1,"unknown2":"9","packageName":"com.google.android.tv.remote.service","appVersion":"5.2.473254133"}}} Create Remote {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"Raspberry Pi 4 Model B Rev 1.1","vendor":"Raspberry Pi Foundation","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}} Sending {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"Raspberry Pi 4 Model B Rev 1.1","vendor":"Raspberry Pi Foundation","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}} [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Discover : { host: '192.168.178.70', name: 'Nelly TV', paired: true, pairing: false, powered: false, online: true, started: true, volume_max: 100, volume_current: 0, volume_muted: true, app_package_current: '', type: 31 } [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Registering device 25bb9aa1-d40b-436b-ad74-00901d429c3b [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding channel Test 29f69f46-bafb-4f7d-93fa-2ffa6a998a63 [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding key Power 01201d60-4afc-4377-a583-d129fe097eb0 [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding key VolUp cc67dbe5-d540-432a-9a06-4bf1ea535f43 [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding key VolDown 2bbd0076-a96e-4ddd-9ffc-d772f8ed1ccd [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding key Home 072aff31-dd13-45ad-9666-415070c53542 [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding key Mute 39e90703-ce07-4009-992f-2306f0870d00 [19.1.2023, 13:37:01] [HomebridgeAndroidTV] Nelly TV Adding application Netflix 9e7c505d-223d-46be-9d73-8f093d50b4ed [19.1.2023, 13:37:01] Error: Accessory Nelly TV experienced an address collision. at BridgeService.handlePublishExternalAccessories (/var/lib/homebridge/node_modules/homebridge/src/bridgeService.ts:419:15) at processTicksAndRejections (node:internal/process/task_queues:95:5) 192.168.178.70 Receive : {"remoteSetActive":{}} Create Remote {"remoteSetActive":{"active":622}} Sending {"remoteSetActive":{"active":622}} [19.1.2023, 13:37:01] Got SIGTERM, shutting down Homebridge...

Any idea what is causing this?

@louis49
Copy link
Owner

louis49 commented Jan 19, 2023

I had it only on debugging : you need to clean your homebridge folders

@KlinkOnE
Copy link
Author

If you mean removing directories accessories and persist then this does not solve the problem.
same Error

anything else i can do?

@KlinkOnE
Copy link
Author

KlinkOnE commented Jan 22, 2023

Ok this is related to solved issues #30 and #7.

For Solution as within #7

  • disabling USB-Debugging at TV makes the issue appear far less frequent (from minutes to hours)
  • maybe this circumstance could be added to the plugin description because USB-Debugging/ADB is often used for controlling the tv by other application

For Solution as within #30

  • @andycylam mentioned possible solution by making device discovery conditional depending if uuid is already existing

Unfortunately i have no idea how to do this.

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

2 participants