Problem with Harmony Setup

Hi

I’m pretty new to HA (my second weekend in) but it really got me hooked. I managed to Integrate almost everything in my home except my Harmony Hub.

Somehow it want discover the device. I tried it even with the manual configuration and the IP. Still nothing shows up. I also tried googling but it seemed that it works fine with everyone else.

I tried already to reinstall Hass.io but without any result. Has anyone else had the same problem?

Welcome!

Can you share some snippets of configuration you’re attempting? That may help others to diagnose with you and provide assistance.

I’m on a Raspberry Pi 2 using Hass.io. Here’s the relevant portion of my configuration.yaml:

remote:
  - platform: harmony
    name: Living Room TV
    activity: Apple TV

I think its better practice if you use a static IP address for your hub and reference that in the configuration.yaml, but I haven’t done that yet.

If you haven’t yet created groups for your console, your hub should show up as “Remote” with a single toggle switch for on/off (from what I recall when I set mine up originally, though my “name” statement above may change that to “Living Room TV”).

Thanks for you answer.

I actually found the problem. A rookie mistake. I used a different Name than the one I used in my Hub configuration.

So now I have the one switch availbale and also I saw the file where I see all the devices HA detected from the Harmony.

I didn’t manage so far to add more switches so I can actually use all the devices I set up with the Harmony.

The best description I found to use the full functionality of the harmony channelwise was Logitech Harmony Integration with @iandday's component

Is this the easiest way for the Harmony setup?

Haven’t tried others, so not sure if its “easiest”. For me it took a lot of entries, but I haven’t had to change anything since, so once I set it up, its stable. Here’s my Automation.yaml based on that post:

#Harmony Hub related

- alias: "Power off via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "PowerOff" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "Power Off"

- alias: "Apple TV via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "Apple TV" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "Apple TV"

- alias: "AirPlay Music via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "AirPlay Music" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "AirPlay Music"

- alias: "TV via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "TV" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "TV"

- alias: "Fire TV via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "Fire TV" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "Fire TV"

- alias: "Blu-ray via Harmony Hub"
  trigger:
    platform: state
    entity_id: remote.harmony_hub
  condition:
    condition: template
    value_template: '{{ trigger.to_state.attributes.current_activity == "Blu-ray" }}'
  action:
    service: input_select.select_option
    entity_id: input_select.harmony_hub
    data:
      option: "Blu-ray"



- alias: "Apple TV via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'Apple TV'
  action:
    service: script.turn_on
    entity_id: script.apple_tv

- alias: "AirPlay Music via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'AirPlay Music'
  action:
    service: script.turn_on
    entity_id: script.airplay_music

- alias: "TV via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'TV'
  action:
    service: script.turn_on
    entity_id: script.tv

- alias: "Fire TV via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'Fire TV'
  action:
    service: script.turn_on
    entity_id: script.fire_tv

- alias: "Blu-ray via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'Blu-ray'
  action:
    service: script.turn_on
    entity_id: script.bluray

- alias: "Power Off via HASS UI"
  trigger:
    platform: state
    entity_id: input_select.harmony_hub
    to: 'Power Off'
  action:
    service: script.turn_on
    entity_id: script.tvoff
1 Like

I’m having the same problem. It was my understanding that the Harmony hub should be auto discovered at initialization but mine was not. I completely uninstalled Home Assistant and reinstalled with the same result. NOW I cannot get smb to connect to hassio to even view my configuration file! I am completely stuck and would welcome any help.

sorry shouldn’t have posed this in a hass.io thread. Will post elsewehere.