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

Multiple groups with the same uniqueID #7760

Open
2 tasks done
Zehir opened this issue May 13, 2024 · 0 comments
Open
2 tasks done

Multiple groups with the same uniqueID #7760

Zehir opened this issue May 13, 2024 · 0 comments

Comments

@Zehir
Copy link
Collaborator

Zehir commented May 13, 2024

Does the issue really belong here?

  • I definitively want to report a bug within deCONZ or its REST-API

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for the bug at hand

Describe the bug

Using the endpoint POST /api/:apiKey/groups I was able to create multiple groups with the same UUID.
On the other side I can't create a sensor with the same unique id;

[
    {
        "error": {
            "address": "/sensors",
            "description": "sensor with uniqueid, 00:1f:ee:00:12:00:08:bb-01-1000, already exists",
            "type": 100
        }
    }
]

Is there any reason I don't know about group unique id not unique ?

Steps to reproduce the behavior

Send a POST /api/:apiKey/groups
With;

{
    "name": "New group",
    "type": "Room",
    "class": "Living room",
    "uniqueid": "AA:BB:CC:DD"
}

Expected behavior

All groups are created but only one should be success and the rest should return an error.

Screenshots

No response

Environment

  • Host system: PC
  • Running method: Windows
  • Firmware version: (26xxyy00)
  • deCONZ : (2.27.0) RC4
  • Device: ConBee II
  • Do you use an USB extension cable: yes
  • Is there any other USB or serial devices connected to the host system? If so: Which?

deCONZ Logs

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant