I installed this Smart App and app of the appropriate Device Handlers for my setup, and then spent 3 hours troubleshooting why the Application never links my Hue Bridge.
- My Hue Bridge is Online and functioning correctly, on it’s own and as a device in SmartThings.
- Looking at logs in IDE, the Smart App is discovering and then rediscovering my bridge, but the routine in Automations never ends and never returns my Bridge
- I Validated that my Smart App and all DH are in IDE and Published.
- There are no Ghost app references as stayed in another post for another user having this issue.
- I went as far as removing everything (DH’s and Smart App and redeploying - didn’t fix.
- I removed all Device Handlers and ran test to find out that the bridge discovery is performed specifically by the App itself and doesn’t need the Device Handlers (did this to test with less complexities with logging)
- I powered off / powered on Hue Hub to make sure. Didn’t fix.
- I rebooted SmartThings - Didn’t fix
- Even pressed the button on the Hue Bridge while Hue B Smart was searching (some other external apps require this in order to discover). Didn’t fix.
- Based on everything I was seeing in the logs, it appears the App just continuously goes through the process of sending the request, discovers bridge, rediscovers bridge and just stays in lala land.
- I ran the simulator from the Smart App in IDE and the results were the identical messages I was seeing in the normal logs. I am attaching a copy of the log file when running the simulator to see if you can figure out why the app won’t return my bridge when I initiate the process from Automations to search for the bridge.
(FYI - I am not removing my Hue Bridge from SmartThings and losing all my devices and I’m not running cleanup in Hue and losing the scenes and everything I already have in place. Plus my lighting Automations built into routines, ifttt applets, widgets, all my ActionTiles, etc. I shouldn’t have to do this.
I spent too much time getting everything setup correctly. I have 10 a19 -. 3rd gen color bulbs, 1 color strip light, and 1 Hue Go in my setup.
If anyone can help in troubleshooting and debugging why this is happening, that would be greatly appreciated. Everything else in my SmartThings environment is functioning 100%. I would really love to have this complimentary app added to my arsenal of things in ST, but if it comes with the price of removing all my Hue devices previously defined, saved and setup, then it’s not worth it to me.
Here is the log snippet from when I ran the simulator on the Smart App itself:
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:37 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:37 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:37 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:36 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:36 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:36 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:34 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:34 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:34 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:33 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:32 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:32 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:32 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:27 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:27 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:27 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:26 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:26 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:26 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:24 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:24 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:24 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:23 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:23 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:23 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:21 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:21 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:21 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:20 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:20 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:20 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:18 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:18 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:18 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:17 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:17 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:17 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:15 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:15 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:15 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:14 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:14 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:34:14 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:48 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:48 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:48 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:47 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:47 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:47 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:43 PM: debug Bridge discovery sent.
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:43 PM: debug Sending bridge discovery.
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:42 PM: debug Previously found bridge discovered
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:42 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:42 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Found new bridge.
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Discovered bridge 0017882CEA81 (192.168.1.5)
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Discovery Response is [devicetype:04, mac:0017882CEA81, networkAddress:C0A80105, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882cea81, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:fb5ff866-9f7e-481d-bcb8-285076f92738].
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Sending bridge discovery.
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Doing Hue Device Sync! inItems = null
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Initialize.
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:41 PM: debug Updated with settings: [:]
9e1ab2d9-fe57-44f9-8958-ce717ed1d090 2:33:18 PM: debug Sending verify request for 0017882CEA81 (192.168.1.5:80)
Greatly appreciated,
WB