Page 1 of 1

Harmony Hub performing individual commands

Posted: Wednesday 09 March 2016 18:31
by rednas
Hello,

I was checking around the Domoticz wiki and found an old wiki page about the Harmony Hub: http://www.domoticz.com/wiki/Harmony_Hub_Control.
I only knew the new one existed: http://www.domoticz.com/wiki/Harmony_Hub.
In the old one it seems to be possible to execute individual commands to the Harmony Hub so I would be able to for example lower the volume. However, if I try to execute the commands I am receiving error messages. Can someone explain me how to do this? I am running Domoticz on my Synology NAS.

Thanks in advance!

Re: Harmony Hub performing individual commands

Posted: Thursday 24 March 2016 21:04
by rednas
Is someone still using or does know how to use the old version of the Harmony scripting?

I am seriously interested, but can't find out how to use it.

Re: Harmony Hub performing individual commands

Posted: Friday 25 March 2016 0:33
by pvm
Would be very nice to have this in the default plug-in. A workaround however is to create activities (without powering on or off) With just one command, for example volume up

Re: Harmony Hub performing individual commands

Posted: Friday 25 March 2016 9:43
by rednas
Yes that would be a possibility, but since it is possible with the old version used in Domoticz I would really like to have it implemented in the current version.
I would like to use it in lua scripts for example, so I can write my own scripts for all kind of controls.

Re: Harmony Hub performing individual commands

Posted: Friday 25 March 2016 14:02
by ben92
I use HarmonyHubControl for individual command.
First install and make HarmonyHubControl like on the wiki : https://www.domoticz.com/wiki/Harmony_Hub_Control

Then u can get all your configuration with this command :
./HarmonyHubControl [mail] [password] [ip of the hub] get_config

Search the action u need for ur device and then u can call the individual command with :
./HarmonyHubControl [mail] [password] [ip of the hub] issue_device_command [number of ur device] [command]

example : ./HarmonyHubControl [email protected] domoticz 192.168.1.100 issue_device_command 28183018 PowerToggle

Re: Harmony Hub performing individual commands

Posted: Friday 25 March 2016 15:01
by boudicca
I found that performing commands via hhc was at best slow and at worst it crashed the hub, the activities are fine, so I use that to switch between activities but use a itach with volume up/down IR for that device or in the case of a sat box, some predefined channels to punch after activity sequence has completed.

It works but I must admit its not ideal.

Re: Harmony Hub performing individual commands

Posted: Saturday 26 March 2016 10:10
by ben92
No problem with the hub here, no crash ....