bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 198 forks source link

NEWBIE, Need help #203

Closed ab1976 closed 7 years ago

ab1976 commented 7 years ago

Hello All,

I installed Alexa on my RPI3 and this all works fine, she is responding to my questions, but she is unable to discover my devices!

I installed habridge and added upnp.config.address nohup java -jar -Djava.net.preferIPv4Stack=true /root/habridge/ha-bridge-3.2.0.j ar upnp.address.config=192.168.1.96 > /root/habridge/habridge-log.txt 2>&1 &

In my windows environment I can see the upnp device, but alexa is unable to find it.

I created a test device within habridge but still no go, what is I do wrong, please help, thanks in advance

bwssytems commented 7 years ago

Use this command line:

nohup java -jar -Djava.net.preferIPv4Stack=true /root/habridge/ha-bridge-3.2.0.j ar > /root/habridge/habridge-log.txt 2>&1 &

Then go into the web interface and set your upnp ip address to 192.168.1.96

ab1976 commented 7 years ago

Tried this but again Alexa can not find any devices

T: upnp:rootdevice MAN: "ssdp:discover" User-Agent: UPnP/1.0 DLNADOC/1.50 Kodi Connection: close Host: 239.255.255.250:1900

2016-11-01 18:09:08,943 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate1 is <<<HTTP/1.1 200 OK HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 EXT: LOCATION: http://192.168.1.96:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 hue-bridgeid: B827EBFFFEE7475B ST: upnp:rootdevice USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b::upnp:rootdevice

2016-11-01 18:09:08,945 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate2 is <<<HTTP/1.1 200 OK HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 EXT: LOCATION: http://192.168.1.96:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 hue-bridgeid: B827EBFFFEE7475B ST: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b

2016-11-01 18:09:08,947 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate3 is <<<HTTP/1.1 200 OK HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 EXT: LOCATION: http://192.168.1.96:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0 hue-bridgeid: B827EBFFFEE7475B ST: urn:schemas-upnp-org:device:basic:1 USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b

2016-11-01 18:09:09,463 [qtp20483818-15] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: upnp device settings requested: from 192.168.1.24:80 2016-11-01 18:09:09,467 [qtp20483818-15] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: upnp device settings template filled with address: 192.168.1.96 and port: 80

bwssytems commented 7 years ago

What is the ip of the Amazon Echo?

ab1976 commented 7 years ago

It's running on the same Rpi, so it's also 192. 168.1.96

Mvg, Alwin Bongers Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht --------
Van: BWS Systems notifications@github.com
Datum: 01-11-16 19:26 (GMT+01:00)
Aan: bwssytems/ha-bridge ha-bridge@noreply.github.com
Cc: ab1976 alwinbongers@hotmail.com, Author author@noreply.github.com
Onderwerp: Re: [bwssytems/ha-bridge] NEWBIE, Need help (#203)
What is the ip of the Amazon Echo?

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/bwssytems/ha-bridge/issues/203#issuecomment-257651036

bwssytems commented 7 years ago

Are you running the software alexa? If so, that does not discover devices, you need a hardware echo or echo dot.

ab1976 commented 7 years ago

It's software alexa Thanks for your quick answers

Mvg, Alwin Bongers Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht --------
Van: BWS Systems notifications@github.com
Datum: 01-11-16 19:54 (GMT+01:00)
Aan: bwssytems/ha-bridge ha-bridge@noreply.github.com
Cc: ab1976 alwinbongers@hotmail.com, Author author@noreply.github.com
Onderwerp: Re: [bwssytems/ha-bridge] NEWBIE, Need help (#203)
Are you running the software alexa? If so, that does not discover deivces, you need a hardware echo or echo dot.

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/bwssytems/ha-bridge/issues/203#issuecomment-257659377

bwssytems commented 7 years ago

Yep, that does not work for home automation control. Sorry.