Using Emulated Hue with regular Hue for home control buttons on Harmony

Tags: #<Tag:0x00007f325d1f8fb0>

I’m hoping someone can help me out here because I’ve searched high and low over the internet the past few days and am starting to lose my mind.

I have a physical Philips Hue bridge and lights, the Logitech Harmony Companion and I want to assign the home control buttons on the remote to scenes, which I know can’t be done without intervention.

This is the remote I have, and these are the buttons I want to program with light scenes.

I’ve been playing around with Emulated Hue, assuming that’s the route to go. But now I’m not so sure.

The scenes I want to control were created within the iOS Home app (not sure if that matters and if I need to recreate them elsewhere) - one is ‘TV Mode’ which basically dims my three Philips bulbs in the living room; the second is ‘Normal Mode’ which turns them back up to 100% brightness.

What is the simplest way to do this, please?

Below is a section of my configuration.yaml for Emulated Hue:

host_ip: !secret ha_ip_address
listen_port: 8300
advertise_ip: !secret ha_ip_address
advertise_port: 8300
upnp_bind_multicast: true
  - script
  - scene
expose_by_default: false
  - light
  - switch
  - input_boolean
  - group
    name: "HH"
    hidden: false

And then I have another YAML - light_group.yaml - as below:

- platform: template
      friendly_name: "HH"

When I navigate to http://myIP:8300/api/pi/lights I see the following:

  "1": {
    "state": {
      "on": false, 
      "reachable": true, 
      "mode": "homeautomation", 
      "bri": 1
    "name": "HH", 
    "uniqueid": "00:eb:5b:f5:28:00:21:f3-2a", 
    "manufacturername": "Home Assistant", 
    "swversion": "123", 
    "type": "Dimmable light", 
    "modelid": "HASS123"

And when I navigate to http://myIP:8300/description.xml, I see the following:

<root xmlns="urn:schemas-upnp-org:device-1-0">
    <friendlyName>Home Assistant Bridge (REDACTED)</friendlyName>
    <manufacturer>Royal Philips Electronics</manufacturer>
    <modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
    <modelName>Philips hue bridge 2015</modelName>

So it would appear everything is setup as it should be, although I’m not sure I need to do it this way, i.e. creation of two lights via the light protocol, creation of a group, and then the entities within the Emulated Hue declaration - seems overkill, but I don’t know.

Within the Home app, I can see the following:

All looks good so far.

And I can even get as far as opening the Harmony iOS app and going to Devices > Add Device > Home Control and Philips Hue does appear in there. It will try to connect and then I get the following screen:

But then it goes back to the Add Device page having not added the device. I then have to re-sync the Harmony app before it will appear again, and then the same thing happens again and again.

So… that is as far as I can get! Any help and support would be massively, massively appreciated. If I can program those home control buttons I’ll be a happy guy!