Closed Kpocius1 closed 6 years ago
For what it's worth, I downloaded the Hue App and it discovered the bridge.
So, it seems your ha-bridge is configured properly. Must be something with the way Smartthings is finding the bridge. Turn on traceupnp in the Bridge Control tab and then post the log here after you try to discover the ha-bridge with Smartthings again.
I turned on traceupnp - is this the log?:
12-20-2017 10:19:26.698 | INFO | Description xml service started.... | com.bwssystems.HABridge.upnp.UpnpSettingsResource |
---|---|---|---|
12-20-2017 10:19:26.830 | INFO | UPNP Discovery Listener starting.... | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 10:19:26.915 | INFO | UPNP Discovery Listener running and ready.... | com.bwssystems.HABridge.upnp.UpnpListener |
I figured out how to get the log:
12-20-2017 14:02:13.157 | INFO | HA Bridge (v5.1.0) starting.... | com.bwssystems.HABridge.HABridge |
---|---|---|---|
12-20-2017 14:02:13.188 | INFO | reading from config file: data/habridge.config | com.bwssystems.HABridge.BridgeSettings |
12-20-2017 14:02:13.654 | INFO | HA Bridge initializing.... | com.bwssystems.HABridge.HABridge |
12-20-2017 14:02:13.677 | INFO | StaticResourceHandler configured with folder = /public | spark.staticfiles.StaticFilesConfiguration |
12-20-2017 14:02:13.693 | INFO | System control service started.... | com.bwssystems.HABridge.SystemControl |
12-20-2017 14:02:13.779 | INFO | Initializing UDP response Socket... | com.bwssystems.HABridge.util.UDPDatagramSender |
12-20-2017 14:02:13.799 | INFO | UDP response Seocket initialized to: 50000 | com.bwssystems.HABridge.util.UDPDatagramSender |
12-20-2017 14:02:13.810 | INFO | Harmony Home created. No Harmony devices configured. | com.bwssystems.HABridge.plugins.harmony.HarmonyHome |
12-20-2017 14:02:13.823 | INFO | Nest Home created. No Nest configured. | com.bwssystems.HABridge.plugins.NestBridge.NestHome |
12-20-2017 14:02:13.828 | INFO | Hue passthru Home created. No Hue passtrhu systems configured. | com.bwssystems.HABridge.plugins.hue.HueHome |
12-20-2017 14:02:13.831 | INFO | HAL Home created. No HAL devices configured. | com.bwssystems.HABridge.plugins.hal.HalHome |
12-20-2017 14:02:13.834 | INFO | MQTT Home created. No MQTT Clients configured. | com.bwssystems.HABridge.plugins.mqtt.MQTTHome |
12-20-2017 14:02:13.836 | INFO | HomeAssistant Home created. No HomeAssistants configured. | com.bwssystems.HABridge.plugins.hass.HassHome |
12-20-2017 14:02:13.841 | INFO | HomeWizard Home created. No HomeWizard gateways configured. | com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome |
12-20-2017 14:02:13.842 | INFO | Command Home for system program execution created. | com.bwssystems.HABridge.plugins.exec.CommandHome |
12-20-2017 14:02:13.850 | INFO | Http Home created. | com.bwssystems.HABridge.plugins.http.HTTPHome |
12-20-2017 14:02:13.851 | INFO | TCP Home created. | com.bwssystems.HABridge.plugins.tcp.TCPHome |
12-20-2017 14:02:13.854 | INFO | UDP Home created. | com.bwssystems.HABridge.plugins.udp.UDPHome |
12-20-2017 14:02:13.856 | INFO | Vera Home created. No Veras configured. | com.bwssystems.HABridge.plugins.vera.VeraHome |
12-20-2017 14:02:13.857 | INFO | Fibaro Home created. No Fibaros configured. | com.bwssystems.HABridge.plugins.fibaro.FibaroHome |
12-20-2017 14:02:13.859 | INFO | Domoticz Home created. No Domoticz devices configured. | com.bwssystems.HABridge.plugins.domoticz.DomoticzHome |
12-20-2017 14:02:13.860 | INFO | Somfy Home created. No Somfys configured. | com.bwssystems.HABridge.plugins.somfy.SomfyHome |
12-20-2017 14:02:13.864 | INFO | LifxDevice Home created. No LifxDevices configured. | com.bwssystems.HABridge.plugins.lifx.LifxHome |
12-20-2017 14:02:13.885 | WARN | Error reading the file: data\group.db - Does not exist or is not readable. continuing... | com.bwssystems.HABridge.dao.GroupRepository |
12-20-2017 14:02:13.885 | INFO | HABridge device management service started.... | com.bwssystems.HABridge.devicemanagmeent.DeviceResource |
12-20-2017 14:02:13.956 | INFO | == Spark has ignited ... | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:02:13.959 | INFO | >> Listening on 0.0.0.0:80 | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:02:13.990 | INFO | Hue emulator service started.... | com.bwssystems.HABridge.hue.HueMulator |
12-20-2017 14:02:14.256 | INFO | Description xml service started.... | com.bwssystems.HABridge.upnp.UpnpSettingsResource |
12-20-2017 14:02:14.361 | INFO | UPNP Discovery Listener starting.... | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:02:14.477 | INFO | UPNP Discovery Listener running and ready.... | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:03:44.600 | INFO | Link button pressed.... | com.bwssystems.HABridge.SystemControl |
12-20-2017 14:04:14.628 | INFO | Link button time ended.... | com.bwssystems.HABridge.LinkButtonPressed |
12-20-2017 14:18:53.561 | INFO | UPNP Discovery Listener - ended, restart found | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:53.563 | INFO | HA Bridge (v5.1.0) reinitialization requessted.... | com.bwssystems.HABridge.HABridge |
12-20-2017 14:18:53.564 | INFO | Going to close all homes | com.bwssystems.HABridge.HABridge |
12-20-2017 14:18:53.564 | INFO | Manager close homes called.... | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.565 | INFO | Closing home: com.bwssystems.HABridge.plugins.tcp.TCPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.565 | INFO | Closing home: com.bwssystems.HABridge.plugins.NestBridge.NestHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.565 | INFO | Closing home: com.bwssystems.HABridge.plugins.hal.HalHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.565 | INFO | Closing home: com.bwssystems.HABridge.plugins.NestBridge.NestHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.565 | INFO | Closing home: com.bwssystems.HABridge.plugins.lifx.LifxHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.566 | INFO | Closing home: com.bwssystems.HABridge.plugins.somfy.SomfyHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.567 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.570 | INFO | Closing home: com.bwssystems.HABridge.plugins.hal.HalHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.571 | INFO | Closing home: com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.572 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.573 | INFO | Closing home: com.bwssystems.HABridge.plugins.udp.UDPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.574 | INFO | Closing home: com.bwssystems.HABridge.plugins.hal.HalHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.575 | INFO | Closing home: com.bwssystems.HABridge.plugins.exec.CommandHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.576 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.581 | INFO | Closing home: com.bwssystems.HABridge.plugins.hass.HassHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.592 | INFO | Closing home: com.bwssystems.HABridge.plugins.harmony.HarmonyHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.596 | INFO | Closing home: com.bwssystems.HABridge.plugins.hal.HalHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.599 | INFO | Closing home: com.bwssystems.HABridge.plugins.udp.UDPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.601 | INFO | Closing home: com.bwssystems.HABridge.plugins.hue.HueHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.602 | INFO | Closing home: com.bwssystems.HABridge.plugins.harmony.HarmonyHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.603 | INFO | Closing home: com.bwssystems.HABridge.plugins.tcp.TCPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.604 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.606 | INFO | Closing home: com.bwssystems.HABridge.plugins.mqtt.MQTTHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.607 | INFO | Closing home: com.bwssystems.HABridge.plugins.domoticz.DomoticzHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.608 | INFO | Closing home: com.bwssystems.HABridge.plugins.exec.CommandHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.614 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.615 | INFO | Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome | com.bwssystems.HABridge.HomeManager |
12-20-2017 14:18:53.649 | INFO | >>> Spark shutting down ... | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:18:53.691 | INFO | done | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:18:58.623 | INFO | reading from config file: data/habridge.config | com.bwssystems.HABridge.BridgeSettings |
12-20-2017 14:18:58.760 | INFO | HA Bridge initializing.... | com.bwssystems.HABridge.HABridge |
12-20-2017 14:18:58.761 | INFO | StaticResourceHandler configured with folder = /public | spark.staticfiles.StaticFilesConfiguration |
12-20-2017 14:18:58.766 | INFO | System control service started.... | com.bwssystems.HABridge.SystemControl |
12-20-2017 14:18:58.768 | INFO | Initializing UDP response Socket... | com.bwssystems.HABridge.util.UDPDatagramSender |
12-20-2017 14:18:58.769 | INFO | UDP response Seocket initialized to: 50000 | com.bwssystems.HABridge.util.UDPDatagramSender |
12-20-2017 14:18:58.770 | INFO | Harmony Home created. No Harmony devices configured. | com.bwssystems.HABridge.plugins.harmony.HarmonyHome |
12-20-2017 14:18:58.771 | INFO | Nest Home created. No Nest configured. | com.bwssystems.HABridge.plugins.NestBridge.NestHome |
12-20-2017 14:18:58.772 | INFO | Hue passthru Home created. No Hue passtrhu systems configured. | com.bwssystems.HABridge.plugins.hue.HueHome |
12-20-2017 14:18:58.773 | INFO | HAL Home created. No HAL devices configured. | com.bwssystems.HABridge.plugins.hal.HalHome |
12-20-2017 14:18:58.774 | INFO | MQTT Home created. No MQTT Clients configured. | com.bwssystems.HABridge.plugins.mqtt.MQTTHome |
12-20-2017 14:18:58.774 | INFO | HomeAssistant Home created. No HomeAssistants configured. | com.bwssystems.HABridge.plugins.hass.HassHome |
12-20-2017 14:18:58.775 | INFO | HomeWizard Home created. No HomeWizard gateways configured. | com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome |
12-20-2017 14:18:58.776 | INFO | Command Home for system program execution created. | com.bwssystems.HABridge.plugins.exec.CommandHome |
12-20-2017 14:18:58.777 | INFO | Http Home created. | com.bwssystems.HABridge.plugins.http.HTTPHome |
12-20-2017 14:18:58.777 | INFO | == Spark has ignited ... | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:18:58.782 | INFO | TCP Home created. | com.bwssystems.HABridge.plugins.tcp.TCPHome |
12-20-2017 14:18:58.787 | INFO | >> Listening on 0.0.0.0:80 | spark.embeddedserver.jetty.EmbeddedJettyServer |
12-20-2017 14:18:58.789 | INFO | UDP Home created. | com.bwssystems.HABridge.plugins.udp.UDPHome |
12-20-2017 14:18:58.791 | INFO | Vera Home created. No Veras configured. | com.bwssystems.HABridge.plugins.vera.VeraHome |
12-20-2017 14:18:58.792 | INFO | Fibaro Home created. No Fibaros configured. | com.bwssystems.HABridge.plugins.fibaro.FibaroHome |
12-20-2017 14:18:58.794 | INFO | Domoticz Home created. No Domoticz devices configured. | com.bwssystems.HABridge.plugins.domoticz.DomoticzHome |
12-20-2017 14:18:58.795 | INFO | Somfy Home created. No Somfys configured. | com.bwssystems.HABridge.plugins.somfy.SomfyHome |
12-20-2017 14:18:58.796 | INFO | LifxDevice Home created. No LifxDevices configured. | com.bwssystems.HABridge.plugins.lifx.LifxHome |
12-20-2017 14:18:58.800 | WARN | Error reading the file: data\group.db - Does not exist or is not readable. continuing... | com.bwssystems.HABridge.dao.GroupRepository |
12-20-2017 14:18:58.801 | INFO | HABridge device management service started.... | com.bwssystems.HABridge.devicemanagmeent.DeviceResource |
12-20-2017 14:18:58.803 | INFO | Hue emulator service started.... | com.bwssystems.HABridge.hue.HueMulator |
12-20-2017 14:18:58.806 | INFO | Traceupnp: upnp config address: 192.168.1.195-useIface:false on web server: 0.0.0.0:80 | com.bwssystems.HABridge.HABridge |
12-20-2017 14:18:58.807 | INFO | Description xml service started.... | com.bwssystems.HABridge.upnp.UpnpSettingsResource |
12-20-2017 14:18:58.941 | INFO | UPNP Discovery Listener starting.... | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:59.074 | INFO | Traceupnp: Interface: lo valid usable IP address: /127.0.0.1 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:59.075 | INFO | Traceupnp: Adding lo to our upnp join interface set. | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:59.078 | INFO | Traceupnp: Interface: eth0 valid usable IP address: /192.168.1.195 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:59.081 | INFO | Traceupnp: Adding eth0 to our upnp join interface set. | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:18:59.082 | INFO | UPNP Discovery Listener running and ready.... | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:01.355 | INFO | Traceupnp: request of description.xml from: 192.168.1.115:80 filled in with address: 192.168.1.195:80 | com.bwssystems.HABridge.upnp.UpnpSettingsResource |
12-20-2017 14:19:20.237 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.237 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.237 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.237 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.253 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.254 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.256 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:20.257 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.131:45661 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:19:31.608 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.228:33398 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: SSDP M-SEARCH packet from 192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 1 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 2 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
12-20-2017 14:20:11.044 | INFO | Traceupnp: send upnp discovery template 3 with response address: 192.168.1.195:80 to address: /192.168.1.228:52794 | com.bwssystems.HABridge.upnp.UpnpListener |
I'm not sure why, but after I enabled trace it worked. I'm now connected. Thanks.
I see you restarted your ha-bridge after saving some info I believe.
I have it installed on a windows machine and it appears to be running fine on default part 80. I opened up the smartthings app and tried to add a thing. The Hue Bridge showed up momentarily, and I accidentally pressed the button to rename. It froze, so I shut down the app.
On many subsequent tries, ha-bridge is not found. It's running, I can access via the web GUI, and I reinitialized it several times. I even stopped it and restarted from the command line. I even rebotted the hub, and also tried disconnecting the power and removing the batteries, and then powering back up. No joy. It's the most recent version, I installed December 18, 2017.
Any suggestions?