Hi,
I’m using the @pernordlund pioneer component. I made some minor changes to make it work with my VSX-S510 and everything works quite well. However I have an “EOFError: telnet connection closed error” every few days.
Log Details (ERROR)
Sat Apr 21 2018 07:54:08 GMT+0200 (Paris, Madrid (heure d’été))
Update for media_player.pioneer fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/media_player/pioneer_vsx528.py", line 114, in update
pwstate = self.telnet_request(telnet, "?P", "PWR")
File "/home/homeassistant/.homeassistant/custom_components/media_player/pioneer_vsx528.py", line 79, in telnet_request
result = telnet.read_until(b"\r\n", timeout=0.2).decode("ASCII") \
File "/usr/lib/python3.5/telnetlib.py", line 327, in read_until
return self.read_very_lazy()
File "/usr/lib/python3.5/telnetlib.py", line 403, in read_very_lazy
raise EOFError('telnet connection closed')
EOFError: telnet connection closed
It looks like the port is tied up but I can’t find a way to solve the problem. Do someone know something about this issue ?