SteveyO / Hue-Emulator

A Bridge API Emulator for the Philips Hue (Personal Wireless System)
165 stars 41 forks source link

Problems connecting with iOS-App #25

Open Donderda opened 8 years ago

Donderda commented 8 years ago

Hi there, I have a problem connecting to the emulator via the official iPhone-App. I'm using a Mac, started the emulator as root on port 80, manually added the emulator as a brige and "pushed" the Link-Button.

Then I get a message saying that my HomeKit compatible Bridge was not found (i suppose this is for Siri?). I press cancel and get a message that there is a software-update available. After closing this message, the Brige is not available within the app...

Am I doing something wrong?

I want to emulate the Hue Bridge on my Raspberry Pi to control some RGB-LEDs and let them act like HUE bulbs. For this project I want to use your Emulator as a basis. Or do you know an alternative?

Sorry for my bad english. Happy new year!

Friedemann

Donderda commented 8 years ago

Maybe it is a problem with my network-Setup?

I put my mac's ip address in the config:

"config": { "portalservices": false, "gateway": "192.168.178.1", "mac": "00:00:88:00:bb:ee", "swversion": "01030262", "linkbutton": false, "ipaddress": "192.168.178.68:80", "proxyport": 0, "swupdate": { "text": "", "notify": false, "updatestate": 0, "url": "" }, "netmask": "255.255.255.0", "name": "Philips hue", "dhcp": true, "proxyaddress": "", "whitelist": { "newdeveloper": { "name": "test user", "last use date": "2012-10-29T12:00:00", "create date": "2012-10-29T12:00:00" } }, "UTC": "2012-10-29T12:05:00" },

Regards, Friedemann

SteveyO commented 8 years ago

Hi Friedemann,

Am pretty sure you can't connect the emulator via the iPhone Philips App. As mentioned on the project page, the UPnP is not fully working and doesn't work with the iOS SDK at the moment (which the Philips IOS App uses). I never got round to debugging the UPnP code to see the problem and I probably don't expect to get this working anytime soon.

The Emulator is intended for use within your own app (in which you have to hard-code the IP Address, rather than use bridge detection). As far as I am aware there are no alternatives.

Regards Steve