Ikea Dirigera integration

I just bought and installed that, if only to test them in Homekit, and they work perfectly. Via Homekit, repeat, didnt do anything with a Custom integration or Matter yet

1 Like

Sure can add the integration…would need the json dump… do open an issue at github and include the JSON.

I have submitted a PR to HACS default in January, yet to have it merged :frowning:

2 Likes

I don’t have the badring myself yet because was waiting for a confirmation here.
@Mariusthvdb seems to confirm it works via Homekit. Can you perhaps provide a JSON dump so @sanjoyg can add it in the integration? :slight_smile:

@sanjoyg : great to hear! would be awesome to see this built-in HA, just like the Tradfri integration. Thanks for the effort!

yes, I now also installed the Parasoll door/window sensor, so have all three new sensors integrated.

I suppose you could check the HomeKit integration that has them integrated perfectly. That would use the same data you would require?

@sanjoyg
btw, from the diagnostics, would this be what you require?:

Parasoll

      {
        "aid": 4300182206101668353,
        "services": [
          {
            "iid": 1,
            "type": "0000003E-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000014-0000-1000-8000-0026BB765291",
                "iid": 2,
                "perms": [
                  "pw"
                ],
                "format": "bool",
                "description": "Identify"
              },
              {
                "type": "00000020-0000-1000-8000-0026BB765291",
                "iid": 3,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "IKEA of Sweden",
                "description": "Manufacturer",
                "maxLen": 64
              },
              {
                "type": "00000021-0000-1000-8000-0026BB765291",
                "iid": 4,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "PARASOLL Door/Window Sensor",
                "description": "Model",
                "maxLen": 64
              },
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 5,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Raam Voorkamer",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000030-0000-1000-8000-0026BB765291",
                "iid": 6,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "**REDACTED**",
                "description": "Serial Number",
                "maxLen": 64
              },
              {
                "type": "00000052-0000-1000-8000-0026BB765291",
                "iid": 7,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1.0.19",
                "description": "Firmware Revision",
                "maxLen": 64
              },
              {
                "type": "00000053-0000-1000-8000-0026BB765291",
                "iid": 8,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1",
                "description": "Hardware Revision",
                "maxLen": 64
              }
            ]
          },
          {
            "iid": 2624,
            "type": "00000080-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 2626,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Contact",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "0000006A-0000-1000-8000-0026BB765291",
                "iid": 2627,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 0,
                "description": "Contact Sensor State",
                "minValue": 0,
                "maxValue": 1,
                "minStep": 1
              }
            ]
          },
          {
            "iid": 224,
            "type": "00000096-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 228,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Battery",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000068-0000-1000-8000-0026BB765291",
                "iid": 225,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 100,
                "description": "Battery Level",
                "unit": "percentage",
                "minValue": 0,
                "maxValue": 100,
                "minStep": 1
              },
              {
                "type": "00000079-0000-1000-8000-0026BB765291",
                "iid": 227,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 0,
                "description": "Status Low Battery",
                "minValue": 0,
                "maxValue": 1,
                "minStep": 1
              }
            ]
          }
        ]
      },

Badring:

      {
        "aid": 7877303826049288449,
        "services": [
          {
            "iid": 1,
            "type": "0000003E-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000014-0000-1000-8000-0026BB765291",
                "iid": 2,
                "perms": [
                  "pw"
                ],
                "format": "bool",
                "description": "Identify"
              },
              {
                "type": "00000020-0000-1000-8000-0026BB765291",
                "iid": 3,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "IKEA of Sweden",
                "description": "Manufacturer",
                "maxLen": 64
              },
              {
                "type": "00000021-0000-1000-8000-0026BB765291",
                "iid": 4,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "BADRING Water Leakage Sensor",
                "description": "Model",
                "maxLen": 64
              },
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 5,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Waterlek sensor",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000030-0000-1000-8000-0026BB765291",
                "iid": 6,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "**REDACTED**",
                "description": "Serial Number",
                "maxLen": 64
              },
              {
                "type": "00000052-0000-1000-8000-0026BB765291",
                "iid": 7,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1.0.7",
                "description": "Firmware Revision",
                "maxLen": 64
              },
              {
                "type": "00000053-0000-1000-8000-0026BB765291",
                "iid": 8,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1",
                "description": "Hardware Revision",
                "maxLen": 64
              }
            ]
          },
          {
            "iid": 2656,
            "type": "00000083-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 2658,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Leak Sensor",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000070-0000-1000-8000-0026BB765291",
                "iid": 2659,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 0,
                "description": "Leak Detected",
                "minValue": 0,
                "maxValue": 1,
                "minStep": 1
              }
            ]
          },
          {
            "iid": 224,
            "type": "00000096-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 228,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Battery",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000068-0000-1000-8000-0026BB765291",
                "iid": 225,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 100,
                "description": "Battery Level",
                "unit": "percentage",
                "minValue": 0,
                "maxValue": 100,
                "minStep": 1
              },
              {
                "type": "00000079-0000-1000-8000-0026BB765291",
                "iid": 227,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 0,
                "description": "Status Low Battery",
                "minValue": 0,
                "maxValue": 1,
                "minStep": 1
              }
            ]
          }
        ]
      },

Vallhorn

      {
        "aid": 15628936967153863169,
        "services": [
          {
            "iid": 1,
            "type": "0000003E-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000014-0000-1000-8000-0026BB765291",
                "iid": 2,
                "perms": [
                  "pw"
                ],
                "format": "bool",
                "description": "Identify"
              },
              {
                "type": "00000020-0000-1000-8000-0026BB765291",
                "iid": 3,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "IKEA of Sweden",
                "description": "Manufacturer",
                "maxLen": 64
              },
              {
                "type": "00000021-0000-1000-8000-0026BB765291",
                "iid": 4,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "VALLHORN Wireless Motion Sensor",
                "description": "Model",
                "maxLen": 64
              },
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 5,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Vallhorn",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000030-0000-1000-8000-0026BB765291",
                "iid": 6,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "**REDACTED**",
                "description": "Serial Number",
                "maxLen": 64
              },
              {
                "type": "00000052-0000-1000-8000-0026BB765291",
                "iid": 7,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1.0.64",
                "description": "Firmware Revision",
                "maxLen": 64
              },
              {
                "type": "00000053-0000-1000-8000-0026BB765291",
                "iid": 8,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "1",
                "description": "Hardware Revision",
                "maxLen": 64
              }
            ]
          },
          {
            "iid": 3072,
            "type": "00000085-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 3075,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Vallhorn",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000022-0000-1000-8000-0026BB765291",
                "iid": 3074,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "bool",
                "value": false,
                "description": "Motion Detected"
              }
            ]
          },
          {
            "iid": 224,
            "type": "00000096-0000-1000-8000-0026BB765291",
            "characteristics": [
              {
                "type": "00000023-0000-1000-8000-0026BB765291",
                "iid": 228,
                "perms": [
                  "pr"
                ],
                "format": "string",
                "value": "Battery",
                "description": "Name",
                "maxLen": 64
              },
              {
                "type": "00000068-0000-1000-8000-0026BB765291",
                "iid": 225,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 100,
                "description": "Battery Level",
                "unit": "percentage",
                "minValue": 0,
                "maxValue": 100,
                "minStep": 1
              },
              {
                "type": "00000079-0000-1000-8000-0026BB765291",
                "iid": 227,
                "perms": [
                  "pr",
                  "ev"
                ],
                "format": "uint8",
                "value": 0,
                "description": "Status Low Battery",
                "minValue": 0,
                "maxValue": 1,
                "minStep": 1
              }
            ]
          }
        ]
      },

Thank yo for your interest. No what I need is the dump of the json from a service call as part of my integration, which is the raw dump from the Dirigera Gateway Hub. So if you could install it and send it out to me via an issue on the github page, would be able to get that implemented.

yeah, sorry, I am a bit reluctant to install an experimental integration on my production system. dont think the Dirigera will talk to both, or, put it differently, my perfectly running HomeKit setup wont bother…

I cant risk breaking that, so given the fact the json above is also directly from the Dirigera I wonder what would be different …

maybe you can create a mere shell command or rest api call we can enter in the terminal to get what you need?

I like the ikea acessories because they use aaa batteries and I Charge them on solar and its easy to change. Actually I use Z2M to use the but I will try this integration :+1:

Can you please confirm if you’re using the sensors connected directly to the HomeKit Controller or via a Diriger gateway? Also, which controller is that?
Thx!

My Ikea devices are connected to the Dirigera Bridge. That is integrated via the Homekit device integration into HA:

Thanks for your answer. I was hoping for this new range of Ikea smart products to be matter/thread compliant and therefore able to connect to existing coordinators. If they do require the Dirigera hub I’ll probably skip, I can’t justify yet another gateway.

Maybe they can, not sure. The Dirigera is a Matter enabled device though, so you can set it as a Matter Bridge in your config :wink:

I use that integration for test, I conect a Bulb and a Styrbar, but the styrbar only show the battery and I dont know How to make the buttons visible on HA.

Anyone know? :+1::+1:

you probably can catch the ā€˜events’ of the button push in a trigger based template sensor…

something like this:

template:

  - trigger:

      - platform: event
        event_type: hue_event
        event_data:
          id: auditorium_tap_switch_button
    sensor:
      - unique_id: auditorium_tap_switch_last_event
        state: >
          {% set event = trigger.event.data.subtype %}
          {{event}}
        attributes:
          last_triggered: >
            {{trigger.event.time_fired}}
          history: >
            {% set op = now().strftime('%D %X') %}
            {% set current = this.attributes.get('history',[]) %}
            {% set new = [{'op': op, 'button': this.state }] %}
            {{(new + current)[:9]}}

but then for the Ikea button (need to find the right event in the dev tools events page)

that will give you a sensor, and the state of that sensor can be used in other automations/scripts/templates etc

btw, I have that device in ZHA, and the events there look like this:

1 Like

On ZHA and Z2M work well, but I put the dirigera hub on garage (home is in 1st floor and garage - 1) and I really like to use the styrbar and ikea lights there but conected to HA. Other wise I have to buy other Smlight coordinator :grin:

Sure totally understand, the water sensor support is now available

I removed the integration at some point and moved to Matter but installed it again since it has more features compared to the original Ikea Matter integration.
I can now confirm that this issue is fixed. The lights now turn on at the same time instead of one by one.
Still hoping to see an option to change the buttons functionality on the remotes in this integration.

Thank you!

1 Like

Hi Joost,
will there be any chance the new Dirigera hub can be supported from HA core?

I am asking now, because I just picked up an Inspelning smartplug, hoping the measuring capabilities would also be handled by the Homekit devices / Dirigera combination. Unfortunately it isnt…
All we get is a plug switch.
Apparently the Dirigera doesnt provide the data to the Homekit support (at least, it isnt available in the diagnostics)

We can add the device as a plain Zigbee device and see the power sensors and more, but, of course in that case we can not use the native Ikea app.

Seems the gap between Home assistant and Ikea Dirigera is growing with each and every new device they release, which is an utter shame.

Not taking away from this custom component, or Sanjoy’s great work, but hoping we can see HA core again back on track with one of the main Smart home device providers around.

I still don’t have a hub, but since I now got a new apartment I’m also short on time for the coming few months, after that I might once be able to

1 Like

congrats on your new place, hope it will be great!

after installing that Quooker, be sure to remember this please … :wink:

Hehe, downside is that i probably won’t use a dirigera in this apartment