This is my first post on this forum. I’m new with home assistant. I just setup home assistant on my desktop browser, and after running two commands on python, the console says:
Invalid Config
The following components and platforms could not be set up:
discovery
Please check your config
Is it an issue and if it is, how to fix it.
Thanks in advance.
The following errors have been logged this session:
2017-07-13 12:49:28 ERROR (MainThread) [homeassistant.setup] Error during setup of component discovery
Traceback (most recent call last):
File “C:\Python36-32\lib\site-packages\homeassistant\setup.py”, line 187, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File “C:\Python36-32\lib\asyncio\coroutines.py”, line 210, in coro
res = func(*args, **kw)
File “C:\Python36-32\lib\site-packages\homeassistant\components\discovery.py”, line 75, in async_setup
from netdisco.discovery import NetworkDiscovery
File “C:\Python36-32\lib\site-packages\netdisco-1.0.1-py3.6.egg\netdisco\discovery.py”, line 6, in
from .ssdp import SSDP
File “C:\Python36-32\lib\site-packages\netdisco-1.0.1-py3.6.egg\netdisco\ssdp.py”, line 11, in
from netdisco.util import etree_to_dict, interface_addresses
File “C:\Python36-32\lib\site-packages\netdisco-1.0.1-py3.6.egg\netdisco\util.py”, line 4, in
import netifaces
ModuleNotFoundError: No module named ‘netifaces’
2017-07-13 12:49:29 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF…op_reading()]>)
Traceback (most recent call last):
File “C:\Python36-32\lib\asyncio\events.py”, line 127, in _run
self._callback(*self._args)
File “C:\Python36-32\lib\asyncio\proactor_events.py”, line 190, in _loop_reading
data = fut.result() # deliver data later in “finally” clause
File “C:\Python36-32\lib\asyncio\futures.py”, line 238, in result
raise InvalidStateError(‘Result is not ready.’)
asyncio.base_futures.InvalidStateError: Result is not ready.
2017-07-13 12:49:45 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF…ed result=b’’>)
Traceback (most recent call last):
File “C:\Python36-32\lib\asyncio\events.py”, line 127, in _run
self._callback(*self._args)
File “C:\Python36-32\lib\asyncio\proactor_events.py”, line 188, in _loop_reading
self._closing)
AssertionError
2017-07-13 13:05:40 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2017-07-13 13:08:38 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF…op_reading()]>)
Traceback (most recent call last):
File “C:\Python36-32\lib\asyncio\events.py”, line 127, in _run
self._callback(*self._args)
File “C:\Python36-32\lib\asyncio\proactor_events.py”, line 190, in _loop_reading
data = fut.result() # deliver data later in “finally” clause
File “C:\Python36-32\lib\asyncio\futures.py”, line 238, in result
raise InvalidStateError(‘Result is not ready.’)
asyncio.base_futures.InvalidStateError: Result is not ready.
2017-07-13 13:09:53 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF…\x06\xa2\xe6’>)
Traceback (most recent call last):
File “C:\Python36-32\lib\asyncio\events.py”, line 127, in _run
self._callback(*self._args)
File “C:\Python36-32\lib\asyncio\proactor_events.py”, line 188, in _loop_reading
self._closing)
AssertionError
Not mandatory, but can be helpful for new people or those that don’t want to hard code their config. I don’t personally use it as I find it pretty easy to add platforms when I need one. It can also cause issues as it will automatically try to setup those platforms even if you choose not to use them. For example it would constantly try to setup the netgear device tracker component even though I use nmap.