Stuck on step1 (win10 HA asks for password after install)

Hi
I am trying to install HA

  • win10
  • Python 3.6 / 64bit
  • HA 0.39.2
  • checked the configuration.yaml (default file) and I have the “api_password” section commented out under http tag.

I followed the instructions. Installed Python & HA without errors.
python -m pip install homeassistant
python -m homeassistant --open-ui

The last command brought up the browser with a login screen (ask for password) and I am stuck on it.
I changed the configuration file with a password but does not help. No matter what I type, I can not go forward. Reinstalled pyton and ha again and got to the same place.

  • is there a default password.
  • why is it asking me for password
  • how can I go to the configuration page

I know this’ll seem like a stupid question, but you’re seeing the HASS login in your browser, not a login for your router or some piece of hardware between your browser and HASS?

And you’re on the correct port (8132 default)?

Thanks for the reply…

yes --> HAAS login (the HAAS icon ) + password box + “LOG IN” button. When I press the login button, nothing happens… it does not complain if the password is good or bad

It automatically brought up the browser window… and yes the port is the default of 8123

And this is the output of HAAS after start. I see only one ERROR in “netdisco”

py -m homeassistant --open-ui
Config directory: C:\Users\kdjor\AppData\Roaming.homeassistant
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_off>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_on>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=toggle>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=check_config>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=reload_core_config>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=persistent_notification, service=create>
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
INFO:homeassistant.loader:Loaded api from homeassistant.components.api
INFO:homeassistant.loader:Loaded http from homeassistant.components.http
INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
INFO:homeassistant.loader:Loaded introduction from homeassistant.components.introduction
INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
INFO:homeassistant.loader:Loaded config from homeassistant.components.config
INFO:homeassistant.loader:Loaded history from homeassistant.components.history
INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
INFO:homeassistant.bootstrap:Setting up introduction
INFO:homeassistant.components.introduction:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Hello, and welcome to Home Assistant!

    We'll hope that we can make all your dreams come true.

    Here are some resources to get started:

     - Configuring Home Assistant:
       https://home-assistant.io/getting-started/configuration/

     - Available components:
       https://home-assistant.io/components/

     - Troubleshooting your configuration:
       https://home-assistant.io/getting-started/troubleshooting-configuration/

     - Getting help:
       https://home-assistant.io/help/

    This message is generated by the introduction component. You can
    disable it in configuration.yaml.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=introduction>
INFO:homeassistant.bootstrap:Setting up recorder
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
INFO:homeassistant.bootstrap:Setting up http
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>
INFO:homeassistant.bootstrap:Setting up api
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api>
INFO:homeassistant.bootstrap:Setting up websocket_api
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=websocket_api>
INFO:homeassistant.bootstrap:Setting up frontend
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=frontend>
INFO:homeassistant.bootstrap:Setting up logbook
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=logbook, service=log>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logbook>
INFO:homeassistant.bootstrap:Setting up sun
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=None, new_state=<state sun.sun=above_horizon; next_rising=2017-03-03T14:34:59+00:00, next_setting=2017-03-03T02:03:11+00:00, elevation=0, azimuth=0, friendly_name=Sun @ 2017-03-02T08:00:14.787666-08:00>>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sun>
INFO:homeassistant.loader:Loaded tts.google from homeassistant.components.tts.google
INFO:homeassistant.bootstrap:Setting up tts
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=tts>
INFO:homeassistant.bootstrap:Setting up config
INFO:homeassistant.loader:Loaded config.group from homeassistant.components.config.group
INFO:homeassistant.loader:Loaded config.core from homeassistant.components.config.core
INFO:homeassistant.loader:Loaded config.hassbian from homeassistant.components.config.hassbian
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=config.group>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=config.core>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=config>
INFO:homeassistant.bootstrap:Setting up history
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=history>
INFO:homeassistant.loader:Loaded sensor.yr from homeassistant.components.sensor.yr
INFO:homeassistant.bootstrap:Setting up sensor
INFO:homeassistant.components.sensor:Setting up sensor.yr
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=None, new_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2017-03-02T08:00:14.971168-08:00>>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2017-03-02T08:00:14.971168-08:00>, new_state=<state sensor.yr_symbol=1; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=1;content_type=image/png @ 2017-03-02T08:00:16.530842-08:00>>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor>
INFO:homeassistant.bootstrap:Setting up updater
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater>
INFO:homeassistant.util.package:Attempting install of netdisco==0.9.1
Command “C:\Users\kdjor\AppData\Local\Programs\Python\Python36\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\kdjor\AppData\Local\Temp\pip-build-w4gxh5zn\netifaces\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\kdjor\AppData\Local\Temp\pip-bl27xdtd-record\install-record.txt --single-version-externally-managed --compile --home=C:\Users\kdjor\AppData\Local\Temp\tmpa25d9k_w” failed with error code 1 in C:\Users\kdjor\AppData\Local\Temp\pip-build-w4gxh5zn\netifaces
ERROR:homeassistant.bootstrap:Not initializing discovery because could not install dependency netdisco==0.9.1
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:

  • discovery
    Please check your config, notification_id=invalid_config, service_call_id=2659749633720-1>
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
  • discovery
    Please check your config; title=Invalid config @ 2017-03-02T08:00:20.461682-08:00>>
    INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=2659749633720-1>
    INFO:homeassistant.bootstrap:Setting up conversation
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=conversation, service=process>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=conversation>
    INFO:homeassistant.core:Starting Home Assistant core loop
    INFO:homeassistant.core:Starting Home Assistant
    INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]>
    INFO:homeassistant.core:Timer:starting
    INFO:homeassistant.components.http:Serving / to 192.168.1.87 (auth: True)
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=above_horizon; next_rising=2017-03-03T14:34:59+00:00, next_setting=2017-03-03T02:03:11+00:00, elevation=0, azimuth=0, friendly_name=Sun @ 2017-03-02T08:00:14.787666-08:00>, new_state=<state sun.sun=above_horizon; next_rising=2017-03-03T14:34:59+00:00, next_setting=2017-03-03T02:03:11+00:00, elevation=15.27, azimuth=111.39, friendly_name=Sun @ 2017-03-02T08:00:14.787666-08:00>>

Have you tried disabling discovery in your config? I can’t recall if netdisco is only part of discovery, or if it’s used for all network communication.

Try installing the netdisco dependency.

Sounds like your issue is similar to

You might want to check that you don’t have HA running twice. I sometime forget to kill HA and start HA again and have trouble logging in to either instance.

thank you for the help…
unfortunately did not work out…
I was able to install netdisco (root cause was a missing c++ compiler on my system) and netdisco is running now without errors. However HA behaves the same --> goes to the login page and I can not proceed.

Checked for second instances and rebooted the computer with no effect

Any other ideas?

Also this might sound trivial, but I overlooked it the first couple weeks. HASS is not compatible with Internet Explorer… You must use chrome/firefox/edge or a flavor thereof.

here you go… worked with firefox.
already changed my default browser to firefox .thanks:)