What I want to do is turn off all of the lights in my theater room when I hit play on the main remote and bring my wall lights on at 35% if I pause a movie or program then when everything is done turn the lights back on.
Devices that I have for this are a Roku, DirecTV box and a PS3. For the media.
I have a Harmony hub and companion remote to control the entertainment devices and a Yamaha adventege receiver for the sound.
Lights use lutron dimmers for the ceiling and walls lights.
Does anybody have any suggestions on how to achieve my goal.
That is correct. There is no data sent from the Harmony Hub to Hubitat when a user presses buttons on the physical Harmony remote control. Thus, there is nothing I can do to enhance this integration to add this functionality.
Program a 3 button R/L Pico to control the harmony activity play/pause while setting light levels via RM. You can program other buttons to take care of most of what would be needed while viewing the activity.
OK not the "all in one remote" solution we're looking for but it's creative, and you don't have to get up!
I was not able to do this using the physical harmony remote. My work around. Get the Roku device drivers off github. Then create a dashboard mimicking the Roku remote. Then you can control the lights when pushing buttons on the dashboard.
If your main goal is to use the Harmony Remote (this is always my goal too) is to use one of the home control buttons to set a scene. So it would be two button presses instead of just hitting pause. Even that is a little tedious, and a bit easier if you have SmartThings as well.
Works like this:
Add SmartThings to Harmony
Create a Virtual Switch in ST
Use HubLink so that the ST Virtual Switch also flips an HE Virtual Switch
Set Harmony Home Control Button to flip the ST Virtual Switch
Setup a Rule to do whatever you want
The only way I can think to do this without ST is to use another service that integrates with Harmony (like Lutron or Hue), but you'd have to "waste" a device. For example if you got a Caseta Plug-In Dimmer, but dont plug anything into it, you could trigger that with the Harmony, and use it's status to trigger an HE rule.
(and now that I think about it, you could probably have that Rule "push pause" for you on the harmony using the Harmony Drivers hahahah)
Alternatively to ask this above, you could definitely use node-RED, if you're comfortable with setting up a server somewhere. Raspberry pi, container in a nas, old computer lying around, etc.
There is a Harmony integrator in there that allows Hubitat to interact with every single control on your remote, including multiple hubs and devices you teach it. I have it running on 2 hubs, controlling an oscillating fan, a celling fan with light, even some fake candles! In my case, I'm using it to control Harmony devices from Hubitat, but everything is there to work in the opposite direction, as far as I know. Look into Harmony node-RED and you'll be able to find what you're looking for.
Gfd
I also have NODE-RED downloading and backing up the nightly backup off my Hubitat onto my NAS. It really opens up a lot of possibilities.
One more idea: I think I've recently seen someone talking about a Plex listener that they were running on Nvidia shield that keeps track of the state of their playback/Harmony. I don't believe you had to be actually using Plex for it to work. Just that it needed Plex to have the proper port (so to speak) to listen to the state of the playback on the machine?
Not 100% sure if it was for Nvidia shield ONLY, or if it required plex to be in use, but it's another set of search terms that might get you some ideas! It sounded simple, and iirc, they person was using it for pretty much exactly what you are after--changing the lights based on playing/pausing.
Wow I didnt know node-RED had that much access to Harmony. I'm so on the fence about diving in.
On the one hand I want ultimate flexibility, especially for trigging things directly from Harmony.
On the other hand I dont want to add a bunch of complexity and failure points. After all, I switched to HE 2 months ago to get away from ST requiring too much care and feeding.
I feel you on that 100%. I moved away from ST for the same reasons--particularly the hacky ways they have of dealing with picos.
That said, yes, node-red has very granular control with the proper Harmony libraries installed, and I can say it's been absolutely hands-off rock solid for, not sure how long now, whether it's many months or over a year. I have it running in a docker container on my QNAP. It starts up when I restart the NAS, and it's never hiccuped.
I will say, I believe the idea of running the smartthings hub JUST for Harmony integration, and using hublink... That sounds elegant and much less hassle than figuring out how to set up a node-RED from scratch. But the good news is, as with practically anything, what you want is definitely possible, and there have been a couple of solid solutions mentioned here!
Edit: here's my setup right now, with the harmony libraries sitting there. I have some fairly complex flows to work out the fan speed and light dimming on an old Lutron fan controller, all controlled via IR through the harmony.
You know it is kind of sad how with all "Smart Home" stuff, IR devices and home entertainment is kind of lost in the shuffle. Harmony is the only good option out there, and I've heard they dont accept new integration partners.
So my play button runs sequence play on AppleTV followed by play on HarmonySpan, same for pause.
Harmony span can then kick of a webhook for IFTTT or as I did use the Hubitat Maker API and I use that to issue scene on controls and when I press pause, lights come up to a dim level, and play turns them all off.
You will need a Windows or Linux machine running Harmony Span, but I wonder if this same technique could be built into a hubitat harmony driver.