my home assistant recognized my HUB HARMONY but can not configure any activity, I try the information of the tutorial on the site but nothing to do, can someone help me to add the activity? I look in the file harmony hub config I have all my entries but I do not know how to control them.
thank you in advance
actually i have just possibility turn on or off HUB but dont work…
Same thing here as well… Got the harmony discovered but I have no idea of what is the best way of setting up the activities. Should I use switches? input booleans? script? and how to integrate it all with automation?
First thing anybody would want is to have all the activities in one panel, like in a panel named Home Theater.
Suppose I have these Activities in my harmony_theater.conf file. How should I get them to show in one panel?
26467721 - AC
-1 - PowerOff
4981325 - Apple TV
5376059 - PS4
4977610 - TV
I think setting setting up the individual remotes would be the next logical step after this.
I use my Harmony Hub in combination with HA to simply turn on my TV (also via Alexa).
configuration.yaml
remote:
- platform: harmony
name: Fernsehzimmer
host: YOUR_HUB_IP
activity: 18945024 (replace this with your activity ID)
This will set up my HarmonyHUB as a sensor “remote.Fernsehzimmer”. The “activity” defines which activity to start when you switch on the HUB via HA. In my case this activity triggers “Tv on” in my setup.
This will add a switch in your frontend to switch on the HUB and trigger the “TV on” activity defined in the configuration.yaml
Now you could even expose this to alexa via the emulated_hue component and switch your TV on via Alexa…
I hope that example will help you to get it up and running.
It turns off just fine but it does not turn the activity TV on.
What would be the way to go if I have multiple activities and multiple ways of turning them on and off?
Actually how it should be is that the HA should be able to figure out if an activity is already running and turn it’s switch to that position to start with.
I do have this sensor in my configuration which tells which activity if on but I cannot interact with that it in frontend.
Here’s what is looks like in sensors.yaml:
thank you very much for all exemple and help
actually i have juste 2 activity in my Harmony (launch TV with internet box) and (lauch TV with Android box tv)
i planned to buy alexa in the futur when amazon give good price (black friday ?)
Hey guys, There’s really no point in making a harmony activity sensor. If you use the following code, you can get switches for each activity on your remote:
These act like switches. When one activity turns on, the others will turn off in the interface. It acts just like activities on the remote; one at a time.
EDIT: To clarify, I have 6 activities in harmony, and 6 switches in home assistant. Nothing more.
The name of the config file for harmony remote in home assistant is covered in the documentation:
Configuration file:
Upon startup one file will be written to your Home Assistant configuration directory per device in the following format: harmony_REMOTENAME.conf. The file will contain:
List of all programmed activity names and ID numbers
List of all programmed device names and ID numbers
List of all available commands per programmed device
I’ll add channel icons to this shortly.
Can I change EXECUTE to something else???
I don’t know of any other way of sending commands in sequence to change channels.
Looking for a better way to do this myself.
It would be great if somebody could chip in with a more elegant/practical solution.
Your scripts are missing an entity_id for the remote.send_command service. As soon as you get a second remote, your stuff is going to break. To be honest, I’m surprised it even works without the entity_id.
As for the word execute, changing that isn’t possible without using a custom UI.
It doesn’t work like that and creating complete remotes seems a huge backwards step from what Harmony does itself.
The idea of the HA integration is to pick specific controls you want to include in automations, getting it set up is all explained in the supporting threads/docs so suggest you read them and then ask specific questions.