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

[BUG] Cannot add service with the same UUID. #412

Open
Chrisandersen123 opened this issue Sep 12, 2022 · 3 comments
Open

[BUG] Cannot add service with the same UUID. #412

Chrisandersen123 opened this issue Sep 12, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Chrisandersen123
Copy link

Hello i get this error over and over again. is there something i have done wrong here or is it somekind of bug?

i keep getting this error code in the log.

[9/12/2022, 10:29:38 PM] [Harmony Hub] (undefined)INFO - received discovered hubs xx.x.x.xx|Harmony Hub|15864582
[9/12/2022, 10:29:39 PM] [Harmony Hub] (undefined)INFO - configuring Main TV Service
[9/12/2022, 10:29:39 PM] [Harmony Hub] (undefined)INFO - Creating TV Service
[9/12/2022, 10:29:39 PM] Error: Cannot add a Service with the same UUID '000000D8-0000-1000-8000-0026BB765291' and subtype 'undefined TV' as another Service in this Accessory.
at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:473:17)
at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at HarmonySubPlatform.configureMainService (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:406:17)
at HarmonySubPlatform.readTVAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:248:10)
at HarmonySubPlatform.readAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:170:58)
at /usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:107:27
at processTicksAndRejections (node:internal/process/task_queues:96:5)

[9/12/2022, 10:29:39 PM] Got SIGTERM, shutting down Homebridge...
[9/12/2022, 10:29:39 PM] [Harmony Hub] INFO - shutdown
[9/12/2022, 10:29:44 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[9/12/2022, 10:29:49 PM] [HB Supervisor] Restarting Homebridge...
[9/12/2022, 10:29:49 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[9/12/2022, 10:29:49 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 15496

@Chrisandersen123 Chrisandersen123 added the bug Something isn't working label Sep 12, 2022
@nicoduj
Copy link
Owner

nicoduj commented Sep 13, 2022

Hi,

It seems that there is some problem with cached accessories. Could you try to clean cache or delete accessories through homebridge ui ? Please share your confit also.

@Chrisandersen123
Copy link
Author

Hi, so cleaning the caches on startup works but then i removes the switches from my homekite automations every time i restart the server. Not a big problem once i get homebridge over on a raspberry pie but is there some way to get around this? dont need the tv to show up cause i can controll the tv from homekit natively. I cant seen to be able to remove any accsessories through the homebridge UI?

@nicoduj
Copy link
Owner

nicoduj commented Oct 17, 2022

Hi,
seems strange, there might be some conflict between activity names. Could you share your config and log in debug so I can see the list of devices ?

you can always use dedicated options however to limit what you want to expose (tV accessory or not, whichc activities you wand to show as switches).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants