So what exactly is not working?
Changing source is not functioning
Logs would be helpful.
Where can I get the logging of the integration?
Logger - Home Assistant and see https://github.com/home-assistant/core/blob/bb0038319dd467ac519e8d2de1e78c3e7c092241/homeassistant/components/nad/manifest.json for the components to bump up logging on.
Thanks for all the help! I tried adding the following to my configuration:
logger:
default: warning
logs:
homeassistant.components.nad_receiver: info
When using the integration, no logging is found. Am I missing something?
Hi,
I recently found a newer integration, which might be a new hope to get our NADs to be integrated properly. Is somebody out there, who is able and willed to contribute to
https://github.com/rrooggiieerr/homeassistant-nad/issues/2
rroogiierr responded to my issue really quick, so the chanches are high to get this repo state of the art.
I’ve just implemented the core NAD integration, via an RS232 connection. Seems stable initially until changing a receiver value (volume, mute, etc.):
- if the change is made through the integration, it resets the integration once, which takes several seconds to fully return
- if the change is made via an IR remote, the integration first goes “off”, can take 30 seconds to return – or the integration just keeps resetting every few seconds and never goes stable.
Is this behaviour typical?
I attempted to pip the integration version as explained above, but nothing was found. I haven’t tried any of the other repos, but will look at them, as I specifically need to control some functionality on my receiver that isn’t currently offered – I expect that will require some coding.
The NAD receiver is on a different floor from my Home Assistant server, no way could I pull a typical RS232, cable ends are too big. So I’m using RS232-to-ethernet adapter ends, and pulled a 6m ethernet cable. Then use an RS232-to-USB adapter to connect it to the HA host.
I had to install a plug on the one end of the ethernet cable (am never certain I get it perfect). Tested the cable between a router and laptop – without the RS232 adapters – and it worked fine as a network cable, though not sure if that’s a true positive.
Logs? Where are they?
You talkin’ to me?
The log contains nada regarding the NAD integration, other than the initial:
[homeassistant.components.media_player] Setting up nad.media_player
And that despite restarting HA with this:
logger:
default: info
logs:
homeassistant.components.nad_receiver: debug
homeassistant.components.media_player: debug
nad.media_player: debug
None of which addresses the actual question asked: is slow&flaky behaviour typical?
I would suspect not, but this post has multiple mention of it happening.
My ultimate goal is to be able to read & set the values for my T765’s Zone3 Volume and/or Mute.
Q1: To expose the Zone3 Variables, I expect I’ll need to customize the nad integration’s media_player.py
, but maybe also require corresponding changes to the nad_receiver’s _init_.py
?
Q2: The NAD integration returns a media_player entity, which provides service calls for all the typical actions, like Set Volume and Mute/Unmute. But these services allow selection of only the top level media_player entity and appear to assume the base attributes, e.g. Main.Volume. They don’t look to provide a choice to target a secondary attribute such as ZoneX.Volume.
If secondary attributes are established, is there any mechanism to set them?
As you know, I don’t have a NAD device, so I haven’t actually tried this. But integrations that I have used which are multi zone simply offer a media_player entity for each zone.
Please bear in mind that this integration is quite old and doesn’t seem to have received much attention lately. The custom integration mentioned in this thread may work better.