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] Duplicate sequence names not handled #333

Closed
sddgit opened this issue Jan 7, 2021 · 0 comments
Closed

[BUG] Duplicate sequence names not handled #333

sddgit opened this issue Jan 7, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sddgit
Copy link

sddgit commented Jan 7, 2021

Describe the bug
If you have multiple Harmony activities with the same sequence names, errors are thrown and not all the sequences are added.

To Reproduce
Have sequences with the same names in more than one Harmony activity.

Expected behavior
All the sequences to be added, perhaps with something like (2) or (3) at the end of the duplicate names.

IOS (please complete the following information):

  • Version 14.3
  • Device: iPhone X

Logs
[1/1/[1/1/2021, 6:46:14 PM] Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 1b544333-2b0b-46d5-8f2b-a4dabedb4bb4
at Bridge.Accessory._this.addBridgedAccessory (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:416:15)
at /Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/src/server.ts:310:19
at Array.filter ()
at Server.restoreCachedPlatformAccessories (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/src/server.ts:270:69)
at Server.start (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/src/server.ts:158:10)
at cli (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)

Config
"name": "Lounge",
"hubIP": "192.168.0.244",
"TVAccessory": true,
"mainActivity": "TV",
"playPauseBehavior": true,
"numberOfCommandsSentForVolumeControl": 7,
"switchAccessories": true,
"activitiesToPublishAsAccessoriesSwitch": [
"TV",
"Apple TV",
"Disc",
"Roon"
],
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSlider": false,
"publishGeneralVolumeSwitches": true,
"linkVolumeControlToTV": true,
"publishSwitchActivitiesAsIndividualAccessories": false,
"sequencesToPublishAsAccessoriesSwitch": [
"SEVEN",
"NINE",
"TEN",
"ABC",
"ABC NEWS"
],
"publishSequencesAsIndividualAccessories": false

@sddgit sddgit added the bug Something isn't working label Jan 7, 2021
@nicoduj nicoduj added this to the 1.5.0 milestone Jan 24, 2021
@nicoduj nicoduj mentioned this issue Jan 24, 2021
@nicoduj nicoduj closed this as completed Feb 20, 2021
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