[hueemulation] Changes to fix pairing and device discovery with Alexa (#9164)

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
This commit is contained in:
Mike Major
2020-11-29 03:46:35 +00:00
committed by GitHub
parent be61a70030
commit ab7ac79fab
7 changed files with 33 additions and 11 deletions

View File

@@ -167,6 +167,15 @@ You must either
```
* or let openHAB run on port 80 (the entire java process requires elevated privileges).
* For Amazon Echo the pairing process may fail due to a 302 response from openHAB, this can be resolved by using a reverse proxy to change the request url from `/api` to `/api/`, for example nginx with the following configuration:
```
server {
listen 80;
location /api {
proxy_pass http://localhost:8080/api/;
}
}
```
Please open port 80 tcp and port 1900 udp in your firewall installation.
You can test if the hue emulation does its job by enabling pairing mode including the option "Amazon Echo device discovery fix".