WARNING - v0.1.20221230 is a BREAKING code change. DO NOT UPGRADE to this new version unless you are willing to spend the time to start anew with your Hamony Hub integration with Hubitat. This new version now uses Hubitat's built-in Generic Component Switch driver, which has the benefit of allowing the Child Activitiy Switch devices to show up in the new Hubitat HomeKit integration.
v0.1.20230311 Added proper support for the push() and hold() commands on the parent device page.
v0.1.20221231 Very minor tweak to prevent running the PowerOff activity if everything is already off.
v0.1.20221230 BREAKING CHANGE: Modified to use Hubitat built-in "Generic Component" child drivers, for HomeKit compatibility. BREAKING CHANGE!
v0.1.20210725 Improved log.debug handling
v0.1.20210702 Added Presence Capability to indicate whether or not the connection to the Harmony Hub is 'present' or 'not present'
v0.1.20210425 Corrected data type of custom attributes
v0.1.20201228 Fixed Null division issue caused in the 11-23-2020 release
v0.1.20201123 Added custom level attributes for Home Control Buttons. Thanks @fabien.giuliano and @abuttino.
v0.1.20200920 Use 'pushed' and 'held' events for 'Home Control Buttons'
v0.1.20200918 Added support for Home Control Buttons for Harmony remotes that support these buttons - Thanks @abuttino! PLEASE READ THE README section regarding these buttons!
v0.1.20200301 Added Left, Right, Up, Down and OK commands - Requires the device ID - Thank you @rebecca (Rebecca Ellenby)
v0.1.20200114 Added Switch Capability and Default Activity user preference to Parent Device. If the Parent switch is turned on, the default activity is turned on. If the Parent switch is turned off, the current Activity is turned off.
v0.1.20191231 improved volume control logic and robustness. fixed small bug preventing volume changes.
v0.1.20190723 adds Actuator Capability to allow use in RM's Custom Actions
v0.1.20190715 adds support to the Parent Device for VolumeUp, VolumeDown, Mute, ChannelUp, and ChannelDown custom commands for those Harmony Activities which support Volume and/or Channel control. Thank you @aaron for you insight and motivation to bring these features to fruition!** Simply update your Parent driver and then click REFRESH on the Parent Device. Update: You can now add a Volume Tile to the Dashboard for the Parent Device to bump the volume level up or down (but you cannot set a specific volume level as the Harmony Hub cannot set the level, it can only adjust the volume up and down.)
Note: Logitech changed the webSockets interface slightly in v4.15.250 of the Harmony Hub firmware. @corerootedxb was able to come up with a fix to the driver to make it work with the new 4.15.250 firmware. This issue only affects new instances of the Logitech Harmony Hub virtual device. Existing users are not impacted. v0.1.20190220 of this driver is designed to work specifically with Harmony Hub v4.15.250. Existing user may upgrade as well, as long as their harmony hubs are also at 4.15.250. Thank you @corerootedxb for the quick solution!
I am pleased to announce the release of my new Logitech Harmony Hub Driver. This driver communicates directly to your Harmony Hub over your LAN. It will create a child switch device for each of your Harmony Activities, and will keep them all up to date with instant status updates from the Harmony Hub. No polling required!
This integration requires new LAN connectivity features only available in the recent Hubitat Elevation Firmware version 2.0.3. and newer
The instructions for using this driver are available in my GitHub repository within the ReadMe for this driver. I expect users will want enhancements. I encourage GitHub Pull Requests as I welcome community support of this integration!
[UPDATE: March 11, 2023]
In an interesting turn of events, Logitech has decided to release support for the new SmartThings architecture. This means that it is once again possible to use the hack below to get the Home Control buttons working on your Harmony remote control. Thank you Patrick for sharing this information!
[UPDATE: December 30, 2022]
WARNING - v0.1.20221230 is a BREAKING code change. DO NOT UPGRADE to this new version unless you are willing to spend the time to start anew with your Hamony Hub integration with Hubitat. This new version now uses Hubitat's built-in Generic Component Switch driver, which has the benefit of allowing the Child Activitiy Switch devices to show up in the new Hubitat HomeKit integration.
[UPDATE: September 26, 2022]
Please be forewarned that Samsung will be shutting down the old SmartThings Groovy IDE by the end of 2022. This means that the following workaround to use the "Home Control" buttons on some Harmony remotes will no longer be possible. I do NOT recommend anyone add the below functionality to any new installations as it will stop working in the coming months.
[UPDATE: September 27, 2020]
STOP - PLEASE ONLY PROCEED WITH THE FOLLOWING instructions AFTER you have completed the steps above in the ReadMe....and even then, only if you have a strong desire to try and use the "Home Control" buttons found on some Harmony physical remote controls.
I would like to thank @abuttino for the recent help in adding some limited support for using the 4 Harmony Home Control buttons found on some Harmony remote controls. Below are some instructions written by @abuttino to help users utilize this remote control buttons within Hubitat.
Note: Once the four buttons are configured in the User Preferences of the Parent Device, the Parent device will then become a 4-button Button Controller that can be used in any App that supports 'pushed' and 'held' button events (e.g. Button Controllers, Advanced Button Controller, Rule Machine, webCoRE, etc...)