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

Cannot add a Service with the same UUID '00000049-0000-1000-8000-0026BB765291' as another Service in this Accessory without also defining a unique 'subtype' property. #2

Open
simplenotezy opened this issue Oct 28, 2020 · 3 comments

Comments

@simplenotezy
Copy link

I am getting the following error:

[Brunt Plug] start checking device...
[10/28/2020, 6:06:26 PM] Error: Cannot add a Service with the same UUID '00000049-0000-1000-8000-0026BB765291' as another Service in this Accessory without also defining a unique 'subtype' property.
    at Accessory._this.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:278:17)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:488:21
    at Array.forEach (<anonymous>)
    at Server.createHAPAccessory (/usr/local/lib/node_modules/homebridge/src/server.ts:477:16)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:360:30
    at Array.forEach (<anonymous>)
    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:330:29)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:156:12)
    at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
[10/28/2020, 6:06:26 PM] Got SIGTERM, shutting down Homebridge...
[Brunt Plug] Brunt Plug (f5d4e5c7fc694554) - 226.4V 0A 0W 32°C
[Brunt Plug] Brunt Plug (f5d4e5c7fc694554) - 226.4V 0A 0W 32°C
[Brunt Plug] Brunt Plug (f5d4e5c7fc694554) - 226.2V 0A 0W 32°C
[Brunt Plug] Brunt Plug (f5d4e5c7fc694554) - 226.2V 0A 0W 32°C

Most likely because I have two devices on my Brunt account

@simplenotezy
Copy link
Author

Deleting my other Brunt device solved the issue. This plugin only supports accounts with ONE brunt device

@rainbowicenow
Copy link

Hi, did you managed to get multiple devices work in the system?

@simplenotezy
Copy link
Author

@rainbowicenow nope 😊 but I guess it should be simple enough to fix with a PR to this library

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