After many attempts, several readings of the docs I figured out how to configure my private openhab cloud. At this point, this is my config:
openhab connector:
base url: https://oh.mydomain.com
The cloud is running on a container and the system
section of config.json
is configured like this:
...
"system": {
"host": "oh.mydomain.com",
"proxyHost": "home.oh.mydomain.com",
"port": "443",
"protocol": "https",
"logger" : {
"type": "console"
},
"subDomainCookies": true
},
...
Accessing from the browser, everything is working correctly. On the Android app, I have this issue:
If I setup the remote host as home.oh.mydomain.com
I can use the UI on the app, but cannot receive push notifications. If I setup as oh.mydomain.com
I receive notifications, but instead of the UI I see the login page on the app.
The service is running on a docker container, as described here: GitHub - openhab/openhab-cloud: Cloud companion for openHAB instances
Clearly something is missing. Any ideas?