Hi,
I installed openHabian on rasperry Pi 4 and I can use web-browser (chrome)
to access openHAB via port 8080 or 8443 (after accepting self-signed certs).
But I have problems to connect from openHAB Android App (normal or Beta).
Both apps do not find this installation (auto search). Network uses Wifi router Fritzbox (AVM).
App does also not find the instance when specifying URL.
For local server settings I used:
URL: http://192.168.111.20:8080/
user: admin
password: admin
Start page: openHAB 3 UI
(admin is the administrator account, created during installation via GUI)
The app still does not “find” the installation.
I tried to use URL: https://192.168.111.20:8443/
With normal app (not Beta), I got the https certs and had to confirm it.
tcpdump shows some requests and answers, but app does not display anything. just telling that it can not find a server.
GET /rest/inbox HTTP/1.1
Host: 192.168.111.20:8080
Connection: keep-alive
Accept: application/json
DNT: 1
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Authorization: Bearer …
Referer: http://192.168.111.20:8080/settings/things/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7,lb;q=0.6
Cookie: X-OPENHAB-SESSIONID=73174562-f6df-4bc2-bba4-dad630231431
Answer:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 18 Aug 2021 17:21:12 GMT
Transfer-Encoding: chunked
Server: Jetty(9.4.40.v20210413)106
[{“bridgeUID”:“bluetooth:bluez:hci0”,“flag”:“NEW”,“label”:“Generic Connectable Bluetooth Device”,“properties”:{“address”:“00:A0:50:62:73:15”},“representationProperty”:“address”,“thingUID”:“bluetooth:generic:hci0:00a050627315”,“thingTypeUID”:“bluetooth:generic”}][!http]
There are other comments in Google Play-Store where people have problems.
Any Idea?
/stephan