Hassio-Access-Point icon indicating copy to clipboard operation
Hassio-Access-Point copied to clipboard

Cannot connect to Home Assistant web interface

Open dnngll opened this issue 1 year ago • 7 comments

Hello,

I have a problem connecting to the Home Assistant web interface when using the hotspot this addon provides. I've been tinkering and troubleshooting forever, did several new installs of Home Assistant and changed configuration, plus went through all of the posts on home-assistannt.io and here. I don't know what the problem is. Hopefully someone here can help me out.

Some Infos:

  • Raspberry Pi 3 Model B
  • OS is on an SSD via USB-Boot
  • I only have a Wi-Fi-Hotspot of my phone that I am using, no ethernet available
  • I tried with
    • haos_rpi3-6.1.img
    • haos_rpi3-6.2.img
    • haos_rpi3-7.0.img
    • haos_rpi3-8.2.img
    • haos_rpi3-9.5.img
    • haos_rpi3-10.1.img
    • haos_rpi3-64-11.1.img
  • After every new install of Home Assistant I add https://github.com/mattlongman/hassio-access-point to the repositories list and install the addon
  • I then change the configuration to this:
ssid: 1C-82-5D-24-AD-23
wpa_passphrase: 6f530f7c8da1c9c66c85d8f64f2e50e6
channel: "6"
address: 192.168.99.1
netmask: 255.255.255.0
broadcast: 192.168.99.255
interface: wlan0
hide_ssid: "0"
dhcp: 1
dhcp_start_addr: 192.168.99.10
dhcp_end_addr: 192.168.99.20
allow_mac_addresses: []
deny_mac_addresses: []
debug: 0
hostapd_config_override: []
client_internet_access: "0"
client_dns_override: []
dnsmasq_config_override: []
  • Then I set the addon to launch on startup, and start it
  • After starting the addon, the Raspberry immediately looses the Wi-Fi-Connection to my phone (of course) and opens up the network. I can see the network, and can also connect to it (using my notebook on Windows 10)
  • These are the Properties of the connection: image
  • These are the results of Advanced IP Scanner: image
  • I tried the following URLs:
    • http://192.168.99.1/
    • https://192.168.99.1/
    • http://192.168.99.1:8123/
    • https://192.168.99.1:8123/
    • http://homeassistant/
    • https://homeassistant/
    • http://homeassistant:8123/
    • https://homeassistant:8123/
    • http://homeassistant.local/
    • https://homeassistant.local/
    • http://homeassistant.local:8123/
    • https://homeassistant.local:8123/

Whatever I do, I can't access the Home Assistant web interface, and I don't know what else I should try. Am I missing something here? I really hope that someone might be able to point me in the right direction.

Thanks in advance,

kind regards Dennis

dnngll avatar Nov 02 '23 09:11 dnngll

It seems like you need to have internet access enabled for you to access the "gateway" of the access point.. Not sure though. Sometimes it stops working after a while even with it on.. It's weird.

vanitascc avatar Nov 05 '23 18:11 vanitascc

Hello @spoofgq ,

thanks for your reply. You mean, client_internet_access: "1" instead of client_internet_access: "0"?

dnngll avatar Nov 21 '23 08:11 dnngll

*bump... 🙏

dnngll avatar Jan 09 '24 20:01 dnngll

Hello, I changed to client_internet_access: "1" and still can't enter web interface... This is my yaml config file:

ssid: homeAssistantRuben
wpa_passphrase: ************
channel: "6"
address: 192.168.99.1
netmask: 255.255.255.0
broadcast: 192.168.99.255
interface: wlan0
hide_ssid: "0"
dhcp: 1
dhcp_start_addr: 192.168.99.10
dhcp_end_addr: 192.168.99.20
allow_mac_addresses: []
deny_mac_addresses: []
debug: 0
hostapd_config_override: []
client_internet_access: 1
client_dns_override: []
dnsmasq_config_override: []

I'm trying to install this in a camper ban so I will not have any other access point. Any idea?

rubenhig avatar Jan 23 '24 14:01 rubenhig

Hello @spoofgq and @rubenhig ,

A quick update: I have 2 identical Raspis, and did everything identical on both of them. On one it's working, on the other one it's not. On the one where it's not working I tried everything that I could think of - no success.

Looking for another solution now....

dnngll avatar Feb 28 '24 17:02 dnngll

Hi all, just to make you aware,

This issue is currently my main focus, as part of a broader networking refactor. Unfortunately though, my focus is sporadic (ADHD), so it might take a little time, but I am working on it, I promise!

ROBOT0-VT avatar Mar 26 '24 15:03 ROBOT0-VT

Hello @ROBOT0-VT

no rush - we are looking forward to your fix. Thank you!

dnngll avatar Apr 06 '24 14:04 dnngll