Harmony support, new hardware?
Moderators: leecollings, remb0
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Harmony support, new hardware?
I had the Harmony working in this way:
http://www.domoticz.com/wiki/Harmony_Hub_Control
Now I read:
-- Implemented: Native Logitech Harmony support (thanks to CodeItAway!) --
Can someone explain to me the difference between the current way of Harmony.
And the new way Domoticz.
Even better explain how I need to set the settings
http://www.domoticz.com/wiki/Harmony_Hub_Control
Now I read:
-- Implemented: Native Logitech Harmony support (thanks to CodeItAway!) --
Can someone explain to me the difference between the current way of Harmony.
And the new way Domoticz.
Even better explain how I need to set the settings
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 27
- Joined: Tuesday 11 February 2014 21:44
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
The new implentation doesn't require external programs or scripting. With this new Domoticz release you'll be able to switch activities and view the current activity (and act on it) within the Domoticz software.
To set it up:
You'll have to enter the following settings:
- Remote address. The ipaddress of the Logitech Harmony Hub
- Port: 5222 (if you haven't changed it)
- Username: The username (email address) you used for your HUB
- Password: The password for the HUB
When you have set everything up, you'll see a succesfull connection to the Harmony Hub in the log and the activities will be listed under devices.
I will create a wiki entry with more details/screenshots.
To set it up:
You'll have to enter the following settings:
- Remote address. The ipaddress of the Logitech Harmony Hub
- Port: 5222 (if you haven't changed it)
- Username: The username (email address) you used for your HUB
- Password: The password for the HUB
When you have set everything up, you'll see a succesfull connection to the Harmony Hub in the log and the activities will be listed under devices.
I will create a wiki entry with more details/screenshots.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Harmony support, new hardware?
Very very nice !!!!
works right ...
And say simple. bizarre !!
However, the but.
I hope you're going to mak a option to Modify the icons and the name
Now I have a lamp that my amplifier switches. It can and does work, but it would be nicer if.......
THANKS !!!
works right ...
And say simple. bizarre !!
However, the but.
I hope you're going to mak a option to Modify the icons and the name
Now I have a lamp that my amplifier switches. It can and does work, but it would be nicer if.......
THANKS !!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 38
- Joined: Friday 27 December 2013 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Friesland
- Contact:
Re: Harmony support, new hardware?
Nice, it works, found a missing function: Editing gives invalid on action (Moat begjinne mei http:// as script://)
So no rename and nu custom icon selectable.
In Domoticz Log 2 typos: "Restting" and "Logitecht" instead of Resetting and Logitech.
So no rename and nu custom icon selectable.
In Domoticz Log 2 typos: "Restting" and "Logitecht" instead of Resetting and Logitech.
-
- Posts: 27
- Joined: Tuesday 11 February 2014 21:44
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
Thank you both for the feedback. I will look into it and create a patch with fixes for the admins.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Harmony support, new hardware?
CodeItAway wrote:Thank you both for the feedback. I will look into it and create a patch with fixes for the admins.
Thanks for your great work!!!!!
Got you any more of these goodies in your mind?
HUE from philips?


Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: Harmony support, new hardware?
Great functionality!
Found a bug though: in the on-action field there is a default value of "-1", resulting in an error while saving.
Found a bug though: in the on-action field there is a default value of "-1", resulting in an error while saving.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Harmony support, new hardware?
Got some errors....
And it is not switching ...
And it is not switching ...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 38
- Joined: Friday 27 December 2013 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Friesland
- Contact:
Re: Harmony support, new hardware?
-1 Means turn current activity off, works ok over here.
In Harmony HUB only 1 activity can be active i think by design.
Isee another little typo: Harmoney typo should be Harmony
In Harmony HUB only 1 activity can be active i think by design.
Isee another little typo: Harmoney typo should be Harmony
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
Does this mean it will now be possible for me to control my Harmony hub via Domoticz running on windows without having to shell out for Microsoft Visual Studio?
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 27
- Joined: Tuesday 11 February 2014 21:44
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
That's correct.markk wrote:Does this mean it will now be possible for me to control my Harmony hub via Domoticz running on windows without having to shell out for Microsoft Visual Studio?
I can't find this typo. Other typos are corrected.Pjedr wrote: Isee another little typo: Harmoney typo should be Harmony
Found the cause of this bug. It is corrected in the lastest code. However the consequence will be that the devices need to be added again (will be done automatically) since the ID generating code is changed.Dynamic wrote:Great functionality!
Found a bug though: in the on-action field there is a default value of "-1", resulting in an error while saving.
I can't reproduce this. What did you do prior to this error? Ideally you should never see the message: Too many commands missed.Derik wrote:Got some errors....
And it is not switching ...
I have submitted a patch to the admins of Domoticz.
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Harmony support, new hardware?
The new hardware gives a build error on Mac OS X, errno.h does not exists in asm. I created a symlink to solve the issue.
- gizmocuz
- Posts: 2478
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Harmony support, new hardware?
did you try with the 'latest' version ? (#1970) (i will stop updating now)
i can compile correctly on windows, raspberry and cubiboard
what should be changed to fix this ?
i do not see any include for errno.h
i can compile correctly on windows, raspberry and cubiboard
what should be changed to fix this ?
i do not see any include for errno.h
Quality outlives Quantity!
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Harmony support, new hardware?
Hi Rob, I will check this, I can't keep up with all the updates 

- gizmocuz
- Posts: 2478
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Harmony support, new hardware?
i know, there where a lot of them today 
But i don't think any of the include files changed
the main problem is i think the implementation of a cSocket class, i dont like this, but it get's compiled now for the above systems.
Maybe i should turn on my mac again
i normaly use it only as a mirror 

But i don't think any of the include files changed
the main problem is i think the implementation of a cSocket class, i dont like this, but it get's compiled now for the above systems.
Maybe i should turn on my mac again


Quality outlives Quantity!
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Harmony support, new hardware?
You are right, it's in csocket.
I modified csocket.h and added some platform specific code.
Question still be, why use csocket? Can't it be done using the boost libs?
Code: Select all
/domoticz/hardware/csocket.h:9:10: fatal error: 'asm/errno.h' file not found
Code: Select all
#ifdef WIN32
#include <winsock2.h>
#include <windows.h>
#elif __APPLE__
#include <netinet/in.h>
#include <errno.h>
#include <unistd.h>
#include <cstring>
#else
#include <netinet/in.h>
#include <asm/errno.h>
#include <unistd.h>
#include <cstring>
#endif
-
- Posts: 27
- Joined: Tuesday 11 February 2014 21:44
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
The csocket code is a leftover from the original project HarmonyHubControl where the new code is based on. I briefly looked at rewriting it to use AsyncTcp. It can be done, but it will take some time.pepijn wrote:You are right, it's in csocket.Question still be, why use csocket? Can't it be done using the boost libs?Code: Select all
/domoticz/hardware/csocket.h:9:10: fatal error: 'asm/errno.h' file not found
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Harmony support, new hardware?
For now the issue is solvedCodeItAway wrote: The csocket code is a leftover from the original project HarmonyHubControl where the new code is based on. I briefly looked at rewriting it to use AsyncTcp. It can be done, but it will take some time.

But .. you made a lot of people happy by adding this code

-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Harmony support, new hardware?
I'm so sorry if I'm annoying anyone with stupid questions but I can't find this in my list of hardware. I assumed I'd need to update to a newer version of Domoticz to do so, I'm on v1909, but this seems to be the latest one 

Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Harmony support, new hardware?
Change to Beta channel in Settings and you will receive the update.markk wrote:I'm so sorry if I'm annoying anyone with stupid questions but I can't find this in my list of hardware. I assumed I'd need to update to a newer version of Domoticz to do so, I'm on v1909, but this seems to be the latest one
NOTE: BETA releases may contain bugs.
Op zoek naar een Domoticz Start Set?
Who is online
Users browsing this forum: No registered users and 1 guest