Solved: External device - > current channel = allow in settings/whole Home
UPDATE: This is listed in the HA issue tracker on GitHub as a problem with tthe DirectPy.py file that needs to be updated. How is this done in Hass.io? Thanks.
------------------- (original post)
Thanks for any help on this issue. I am unable to get my DirecTV receiver to show up in Hass.io. Here is the error log:
2017-09-14 10:04:08 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform directv
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 352, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/directv.py”, line 75, in setup_platform
dtvs.append(DirecTvDevice(*host))
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/directv.py”, line 90, in init
self.dtv = DIRECTV(host, port, device)
File “/usr/lib/python3.6/site-packages/DirectPy.py”, line 33, in init
self.get_tuned()
File “/usr/lib/python3.6/site-packages/DirectPy.py”, line 73, in get_tuned
self.channel = self._combine_channel(jResp[‘major’],jResp[‘minor’])
KeyError: ‘major’
2017-09-14 10:04:33 WARNING (SyncWorker_1) [netdisco.ssdp] Error fetching description at 192.168.2.35
2017-09-14 10:04:38 WARNING (SyncWorker_1) [netdisco.ssdp] Error fetching description at http://192.168.1.4:49152/wps_device.xml
2017-09-14 10:31:51 WARNING (SyncWorker_0) [netdisco.ssdp] Error fetching description at http://169.254.6.10:63444/upnp/xml/devices/MediaRenderer1.xml
This is the relevant portion of my configuration.yaml file:
- platform: directv
host: 192.168.2.64
port: 8080
name: Family Room
device: 0
I tried leaving the autodiscovery on first, then ignored the directv component and specified as above. It is an HR54 Genie. I’m running .53. Thanks again.