I set up remote access to my openhab installation using the tailscale client built in openhabian.
I also use myopenhab.org for push notification - and just for that.
I made sure that the openhab host is reachable under the same IP in the local network as when connected via VPN (by defining a route to my local network). Connectivity has been tested via browser.
The App is configured with the local IP as local connection and myopenhab.org plus credentials for remote access.
Now the app is not able to connect to the openhab instance when connected via VPN unless I am connected to another WiFi network that the android system treats as a local connection.
I guess that there is some kind of logic in the app that checks for non mobile connections and - if connected - uses the local settings. The tailscale VPN connection is somehow not considered as such.
So here are my questions:
- Has anyone a similar setup and found a workaround?
- Would it be a good idea to make the Apps behavior in this case a bit more configurable (like: try ping the local host instead of checking the connection type…)