A new Control Family device driver has been released supporting the Harmony Hub and related Harmony remotes. Using this driver will give you direct control of the Activities and Devices that have been defined on the Hub. myServer connects to the Harmony Hub on the local network. Internet is not required.
The Harmony Hub driver is part of the Control Family.
The GenericIR driver and IR database supports IR command strings in either GC format or pronto hex format.
The native myServer Harmony Hub driver has been released. It is a member of the Control Family so you will create the primary serial devices in Family Manager and then the individual device control files are defined inside the driver itself. Similar to how the GlobalCache driver works.
https://www.logitech.com/en-us/product/harmony-hub
This was designed to extend the SmartRemote's capability to include support for all devices and launch all defined Activities defined in the Harmony Hub. Logitech advises this is 270,000 devices across 6,000 brands!
Harmony supports up to 15 hubs to be connected to a Harmony User's account. The myServer driver can connect to as many hubs as you have in that system. So, you could have one hub per room...
A future enhancement may allow for myServer to receive Activity button presses from the remote. The Harmony Hub device is connected as a TCP networked device that uses a standard TCP connection.
Installation:
Harmony Hub
If you want to reset the Harmony Hub back to factory defaults (this deletes all settings), click the reset button and then plug the hub in. The light at the front will flash for 30 seconds indicating it is resetting.
Download the Harmony Control app to your smartphone. Launch it. Click and hold the Reset button on the Hub. Front LED should flash red. Click Setup New Hub in the app. If you have two hubs, both should appear in the list. Connect the correct hub via Bluetooth (this can take a minute). Enter your Wifi network ID and password. This will be updated in the Hub to connect to your IP network.
Create your Logitech userID email / password. Do not use social media login option. Accept licensing. If the hub needs new firmware, it will download and install and take 3-5 minutes.
Click "Set Up New" in the Harmony App. The Hub may have found IP devices that are on your network. Keep selected the devices you want this Hub to control (like for this room). You can then click Add Devices to find devices that may not have been discovered (like any IR device that is not on your ethernet network). Type in Make / Model. If found, it will be added.
Once done adding devices, click the > button to save your selections. Now, Test each device. Fix any devices that aren't working correctly.
You can optionally create Activities. If you are using this only with myServer (including SmartRemote), we would recommend you create and support Activities in myServer Macros instead. You may need to create one Activity to complete setup in the Harmony Control app.
Within the Harmony smartphone configuration app, go into Harmony Setup / Add and Edit Device and Activities / Remote & Hub / Enable XMPP connectivity.
You can double check the Hub's IP address in the Versions menu of the Harmonay Control app.
myServer
Add the Harmony Control driver from the Software Updater.
From the Harmony Driver, click Add Hub from Command builder. Should like something like this:
Click Save and your hub will be added to the driver.
Note the Device ID for your new hub...in our example, 331 is used.
When the driver loads it will connect to all the defined Hubs. There is no limit to how many Hubs can be used. Development was done using a Harmony Companion Hub and remote.
In Macros, edit your room macro "activate-room.theater"
Enable the Harmony Hub by "SetVariable|{{activeroom_{{clientname}}}}_harmony_isavailable~1!"
Define which Harmony Hub is used for that room by "SetVariable|{{activeroom_{{clientname}}}}_harmony_id~331!"
With the above, you should be able to Close the SmartRemote.apk (on the remote), relaunch it, select your room "Theater" and you should see the Harmony logo. click that and you should see the list of all Activities and all Devices configured on that remote. Clicking the Device "Samsung TV" - you should be able to turn it's power on / off etc.
-
Command builder will show you all the available supported commands. Within the smartremote UI folder are sample scenes that you can use in your apps for exercising the Hub(s).
There is an event in the Harmony driver that should fire whenever an activity is run on the hub. Look for messages in the Harmony event log like "OnActivityChanged, <<activity id>>". If you are seeing those events then if you create a system Macro called Harmony.<<activityid>> e.g. Harmony.12345 then that macro will automatically be called when the event happens.
Here are some screen shots from the sample app showing the app browsing the Hub and executing the functions.
This is the Hub Browser's home page. Notice that you can select Activities or Devices or the Global Power Off Hub Activity.
Select Activities and you can browse all the defined activities on the Hub. Clicking on the Activity name will run that activity on the hub.
Note: You can run that same Activity from a Macro by issuing the command Control|<<id>>~Activity~<<activity name>>Here we have browsed to the Devices on the Hub. One entry for every Device defined. Click on a Device to see it's command groups.
Harmony breaks its Device commands into logical groups. Select the command group you want to execute.
Now we're at the Function level for the selected device and command group. Click on the command to execute that Function on the hub.
NOTE: You can also execute the function directly in a Macro using the command Control|<<id>>~Send~<<device name>>~<<device function>>
Out of date: