Harmony Hub performing individual commands

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Harmony Hub performing individual commands

Post 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!
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Harmony Hub performing individual commands

Post 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.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Harmony Hub performing individual commands

Post 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
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Harmony Hub performing individual commands

Post 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.
ben92
Posts: 57
Joined: Thursday 14 August 2014 17:41
Target OS: Linux
Domoticz version: beta
Location: France
Contact:

Re: Harmony Hub performing individual commands

Post 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
boudicca
Posts: 26
Joined: Saturday 03 January 2015 20:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Harmony Hub performing individual commands

Post 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.
ben92
Posts: 57
Joined: Thursday 14 August 2014 17:41
Target OS: Linux
Domoticz version: beta
Location: France
Contact:

Re: Harmony Hub performing individual commands

Post by ben92 »

No problem with the hub here, no crash ....
Post Reply

Who is online

Users browsing this forum: swen and 1 guest