Hey There
Im new here to Home Assistant and I can’t seem to figure out why my broadlink won’t work. I think I have installed all the dependencies (pycrypto etc.) but no luck.
Also Chromecast no longer complains but it doesn’t seem to show up at all.
Here are my logs and configuration. Thanks for any help.
switch:
platform: broadlink
host: 10.1.1.137
mac: 'b4:43:0d:e4:14:b7'
media_player:
- platform: cast
- platform: plex
Traceback (most recent call last):
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\site-packages\homeassistant\helpers\entity_component.py", line 155, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\concurrent\futures\thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\site-packages\homeassistant\components\switch\broadlink.py", line 62, in setup_platform
import broadlink
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\site-packages\broadlink\__init__.py", line 4, in <module>
from Crypto.Cipher import AES
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pycrypto-2.6.1-py3.6-win32.egg\Crypto\Cipher\AES.py", line 50, in <module>
from Crypto.Cipher import _AES
ImportError: DLL load failed: The specified module could not be found.
17-04-27 11:09:34 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...op_reading()]>)
Traceback (most recent call last):
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\asyncio\events.py", line 127, in _run
self._callback(*self._args)
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\asyncio\proactor_events.py", line 190, in _loop_reading
data = fut.result() # deliver data later in "finally" clause
asyncio.base_futures.InvalidStateError: Result is not ready.
17-04-27 11:09:42 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
17-04-27 11:09:43 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
17-04-27 11:09:50 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ed result=b''>)
Traceback (most recent call last):
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\asyncio\events.py", line 127, in _run
self._callback(*self._args)
File "C:\Users\Reuben\AppData\Local\Programs\Python\Python36-32\lib\asyncio\proactor_events.py", line 188, in _loop_reading
self._closing)
AssertionError