Hi,
I have a NAD C338. I have various ways of controlling this device, but my biggest gripe about the device is that it won’t let me switch directly to an input in any way. I’m not sure if Home Assistant does this, but it seems worth the try.
I’ve activated my NAD by adding this in my configuration.
media_player:
- platform: nadtcp
host: 192.168.2.7
This causes the NAD amplifier to show up in my HA. Nothing works. The IP is confirmed to be good via my NAD app.
The docs are unclear about C338 support. Is this the issue maybe?
Thanks for thinking along in advance.
update: Here’s the logs
Error executing service <ServiceCall media_player.select_source: source=Coaxial 2, entity_id=['media_player.nad_amplifier']>
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1002, in _event_to_service_call
await service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/__init__.py", line 402, in async_service_handler
yield from getattr(player, method['method'])(**params)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/nadtcp.py", line 158, in select_source
self.nad_device.select_source(source)
File "/srv/homeassistant/lib/python3.5/site-packages/nad_receiver/__init__.py", line 252, in select_source
status = self.status()
File "/srv/homeassistant/lib/python3.5/site-packages/nad_receiver/__init__.py", line 209, in status
self.POLL_SOURCE, read_reply=True)
File "/srv/homeassistant/lib/python3.5/site-packages/nad_receiver/__init__.py", line 180, in _send
sock.send(codecs.decode(message, 'hex_codec'))
BrokenPipeError: [Errno 32] Broken pipe