Open ManiacMouse opened 3 months ago
@ManiacMouse sorry to hear you having issues, make sure your running core 2024.8.2 some fixes when in that release and a debug log for the component if that hasn't fixed it would be really useful thanks.
@pssc thank you for replying. Shortly after I wrote the ticket, I did upgrade to 2024.8.2 but it did not make a difference.
I would love to give you a debug log for the integration, but I don't know how to do that when it does not load and does not show up. The Troubleshooting your configuration page only describes how to do it in Settings > Devices & Services > Integrations, but its not there. I tried manually browsing to /config/integrations/integration/yamaha and the page loads, but the only links on the left side under the Yamaha logo are to Documentation and Known Issues, no option to enable debug logging.
So the only logs I have is what I wrote in the initial ticket, those two rows in home-assistant.log.
I'm happy to help debugging any way I can.
Yes can be done though the logger config in configuration in configuration.yaml, ah but this looks like can't actually connect to them at all, Have a look in the detailed log also
Ok, I've enabled debug successfully through the logger configuration and this is what I get now in home-assistant.log Looks like its looping to try to connect.
2024-08-19 10:28:39.787 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:28:39.787 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:28:39.787 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:28:39.787 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:28:39.790 DEBUG (SyncWorker_7) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:28:39.790 DEBUG (SyncWorker_9) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:28:43.667 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Sovrum; Retrying in background in 30 seconds
2024-08-19 10:28:43.668 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Vardagsrum; Retrying in background in 30 seconds
2024-08-19 10:28:55.704 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:28:55.705 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:28:55.705 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:28:55.705 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:28:55.707 DEBUG (SyncWorker_0) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:28:55.707 DEBUG (SyncWorker_10) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:29:59.114 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:29:59.114 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:29:59.115 DEBUG (SyncWorker_10) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:29:59.132 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:29:59.133 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:29:59.133 DEBUG (SyncWorker_12) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:31:32.525 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:31:32.525 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:31:32.525 DEBUG (SyncWorker_12) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:31:32.567 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:31:32.567 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:31:32.567 DEBUG (SyncWorker_16) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:33:35.788 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:33:35.788 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:33:35.788 DEBUG (SyncWorker_13) [homeassistant.components.yamaha.media_player] Config Zones
2024-08-19 10:33:36.048 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Known receiver zones: set()
2024-08-19 10:33:36.049 DEBUG (MainThread) [homeassistant.components.yamaha.media_player] Discovery Info: None
2024-08-19 10:33:36.049 DEBUG (SyncWorker_3) [homeassistant.components.yamaha.media_player] Config Zones
My configuration related to this looks like this now:
# Logger settings
logger:
default: warning
logs:
homeassistant.components.yamaha: debug
# Enable Yamaha Media Player support
media_player:
- platform: yamaha
host: 192.168.0.30
name: "Vardagsrum"
- platform: yamaha
host: 192.168.0.31
name: "Sovrum"
@ManiacMouse thank you that's really useful it looking like the fix in 2024.8.2 is masking another bug, I am working on an updated version https://github.com/home-assistant/core/pull/124057 and related to #124087
@pssc I installed the yamaha.tar.gz you shared in the other thread as custom_component, but it does not seem to fix my issue. I still have debug enabled, but I don't get any debug output anymore. All I see is the output below in home-assistant.log.
2024-08-19 19:15:01.234 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-19 19:15:05.510 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Vardagsrum; Retrying in background in 30 seconds
2024-08-19 19:15:05.510 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Sovrum; Retrying in background in 30 seconds
@ManiacMouse it looks like you debug log settings might have dropped off as you should be able to gain more detailed logs. On the surface it looks like the config for your receivers needs checking as it is failing to connect to the device at the network level, But I will reserve judgement until I can see the full debug log as the new component has more logging. This was working right? ;-)
@pssc My configuration is still exactly the same as above. Network connectivity is fine, my HAOS is on the same network as the receivers.
Welcome to Home Assistant
homeassistant login: root
Welcome to Home Assistant OS.
Use `ha` to access the Home Assistant CLI.
# ip addr show enp0s2
2: enp0s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:85:70:38 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.20/22 brd 192.168.3.255 scope global dynamic noprefixroute enp0s2
valid_lft 55057sec preferred_lft 55057sec
inet6 fe80::e7f9:a58a:e602:95a6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
# ping 192.168.0.30
192.168.0.30 is alive!
# ping 192.168.0.31
192.168.0.31 is alive!
I'll try to debug the debugging so I can get some logs.
@pssc I tried rebooting HAOS just to try it, but its still the same three rows in home-assistant.log and no debug output at all.
I assume this path is correct since it says that it loads yamaha as a custom integration.
/mnt/data/supervisor/homeassistant/custom_components/yamaha
Do I need to enable debug differently when its loaded as a custom integration?
@pssc Sorry, I'm learning more and more about how Home Assistant works as I play around. Figured out how to turn on debug logging for custom components so my configuration for the logger is now like this.
# Logger settings
logger:
default: warning
logs:
homeassistant.components.yamaha: debug
custom_components.yamaha: debug
And now, we have some debug printouts.
2024-08-20 00:37:31.032 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-20 00:37:31.502 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:37:31.502 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:37:31.502 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:37:31.502 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:37:31.502 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:37:31.503 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:37:31.504 DEBUG (SyncWorker_0) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:37:31.504 DEBUG (SyncWorker_0) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:37:31.504 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:37:31.504 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:37:35.305 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Sovrum; Retrying in background in 30 seconds
2024-08-20 00:37:35.305 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Vardagsrum; Retrying in background in 30 seconds
2024-08-20 00:37:48.908 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:37:48.908 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:37:48.908 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:37:48.908 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:37:48.928 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:37:48.928 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:37:48.932 DEBUG (SyncWorker_12) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:37:48.932 DEBUG (SyncWorker_12) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:37:48.932 DEBUG (SyncWorker_1) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:37:48.932 DEBUG (SyncWorker_1) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:38:52.113 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:38:52.113 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:38:52.113 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:38:52.114 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:38:52.114 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:38:52.480 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:38:52.480 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:38:52.480 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:38:52.481 DEBUG (SyncWorker_17) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:38:52.481 DEBUG (SyncWorker_17) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:40:25.483 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:40:25.483 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:40:25.484 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:40:25.484 DEBUG (SyncWorker_3) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:40:25.484 DEBUG (SyncWorker_3) [custom_components.yamaha.media_player] Config Zones
2024-08-20 00:40:25.978 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 00:40:25.978 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 00:40:25.978 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 00:40:25.979 DEBUG (SyncWorker_16) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 00:40:25.979 DEBUG (SyncWorker_16) [custom_components.yamaha.media_player] Config Zones
I tried these two URLs I see in the log in a browser, and they are responding but give errors. Perhaps this is working as intended because I guess its some kind of API, I don't know, but I hope the information helps.
http://192.168.0.30:80/YamahaRemoteControl/ctrl
http://192.168.0.31:80/YamahaRemoteControl/ctrl
The first one (.30) is my RX-A840 and it gives a HTTP ERROR 400. The second one (.31) is my RX-V585 and it gives a ERR_INVALID_RESPONSE.
@ManiacMouse most useful thank you for your persistence looks like its coming unstuck after Config Zones are there any exceptions?
This is the contents of the home-assistant.log.fault and it does have a number of errors, but I don't know if its related.
Fatal Python error: Segmentation fault
Thread 0x00007f9d3a716b30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3a829b30 (most recent call first):
File "/usr/local/lib/python3.12/site-packages/serial/serialposix.py", line 322 in open
File "/usr/local/lib/python3.12/site-packages/serial/__init__.py", line 90 in serial_for_url
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58 in run
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 92 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3a93cb30 (most recent call first):
File "/usr/local/lib/python3.12/selectors.py", line 462 in select
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1936 in _run_once
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 638 in run_forever
File "/usr/local/lib/python3.12/site-packages/bellows/thread.py", line 28 in _thread_main
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58 in run
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 92 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3aa4fb30 (most recent call first):
File "/usr/local/lib/python3.12/threading.py", line 359 in wait
File "/usr/local/lib/python3.12/queue.py", line 180 in get
File "/usr/local/lib/python3.12/site-packages/aiosqlite/core.py", line 99 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3c86fb30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3d78db30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3d8a0b30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3d9b3b30 (most recent call first):
File "/usr/local/lib/python3.12/ssl.py", line 1105 in read
File "/usr/local/lib/python3.12/ssl.py", line 1253 in recv_into
File "/usr/local/lib/python3.12/socket.py", line 707 in readinto
File "/usr/local/lib/python3.12/http/client.py", line 292 in _read_status
File "/usr/local/lib/python3.12/http/client.py", line 331 in begin
File "/usr/local/lib/python3.12/http/client.py", line 1419 in getresponse
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462 in _make_request
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715 in urlopen
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 486 in send
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703 in send
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589 in request
File "/usr/local/lib/python3.12/site-packages/requests/api.py", line 59 in request
File "/usr/local/lib/python3.12/site-packages/requests/api.py", line 73 in get
File "/usr/local/lib/python3.12/site-packages/solaredge/solaredge.py", line 312 in get_inventory
File "/usr/src/homeassistant/homeassistant/components/solaredge/coordinator.py", line 162 in update
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58 in run
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 92 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3e7cfb30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3ecffb30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d3ff1fb30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d407bcb30 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d4c1ffb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d4ca4fb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d5e4afb38 (most recent call first):
File "/usr/local/lib/python3.12/threading.py", line 355 in wait
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 451 in result
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 687 in _wait_startup_or_shutdown
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 746 in _run
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 698 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d62bffb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d6417bb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d6427fb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d64bffb38 (most recent call first):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 89 in _worker
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x00007f9d651efb38 (most recent call first):
File "/usr/local/lib/python3.12/logging/handlers.py", line 1527 in dequeue
File "/usr/local/lib/python3.12/logging/handlers.py", line 1578 in _monitor
File "/usr/local/lib/python3.12/threading.py", line 1010 in run
File "/usr/local/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/local/lib/python3.12/threading.py", line 1030 in _bootstrap
Current thread 0x00007f9d6a12bb08 (most recent call first):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/messages.py", line 246 in _message_to_json_bytes_or_none
File "/usr/src/homeassistant/homeassistant/components/websocket_api/messages.py", line 259 in message_to_json_bytes
File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 199 in _send_message
File "/usr/src/homeassistant/homeassistant/components/frontend/__init__.py", line 741 in websocket_get_translations
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26 in _handle_async_response
File "/usr/local/lib/python3.12/asyncio/events.py", line 84 in _run
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1974 in _run_once
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 638 in run_forever
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 671 in run_until_complete
File "/usr/src/homeassistant/homeassistant/runner.py", line 188 in run
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209 in main
File "/usr/src/homeassistant/homeassistant/__main__.py", line 221 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
Extension modules: yaml._yaml, _cffi_backend, multidict._multidict, yarl._quoting_c, ciso8601, _brotli, aiohttp._helpers, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket, frozenlist._frozenlist, ulid_transform._ulid_impl, markupsafe._speedups, isal.igzip_lib, isal.isal_zlib, PIL._imaging, simplejson._speedups, sqlalchemy.cyextension.collections, sqlalchemy.cyextension.immutabledict, sqlalchemy.cyextension.processors, sqlalchemy.cyextension.resultproxy, sqlalchemy.cyextension.util, greenlet._greenlet, fnv_hash_fast._fnv_impl, cached_ipaddress.ipaddress, dbus_fast.signature, dbus_fast._private.marshaller, dbus_fast.message, dbus_fast.service, dbus_fast._private.address, dbus_fast.unpack, dbus_fast.message_bus, dbus_fast._private.unmarshaller, dbus_fast.aio.message_reader, bluetooth_data_tools.gap, bluetooth_data_tools._time_impl, bluetooth_data_tools._utils_impl, bluetooth_data_tools.utils, habluetooth.models, habluetooth.advertisement_tracker, habluetooth.manager, habluetooth.base_scanner, habluetooth.scanner, zeroconf._utils.time, zeroconf._dns, zeroconf._protocol.outgoing, zeroconf._protocol.incoming, zeroconf._cache, zeroconf._record_update, zeroconf._history, zeroconf._updates, zeroconf._services, zeroconf._utils.ipaddress, zeroconf._services.info, zeroconf._services.registry, zeroconf._handlers.answers, zeroconf._handlers.multicast_outgoing_queue, zeroconf._handlers.query_handler, zeroconf._handlers.record_manager, zeroconf._listener, zeroconf._services.browser, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, psutil._psutil_linux, psutil._psutil_posix, chacha20poly1305_reuseable, av._core, av.logging, av.bytesource, av.buffer, av.audio.format, av.enum, av.error, av.utils, av.option, av.descriptor, av.container.pyio, av.dictionary, av.format, av.stream, av.container.streams, av.sidedata.motionvectors, av.sidedata.sidedata, av.packet, av.container.input, av.bitstream.filter, av.bitstream.context, av.container.output, av.container.core, av.codec.context, av.video.format, av.video.reformatter, av.plane, av.video.plane, av.video.frame, av.video.stream, av.codec.codec, av.frame, av.audio.layout, av.audio.plane, av.audio.frame, av.audio.stream, av.audio.fifo, av.filter.pad, av.filter.link, av.filter.context, av.filter.graph, av.filter.filter, av.audio.resampler, google._upb._message (total: 121)
@ManiacMouse thanks will have a new version tomorrow after some local testing if you could oblige.
@pssc I will help in any way I can. Thank you! Now its time to sleep :)
yamaha.tar.gz Morning I have changed the exception handling, hopefully this should cause it to use another method and work for you.
I installed this new version, but I think it looks the same. I also noticed while looking at the file system that the contents of my home-assistant.log.fault was from February, so it was not related to this at all. Sorry, I should have seen that before.
This is how the home-assistant.log looks like now with this new version:
2024-08-20 11:15:39.565 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:15:40.137 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:15:40.139 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:15:40.139 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:15:40.140 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:15:40.140 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:15:43.953 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Sovrum; Retrying in background in 30 seconds
2024-08-20 11:15:43.970 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: Issue while connecting to Vardagsrum; Retrying in background in 30 seconds
2024-08-20 11:15:57.635 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:15:57.635 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:15:57.635 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:15:57.635 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:15:57.674 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:15:57.674 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:15:57.675 DEBUG (SyncWorker_12) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:15:57.675 DEBUG (SyncWorker_12) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:15:57.676 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:15:57.676 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:17:00.900 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:17:00.900 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:17:00.901 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:17:00.901 DEBUG (SyncWorker_19) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:17:00.901 DEBUG (SyncWorker_19) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:17:01.058 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:17:01.058 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:17:01.058 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:17:01.058 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:17:01.058 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:18:34.379 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:18:34.379 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:18:34.380 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:18:34.380 DEBUG (SyncWorker_5) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:18:34.380 DEBUG (SyncWorker_5) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:18:34.554 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:18:34.554 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:18:34.554 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:18:34.554 DEBUG (SyncWorker_0) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:18:34.554 DEBUG (SyncWorker_0) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:20:37.950 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:20:37.950 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:20:37.951 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:20:37.951 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:20:37.951 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:20:38.097 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:20:38.097 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:20:38.097 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:20:38.097 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:20:38.097 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:23:11.591 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:23:11.591 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:23:11.591 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:23:11.592 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:23:11.592 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:23:11.783 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:23:11.783 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:23:11.783 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:23:11.783 DEBUG (SyncWorker_23) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:23:11.783 DEBUG (SyncWorker_23) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:26:15.109 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:26:15.109 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:26:15.109 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:26:15.109 DEBUG (SyncWorker_6) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:26:15.110 DEBUG (SyncWorker_6) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:26:15.538 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:26:15.539 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:26:15.539 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:26:15.539 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:26:15.539 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:29:18.720 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:29:18.721 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:29:18.721 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:29:18.721 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:29:18.721 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:29:18.869 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:29:18.869 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:29:18.869 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:29:18.870 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:29:18.870 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:32:21.849 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:32:21.849 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:32:21.849 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:32:21.849 DEBUG (SyncWorker_14) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:32:21.849 DEBUG (SyncWorker_14) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:32:21.996 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:32:21.996 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:32:21.996 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:32:21.996 DEBUG (SyncWorker_26) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:32:21.996 DEBUG (SyncWorker_26) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:35:25.219 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:35:25.219 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:35:25.220 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:35:25.220 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:35:25.220 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:35:25.319 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:35:25.319 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:35:25.319 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:35:25.319 DEBUG (SyncWorker_3) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:35:25.319 DEBUG (SyncWorker_3) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:38:28.575 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:38:28.575 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:38:28.575 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:38:28.576 DEBUG (SyncWorker_21) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:38:28.576 DEBUG (SyncWorker_21) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:38:28.917 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:38:28.917 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:38:28.917 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:38:28.917 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:38:28.918 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:41:31.998 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:41:31.998 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:41:31.998 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:41:31.999 DEBUG (SyncWorker_11) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:41:31.999 DEBUG (SyncWorker_11) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:41:32.595 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:41:32.595 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:41:32.595 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:41:32.595 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:41:32.595 DEBUG (SyncWorker_8) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:44:35.436 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:44:35.436 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:44:35.436 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:44:35.437 DEBUG (SyncWorker_23) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:44:35.437 DEBUG (SyncWorker_23) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:44:35.912 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:44:35.912 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:44:35.912 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:44:35.912 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:44:35.912 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:47:38.796 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:47:38.796 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:47:38.796 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:47:38.797 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:47:38.797 DEBUG (SyncWorker_22) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:47:39.434 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:47:39.435 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:47:39.435 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:47:39.435 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:47:39.435 DEBUG (SyncWorker_2) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:50:42.178 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:50:42.179 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:50:42.179 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:50:42.180 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:50:42.180 DEBUG (SyncWorker_24) [custom_components.yamaha.media_player] Config Zones
2024-08-20 11:50:42.914 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 11:50:42.914 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 11:50:42.914 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 11:50:42.914 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 11:50:42.914 DEBUG (SyncWorker_10) [custom_components.yamaha.media_player] Config Zones
For your receivers can you view the /YamahaRemoteControl/desc.xml on each one?
I tried the URL you ask and also /YamahaRemoteControl/v1/system/getDeviceInfo from within the core container.
The RX-A840 returns 404 on both requests.
The output from my RX-V585 returns this:
/YamahaRemoteControl/desc.xml:
{"response_code":3}
/YamahaRemoteControl/v1/system/getDeviceInfo:
{"response_code":0,"model_name":"RX-V585","destination":"G","device_id":"44FE3B6D1458","system_id":"07943B83","system_version":1.88,"api_version":2.15,"netmodule_generation":2,"netmodule_version":"1909 ","netmodule_checksum":"BFF7716F","serial_number":"Y353029WY","category_code":1,"operation_mode":"normal","update_error_code":"00000000","net_module_num":1,"update_data_type":0,"analytics_info":{"uuid":"a6bea02a-1af6-463a-bc3f-265cfa31c29c"}}
Due to this, I tested removing my RX-A840 from my configuration.yaml, leaving only the RX-V585, but it made no difference, it still does not load.
As I wrote before, I'm learning as I go. Seems like there are two Yamaha protocols for communicating with receivers. The newer YXC protocol which my RX-V585 supports but it would seem that my older RX-A840 is using the YNCA protocol.
Does this integration support both protocols? I see that there is a Yamaha YNCA integration in the community store which has the RX-A840 on its list of supported devices.
Yes if /YamahaRemoteControl/desc.xml doesn't work the rxv library underneath will not work. You have a later version of the protocol, tried the music cast integration? /YamahaRemoteControl/v1/system/getDeviceInfo doesn't work on my venerable RX-A2020
Yes, the MusicCast integration did autodetect my RX-V585, but I read that it was inferior to the Yamaha integration and also I wanted to control my RX-A840. So maybe my solution is to use the MusicCast integration for the RX-V585 and try out the Yamaha YNCA integration from the community store for my RX-A840. So I guess one receiver is to old and the other updated to a to new version for this integration to work?
Maybe be lets is upnp/dlna turned on? and lets try this version I have stripped down the init code to the minimum yamaha.tar.gz
Now the integration loads and I can see it running. It appears like I can control the RX-V585 too, but I'm not at home so I can't say for sure that its actually working. Power on/off appears to do something though.
Here is the log which now actually states that it failed to load, even though it appears to be working:
2024-08-20 13:50:46.309 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-20 13:50:46.875 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-20 13:50:46.875 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-20 13:50:46.875 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery data store {}
2024-08-20 13:50:46.877 DEBUG (SyncWorker_7) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-20 13:50:46.877 DEBUG (SyncWorker_7) [custom_components.yamaha.media_player] Config Zones
2024-08-20 13:50:46.877 DEBUG (SyncWorker_7) [custom_components.yamaha.media_player] Discovery Store Fallback
2024-08-20 13:50:46.877 DEBUG (SyncWorker_7) [custom_components.yamaha.media_player] Config Zones Fallback
2024-08-20 13:50:47.668 DEBUG (SyncWorker_7) [custom_components.yamaha.media_player] Returned _discover zones: [<RXV model_name="Sovrum" serial_number="None" zone="Main_Zone" ctrl_url="http://192.168.0.31:80/YamahaRemoteControl/ctrl" at 0x7f03c2bd56a0>, <RXV model_name="Sovrum" serial_number="None" zone="Main_Zone" ctrl_url="http://192.168.0.31:80/YamahaRemoteControl/ctrl" at 0x7f03c2bb5a00>]
2024-08-20 13:50:47.806 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Main_Zone serial None
2024-08-20 13:50:47.806 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Main_Zone serial None
2024-08-20 13:50:47.806 DEBUG (MainThread) [custom_components.yamaha.media_player] Ignoring duplicate zone: Sovrum Main_Zone
2024-08-20 13:50:47.806 DEBUG (MainThread) [custom_components.yamaha.media_player] Add entities [<entity unknown.unknown=unknown>]
2024-08-20 13:50:47.807 DEBUG (MainThread) [custom_components.yamaha.media_player] Platform setup complete
2024-08-20 13:50:49.517 ERROR (MainThread) [homeassistant.helpers.service] Failed to load integration: yamaha
NoneType: None
@ManiacMouse the fail to load is the one inside HA rather than the custom complement, will await feedback if it actually works, might be worth a spin with the other receiver also and I will have a think
@pssc I added the RX-A840 to the configuration again and it is now detected as well and here we are in luck, I can see it on one of my security cameras at home so I can say for sure that it does actually work because I see it turning on and off. We have connectivity :)
Maybe be lets is upnp/dlna turned on? and lets try this version I have stripped down the init code to the minium yamaha.tar.gz
Works perfectly on RX-V673 There is just a small bug on the volume adjustment.
`Enregistreur: rxv Source: custom_components/yamaha/media_player.py:362 intégration: yamaha S'est produit pour la première fois: 14:42:26 (2 occurrences) Dernier enregistrement: 15:07:54
Request <YAMAHA_AV cmd="PUT"><Main_Zone><Volume><Lvl><Val>-830</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Main_Zone></YAMAHA_AV> failed with b'<YAMAHA_AV rsp="PUT" RC="3"><Main_Zone><Volume><Lvl></Lvl></Volume></Main_Zone></YAMAHA_AV>'
Request <YAMAHA_AV cmd="PUT"><Main_Zone><Volume><Lvl><Val>-1000</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Main_Zone></YAMAHA_AV> failed with b'<YAMAHA_AV rsp="PUT" RC="3"><Main_Zone><Volume><Lvl></Lvl></Volume></Main_Zone></YAMAHA_AV>'
`
Just arrived home and I can now confirm that the integration is indeed communicating with both receivers. I've not done any thorough testing though, just turn on/off.
Maybe be lets is upnp/dlna turned on? and lets try this version I have stripped down the init code to the minium yamaha.tar.gz
Works perfectly on RX-V673 There is just a small bug on the volume adjustment.
`Enregistreur: rxv Source: custom_components/yamaha/media_player.py:362 intégration: yamaha S'est produit pour la première fois: 14:42:26 (2 occurrences) Dernier enregistrement: 15:07:54
Request <YAMAHA_AV cmd="PUT"><Main_Zone><Volume><Lvl><Val>-830</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Main_Zone></YAMAHA_AV> failed with b'<YAMAHA_AV rsp="PUT" RC="3"><Main_Zone><Volume><Lvl></Lvl></Volume></Main_Zone></YAMAHA_AV>' Request <YAMAHA_AV cmd="PUT"><Main_Zone><Volume><Lvl><Val>-1000</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Main_Zone></YAMAHA_AV> failed with b'<YAMAHA_AV rsp="PUT" RC="3"><Main_Zone><Volume><Lvl></Lvl></Volume></Main_Zone></YAMAHA_AV>'
`
@Minuskule Ah that's in rxv I haven't touched that sorry different issue.
@ManiacMouse thanks I had to do a real hatched job on that last one, please try this and provide logs this in theory should give you a serial and now uses HA's own ssdp for discovering the serialno rather than rxv.find.
@pssc It doesn't start and work now, but I hope the log will be of assistance.
2024-08-21 09:41:37.541 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha_ynca which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-21 09:41:37.541 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yamaha which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-21 09:41:38.057 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:41:38.057 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:41:38.057 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:41:38.057 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:41:38.061 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: SSDP Discovery needs a chance to to run; Retrying in background in 30 seconds
2024-08-21 09:41:38.061 WARNING (MainThread) [homeassistant.components.media_player] Platform yamaha not ready yet: SSDP Discovery needs a chance to to run; Retrying in background in 30 seconds
2024-08-21 09:41:56.257 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:41:56.258 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:41:56.259 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:41:56.259 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:41:56.277 DEBUG (MainThread) [custom_components.yamaha.config_flow] SSDP Discover SsdpServiceInfo(ssdp_usn='uuid:9ab0c000-f668-11de-9976-44fe3b6d1458::upnp:rootdevice', ssdp_st='upnp:rootdevice', upnp={'X_DLNADOC': 'DMR-1.50', 'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'friendlyName': 'RX-V585', 'manufacturer': 'Yamaha Corporation', 'manufacturerURL': 'http://www.yamaha.com/', 'modelDescription': 'AV Receiver', 'modelName': 'RX-V585', 'modelNumber': 'V585', 'modelURL': 'http://www.yamaha.com/', 'serialNumber': '07943B83', 'UDN': 'uuid:9ab0c000-f668-11de-9976-44fe3b6d1458', 'iconList': {'icon': [{'mimetype': 'image/jpeg', 'width': '48', 'height': '48', 'depth': '24', 'url': '/Icons/48x48.jpg'}, {'mimetype': 'image/jpeg', 'width': '120', 'height': '120', 'depth': '24', 'url': '/Icons/120x120.jpg'}, {'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/Icons/48x48.png'}, {'mimetype': 'image/png', 'width': '120', 'height': '120', 'depth': '24', 'url': '/Icons/120x120.png'}]}, 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'SCPDURL': '/AVTransport/desc.xml', 'controlURL': '/AVTransport/ctrl', 'eventSubURL': '/AVTransport/event'}, {'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'SCPDURL': '/RenderingControl/desc.xml', 'controlURL': '/RenderingControl/ctrl', 'eventSubURL': '/RenderingControl/event'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'SCPDURL': '/ConnectionManager/desc.xml', 'controlURL': '/ConnectionManager/ctrl', 'eventSubURL': '/ConnectionManager/event'}]}, 'presentationURL': 'http://192.168.0.31/'}, ssdp_location='http://192.168.0.31:49154/MediaRenderer/desc.xml', ssdp_nt=None, ssdp_udn='uuid:9ab0c000-f668-11de-9976-44fe3b6d1458', ssdp_ext='', ssdp_server='Linux/3.2 UPnP/1.0 Network_Module/1.0 (RX-V585)', ssdp_headers={'Location': 'http://192.168.0.31:49154/MediaRenderer/desc.xml', 'Cache-Control': 'max-age=1800', 'Content-Length': '0', 'Server': 'Linux/3.2 UPnP/1.0 Network_Module/1.0 (RX-V585)', 'EXT': '', 'ST': 'upnp:rootdevice', 'USN': 'uuid:9ab0c000-f668-11de-9976-44fe3b6d1458::upnp:rootdevice', '_host': '192.168.0.31', '_udn': 'uuid:9ab0c000-f668-11de-9976-44fe3b6d1458', '_location_original': 'http://192.168.0.31:49154/MediaRenderer/desc.xml', 'location': 'http://192.168.0.31:49154/MediaRenderer/desc.xml', '_timestamp': datetime.datetime(2024, 8, 21, 9, 41, 39, 32865), '_remote_addr': ('192.168.0.31', 45684), '_port': 45684, '_local_addr': ('0.0.0.0', 0), '_source': <SsdpSource.SEARCH: 'search'>}, ssdp_all_locations={'http://192.168.0.31:49154/MediaRenderer/desc.xml'}, x_homeassistant_matching_domains={'yamaha_musiccast', 'yamaha'})
2024-08-21 09:41:56.278 DEBUG (MainThread) [custom_components.yamaha.config_flow] Reusing Store
2024-08-21 09:41:56.291 DEBUG (MainThread) [custom_components.yamaha.config_flow] SSDP Discover SsdpServiceInfo(ssdp_usn='uuid:5f9ec1b3-ed59-1900-4530-00a0deb5a966::upnp:rootdevice', ssdp_st='upnp:rootdevice', upnp={'X_DLNADOC': 'DMR-1.50', 'X_compatibleId': 'MS_DigitalMediaDeviceClass_DMR_V001', 'X_deviceCategory': ['MediaDevices Multimedia.DMR MediaDevice.DMC', 'Multimedia.DMR'], 'X_hardwareId': 'VEN_0033&DEV_0006&REV_01', 'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'friendlyName': 'RX-A840', 'manufacturer': 'Yamaha Corporation', 'manufacturerURL': 'http://www.yamaha.com/', 'modelDescription': 'AV Receiver', 'modelName': 'RX-A840', 'modelNumber': 'A840', 'modelURL': 'http://www.yamaha.com/', 'serialNumber': '00369863', 'UDN': 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb5a966', 'UPC': '123810928305', 'iconList': {'icon': [{'mimetype': 'image/jpeg', 'width': '48', 'height': '48', 'depth': '24', 'url': '/BCO_device_sm_icon.jpg'}, {'mimetype': 'image/jpeg', 'width': '120', 'height': '120', 'depth': '24', 'url': '/BCO_device_lrg_icon.jpg'}, {'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/BCO_device_sm_icon.png'}, {'mimetype': 'image/png', 'width': '120', 'height': '120', 'depth': '24', 'url': '/BCO_device_lrg_icon.png'}]}, 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'SCPDURL': '/RenderingControl/desc.xml', 'controlURL': '/RenderingControl/ctrl', 'eventSubURL': '/RenderingControl/evt'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'SCPDURL': '/ConnectionManager/desc.xml', 'controlURL': '/ConnectionManager/ctrl', 'eventSubURL': '/ConnectionManager/evt'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'SCPDURL': '/AVTransport/desc.xml', 'controlURL': '/AVTransport/ctrl', 'eventSubURL': '/AVTransport/evt'}]}, 'presentationURL': 'http://192.168.0.30/', '@{urn:microsoft-com:wmc-1-0}X_MS_SupportsWMDRM': 'true'}, ssdp_location='http://192.168.0.30:8080/MediaRenderer/desc.xml', ssdp_nt=None, ssdp_udn='uuid:5f9ec1b3-ed59-1900-4530-00a0deb5a966', ssdp_ext='', ssdp_server='KnOS/3.2 UPnP/1.0 DMP/3.5', ssdp_headers={'CACHE-CONTROL': 'max-age=1800', 'EXT': '', 'LOCATION': 'http://192.168.0.30:8080/MediaRenderer/desc.xml', 'SERVER': 'KnOS/3.2 UPnP/1.0 DMP/3.5', 'ST': 'upnp:rootdevice', 'USN': 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb5a966::upnp:rootdevice', '_host': '192.168.0.30', '_udn': 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb5a966', '_location_original': 'http://192.168.0.30:8080/MediaRenderer/desc.xml', 'location': 'http://192.168.0.30:8080/MediaRenderer/desc.xml', '_timestamp': datetime.datetime(2024, 8, 21, 9, 41, 39, 33081), '_remote_addr': ('192.168.0.30', 3911), '_port': 3911, '_local_addr': ('0.0.0.0', 0), '_source': <SsdpSource.SEARCH: 'search'>}, ssdp_all_locations={'http://192.168.0.30:8080/MediaRenderer/desc.xml'}, x_homeassistant_matching_domains={'yamaha_musiccast', 'yamaha'})
2024-08-21 09:41:56.291 DEBUG (MainThread) [custom_components.yamaha.config_flow] Reusing Store
2024-08-21 09:41:56.291 DEBUG (MainThread) [custom_components.yamaha.config_flow] Discovery Store {}
2024-08-21 09:41:56.291 DEBUG (MainThread) [custom_components.yamaha.config_flow] Recording serial http://192.168.0.31:80/YamahaRemoteControl/ctrl 07943B83
2024-08-21 09:41:56.335 DEBUG (MainThread) [custom_components.yamaha.config_flow] Discovery Store {'http://192.168.0.31:80/YamahaRemoteControl/ctrl': {'serial_number': '07943B83'}}
2024-08-21 09:41:56.335 DEBUG (MainThread) [custom_components.yamaha.config_flow] Recording serial http://192.168.0.30:80/YamahaRemoteControl/ctrl 00369863
2024-08-21 09:42:56.312 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:42:56.312 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:42:56.312 DEBUG (MainThread) [custom_components.yamaha.media_player] Known receiver zones: set()
2024-08-21 09:42:56.312 DEBUG (MainThread) [custom_components.yamaha.media_player] Discovery Info: None
2024-08-21 09:42:56.313 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery Config {'name': 'Sovrum', 'host': '192.168.0.31', 'ctrl_url': 'http://192.168.0.31:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-21 09:42:56.313 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Config Zones
2024-08-21 09:42:56.313 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery Store
2024-08-21 09:42:56.313 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Discovery store data matched with Serial http://192.168.0.31:80/YamahaRemoteControl/ctrl Sovrum 07943B83
2024-08-21 09:42:56.314 DEBUG (SyncWorker_20) [custom_components.yamaha.media_player] Discovery Config {'name': 'Vardagsrum', 'host': '192.168.0.30', 'ctrl_url': 'http://192.168.0.30:80/YamahaRemoteControl/ctrl', 'source_ignore': [], 'source_names': {}, 'zone_ignore': [], 'zone_names': {}, 'from_discovery': False}
2024-08-21 09:42:56.314 DEBUG (SyncWorker_20) [custom_components.yamaha.media_player] Config Zones
2024-08-21 09:42:56.314 DEBUG (SyncWorker_20) [custom_components.yamaha.media_player] Discovery Store
2024-08-21 09:42:56.314 DEBUG (SyncWorker_20) [custom_components.yamaha.media_player] Discovery store data matched with Serial http://192.168.0.30:80/YamahaRemoteControl/ctrl Vardagsrum 00369863
2024-08-21 09:42:56.376 DEBUG (SyncWorker_4) [custom_components.yamaha.media_player] Returned _discover zones: [<RXV model_name="Sovrum" serial_number="07943B83" zone="Main_Zone" ctrl_url="http://192.168.0.31:80/YamahaRemoteControl/ctrl" at 0x7f8661bce5d0>, <RXV model_name="Sovrum" serial_number="07943B83" zone="Main_Zone" ctrl_url="http://192.168.0.31:80/YamahaRemoteControl/ctrl" at 0x7f86639ae930>]
2024-08-21 09:42:56.377 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Main_Zone serial 07943B83
2024-08-21 09:42:56.377 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Main_Zone serial 07943B83
2024-08-21 09:42:56.377 DEBUG (MainThread) [custom_components.yamaha.media_player] Ignoring duplicate zone: Sovrum Main_Zone
2024-08-21 09:42:56.377 DEBUG (MainThread) [custom_components.yamaha.media_player] Add entities [<entity unknown.unknown=unknown>]
2024-08-21 09:42:56.378 DEBUG (MainThread) [custom_components.yamaha.media_player] Platform setup complete
2024-08-21 09:42:56.388 DEBUG (SyncWorker_20) [custom_components.yamaha.media_player] Returned _discover zones: [<RXV model_name="Vardagsrum" serial_number="00369863" zone="Main_Zone" ctrl_url="http://192.168.0.30:80/YamahaRemoteControl/ctrl" at 0x7f8661b0b4a0>, <RXV model_name="Vardagsrum" serial_number="00369863" zone="Zone_2" ctrl_url="http://192.168.0.30:80/YamahaRemoteControl/ctrl" at 0x7f8661b0a0f0>]
2024-08-21 09:42:56.388 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Main_Zone serial 00369863
2024-08-21 09:42:56.388 DEBUG (MainThread) [custom_components.yamaha.media_player] Receiver zone: Zone_2 serial 00369863
2024-08-21 09:42:56.388 DEBUG (MainThread) [custom_components.yamaha.media_player] Add entities [<entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>]
2024-08-21 09:42:56.389 DEBUG (MainThread) [custom_components.yamaha.media_player] Platform setup complete
2024-08-21 09:43:01.414 ERROR (MainThread) [homeassistant.helpers.service] Failed to load integration: yamaha
NoneType: None
@ManiacMouse it will have backed off for 30's can you check this list of entities, it says its added them later on.
@pssc You are correct, just a timing issue when I checked. The integration does load, it just takes some time. When it is loaded, it does work for both my receivers.
@ManiacMouse ok good it will delay once just to let discovery run after that it will start up quicker, thankyou hopefully I can restore the included addon to a better working state, I have to say having seen yamaha_ynca in your setup I am very impressed by it.
Changes pushed into #124057
The problem
I tried to enable the Yamaha Network Receivers integration, but it does not start and is not shown under Settings > Devices & services.
I have two receivers, one RX-V585 which is listed as supported and one RX-A840 which is not on the list. Both have network standby enabled. Both have been updated to the latest firmware. Both communicate fine with the Yamaha AV Controller app for iOS both before and after firmware update was installed.
What version of Home Assistant Core has the issue?
core-2024.8.1
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
Yamaha Network Receivers
Link to integration documentation on our website
https://www.home-assistant.io/integrations/yamaha
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
As the integration does not start, I am unable to try to enable its debug logging.