Continuing the discussion from Updated Device Handler Documentation:
@Jim -
In the last 6 weeks, I’ve had a number of problems with “ghost” Hue bridges (service managers) and / or “ghost” Hue lights (child devices) – “ghost” meaning that the service manager / device doesn’t appear in the SmartThings app and often not in the IDE. These “ghosts” prevent addition or removal of new, working service managers and devices. I was therefore very interested in the “Implicit Removal of Child Devices” section of the updated documentation that states a Service Manager needs to remove child devices from SmartThings when (1) the Service Manager removes those devices or (2) the Service Manager itself is uninstalled.
I have 3 comments/questions related to this section:
-
It appears that the Guide describes “Explicit” (not “Implicit”) removal of child devices (and provides code showing “explicit” removal).
-
I don’t understand why ST’s own Hue (Connect) app in the IDE doesn’t follow ST’s own guideline of explicitly removing the child devices? (Especially considering the problems that I - and many others - have had with “ghost” devices). ST’s Sonos (Connect) service manager does this.
-
Will there be any documentation on how one can remove a “ghost” device (or “ghost” service manager) that wasn’t properly removed from SmartThings?
Thanks!