I might have a solution to your problem. I also don’t have a network controlled receiver yet and have been using this as a workaround in the meantime. It’s not perfect but it does look nicer than using scripts on the frontend.
Then I created two automations; one that when the slider is moved up it turns the volume up and then resets the slider back to the middle position. Then another automation that does the opposite like so…
Hi petro, is it possible for a link to the png images, going to have a go at this later and have nearly the same setup, even the amp. Many thanks, this looks great!
This is such a great documentation. Thanks for that! I have one question regarding the receiver switches. I have an activity on my harmony called “Listen to Music”. Obviously it only turns on the receiver. From looking at the code it seems the switch status and the volume sliders are only displayed correct if the status of the receiver is “on”. But when only listening to music it is either “idle” or “playing”. I did not manage to adapt the code respectively and I’d be happy about some help. Thanks folks.
Hm okay. It was so much easier than expected… Just didn’t realize I need to restart HA in order for switch.yaml changes to take effect. It is a simple ‘or’ like this:
"{{ is_state('media_player.yamaha_receiver_family_room', 'on') or is_state('media_player.yamaha_receiver_family_room', 'idle') or is_state('media_player.yamaha_receiver_family_room', 'playing') }}"
I was able to get this up and running but not 100% (but enough to where i have the activity displaying and working), is there any way to make the image stand out more? it’s kind of hard to see for my “music” activity
on the far right there is a speaker but it’s really faint
No biggie. I actually don’t really enjoy the component to be honest. I just implemented it to see what it was like. I always reach the max api limit and it doesn’t update fast enough without requiring payment.
Yeah I’m getting the same impression to be fair
I’ve set the update interval to 120 secs, in the hope of staying within the request limit. I can live with a 2 minutes delay.
Awesome write up Petro! I will definitely be attempting to set this up once we get into our new home. I also have a newer Yamaha receiver, but waiting until we move into our new home to set it up. Right now I have two harmony hubs running (one in LR and BR).
Do you have any recommendations for a simple setup on the lovelace IU? I’m only running
TVs in each room with soundbars (two hubs), so this seems like overkill for my current setup. I was just wondering if you have an suggestions. Again, thank you for all your contributions within the community. I’m fairly new to the Home Assistant community and noticed you are always posting awesome stuff.
It’s really up to you. You need to answer these questions:
How do you want to turn on your activities? Dropdown or Switch? Personally, I hate dropdowns on cellphones, so I went with switches.
Do you want quick access to volume controls?
Do you want the volume to disappear when the system is off?
If yes, then you still will pretty much mimic a lot in this thread. For the simplest setup. You’d still need a way to activate your activities, which would just be the template switches. Volume controls are on the media players so you wouldn’t need that.