Hi everyone,
I’m new to Home Assistant and have spent a full day trying to connect it to the Android phone app, but most of my attempts have failed. I really need your help!
My Setup:
-
PC: Running Windows 11 with Hyper-V. I installed the latest Home Assistant Core from the official website.
-
Home Assistant: Works perfectly on the PC.
-
Browser Access: I can access Home Assistant via Firefox using these addresses:
http://homeassistant.local:8123
http://172.27.168.xxx:8123
(This IP was shown in a Home Assistant add-on).
-
Local IP Issue:
My PC’s IP is192.168.31.xxx
(confirmed viaipconfig
), but I cannot access Home Assistant usinghttp://192.168.31.xxx:8123
on any device, including the PC itself. -
Phone Details:
My phone is a OnePlus device, about 2 years old, running the latest OS with the latest WebView installed, running under same Wifi as PC.
Problem:
I cannot connect to Home Assistant from my Android phone, despite trying several methods.
Methods I’ve Tried:
Method 1: Direct Connection
-
Installed the latest Home Assistant mobile app from the Play Store.
-
Tried the following addresses in the app, but none worked:
http://homeassistant.local:8123 http://192.168.31.xxx:8123 http://192.168.31.1:8123 http://192.168.31.xxx:443 http://192.168.31.xxx:4357 http://192.168.31.xxx http://172.27.168.xxx:8123
(Plus all HTTPS versions of the above).
-
Cleared app data, reinstalled the app, and retried, but the app never proceeded to the login page. Most of the time, I received a timeout error or a connection refused error.
-
None of these addresses worked on mobile phone - either Chrome or the Home Assistant mobile app.
Method 2: DuckDNS
-
Attempted to set up external access using DuckDNS, following this guide:
- Registered a DuckDNS subdomain.
- Installed and configured the DuckDNS add-on.
- Verified the add-on was running correctly.
- Updated the Home Assistant configuration file and validated it.
- Restarted Home Assistant.
- Set up port forwarding on the router:
- External ports 80, 81, and 443 forwarded to
192.168.31.xxx
(internal) port8123
.
- External ports 80, 81, and 443 forwarded to
-
Result: After these changes, I couldn’t access Home Assistant from any device.
Addresses I tried:http://homeassistant.local:8123 http://192.168.31.xxx:8123 http://192.168.31.1:8123 http://192.168.31.xxx:443 http://192.168.31.xxx:4357 http://192.168.31.xxx http://172.27.168.xxx:8123 http://<my-subdomain>.duckdns.org http://<my-subdomain>.duckdns.org:8123 http://<my-subdomain>.duckdns.org:443
(Plus all HTTPS versions of the above).
-
None of these addresses worked on mobile phone - either Chrome or the Home Assistant mobile app.
Method 3: Tailscale
- This method worked:
- Tailscale was already set up on my phone and Docker (it works perfectly for Immich).
- I installed the Tailscale add-on in Home Assistant, logged in on both the phone and Home Assistant.
- Entered the HA’s Tailscale IP (
http://<tailscale-ip>:8123
) into the Home Assistant app on my phone, and it connected successfully.
This confirms that both the phone app and Home Assistant are working correctly and reachable.
What I Need:
Although Tailscale works. It seems there’s something not quite right with the IP addresses, and I’d like to resolve that.
If you need more details, let me know. Thanks in advance!