I need to send a discrete IR command to my projector when my home theater turns on. I currently have it programmed in the Harmony app but I only need it once.
The issue with the app is that it will send this command out when I switch activities and I only need it once per session.
So I thought I would remove it from the app and have home assistant send it out when it sees the hub turn on.
I have only ever used the UI in home assistant so wondering 1) if this is possible in the UI - it doesn’t seem to be from the documentation? and 2) if I have to do this in yaml could I get some pointers on where to start? Thanks.
If it’s really a discrete command, sending it multiple times should only cause the command to trigger once.
Which command is this? If it’s a discrete power on, then you can fix this directly in the Harmony app itself.
It’s been a few years, but the way around it used to be that you’d tell the app your device doesn’t have a power button. Then you’d add the command at the start of the activity you want only.
If you provide more details, it might jog my memory and I’d be able to help you further with this.
PS - Happy birthday
Thanks for the help. It is the source control for the projector. My Epson projector (annoyingly) defaults to android TV when it starts up. So when it turns on and warms up to the point that it will accept commands I need to send it the HDMI Source command twice to get it to switch from Android TV to my home theater setup.
I have this programmed into the Harmony app just fine. However, I only need this to happen once when I turn it on. In the Harmony app I have it setup on each activity as I don’t know which one someone is going to pick. This is fine for when you first turn it on. But if you switch activities then it sends out the commands again and switches back to Android TV.
So I was hoping that I could use the Home Assistant plugin to send the command, and not the Harmony app. That way I would know when the system was first turned on and could send out the commands. But I don’t see much more than activity commands in the home assistant plugin?
Ok, that sounds like it’s not a discrete command. A discrete command would send the HDMI1 (for example) source input command, and no matter how many times you send it, it will always tell it to switch to the specific HDMI source you have selected. Doesn’t matter if you call it once or a thousand times, it will always go to that specific source.
Have a look online (or even within the Harmony app itself). Look around for different variants for your model, or even older models from the same manufacturer. You should eventually find a dedicated command to switch to that source directly, no matter what buttons are available on your remote. You might already have it and not realised it’s there too - check all the commands available in your harmony app for your existing device.
Either way, the solution lies within the Harmony remote. Once you manage to get it set up at a remote level, it will not matter whether the activity is called from the remote or HA - your source will be whatever you define.
You are correct - not discrete. There doesn’t appear to be a discrete command out there for hdmi input.
However I found a simpler solution for this. The Epson projector defaults to the Google TV input. I was trying to get it to switch to the hdmi input. But it turns out that Google TV is running on a streamer inside the back of the projector. Just unplugged this and plugged the hdmi source in its place. Now it defaults to my HDMI every time.