Plugin: Harmony Hub Control

[quote=“ramae, post:467, topic:184450”]Hi,

I have a vera 3 system with ui7. I just bought a harmony elite plus alexa dot. I really thought i could use the elite out of the box with vera, but now i see i cant, i need the frikin zwave hub and im not ready to shell another 100. preffer to return the 300 combo i got in amazon. But i just found this plugin but not sure if this will do the trick for me… I have some questions… (my remote is on the way…)

I use homewave app to control vera, fast and reliable…

  1. im looking to having only ONE app… preffer homewave. could i map the devices on my vera? for example the toggle on/off of my tv. without the need of buying the zwave hub extra?[/quote]
    With this Harmony Hub Control plugin on your Vera you can include all IR devices controlled by your remote in Vera Scenes and you can trigger a Vera scene based on the current Hub Activity. You will also have buttons on the Vera Web GUI to press.
    Sadly there is no support on third party apps like Homewave. The app developer would need to build that into their app. Nothing I can do on that bit.

The HA bridge is using a other device, most seem to use a Raspberry Pi, that acts like a Philips Hue hub. This makes it possible to control lights and some other Vera devices to be controlled via the Harmony remote or via the Amazon Echo or Dot. I have no experience with this, but lots of info can be found in other articles.

No idea, but opinions vary on Smartthings. Like on Vera.

Welcome to the club and have fun spending quality time on home automation :smiley:

Cheers Rene

Picked up a new Ultimate remote and hub, set up my AV devices, and installed the plugin. All is great. Thanks so much.

Now trying to set up conditions in scenes to prevent the lights from coming on while I’m watching TV. Sometimes, this is great. Most times, frustrating to set up.

Hi

Thanks for the nice plugin.

I am using the Yatse app on my Android tablet to control Kodi media center.

In Yatse you can add your own custom http commands. I added one to run a Vera scene to control some lights and that works OK.

But also it would be great to add buttons into Yatse app to control the volume up / down for the IR controlled Denon AVR amp.

Can Vera / this plugin be used to send http commands to the Harmony Hub to control specific device functions? Or maybe some way to control he Harmony hub directly via http commands?

Thanks

Hi cw-kid,

In the Harmony Hub plugin you can enable the HTTP handler and then you can relay any IR command via your Vera with an http request. In the user guide you find examples.

Cheers Rene

[quote=“reneboer, post:471, topic:184450”]Hi cw-kid,

In the Harmony Hub plugin you can enable the HTTP handler and then you can relay any IR command via your Vera with an http request. In the user guide you find examples.

Cheers Rene[/quote]

Hi Rene

That sounds perfect ! Sorry where can I see the user manual for the plug-in ?

Regards

EDIT:

https://github.com/reneboer/vera-Harmony-Hub/blob/master/UserGuide%20v2.7.pdf

Does the AV device i.e. my AVR amp have to be added into Vera as a device for the HTTP Request Handler to work? Seems not.

I am assuming it does, but I’ve not currently got it added in to Vera as I didn’t really want or need to control it from the UI7 web GUI etc.

I can’t see this user manual, however these commands are working to query the Harmony Hub.

Device ID:184 is the main Harmony device in Vera etc.

List Activities:

http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=list_activities

List Devices:

http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=list_devices

List Commands of a Device:

http://192.168.1.100:3480/data_request?id=lr_Harmony184&cmd=list_device_commands&cmdp1=41309507

ID:41309507 Being my Denon AVR amp.

The volume commands for it are listed as:

Function : Volume Commands : [ Action : Mute Name : Mute Label : Mute , Action : VolumeDown Name : VolumeDown Label : Volume Down , Action : VolumeUp Name : VolumeUp Label : Volume Up

So now I just need to work out what the Http URL is to control those volume commands ?

Something along the lines of:

luup.call_action("urn:rboer-com:serviceId:HarmonyDevice1", "SendDeviceCommand",{Command="VolumeUp",Duration="0"},184)

But how would I send the device command as a HTTP URL / request ?

Thanks

EDIT:

From the user manual

To issue a device command for device holding button for five seconds;

http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=issue_device_command&cmdP1=41309507&cmdP2=VolumeUp&cmdP3=5

EDIT 2: Nice the above http command works to increase the volume even if you have not added that device in to the Vera web GUI !

This is great I now have commands entered in to the Yatse mobile app to control the Denon AVR volume, mute and audio modes.

I also added some additional commands to control Vera Z-Wave devices and run some Vera scenes.

Yatse just got a lot more interesting for controlling my Kodi HTPC.

It gets even better!

In the Imperihome mobile app you can add buttons for “Execute a HTTP Request”.

So now I have icons in Imperihome as well for controlling the AVR’s volume and audio modes.

The icons are a bit naff in Imerpihome might be able to change these but as Imperihome does not support the Vera Harmony plug-in, this is one way to get extra functionality over the native support for the Harmony activities that does exist in Imperihome.

Nice work :smiley:

When I try this my volume only increases by .5 each time it’s executed. What can me changed? Changing the last digit to 10 makes no difference.

http://192.168.1.114/port_3480/data_request?id=lr_Harmony196&cmd=issue_device_command&cmdP1=34913655&cmdP2=VolumeUp&cmdP3=5

[quote=“wezley69, post:477, topic:184450”]When I try this my volume only increases by .5 each time it’s executed. What can me changed? Changing the last digit to 10 makes no difference.

http://192.168.1.114/port_3480/data_request?id=lr_Harmony196&cmd=issue_device_command&cmdP1=34913655&cmdP2=VolumeUp&cmdP3=5[/quote]

Same here changing the time to 30 secs makes no difference either. But pressing the button in the 3rd party app repeatedly works for increasing the volume for example.

Hi,

I have to look. Have you tried configuring a duration in in the plugin device and see if that still works?

Cheers Rene

[quote=“reneboer, post:479, topic:184450”]Hi,

I have to look. Have you tried configuring a duration in in the plugin device and see if that still works?

Cheers Rene[/quote]

Actually for my Denon AVR I have not created a plug-in child device for it in the UI7 GUI. So maybe that is why?

I found that the send command HTTP URL works and controlled the AVR even though that device was not added to Vera etc.

Hi

Should I be able to use a Pause button as a trigger ?

Just playing around with the Harmony Control plug-in and PLEG. Now when I start my XBOX activity on the Harmony remote the LED lights behind my TV turn on blue. And if I turn the XBOX off / exit the activity the LED lights are turned off. So that works nicely.

So I then thought about using the transport controls Play / Pause. So in Vera I added the XBOX device and added three buttons Play / Pause / Stop.

In PLEG I then created a trigger for when the XBOX device pause command is activated and the action is to brighten my side lamps to 100%

I then played a video on the XBOX 360 both in the system video player and tried in Youtube and I then pressed the pause button on my Harmony Elite remote control. However nothing happens and the lamps do not brighten.

If instead however I press the pause button on the XBOX device actually in the Vera UI7 web GUI then that does work and the lights brighten.

So my question is why isn’t working / detecting the pause button being pressed on the actual Harmony remote control handset ?

I have the Harmony Control plug-in currently set to poll the hub every 30 seconds. Can you safely decrease the poll time? It says 5 and 10 seconds are NOT recommended. However the polling is not the issue here I don’t think but just another question.

Thanks

Hi,

The Harmony Hub only reports the activity, not any device commands. This means you cannot create a trigger based on a device command, only on the activity changes.

Cheers Rene

[quote=“reneboer, post:482, topic:184450”]Hi,

The Harmony Hub only reports the activity, not any device commands. This means you cannot create a trigger based on a device command, only on the activity changes.

Cheers Rene[/quote]

Hi Rene

That’s a shame then, I was hoping to be able to control the lamps when pause / play was pressed.

Oh well forget that idea.

Thanks

Rene

If that is the case why are the Harmony device commands exposed in Vera scenes and also in PLEG as commands you can select for triggers?

EDIT: I guess for when you press the button on the Harmony device in Vera web GUI as that does work. But not when you press the same button on the actual Harmony remote.

Is there any way to use the light bottons of the harmony elite to actually turn on the lights?

[quote=“cw-kid, post:484, topic:184450”]Rene

If that is the case why are the Harmony device commands exposed in Vera scenes and also in PLEG as commands you can select for triggers?

EDIT: I guess for when you press the button on the Harmony device in Vera web GUI as that does work. But not when you press the same button on the actual Harmony remote.[/quote]
You guessed it right ;). I whish I could change it, but I cannot.

Only option is to add an IR receiver and learn it the codes. See this tread for options people are using (but there are more) [url=http://forum.micasaverde.com/index.php/topic,38849.0.html]http://forum.micasaverde.com/index.php/topic,38849.0.html[/url]

Cheers Rene

Can this plugin be used with Amazon Echo, Alexa?
Cause I can’t get Harmony own Amazon skill to work, would be great if Vera and Harmony works with Amazon Echo.