Unable to Get Discovery to work

I am sorry. I am very new to this. I tried this a few months ago and gave up and I figured I would give it another shot. I have not added anything but the default things into the yaml configuration file. You can see here what I have.

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 40.3143
  longitude: -111.7116
  # C for Celsius, F for Fahrenheit
  temperature_unit: F
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Denver

# Show links to resources in log and frontend
introduction:

# Enables support for tracking state changes over time.
history:

# Allows you to issue voice commands from the frontend
conversation:

# Prediction of weather
sensor:
   platform: yr

# Track the sun
sun:

# View all events in a logbook
logbook:

# Checks for available updates
updater:

# Enables the frontend
frontend:

# Discover some devices automatically
discovery:

# Example configuration.yaml entry
media_player:
  - platform: cast

How ever I still get an error and I still can’t figure it out.

Last login: Fri Oct 28 18:01:01 on ttys001
Mac-mini:~ hadley$ hass --open-ui
Config directory: /Users/hadley/.homeassistant
WARNING:homeassistant.config:Found deprecated temperature unit in core config, expected unit system. Replace 'temperature_unit: °F' with 'unit_system: imperial'
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): maps.googleapis.com
WARNING:homeassistant.config:Incomplete core config. Auto detected elevation: 1445
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant.loader:Loaded introduction from homeassistant.components.introduction
INFO:homeassistant.loader:Loaded history from homeassistant.components.history
INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
INFO:homeassistant.loader:Loaded http from homeassistant.components.http
INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
INFO:homeassistant.loader:Loaded api from homeassistant.components.api
INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
INFO:homeassistant.loader:Loaded media_player from homeassistant.components.media_player
INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
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.core:Bus:Handling <Event component_loaded[L]: component=recorder>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=history>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=process, domain=conversation>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=conversation>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=frontend>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=log, domain=logbook>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logbook>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sun.sun, new_state=<state sun.sun=above_horizon; elevation=0, friendly_name=Sun, next_setting=2016-10-29T00:28:00+00:00, next_rising=2016-10-29T13:54:11+00:00, azimuth=0 @ 2016-10-28T18:10:35.861262-06:00>, old_state=None>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sun>
INFO:homeassistant.loader:Loaded sensor.yr from homeassistant.components.sensor.yr
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.yr.no
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.met.no
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, new_state=<state sensor.yr_symbol=5; friendly_name=yr Symbol, about=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=5;content_type=image/png @ 2016-10-28T18:10:36.862933-06:00>, old_state=None>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor>
INFO:homeassistant.loader:Loaded media_player.cast from homeassistant.components.media_player.cast
INFO:homeassistant.util.package:Attempting install of pychromecast==0.7.4
Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-build-kd4usttv/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-xbg772y1-record/install-record.txt --single-version-externally-managed --compile --home=/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/tmpllqf35q8" failed with error code 1 in /private/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-build-kd4usttv/netifaces/
ERROR:homeassistant.bootstrap:Not initializing media_player.cast because could not install dependency pychromecast==0.7.4
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): pypi.python.org
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=updater.updater, new_state=<state updater.updater=0.31.1; friendly_name=Update available @ 2016-10-28T18:10:44.920178-06:00>, old_state=None>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater>
INFO:homeassistant.util.package:Attempting install of netdisco==0.7.1
Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-build-uljahpzz/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-kyq3ohpj-record/install-record.txt --single-version-externally-managed --compile --home=/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/tmp_igp5lgl" failed with error code 1 in /private/var/folders/17/t90frj_91mv090jqdg2kcr840000gn/T/pip-build-uljahpzz/netifaces/
ERROR:homeassistant.bootstrap:Not initializing discovery because could not install dependency netdisco==0.7.1
INFO:homeassistant.core:Starting Home Assistant (11 threads)
INFO:homeassistant.core:Starting Home Assistant core loop
INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant>
INFO:homeassistant.core:Timer:starting
INFO:homeassistant.components.http:Serving / to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/stream to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/stream to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/stream to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/stream to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/stream to 192.168.86.126 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.86.126 (auth: True)

Any help would be amazing please.

Post your config in code tags (the </> button) or it’s unreadable and undebuggable.

There a a couple of threads for your problem https://community.home-assistant.io/search?q=netifaces

1 Like

Lucky me that’s in our docs too: https://home-assistant.io/components/discovery/

1 Like

Wish it had been there when I started out - LOL!

It’s a pity that there is no smart tool that can solve such issue automatically.