I require username and password for my local instance of openhab. I think that’s very reasonable given the control someone gets when accessing openhab.
I can use the iOS app with username and password either by only using myopenhab.org, or I can configure my local URL as “remote” in the app. Lately I’ve been having some issues with myopenhab.org, and when it’s working it’s too slow. I rarely use it remotely (if I ever need to, I can always use VPN).
The only thing I really need to use myopenhab.org for is push notifications. I guess one solution would be too look for an alternative way to do push notifications…
Is there a way to configure a local URL with password while also maintaining the connection to myopenhab.org to get the notifications?
Has this problem been brought up earlier?
You can setup nginx as a reverse proxy for openHAB that requires username and password as explained here: https://www.openhab.org/docs/installation/security.html#running-openhab-behind-a-reverse-proxy
I think you misread my question. I have set up nginx with username, password and TLS.
The question is how can I connect directly to that reverse proxy with the iOS app, while still getting push notifications.
Sorry, I indeed misunderstood what you asked for. I guess if you want to use the local url and get push notifications, you’ll habe to use something like the telegram action. If the app doesn’t connect to myopenhab.org, I don’t see how it could receive notifications from there.
I’m trying to do just that. Did you found a way of doing this ? I’d love to have all things in the same app but otherwise I’ll have a look at pushover and other services like that.