rkokkelk / com.jreenen.homeyharmonyhub

Harmony hub support for Homey
GNU General Public License v2.0
8 stars 9 forks source link
harmony-hub homey

Homey harmony hub

This application adds support for the Logitech Harmony Hub to Homey. Control the available devices and/or activities inside a Homey flow, voice commands or the homey app.

Make sure that Homey is connected to the same network as your Logitech Harmony Hub(s) and the app will autodiscover your hub(s).

Important: This app uses a local api available on your Logitech Harmony Hub that is undocumented and unsupported by Logitech. If Logitech decides to remove this api in a firmware upgrade this app will stop working.

Donations

If you like the work on this project please consider a donation. Of course, this is optional and you should in no way feel obligated to send a donation. The donations will be spent on buying a second Homey to use as a development Homey which supports me to keep this app running on future firmware versions of Homey.

Drivers

To communicate with your Logitech Harmony Hub this app uses drivers. When adding a device you can choose between 2 drivers.

Harmony Device driver

This driver allows you to pair devices that are synchronised to your Logitech Harmony Hub e.g.:

Logitech Harmony devices

Once paired you can use this device in flows or control it from the Homey app.

Harmony Activity driver

This driver allows you to pair activities that are synchronised to your Logitech Harmony Hub e.g.:

Logitech Harmony activities

Once paired you can use this activity in flows or control it from your Homey app.

Capabilities

During the pairing process the capibilities of devices and activities will get mapped to Homey capabilities.

OnOff

Capability for turning a device or activity on or off.

VolumeUp/VolumeDown/VolumeMute

Capability for controlling the volume level of a device or activity.

ChannelUp/ChannelDown

Capability for controlling the current channel of a device or activity.

Flow cards

Flowcards can be used to build flows in Homey's flow editor.

Triggers (when)

Application

To use the application cards select 'Homey Harmony Hub' in the 'When' column.

Activity starting

Every time an activity is about to start on your Logitech Harmony Hub this card will trigger. It provides 2 tags:

Activity started

Every time an activity is started on your Logitech Harmony Hub this card will trigger. It provides 2 tags:

Activity stopped

Every time an activity is stopped on your Logitech Harmony Hub this card will trigger. It provides 2 tags:

Hub inactive

This card can trigger if the hub is not active for an interval you choose:

It provides the name of the hub that is inactive as a tag.

Device and activity

Turned on

Every time the selected device or activity is turned on this card will trigger.

Turned off

Every time the selected device or activity is turned off this card will trigger.

Conditions (and)

Application

Activity is/is't matched

This card can be used to check if an activity is equal or not equal to a specified activity. Although you can type in the activity name by hand I would suggest using a predefined activity tag (e.g. generated by the Activity started application trigger card).

Device and activity

Is on / Is off

This card can be used to check if a specific device or activity is turned on or off.

Actions (then)

Application

Start activity

This card will start a selected activity on a selected hub.

Stop activity

This card will stop the current activity on a selected hub.

Device and activity

Turn on

This card will turn on a specific device or activity.

Turn off

This card will turn off a specific device or activity.

Toggle on or off

This card will toggle the onoff state for a specific device or activity.

Mute the volume

This card will mute the volume for a specific device or activity.

Unmute the volume

This card will unmute the volume for a specific device or activity.

Turn the volume up

This card will turn the volume up for a specific device or activity.

Turn the volume down

This card will turn the volume down for a specific device or activity.

One channel up

This card will switch one channel up for a specific device or activity.

One channel down

This card will switch one channel down for a specific device or activity.

Send command (device exlusive)

With this card you can send a command registered in your Logitech Harmony Hub to your device (e.g. input hdmi 1, record program...). The logitech harmony hub is grouping this kind of command so first specify the group and then the command you want to have executed. You can also specify the ammount of times this command should be repeated where 0 is only one time 1 is executing the same command twice etc..

(Voice) commands

Version History

v2.0.x

v1.4.x

v1.3.x

A special thanks to @denniedegroot who added on/off functionality for smart home devices and will help me on this project whenever time allows him to.

v1.2.x

v1.1.x

v1.0.0