Jump to content

Issue with Distinct Devices on different Bridges but with same IDs


Recommended Posts

I've found this out because I do some duplication of devices from time to time via Bond's backup / restore, particularly with backing up an IR device on one Bridge and restoring on another Bridge.

It seems like devices with the same IDs across multiple Bridges currently fail to be enumerated by the NS / plugin.


The Bridge named Living Room - Left ***68 has 3 devices; it only shows 1, I believe, because the other two devices were restored from / have the same IDs as the "Right Table Lamp (RGB Column" and "Right Table Lamp (Uplight Portion)" devices under the Bridge named Living Room - Right ***40.

Here you can see that the 1st and 3rd device on each of the Bridges is the same ID -- accounting, I think, for the behavior I see in the NS / plugin where Living Room - Left ***68 is missing the two devices shown
(Also, device ID 1475068761b3a53e is already on yet a different Bridge, so that's why Living Room - Right ***40 only shows 2, instead of 3, devices, I am thinking. Hazards of having 5 different Bridges.)

curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://a.b.c.d/v2/bridge
{"name":"Living Room - Right ***40"...}

curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://a.b.c.d/v2/devices


curl -H "BOND-Token: yyyyyyyyyyyyyyyy" -i http://e.f.g.h/v2/bridge
{"name":"Living Room - Left ***68"...}

curl -H "BOND-Token: yyyyyyyyyyyyyyyy" -i http://e.f.g.h/v2/devices


Edited by residualimages
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...