residualimages Posted December 8, 2023 Posted December 8, 2023 (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. 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 December 8, 2023 by residualimages
Recommended Posts