No luck still.
pi@Livingroom:~/.homeassistant/pylgnetcast-master$ sudo python3 setup.py install
running install
running bdist_egg
running egg_info
creating pylgnetcast.egg-info
writing dependency_links to pylgnetcast.egg-info/dependency_links.txt
writing pylgnetcast.egg-info/PKG-INFO
writing top-level names to pylgnetcast.egg-info/top_level.txt
writing manifest file 'pylgnetcast.egg-info/SOURCES.txt'
reading manifest file 'pylgnetcast.egg-info/SOURCES.txt'
writing manifest file 'pylgnetcast.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pylgnetcast
copying pylgnetcast/__main__.py -> build/lib/pylgnetcast
copying pylgnetcast/pylgnetcast.py -> build/lib/pylgnetcast
copying pylgnetcast/__init__.py -> build/lib/pylgnetcast
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/pylgnetcast
copying build/lib/pylgnetcast/__main__.py -> build/bdist.linux-armv7l/egg/pylgnetcast
copying build/lib/pylgnetcast/pylgnetcast.py -> build/bdist.linux-armv7l/egg/pylgnetcast
copying build/lib/pylgnetcast/__init__.py -> build/bdist.linux-armv7l/egg/pylgnetcast
byte-compiling build/bdist.linux-armv7l/egg/pylgnetcast/__main__.py to __main__.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/pylgnetcast/pylgnetcast.py to pylgnetcast.cpython-34.pyc
byte-compiling build/bdist.linux-armv7l/egg/pylgnetcast/__init__.py to __init__.cpython-34.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying pylgnetcast.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pylgnetcast.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pylgnetcast.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pylgnetcast.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pylgnetcast.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
creating dist
creating 'dist/pylgnetcast-0.3.1-py3.4.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing pylgnetcast-0.3.1-py3.4.egg
creating /usr/local/lib/python3.4/dist-packages/pylgnetcast-0.3.1-py3.4.egg
Extracting pylgnetcast-0.3.1-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Removing pylgnetcast 0.3.0 from easy-install.pth file
Adding pylgnetcast 0.3.1 to easy-install.pth file
Installed /usr/local/lib/python3.4/dist-packages/pylgnetcast-0.3.1-py3.4.egg
Processing dependencies for pylgnetcast==0.3.1
Finished processing dependencies for pylgnetcast==0.3.1
pi@Livingroom:~/.homeassistant/pylgnetcast-master$ sudo python3 -m pylgnetcast --host 192.168.0.104 --protocol hdcp
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 138, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 98, in create_connection
raise err
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 88, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 594, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 361, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 859, in send
self.connect()
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 163, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 147, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x762931d0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 643, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py", line 363, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.0.104', port=8080): Max retries exceeded with url: /hdcp/api/dtv_wifirc (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x762931d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/__main__.py", line 61, in <module>
sys.exit(main())
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/__main__.py", line 37, in main
args.protocol) as client:
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/pylgnetcast.py", line 134, in __enter__
self._session = self._get_session_id()
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/pylgnetcast.py", line 172, in _get_session_id
self._display_pair_key()
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/pylgnetcast.py", line 186, in _display_pair_key
self._send_to_tv('auth', self.KEY)
File "/home/pi/.homeassistant/pylgnetcast-master/pylgnetcast/pylgnetcast.py", line 195, in _send_to_tv
timeout=DEFAULT_TIMEOUT)
File "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 110, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.0.104', port=8080): Max retries exceeded with url: /hdcp/api/dtv_wifirc (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x762931d0>: Failed to establish a new connection: [Errno 111] Connection refused',))