Harmony integration - where does the hub name come from?

Hi, new user here again. I have three Harmony hubs and was very happy to see them all detected by my initial Home Assistant set-up. It didn’t pick up the names quite as I expected though. My hub names in my Harmony app are “Cinema Room”, “Lounge” and “Kitchen”. Home Assistant lists them as “Cinema Room”, “Cinema Room” and “Kitchen” though.

I have moved / renamed hubs in the past, so I suspect this is some step I may have missed, but I’m not too sure where to look. Can anyone tell me where HA gets these hub names from, or point me to some log files that might help my investigations?

After some restarts for other config I’ve been playing with, it now gets the three hub names correct! Weird.

…and it’s started mislabeling Lounge as a second “Cinema Room” again.

I’d be very grateful at any help people could give me to help tracking down what’s happening.

Guess you’ve tried this already but just in case, have you tried resetting the hub. All your settings are in the cloud so you won’t lose anything.

Otherwise, just turn off discovery and set them up manually. Discovery is often more of a pain than a benefit as it’s a great source of errors in your log.

Thanks. I must admit I hadn’t tried restarting the hub, as even if this corrected it once, I suspected it might get confused again. I quite like having discovery on at the moment as it is early days setting new things up. I see I can manually set name and IP address, but I’m not sure if this works for multiple hubs, as won’t they all need to be platform: harmony? I might be getting confused as I’m very new to YAML but the documentation seems to be written from an assumption there’s only one hub…

Platform: harmony is no different to saying platform: light, people tend to have more than one light :slight_smile: it’s just the type of device you want to control. All the actual commands will have remote.whatever to specify which hub it relates to.

Ah, yes - I’m showing my ignorance there!

Just tried manually specifying name and host for all three hubs. Interestingly I now see 2x Lounge, 1x Kitchen, 2x Cinema Room. Time for bed - I’ll do some more investigation tomorrow. Thanks for your help.

The multiples should be an easy fix, just add this to your ‘discovery:’ line in your config…

discovery:
  ignore:
    - harmony

Check here if you want to know more…

I assume your Hubs do have fixed IPs?

Yes, my router allocates specific addresses to the hubs.

Thanks very much for the info on ignoring harmony - I assumed discovery was all or nothing! So much to learn…

1 Like

That worked a treat - exactly three correctly named hubs now :grinning:

Thanks again.