Errors in log file for Denon AVR integration

I have two Denon AVRs; an AVR-3313 and an AVR-1713 and they were auto discovered.

While I can see the players in lovelace and control them I have errors in the log file - 1800 rows in 9 hours and counting - looks to be the power attribute but I’m by no means a developer that understands what’s going on here. Looking at the list of “known working receivers” I found the AVR-3312 which for the purpose of integration should run the same interface.

2022-06-14 02:10:08 WARNING (MainThread) [denonavr.foundation] Error verifying Appcommand.xml update method, deactivate this interface
2022-06-14 02:10:08 ERROR (MainThread) [homeassistant.components.denonavr.media_player] Error Some attributes of zone Main not found on update: {'_power': './Power/value'} occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 181, in wrapper
    return await func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 232, in async_update
    await self._receiver.async_update()
  File "/usr/local/lib/python3.9/site-packages/denonavr/denonavr.py", line 170, in async_update
    await self._device.async_update(global_update=True, cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 127, in async_update
    await self.async_update_power(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 359, in async_update_power
    await self.async_update_power_status_xml(cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 455, in async_update_power_status_xml
    raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Some attributes of zone Main not found on update: {'_power': './Power/value'}
2022-06-14 02:10:18 ERROR (MainThread) [homeassistant.components.denonavr.media_player] Error Some attributes of zone Main not found on update: {'_power': './Power/value'} occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 181, in wrapper
    return await func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 232, in async_update
    await self._receiver.async_update()
  File "/usr/local/lib/python3.9/site-packages/denonavr/denonavr.py", line 170, in async_update
    await self._device.async_update(global_update=True, cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 127, in async_update
    await self.async_update_power(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 359, in async_update_power
    await self.async_update_power_status_xml(cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 455, in async_update_power_status_xml
    raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Some attributes of zone Main not found on update: {'_power': './Power/value'}
2022-06-14 02:10:28 ERROR (MainThread) [homeassistant.components.denonavr.media_player] Error Some attributes of zone Main not found on update: {'_power': './Power/value'} occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 181, in wrapper
    return await func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 232, in async_update
    await self._receiver.async_update()
  File "/usr/local/lib/python3.9/site-packages/denonavr/denonavr.py", line 170, in async_update
    await self._device.async_update(global_update=True, cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 127, in async_update
    await self.async_update_power(
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 359, in async_update_power
    await self.async_update_power_status_xml(cache_id=cache_id)
  File "/usr/local/lib/python3.9/site-packages/denonavr/foundation.py", line 455, in async_update_power_status_xml
    raise AvrProcessingError(

I’m running this on a test system with the latest code as of Jun 2022; i.e.

Version	core-2022.6.5
Installation Type	Home Assistant OS
Development	false
Supervisor	true
Docker	true
User	root
Virtual Environment	false
Python Version	3.9.12
Operating System Family	Linux
Operating System Version	5.15.41
CPU Architecture	x86_64
Timezone	Australia/Melbourne
Home Assistant Community Store
GitHub API	ok
GitHub Content	ok
GitHub Web	ok
GitHub API Calls Remaining	4985
Installed Version	1.25.5
Stage	running
Available Repositories	1045
Downloaded Repositories	2
Home Assistant Cloud
Logged In	false
Reach Certificate Server	ok
Reach Authentication Server	ok
Reach Home Assistant Cloud	ok
Home Assistant Supervisor
Host Operating System	Home Assistant OS 8.1
Update Channel	stable
Supervisor Version	supervisor-2022.05.3
Agent Version	1.2.1
Docker Version	20.10.14
Disk Total	30.8 GB
Disk Used	4.2 GB
Healthy	true
Supported	true
Board	ova
Supervisor API	ok
Version API	ok
Installed Add-ons	Samba share (9.6.1), Terminal & SSH (9.4.0), Studio Code Server (5.1.0), Node-RED (12.0.2), TasmoAdmin (0.19.0), ESPHome (2022.5.1)

Any idea what this means and how to resolve it?

Does anyone else get these errors? They fill up my log file and I can’t decipher what these log file entries mean

I have disabled this integration as I can’t decipher the errors in the log file. I also raised an issue on the GitHub repo (first time) so I hope I have done that correctly.

So at this point I’m clueless as to what else to do. If someone else has (had) issues it would be great to hear about it

Sorry for the late reply on this post… Recently moved so life’s up in the air…

I have a X6500, X3500 and HEOS Link and I don’t have this issue. The XX12, XX13 series is the older generation which did not include HEOS built in. I recently picked up a X3000 (with no heos) for outdoor speakers, once I get it connected I’ll update this thread.

One quick thought, are the receivers running the latest firmware?

Thanks for getting back.

Yes, both receivers run the latest firmware. I have setup a brand new HA instance to ensure nothing else could be interfering but I get the same errors. Have raised an issue on GitHub but no response from the code owners yet for the last 6 weeks.

I guess there’s nothing else I can do other than wait. I’m not a developer so have no idea how to troubleshoot these errors. Frustrating to say the least…

I am also getting this error message after my most recent update to HA.

`Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py”, line 157, in wrapper
return await func(self, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py”, line 250, in async_update
await self._receiver.async_update()
File “/usr/local/lib/python3.10/site-packages/denonavr/denonavr.py”, line 170, in async_update
await self._device.async_update(global_update=True, cache_id=cache_id)
File “/usr/local/lib/python3.10/site-packages/denonavr/foundation.py”, line 127, in async_update
await self.async_update_power(
File “/usr/local/lib/python3.10/site-packages/denonavr/foundation.py”, line 359, in async_update_power
await self.async_update_power_status_xml(cache_id=cache_id)
File “/usr/local/lib/python3.10/site-packages/denonavr/foundation.py”, line 455, in async_update_power_status_xml
raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Some attributes of zone Main not found on update: {’_power’: ‘./Power/value’}’

I also my logs quite filled up fast with errors like that:

2024-01-22 16:35:52.115 ERROR (MainThread) [homeassistant.components.denonavr.media_player] Error Power attribute of zone Main not found on update occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 181, in wrapper
    return await func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 323, in async_update
    await receiver.async_update()
  File "/usr/local/lib/python3.11/site-packages/denonavr/denonavr.py", line 180, in async_update
    await self._device.async_update(global_update=True, cache_id=cache_id)
  File "/usr/local/lib/python3.11/site-packages/denonavr/foundation.py", line 178, in async_update
    await self.async_update_power(global_update=global_update, cache_id=cache_id)
  File "/usr/local/lib/python3.11/site-packages/denonavr/foundation.py", line 431, in async_update_power
    await self.async_update_power_status_xml(cache_id=cache_id)
  File "/usr/local/lib/python3.11/site-packages/denonavr/foundation.py", line 494, in async_update_power_status_xml
    raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Power attribute of zone Main not found on update

but I suspect this is because I switch off my Denon AVR with a zwave powerplug when it is not in used. meaning it is not even in sleep mode, it is completely OFF. and when I need it I have an automation that switches it on again. it is possibly that the DenonAVR integration does not like to have a device that is completely OFF maybe.