Harmony Hub

From Domoticz
Revision as of 15:43, 23 February 2019 by Forkboy (talk | contribs) (Added information on enabling XMPP from 4.15.250 onwards)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Since version 1.1956 Domoticz has native support for the Logitech Harmony Hub [1]. The Harmony Hub can be used to switch infrared devices like your tv, amplifier etc. The Harmony Hub can combine several devices into an activity, like: 'Watch TV', which will switch on your STB, TV and amplifier and sets them to the correct inputs.

Harmony Hub in Domoticz

In Domoticz, the current activity can be viewed and set by using switches. You can also set triggers, send notifications etc. when the current activity changes so you can extend the functionality of your Harmony Hub. For example, when you activate the 'Watch movie' activity you can dim the lights and close the curtains.

Setup

In order to connect the Domoticz software to your Harmony Hub, you'll need to add a new "Logitech Harmony Hub" Hardware (Setup->Hardware) and provide the following data:

  • Remote address: The IP address of the Harmony Hub
  • Port: If you didn't change the port this will be 5222
  • Username: The e-mail address you used to program the Hub (MyHarmony application)
  • Password: The password.


After a successful connection is made (check the logs) the activities will be automatically be added to your device (Setup->Devices).

Do not forget to enable the 'Accept new hardware' option.

Logitech and XMPP enablement

In December 2018, Logitech decided to remove local XMPP as part of a code cleaning process, arguing that XMPP had never been officially documented/supported.

Logitech has started the roll out of a firmware mid February 2019 that allows you to enable XMPP. Starting from firmware version 4.15.250 and Harmony app version 5.6 for iOS and Android it is possible to enable XMPP from the Harmony App.

Steps to enable XMPP from Harmony App: Menu > Harmony Setup > Add/Edit Devices & Activities > Remote & Hub > Enable XMPP

An interim method between December 2018 and Mid February 2019 was a firmware bringing back XMPP support using this procedure (Logitech forum) or from the support thread

More information: [2]

Support

Please use the forum [3] for support.

Credits

Most of the used code is from the HarmonyHubControl project [4].