Ah you were replying to him. This system doesn’t make it clear that is the case when you’re the thread owner. Thread just notified me, thought you were talking to me.
Ah, OK, understood - really appreciate your willingness to be so generally helpful btw, which I’ve noticed a lot on these threads. I’ve followed your advice many times to get my own Harmony setup running, so it’s about time I thanked you properly!
Exactly as Petro said, in my harmony_*.conf I have “-1”: “PowerOff”.
And what’s the entity_id for the remote?
remote.harmony_hub
the strange thing is that when I try in the developer section my code works
So you know you can only turn it off if it’s on right?
Yes, it definitely makes sense
Are you able to change the TV channel with Google Home? Or do you have custom scripts for that?
I have started using HomeAssistant on a Raspberry Pi last week and I am impressed. Because I use a Harmony Hub I searched and found this topic. I tried to cut&paste everything I have found and started struggling. I found out today that using the current version Home Assistant 0.109.6 things around Lovelace have changed.
I still can’t use SSH (connectio refused, tried everything) but I managed to find out to use FTP to get the pictures in the right place to use /local
FTP yamaha.png /share
cp * /local/www
You need to create (mkdir) a www folder in config
If you use /local/yamaha.png it show up
My question; Has anyone using a recent version of HA succeeded in setting this up? If yes please contact me or reply here!
Thanks!
SSH works. Harmony Hub still a challenge
Everything in this guide still works. All you need is template switches, which is spelled out. A lot of this guide might not be useful for you if you don’t have yamaha receivers. Just skip that.
Thanks
I do have the Yamaha receiver so I will start again from the beginning.
So what’s not working then?
The only thing I can do is turn it on/off. Got your images on the system. But can’t switch input. Sliders are visible but not working.
It must me because I am a real beginner in this. Of course in my set up I use different names. Thanks for your reply. I will start over tomorrow and will report my progress.
All this does is turn on or off harmony activities. It does not switch inputs unless your harmony activity does that. The sliders on the other hand may need work. There’s a post mid way down that may work for you.
Ok,
I have tried to set things up the way you did. Some things work, others don’t.
The only thing I probably would like is a view of all the things I can do with my Harmony.
So 4 switches;
- Watch tv (pressing this will turn TV, Yamaha on(if off) and select the proper HDMI channel
- Watch Kodi (same but different HDMI)
- Play Playstation (same like 1 + turn PS4 on if off
- Use Chromecaster (same as 1, use other HDMI)
Some things I can turn on and off now. I even got the volume slider to work.
I will try on from this point. The information in this topic is overwhelming and sometimes too much. If one of you woud be as nice to email me the yaml files you used to get this 100% working I would appreciate.
Getting there is probably the best part. So off I go!
Thanks everyone.
Bart
https://arkor.nl if you are interested in my HA struggles.
Please just explain here what is not working. I no longer use any of this code and have moved to something I find easier to use. There are no files that contain this anymore. Post what you have working and whats not working. Post the code for what’s not working and I’ll help you fix it.
petro,
thanks for getting back to me. Maybe others use it? Part of the fun is trying to find out what the problem is.
Something easier to use?? Don’t we all like that? If I wanted something easy I would stick to my Harmony remote hahahaha
Thanks again for all the help. I will keep searching on my quest to get things to worl the way I like.
Again, I could post all the changes I made and all the contents of the files but I won’t because I don’t think this will add anything to this great topic.
Bart
It’s easier for me to use on my phone, but the setup is 10x harder than this.
Hello there, newbie HA admin, having difficulties understanding switches syntax regarding Harmony commands. My config goes lke this:
relevant configuration.yaml part
switch: !include switches.yaml
# Logitech Harmony Hub
remote:
- platform: harmony
name: HarmonyHub
host: [host IP here]
switches.yaml
- platform: template
switches:
remote:
value_template: "{{ is_state('remote.harmonyhub', 'on') }}"
turn_on:
service: remote.send_command
data:
entity_id: remote.harmonyhub
command:
- PowerOn
device: 64156777
turn_off:
service: remote.send_command
data:
entity_id: remote.harmonyhub
command:
- PowerOff
device: 64156777
The switch is working only one-way - turns power on, then after ~3 seconds switch goes back to OFF state leaving TV working and tapping switch again does nothing, TV won’t turn off. What do I do wrong?
Thank you in advance.
P.S. In ideal scenario I would prefer power toggle, not 2 separate power commands. While Harmony allows me to toggle power, how do I make a switch that follows actual power state?