I’m trying to set up the hue emulation for days now.
To be honest the documentation doesn’t give me much of advice. Describing what can be configured but not how left me using Google for days.
For now I don’t care about the reverse proxy, but i’ve installed and configured nginx.
And I don’t care about Alexa finding it, first the api needs to response properly.
I prefer textual configuration, but I’m fine either way, since I want to get it running eventually.
Accessing http://192.168.x.y:8080/api/status:
- I can enable pairing mode.
- 0 published lights
- 66 published sensors
- Below UPnP discovery test it tells: service not registered
- Below Users, it shows nothing
Accessing http://192.168.x.y:8080/api/testuser/lights I get
[{“error”:{“address”:“testuser/lights”,“description”:“Not Authorized”,“type”:1}}]
Accessing http://192.168.x.y:8080/api/testuser/sensors I get
[{“error”:{“address”:“testuser/sensors”,“description”:“Not Authorized”,“type”:1}}]
I was trying to find a file named hueEmulationUsers.json on my system, there is none.
Service must be started, since it’s logging:
[INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation pairing enabled for 60s
[INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation disable pairing…
[INFO ] [io.hueemulation.internal.ConfigStore] - Using discovery ip 192.168.x.y
[INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation pairing disabled
[INFO ] [ueemulation.internal.upnp.UpnpServer] - Hue Emulation UPNP server started on 192.168.x.y:8080
I’d love to know where to configure the service. Then I need to figure out why the service is reporting not registered and then I need to fix the not authorized issue.
Help is appreciated.