armzilla / amazon-echo-ha-bridge

emulates philips hue api to other home automation gateways
Apache License 2.0
730 stars 168 forks source link

Alexa not discovering the bridge #106

Open silopautomation opened 7 years ago

silopautomation commented 7 years ago

hi, Alexa is unable to discover my HA bridge. done all the settings correctly. kindly assist. Bridge IP is 192.168.1.165. static IP reserved in router. upnp enabled in router here is the upnp log.

0-21-2017 13:28:45.010 INFO Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> com.bwssystems.HABridge.upnp.UpnpListener
10-21-2017 13:28:45.013 INFO Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:29:17.430 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:29:17.432 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener 10-21-2017 13:29:37.455 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:29:37.457 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:29:59.932 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:29:59.935 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:30:26.845 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:30:46.868 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:30:46.870 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:31:06.893 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

10-21-2017 13:31:06.896 | INFO | Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.165:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 NTS: ssdp:alive hue-bridgeid: B827EBFFFEBB53EB NT: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb USN: uuid:2f402f80-da50-11e1-9b23-b827ebbb53eb >>> | com.bwssystems.HABridge.upnp.UpnpListener

elijahnyp commented 6 years ago

just run this: java -jar amazon-echo-brige-0.4.0.jar --upnp.config.address=192.168.1.165 --server.port=8080 --emulator.portbase=8080.
The above works for me (but on a different port). If you want to run it on a different port, change both 8080 entries to the new port. No need for upnp to be enabled on the router.