Jump to content

Issue with Distinct Devices on different Bridges but with same IDs


residualimages

Recommended Posts

Posted (edited)

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.

image.png.25a33355e5a8be76f3558505ff57614a.png

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
-->
{...,"2ca84fd8092bd8a2":...,"1475068761b3a53e":...,"da5a6c19104fa387":...}

==========================================================================

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
-->
{...,"2ca84fd8092bd8a2":...,"e7a0dae4af78e1b0":...,"da5a6c19104fa387":...}

 

Edited by residualimages
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...