Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

goedh452
Posts: 17
Joined: Thursday 08 August 2013 15:45
Target OS: -
Domoticz version:
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by goedh452 »

I've run into some trouble related to Harmony Hub control. Maybe someone can help out.

I used to use the native support in Domoticz, but it only allows me to start activities. I would also like to use other commands like changing channels. Especially now Homebridge is around which wil ultimately allow me to change to control even command by voice.

I run Domoticz and Homebrigde on a raspberry model A on the Raspbian Jessie image. When I install HarmonyHubControl it seems to either screw with the LOCALE settings or kill de sudoers file. The error when I run sudo gives an string with an library not found. The string contains all strange characters. Back to the LOCALE probably... I cannot fix this and have to image the SD card with a clean install.

I'm not a Linux advanced user. The wiki of HarmonyHubControl tells me to run the Wheezie distribution. Is this the problem? And is there a way of getting it properly working on the Jessie image?

Thanks in advance for the replies!

Bouke
ludo
Posts: 1
Joined: Wednesday 10 January 2018 21:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by ludo »

Hi Bouke,

have you ever solved this installation issue?
I run into the sme problem, can't get HHC to install
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by Nautilus »

Don't know the current situation, but at some point when Harmony Hub went through bigger firmware changes HHC was seemingly not keeping up with the changes and I switched to HarmonyHubCLI - and have been happy with it. More info e.g. here: https://www.domoticz.com/forum/viewtopi ... li#p164004
gordonb3
Posts: 111
Joined: Saturday 31 March 2018 22:24
Target OS: Linux
Domoticz version: Custom
Location: Delft, NL
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by gordonb3 »

I recently acquired a Harmony Hub to replace my Harmony 650 remote and was pleased to see it being supported by Domoticz.

I quickly found out that there were issues with how Domoticz communicated with the Hub though and started looking for another method where I found HarmonyHubControl. As it happens, this project is the core of Domoticz Harmony Hub support and it appears to have been unmaintained since end of 2015. I've forked the project into my own GitHub account and got the code up to date with the current Hub firmware.

Having addressed the issues with the original code I started working with the code in Domoticz, which should be available in the beta soon. I also thought about adding switches for other functions, but that came down to ~40 switches that somehow didn't all make sense and look weird in the regular Domoticz screen. And of course the main issue is that these switches might need to do something different depending on the chosen activity. Overall I think the script method makes more sense for controlling such functions and you could e.g. create switches for selecting a specific channel, which would otherwise require entering a three digit number.
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by DAVIZINHO »

hello.
i have a harmony hub and harmony elite and foud this topic searching for info.
i see you are working on the plugin.
If i want to test, how can I install it?, is the wiki updated? or only install a new hardware in domoicz (i have the last beta)

thanks!
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by manjh »

gordonb3 wrote: Sunday 15 April 2018 11:27 I recently acquired a Harmony Hub to replace my Harmony 650 remote and was pleased to see it being supported by Domoticz.

I quickly found out that there were issues with how Domoticz communicated with the Hub though and started looking for another method where I found HarmonyHubControl. As it happens, this project is the core of Domoticz Harmony Hub support and it appears to have been unmaintained since end of 2015. I've forked the project into my own GitHub account and got the code up to date with the current Hub firmware.

Having addressed the issues with the original code I started working with the code in Domoticz, which should be available in the beta soon. I also thought about adding switches for other functions, but that came down to ~40 switches that somehow didn't all make sense and look weird in the regular Domoticz screen. And of course the main issue is that these switches might need to do something different depending on the chosen activity. Overall I think the script method makes more sense for controlling such functions and you could e.g. create switches for selecting a specific channel, which would otherwise require entering a three digit number.
Any chance of getting that latest code?
Hans
gordonb3
Posts: 111
Joined: Saturday 31 March 2018 22:24
Target OS: Linux
Domoticz version: Custom
Location: Delft, NL
Contact:

Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))

Post by gordonb3 »

manjh wrote: Wednesday 08 January 2020 18:32 Any chance of getting that latest code?
Assuming that your signature info is correct, upgrade to 4.xxxx?

With respect to the script source code, you might want to notice that I archived the XMPP based project and I actually did that over a year ago as the protocol is officially not supported any more by Logitech. I did however make a port of the HarmonyHubControl command line interface available as an example in my current harmonyhubpp project which actually has not required any update for ten months now, so is pretty stable.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest