another tidbit I found out on the Sony AVR the STR-DN1040 using the DLNA_DMR is with the AVR in standby mode “not sure if there is a True off while plugged in” if I adjust the volume in home assistant it powers up from that input over the network, it would seem that getting this to work on home assistant is very possible and with somebody with a bit of knowledge on making components could very will be a nice feature, but do to the lack of enthusiasm I doubt it will happen and I will prolly have some ugly hack only doing a portion of what this unit can do
Trying to control the STR-DN1040 is a possibility, but maybe it’s simpler to use a Logitech Harmony HUB and define your activities there. It works very good with the STR-DN1040, and you don’t need all this. The only thing missing is controlling volume. That is, I probably can raise or lower it, but I don’t get feedback of the actual volumen set on the receiver. Are you interested in sharing your solution for this? Another nice one would be: select A, A+B, B speakers from an interface, but I don’t know if that is even possible remotely.
I did share what I rid I used the DLNA DMR component
You did, I thought you did a lot more than just adding media_player. This works indeed, thanks for the tip! I wasn’t familiar with the component :-).
I wish I could do more LOL still in the steep learning curve of home assistant basics stage
I’m on the same boat - sometimes frustrating, sometimes rewarding. But seriously, you should consider a Harmony Hub if you want real control over your media things. This is my Lovelace card that shows the current activity:
Now I can also add volume control below it, this is the next challenge ;-).
Was based on this post: Harmony Activities, Volume Slider, and Lovelace
its looking more and more like harmony hub is in my future that prolly take care of the none networked none CEC tv issue I am having as well.
so you can Control the input of the sony as well like when I get home switch on Radio tuner on the sony and power up the HTPC with kodi ?
Yes, that’s the way Activities work. Say f.e. you have activity “Watch tv”, that means: starting the tv, starting the receiver, set input channel tv on hdmi2, use output channel tv on receiver, and after that make sure that all buttons on your receiver have something to do with this. The Harmony recognizes almost any media device you throw at it. The remote doesn’t even work with infrared, so you can use it from wherever you are in the house, not in line of sight. It’s the hub that sends infrared, bluetooth, wifi to the devices. The setup takes a bit of time and thinking, but it’s ok.
Once you defined your activities, you can add them to Home Assistant and trigger them any way you like. Also, if you still want to, you can also send commands to f.e. switch hdmi inputs.
ok broke down and bought the harmony hub and remote so now have control over the dn 1040
this allows me to control my AV, kodi and my TV Via the hub
though not as straight forward as I would like for example if I use activities to turn on the radio it turns on to my FM station however if I turn off the system and turn it back on to the radio again it starts in FM then jumps to AM what I have discovered is the harmony turns on the AV then selects the input being the DN1040 tuner band is selected by the same input button press that selects the tuner so if already on the tuner then it changes the band the Fix for that is in home assistant writing a scrip instead of turning on the AV reciever if you select a input say the tuner it turns on the AV without changing the band something activities does not seem able to do. also I can set the Volume of the AV reciever to a predetirmed level through the same script by using the DLNA_DMR, so in short through multi hacks I able to get my system to do what I want it to do
this is exactly what I am trying to do, would you mind sharing the script?
I am happy to let me see if I can share via smart phone
Action type = Call service
Service = media_player.volume_set
Service data = {
“entity_id”: “media_player.sony_av”,
“volume_level”: “.8”
}
Entity is is the name of your device you are controlling
Perfect! Thank you! Now to go and try to set this all up
Try the Songpal integration, let you change volume, source and turn off (and on) your Sony STR-DN1080.
songpal will not work with a sony 1040 though
could anything be done to crudely connect the infrared input on the back of the unit to receive pre progrmmed commands that way?
my sony str-za810es was autodiscovered until yesterday now totally disappeared. WTF? I f*cking hate “auto” discovery. I hate “auto” anything frankly. Auto-broken is what they should call it.
Yet you’re "auto"mating your house with home assistant???
Yeah, but I wrote all the code.
I know ports is to daisy chain other devices so the receiver remote could control it I guess you could try connecting mini blaster ports on a harmony to it with a jumper cable and see that happens