home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.08k stars 31.09k forks source link

Denon AVR - AVP-A1HD device support #114199

Closed petrjac closed 5 months ago

petrjac commented 8 months ago

The problem

It looks like Denon AVP-A1HD is not fully supported but recognized: image

Open ports

❯ nmap 192.168.11.132
Starting Nmap 7.80 ( https://nmap.org ) at 2024-03-25 21:24 CET
Nmap scan report for <???>.lan (192.168.11.132)
Host is up (0.00072s latency).
Not shown: 993 closed ports
PORT     STATE SERVICE
23/tcp   open  telnet
80/tcp   open  http
443/tcp  open  https
5000/tcp open  upnp
5001/tcp open  commplex-link
6666/tcp open  irc
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 6.87 seconds

There is telnet protocol

 ❯ telnet 192.168.11.132
Trying 192.168.11.132...
Connected to 192.168.11.132.
Escape character is '^]'.
BridgeCo AG Telnet server
PW?
PWON
^]
telnet> close
Connection closed.

Port 80 is running ASP web app

 ❯ curl -sI http://192.168.11.132:80 | grep Location
Location: http://192.168.11.132/index.asp

The /goform path is probably not working as expected:

❯ curl 192.168.11.132/goform/Deviceinfo.xml
<html><head><title>Document Error: Data follows</title></head>
        <body><h2>Access Error: Data follows</h2>
        <p>Form Deviceinfo.xml is not defined</p></body></html>

Port 8080

 ❯ curl -s http://192.168.11.132:8080/description.xml | xmllint --format - | grep modelName
-:4: namespace error : xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI
  xmlns:ms=" urn:microsoft-com:wmc-1-0">
                                       ^
    <modelName>AVP-A1HD</modelName>

What version of Home Assistant Core has the issue?

2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

denonavr

Link to integration documentation on our website

https://www.home-assistant.io/integrations/denonavr

Diagnostics information

show traceback ``` 2024-03-25 22:02:29.536 DEBUG (MainThread) [denonavr.decorators] HTTP timeout exception on request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions yield File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 254, in __aiter__ async for part in self._httpcore_stream: File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 367, in __aiter__ raise exc from None File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 363, in __aiter__ async for part in self._stream: File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 349, in __aiter__ raise exc File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 341, in __aiter__ async for chunk in self._connection._receive_response_body(**kwargs): File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 210, in _receive_response_body event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 224, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 31, in read with map_exceptions(exc_map): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 136, in async_get res = await client.get(endpoint, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1801, in get return await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1574, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1675, in send raise exc File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1669, in send await response.aread() File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 911, in aread self._content = b"".join([part async for part in self.aiter_bytes()]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 929, in aiter_bytes async for raw_bytes in self.aiter_raw(): File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 987, in aiter_raw async for raw_stream_bytes in self.stream: File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 149, in __aiter__ async for chunk in self._stream: File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 253, in __aiter__ with map_httpcore_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout 2024-03-25 22:02:29.545 DEBUG (MainThread) [denonavr.decorators] Exception TimeoutException: raised, clearing cache 2024-03-25 22:02:29.545 DEBUG (MainThread) [denonavr.foundation] Connection error on port 8080 when identifying receiver Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions yield File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 254, in __aiter__ async for part in self._httpcore_stream: File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 367, in __aiter__ raise exc from None File "/usr/local/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 363, in __aiter__ async for part in self._stream: File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 349, in __aiter__ raise exc File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 341, in __aiter__ async for chunk in self._connection._receive_response_body(**kwargs): File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 210, in _receive_response_body event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_async/http11.py", line 224, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 31, in read with map_exceptions(exc_map): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 136, in async_get res = await client.get(endpoint, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1801, in get return await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1574, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1675, in send raise exc File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1669, in send await response.aread() File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 911, in aread self._content = b"".join([part async for part in self.aiter_bytes()]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 929, in aiter_bytes async for raw_bytes in self.aiter_raw(): File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 987, in aiter_raw async for raw_stream_bytes in self.stream: File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 149, in __aiter__ async for chunk in self._stream: File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 253, in __aiter__ with map_httpcore_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 194, in async_identify_receiver xml = await self.api.async_get_xml( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 187, in async_get_xml res = await self.async_get(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 58, in wrapper raise AvrTimoutError(f"TimeoutException: {err}", err.request) from err denonavr.exceptions.AvrTimoutError: TimeoutException: 2024-03-25 22:02:30.062 DEBUG (MainThread) [denonavr.ssdp] Device http://192.168.11.132:8080/description.xml has manufacturer DENON 2024-03-25 22:02:30.062 INFO (MainThread) [denonavr.foundation] AVR device, AppCommand.xml interface not supported 2024-03-25 22:02:30.227 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:30.227 DEBUG (MainThread) [denonavr.foundation] Request error getting friendly name Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 294, in async_identify_update_method xml = await self.api.async_get_xml(self.urls.mainzone) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:30.232 INFO (MainThread) [denonavr.foundation] Receiver name could not be determined. Using standard name: Denon AVR 2024-03-25 22:02:30.232 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetAllZonePowerStatus', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:30.233 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneSource', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:30.233 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetRenameSource', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:30.233 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetDeletedSource', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:30.233 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetSurroundModeStatus', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:30.398 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:30.398 DEBUG (MainThread) [denonavr.foundation] Error when getting status update from url /goform/formMainZone_MainZoneXmlStatus.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 664, in async_update_attrs_status_xml xml = await self._device.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:30.567 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:30.568 DEBUG (MainThread) [denonavr.foundation] Error when getting status update from url /goform/formMainZone_MainZoneXml.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 664, in async_update_attrs_status_xml xml = await self._device.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:30.737 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:30.737 DEBUG (MainThread) [denonavr.foundation] Error when getting status update from url /goform/formMainZone_MainZoneXmlStatus.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/soundmode.py", line 166, in async_update_sound_mode await self.async_update_attrs_status_xml( File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 698, in async_update_attrs_status_xml raise AvrProcessingError( denonavr.exceptions.AvrProcessingError: Some attributes of zone Main not found on update: {'_sound_mode_raw': './selectSurround/value'} During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 664, in async_update_attrs_status_xml xml = await self._device.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:31.604 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:31.604 DEBUG (MainThread) [denonavr.foundation] Error when getting status update from url /goform/formMainZone_MainZoneXml.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/soundmode.py", line 166, in async_update_sound_mode await self.async_update_attrs_status_xml( File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 698, in async_update_attrs_status_xml raise AvrProcessingError( denonavr.exceptions.AvrProcessingError: Some attributes of zone Main not found on update: {'_sound_mode_raw': './selectSurround/value'} During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 664, in async_update_attrs_status_xml xml = await self._device.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:31.608 INFO (MainThread) [denonavr.soundmode] Sound mode not supported 2024-03-25 22:02:31.608 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetToneControl', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:31.608 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneVolume', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:31.609 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneMuteStatus', name=None, param_list=None, set_command=None, response_pattern=()) to AppCommand update tuple 2024-03-25 22:02:31.609 DEBUG (MainThread) [denonavr.api] Add tag AppCommandCmd(cmd_id='3', cmd_text=None, name='GetAudyssey', param_list=(AppCommandCmdParam(name='dynamiceq', text=''), AppCommandCmdParam(name='reflevoffset', text=''), AppCommandCmdParam(name='dynamicvol', text=''), AppCommandCmdParam(name='multeq', text='')), set_command=None, response_pattern=()) to AppCommand0300 update tuple 2024-03-25 22:02:31.781 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:31.781 DEBUG (MainThread) [denonavr.foundation] Error when getting power status from url /goform/formMainZone_MainZoneXmlStatus.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 482, in async_update_power_status_xml xml = await self.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:31.951 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:31.951 DEBUG (MainThread) [denonavr.foundation] Error when getting power status from url /goform/formMainZone_MainZoneXml.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 482, in async_update_power_status_xml xml = await self.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:32.121 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:32.121 DEBUG (MainThread) [denonavr.foundation] Error when getting power status from url /goform/formMainZone_MainZoneXmlStatus.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 482, in async_update_power_status_xml xml = await self.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:32.291 DEBUG (MainThread) [denonavr.decorators] Exception Returned document contains HTML raised, clearing cache 2024-03-25 22:02:32.292 DEBUG (MainThread) [denonavr.foundation] Error when getting power status from url /goform/formMainZone_MainZoneXml.xml Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 426, in __call__ result = self.__cache[key] ~~~~~~~~~~~~^^^^^ KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 482, in async_update_power_status_xml xml = await self.api.async_get_xml(url, cache_id=cache_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 111, in wrapper return await cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/asyncstdlib/_lrucache.py", line 429, in __call__ result = await self.__wrapped__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/decorators.py", line 47, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 191, in async_get_xml self.check_xml_validity(request, xml_root) File "/usr/local/lib/python3.12/site-packages/denonavr/api.py", line 293, in check_xml_validity raise AvrInvalidResponseError("Returned document contains HTML", request) denonavr.exceptions.AvrInvalidResponseError: Returned document contains HTML 2024-03-25 22:02:32.296 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Network Audio for denonavr Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/denonavr/__init__.py", line 53, in async_setup_entry await connect_denonavr.async_connect_receiver() File "/usr/src/homeassistant/homeassistant/components/denonavr/receiver.py", line 49, in async_connect_receiver await self.async_init_receiver_class() File "/usr/src/homeassistant/homeassistant/components/denonavr/receiver.py", line 95, in async_init_receiver_class await receiver.async_update() File "/usr/local/lib/python3.12/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.12/site-packages/denonavr/foundation.py", line 179, in async_update await self.async_update_power(global_update=global_update, cache_id=cache_id) File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 432, in async_update_power await self.async_update_power_status_xml(cache_id=cache_id) File "/usr/local/lib/python3.12/site-packages/denonavr/foundation.py", line 495, in async_update_power_status_xml raise AvrProcessingError( denonavr.exceptions.AvrProcessingError: Power attribute of zone Main not found on update ```

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 8 months ago

Hey there @ol-iver, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (denonavr) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `denonavr` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign denonavr` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


denonavr documentation denonavr source (message by IssueLinks)

issue-triage-workflows[bot] commented 5 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.