Hi folks,
My log file is going nuts! There is some kind of issue with the Zone 4 on my Yamaha Amp:
2019-01-30 16:37:38 ERROR (Thread-15) [rxv] Invalid XML returned for request <YAMAHA_AV cmd="GET"><Zone_4><Volume><Mute>GetParam</Mute></Volume></Zone_4></YAMAHA_AV>: b''
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/rxv/rxv.py", line 139, in _request
response = ET.XML(res.content) # releases connection to the pool
File "/usr/lib/python3.5/xml/etree/ElementTree.py", line 1345, in XML
return parser.close()
File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
2019-01-30 16:37:39 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.rx_v2085_zone_4 fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_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 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/yamaha.py", line 176, in update
self._muted = self.receiver.mute
File "/srv/homeassistant/lib/python3.5/site-packages/rxv/rxv.py", line 554, in mute
response = self._request('GET', request_text)
File "/srv/homeassistant/lib/python3.5/site-packages/rxv/rxv.py", line 139, in _request
response = ET.XML(res.content) # releases connection to the pool
File "/usr/lib/python3.5/xml/etree/ElementTree.py", line 1345, in XML
return parser.close()
File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
I’m not exactly sure what is going on, but it does seem to come up thick and fast - 10k lines and counting after 45mins of HASS uptime!
Config looks like:
media_player:
- platform: yamaha
host: 192.168.86.247
name: 'Home Theater Yamaha'
source_ignore:
- "AUDIO3"
- "AUX"
- "AV5"
- "AV6"
- "AV7"
- "AirPlay"
- "Bluetooth"
- "Deezer"
- "MusicCast Link"
- "Spotify"
- "SERVER"
- "TIDAL"
source_names:
AV1: "Sony HD-Bluray"
AV2: "Kodi"
AV3: "PlayStation 4"
AV4: "Yamaha Bluray"
AUDIO1: "Sony TV"
AUDIO2: "Chromecast audio"
zone_ignore:
- "Zone_4"
zone_names:
Zone_1: "Home Theatre"
Zone_2: "Pool"
Zone_3: "Deck"
Any thoughts folks?
Thanks!
Brendan