SteveyO / Hue-Emulator

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

Android app can't find Hue emulator v0.8 #41

Open apuder opened 5 years ago

apuder commented 5 years ago

I'm using Android version of the Hue app (v3.11.0) to detect the emulator v0.8 (listening on port 80). The emulator shows access to /api/nouser/config and that was that. I wonder if this is supposed to work or if I am doing something wrong. Thx, AP

rohitjagtap12 commented 3 years ago

As per the comments on other issues reported in this Repo. The emulator won't be able to connect to an Android or iOS App. You need to hard code the IP of the emulator in the App and then connect to it. I tried with an Android app, it discovers the emulator in the network and even a log was seen in the emulator for config request but I think the SDK doesn't get the expected response from the emulator and hence it won't show up in the discovery. (I think the SDK needs the IP address but "api/config" request doesn't return the IP)