New IKEA Dirigera hub

Alternatively, this might be interesting: GitHub - TheMrBooyah/hassio-repository
The repo provides an add-on to integrate outlets and lights into home-assistant via MQTT.

I can’t get the hub connected to HA. Here is the process I have gone through:

  1. Connect hub to Ikea app
  2. Click Configure on auto-discovered Homekit Controller in HA

Error is "Config flow could not be loaded: Unknown error "

I’ve tried restarting both the hub and HA with no change. It was asking me for the code before, but since some reboots, it’s no longer asking.

I have similar issue, but I was able to pair this remote without any problem, but right now after 2-3 weeks when I did this hub is completely dump.
One time it sees all of the lights, they look online but I’m able to control maybe 2-3 of 20 (doesn’t matter what I’m using ikea app, google home or alexa), all of the remotes styrbar (white, so do steel I have 4) and tradfri are offline, the same is for tradrfi shortcut button, so do tradrfri on/off button. Ikea app is saying that maybe battery is dead and I should replace it (impossible, because before migration from tradfri hub all of those devices had minimum 80%) or to repair device. So generally I thought it will be much better with new hub, but for now it looks pretty ugly…

Does any of you know is there is plan for official dirigera addon to ha?

I was able to add all my Dirigera lights based on this guide and now I’m controlling them with my Hue Dimmer switch. Everything seems to be working well even though, there’s sometimes delay after last button press before it accepts a new one (~ 5 seconds).

Is it possible to use the shortcut in automations?

Yes it is.

1 Like

I bought the dirigera yesterday. I love it :smiley: If only the old remote control was showing up in HA

2 Likes

I’m hoping that an integration is created that would allow all devices connected to the Dirigera to be available within HA.

The HomeKit controller integration only lets the HomeKit compatible devices through.

4 Likes

I hope that day will come soon! The shortcut button is working, sometimes. Like 1 out of 30 times I press it, it will fire the automation.

Interesting. My shortcut button is working fine.

I’ve had it controlling a light that it was connected to the Dirigera hub.

I’ve also had it controlling a light that was connected to my convoluted SmartThings → Hubitat → Home Assistant setup, and that is also working consistently as well.

Hey,
mine isn’t working. I rebooted HA an Hub several times, but ist always asks for the Key. If I type in the Key next to the little house icon, HA asks again an again for that key.

image

Did you do something else? Why does ist work at some installations without the key? I read a few posts above about only restarting the Hub and it works?!

Yes I had to restart it too. After that it worked

I’m not quite figured out here yet,
what must do step by step to connect the Ikea digigera?

Have any of you configured Zigbee2MQTT to work with the Dirigera? If so, what port did you use for the serial address. Can anyone share their config?

Just to build on my post above about Zigbee2MQTT. I changed the port to 9000 and seem to be getting further than before. Still no connection though, I assume because the Dirigera wants a token or something. Here is the startup log and the config.

[12:06:51] INFO: Preparing to start...
[12:06:52] INFO: Socat not enabled
[12:06:52] INFO: Zigbee Herdsman debug logging enabled
[12:06:54] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-02-02 12:07:02: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2023-02-02 12:07:02: Logging to console and directory: '/config/zigbee2mqtt/log/2023-02-02.12-07-02' filename: log.txt
Zigbee2MQTT:debug 2023-02-02 12:07:02: Removing old log directory '/config/zigbee2mqtt/log/2023-02-02.12-01-10'
Zigbee2MQTT:info  2023-02-02 12:07:03: Starting Zigbee2MQTT version 1.30.0 (commit #unknown)
Zigbee2MQTT:info  2023-02-02 12:07:03: Starting zigbee-herdsman (0.14.89)
Zigbee2MQTT:debug 2023-02-02 12:07:03: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"tcp://192.168.1.117:9000"}}'
2023-02-02T01:07:03.727Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-02-02T01:07:03.731Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"tcp://192.168.1.117:9000"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-02-02T01:07:03.734Z zigbee-herdsman:adapter:zStack:znp:log Opening TCP socket with 192.168.1.117:9000
2023-02-02T01:07:03.755Z zigbee-herdsman:adapter:zStack:znp:log Socket connected
2023-02-02T01:07:03.756Z zigbee-herdsman:adapter:zStack:znp:log Socket ready
2023-02-02T01:07:03.758Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2023-02-02T01:07:03.759Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2023-02-02T01:07:04.765Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2023-02-02T01:07:04.772Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-02-02T01:07:04.777Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-02-02T01:07:10.785Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-02-02T01:07:10.785Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-02-02T01:07:16.792Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-02-02T01:07:16.793Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2023-02-02 12:07:22: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-02-02 12:07:22: Failed to start zigbee
Zigbee2MQTT:error 2023-02-02 12:07:22: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-02-02 12:07:22: Exiting...
Zigbee2MQTT:error 2023-02-02 12:07:23: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:101:27)
    at start (/app/index.js:107:5)
data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto
serial:
  port: tcp://192.168.1.117:9000
zigbee_herdsman_debug: true
advanced:
  log_level: debug
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []

I have to disappoint you, but the Dirigera Hub will not work with Z2M as you would like.

For that, first of all, you would need to have ser2net running on the Hub to put the serial connection of its Zigbee module to a network port, where Z2M could connect. But even if that is running by default on the Hub, which would be a quite interesting and vulnerable idea from IKEA. You would need to disable first the Zigbee coordinator software on the Hub itself, as that would have direct serial connection to the Zigbee module.

So first, someone needs to get root access to the built in OS to enable and disable those features. And that has not happened yet to my best knowledge.

I got the picture… the code at the bottom of Dirigera Hub is eight numbers in two rows. So I permanently typed in xxxxxxxx. But you have to set the “-” at the correct positions for work! So I restartet the Hub, typed in the code wit format xxx-xx-xxx and viola… :heart_eyes:

This worked perfectly for me.

I had to reboot the Dirigera hub so that HA would detect it automatically, and I used the 8 digits id printed on the back of the hub, no hyphens.

1 Like

hi, I am also trying to get DIRIGERA to be added to my HA. Can you please clarify the step where you say you ‘remove the Dirgera Bridge from Apple Home app’ . Do you actually mean you removed the
HASS Bridge which gets added when you add HomeKit ? Please see screenshot. Can you please post screenshot of what your HomeKit looks like ?
tx.

no, I had the Dirigera as a bridge in the iPhone Home app , go to the Home App , Home settings > Home Hubs and Bridges. If you see Dirigera hub there, remove it. Then go to HA , devices, add Apple > Home Kit Controller

I must admit Dirigera Hub can be temperamental, I had to reset it a few times for it to work with HA