- Platform information:
- Hardware: X64 / RAM 4Gb / 64 Gb eMMC
- OS: Ubuntu 20.04
- Java Runtime Environment: Zulu11.54+25-CA (build 11.0.14.1+1-LTS)
- openHAB version: 3.4.2
The Hue emulation works with my Alexa devices but starting from today it is impossible to detect new devices.
- Nginix is working and configured according this file:
server {
listen 80;
location / {
proxy_pass http://localhost:8080/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api {
proxy_pass http://localhost:8080/api/;
}
}
- Here is the iptables configuration (iptables -S):
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
- The self test is ok (http://MY_IP_ADDRESS/api/status).
- Both http://MY_IP_ADDRESS:8080/description.xml and http://MY_IP_ADDRESS/description.xml show the description file.
- Both curl http://MY_IP_ADDRESS:8080/api and curl http://MY_IP_ADDRESS:8080/api/ give:
[{“error”:{“address”:“/”,“description”:“Not Authorized”,“type”:4}}] - When I start the pairing the log shows:
023-03-19 21:55:25.805 [INFO ] [ueemulation.internal.upnp.UpnpServer] - Hue Emulation UPNP server started on 192.168.1.5:8080
2023-03-19 21:57:13.619 [INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation pairing enabled for 180s
2023-03-19 22:00:13.621 [INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation disable pairing
- The the item to be recognized is a dmmer tagged with Lighting label.
To start the detection, I set the hue emulation in this way:
- Device Pairing: on
- Pairing: Add Unknown User-Keys: on
- Optional Discovery Web Port: 8080
With these settings, the other five items were correctly detected by Alexa, but now I’m unable to understand where the problem is.
I will be grateful to anyone who can give me some suggestion to fix this issue.
Thank you
Alessandro