Basic help installing deCONZ integration

[SOLVED] I’ll apologise for my ignorance now, ok?
I have had HA running for a little while.
I’m not a coder but I fumble my way through and have some simple automations.

I want to try Zigbee so I have bought a ConBee II.
I have plugged it into the RPi via a 1m USB extender cable.
The Integrations page of HA recognised the ConBee II without me doing anything (yay!).

Having pored through the forum I figured I need to install deCONZ (but I’m not entirely sure I’m correct).
I found the deCONZ integration here
https://www.home-assistant.io/integrations/deconz

I clicked ‘Add Integration’ and got this
HA1

I clicked ‘OPEN LINK’ and got asked to login to HA again.
I’m already logged in but…ok…I’ll do it again.
Then I got this
ha2

I clicked ‘ok’ (although ‘yes’ would have been a more emphatic answer) and got this
ha3

I had absolutely no idea what to enter here but eventually found a post on here which suggested this (though how anyone is supposed to know this beats me)
ha4

HA seemed happy enough with that and gave me this
ha5

Wow…I thought “what does that mean?”…no idea, I replied.
The only option was to click “SUBMIT” and got this
ha6

Very interesting - I didn’t even know I was looking for an API key
Where it says “Go to deCONZ Settings → Gateway → Advanced”…where do I find that?

I’m sure HA is great if you can interpret the gaps in these processes but for mere humans it is incredibly difficult at times.

Do I even need deCONZ to add a Zigbee sensor? I am beginning to suspect not.

Please, people, relieve me of my pain and give me some suggestions… thanks
EDIT: but, before you do that - read more about my adventure below…(man, I hope someone else finds this helpful)

I did a wider search (ie. outside the HA world) and found this page
https://sequr.be/blog/2020/11/adding-xiaomi-aqara-door-and-window-sensor-to-ha-via-deconz-conbee-ii/
which showed me this

Step 1 (and 10 minutes hunting) got me to this

after 10 minutes watching the blue circle spinning I clicked “START” and got this
ha9

The page I linked above had the next step - I reckoned I needed to check the radio button here (and then SAVE)

I then went to the Info tab and updated deCONZ to the current version.
After a few minutes of blue circles I got a START and clicked it.

The I got this and clicked ‘OPEN WEB UI’

I then followed the instructions on here
https://sequr.be/blog/2020/11/adding-xiaomi-aqara-door-and-window-sensor-to-ha-via-deconz-conbee-ii/

I can now see a Sensor in HA…
I hope you found this helpful - if so, please reply with “YeeHaa!”. Thanks

Hopefully, this will help and not confuse you further.

Add-ons are separate applications (running in docker), that are partly, or wholly, configured to work with HA out of the box.

Integrations are loaded into HA and configured to speak to various things, including add-ons, hardware, external devices and systems etc. to get data in/out of ha.

There are three main ways for ha to work with zigbee

  • ZHA, is internal to HA and the integration will work directly with a usb stick (including the Conbee II)
  • zigbee2mqtt, is a separate application, which requires another separate application (an mqtt-broker, mosqqito is regularly used) to talk to HA. There are add-ins for both applications, or they can be installed totally independently. The z2mqtt app can use a variety of usb sticks., like zha.
  • deconz - created by the company that make the Conbee and only uses their zigbee controllers. Is available as an add-on or can be installed separately.

People have long discussions about the pros and cons. I currently use deconz and get the feeling that it’s getting left behind the others a bit now. They seem to be quicker to support new devices etc. I’m trying to decide which to move to.

Anyhow, if I was starting out today, I’d try zha first as it’s the most official. Then, if there was something I couldn’t do, id look to using zigbee2mqtt.

I’d aim to make that choice early on, as migration is probably a pain.

2 Likes

Agreed. I recently migrated from deconz to z2m.

If I was starting again today, I wouldn’t use deconz.

1 Like

@eggman
Thank you for your response. I think I understand what you said.
I guess that, where I asked,

The answer is ‘no’.

Interestingly, when I logged on to HA this morning:

  1. deCONZ had gone
  2. the battery entity in my Aqara door sensor was available (it was unavailable yesterday)

So my current situation is that my first (and only) Zigbee door sensor switches on a lamp when it opens and switches the lamp off when it closes. This is what the automations are supposed to do so I am very relieved and can move on to the next challenge.
Thanks again
Rix

1 Like

@WhimsySpoon That’s useful to know - thanks

Glad it’s starting to work - slightly worrying that deconz ‘disappeared’. I would check in
Settings => Devices & Services to see what integrations you are running.

I suspect you may still have deconz (if you previously installed it), you may also have ZHA which might have auto installed.

You should be able to click on the devices and entities links of either/both to check what’s actually configured. If there is nothing configured under deconz, remove the integration and then make sure the add-on is removed as well.

Settings => Devices & Services to see what integrations you are running.

The deCONZ integration has definitely gone.

When I scroll back thorugh ‘Logbook’ there are two entries:
15:15:43 update.deconz_update off
16:23:46 update.deconz_update unavailable

When I look in
/config/home-assistant.log.1
there are 19 references to ‘deconz’ on 27/10/22 (yesterday) but nothing today.
Similarly no reference to ‘deconz’’ in
/config/home-assistant.log
which seems to have been created today 2022-10-28 10:29:22

The deCONZ add-on has definitely gone

Thanks for the advice - it’s much appreciated