dpjanes / homestar-hue

HomeStar / IOTDB Controller for Philips Hue Lights
Apache License 2.0
0 stars 3 forks source link

Homestar can't find Hue on Windows #5

Closed promanik closed 8 years ago

promanik commented 8 years ago

I configured my Windows 7 machine as per the instructions. When I try and configure homestar, it cannot find the device. I can see the device as a Network device (192.168.1.24) in Windows explorer, and it runs fine using my iphone.

Querying this port using http://192.168.1.24/description.xml returns:

<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.1.24:80/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Philips hue (192.168.1.24)</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>BSB002</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>MYS/N</serialNumber>
<UDN>MYUUID</UDN>
<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>

Any suggestions of things to try? Running configure finds other devices on the networks, but not the Hue.

dpjanes commented 8 years ago

I think I just pushed a fix for this. The issue was they've changed the Model Number and I wasn't detecting it in the configuration code. Update this package and let me know.

On Fri, Apr 22, 2016 at 8:57 PM, promanik notifications@github.com wrote:

I configured my Windows 7 machine as per the instructions. When I try and configure homestar, it cannot find the device. I can see the device as a Network device (192.168.1.24) in Windows explorer, and it runs fine using my iphone.

Querying this port using http://192.168.1.24/description.xml returns:

1 0 http://192.168.1.24:80/ urn:schemas-upnp-org:device:Basic:1 Philips hue (192.168.1.24) Royal Philips Electronics http://www.philips.com Philips hue Personal Wireless Lighting Philips hue bridge 2015 BSB002 http://www.meethue.com MYS/N MYUUID index.html image/png 48 48 24 hue_logo_0.png image/png 120 120 24 hue_logo_3.png

Any suggestions of things to try? Running configure finds other devices on the networks, but not the Hue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/dpjanes/homestar-hue/issues/5

promanik commented 8 years ago

It still takes time to find the Hue units on Windows (compared to a Mac running on the same network). However, it can detect the Hue with this change.

dpjanes commented 8 years ago

I think the Windows delay might be related to UPnP discovery. I'll give it a try when I boot up a Windows box.