No, I have not done the port scan…
Yes, pairing is set to “true” in PaperUI.
I’ve read in some previous threads that Amazon Echo (Gen2) will look for port 80… hence the redirect from 80 to 8080 where openhab lives.
Below is the log after asking Alexa to do the discovery… ( openhab - 10.100.100.80; Amazon Echo (Gen2) - 10.100.100.58). Mind you it only happens ONCE after the restart of the device. Any subsequent scan for new devices does NOT produce the log entry.
2018-03-22 13:05:23.594 [TRACE] [tion.internal.HueEmulationUpnpServer] - Got SSDP Discovery packet from 10.100.100.58:50000
34637 2018-03-22 13:05:23.600 [TRACE] [tion.internal.HueEmulationUpnpServer] - Sending to 10.100.100.58 : HTTP/1.1 200 OK^M
34638 HOST: 239.255.255.250:1900^M
34639 EXT:^M
34640 CACHE-CONTROL: max-age=100^M
34641 LOCATION: http://10.100.100.80:8080/api/description.xml^M
34642 SERVER: FreeRTOS/7.4.2, UPnP/1.0, IpBridge/1.15.0^M
34643 hue-bridgeid: 4932545A50FA^M
34644 ST: upnp:rootdevice^M
34645 USN: uuid:b21d73d0-0c31-40d8-90dc-4932545a50fa::upnp:rootdevice^M
34646 ^M
34647
34648 2018-03-22 13:05:23.610 [TRACE] [tion.internal.HueEmulationUpnpServer] - Sending to 10.100.100.58 : HTTP/1.1 200 OK^M
34649 HOST: 239.255.255.250:1900^M
34650 EXT:^M
34651 CACHE-CONTROL: max-age=100^M
34652 LOCATION: http://10.100.100.80:8080/api/description.xml^M
34653 SERVER: FreeRTOS/7.4.2, UPnP/1.0, IpBridge/1.15.0^M
34654 hue-bridgeid: 4932545A50FA^M
34655 ST: urn:schemas-upnp-org:device:basic:1^M
34656 USN: uuid:b21d73d0-0c31-40d8-90dc-4932545a50fa::upnp:rootdevice^M
34657 ^M
34658
34659 2018-03-22 13:05:23.616 [TRACE] [tion.internal.HueEmulationUpnpServer] - Sending to 10.100.100.58 : HTTP/1.1 200 OK^M
34660 HOST: 239.255.255.250:1900^M
34661 EXT:^M
34662 CACHE-CONTROL: max-age=100^M
34663 LOCATION: http://10.100.100.80:8080/api/description.xml^M
34664 SERVER: FreeRTOS/7.4.2, UPnP/1.0, IpBridge/1.15.0^M
34665 hue-bridgeid: 4932545A50FA^M
34666 ST: uuid:b21d73d0-0c31-40d8-90dc-4932545a50fa^M
34667 USN: uuid:b21d73d0-0c31-40d8-90dc-4932545a50fa::upnp:rootdevice^M
So I guess there IS something wrong with my openhab config.
http://10.100.100.80:8080/api/description.xml looks like this:
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://10.100.100.80:8080/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>openHAB Hue Emulation</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2015</modelName>
<modelNumber>929000226503</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>0017880ae670</serialNumber>
<UDN>uuid:b21d73d0-0c31-40d8-90dc-4932545a50fa</UDN>
<serviceList>
<service>
<serviceType>(null)</serviceType>
<serviceId>(null)</serviceId>
<controlURL>(null)</controlURL>
<eventSubURL>(null)</eventSubURL>
<SCPDURL>(null)</SCPDURL>
</service>
</serviceList>
<presentationURL>index.html</presentationURL>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<height>48</height>
<width>48</width>
<depth>24</depth>
<url>hue_logo_0.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<height>120</height>
<width>120</width>
<depth>24</depth>
<url>hue_logo_3.png</url>
</icon>
</iconList>
</device>
</root>
And the http://10.100.100.80:8080/api/discovery.xml looks like this:
{"lights":{"1":{"state":{"on":false,"bri":-1,"hue":0,"sat":0,"xy":[0.0,0.0],"ct":500,"alert":"none","effect":"none","colormode":"ct","reachable":true},"type":"Dimmable Light","name":"Kitchen Switch","modelid":"LWB004","uniqueid":"1","manufacturername":"openHAB","swversion":"66009461","pointsymbol":{"1":"none","2":"none","3":"none","4":"none","5":"none","6":"none","7":"none","8":"none"}}}}
Any ideas for the next step please???
Thanks
Alex.