Koenkk/zigbee2mqtt

Conbee II: Add install code is not supported

rouvenst opened this issue ยท 24 comments

What happened?

I want to add my new Bosch Thermostat II 230 V (BTH-RM230Z) with Home Assistant and Conbee II via install code.
Therefore I scanned the qr code from the back of the device and entered it into the "Add install code" tool.
Afterwards the error Add install code is not supported is shown.

Logs:

Zigbee2MQTT:error 2023-04-29 12:06:14: Request 'zigbee2mqtt/bridge/request/install_code/add' failed with error: 'Add install code is not supported'
Zigbee2MQTT:info  2023-04-29 12:06:14: MQTT publish: topic 'zigbee2mqtt/bridge/response/install_code/add', payload '{"data":{},"error":"Add install code is not supported","status":"error","transaction":"ookk5-1"}'

What did you expect to happen?

It should add the device to z2m.

How to reproduce it (minimal and precise)

I'm using Conbee 2 from dresden-elektronik.
Used the function "Add install code" from Settings > Tools.

Related to #14510. I guess Conbee 2 did not support install codes yet. With v2.22.0-beta there should be support. Maybe we can leverage this here (dresden-elektronik/deconz-rest-plugin#6791)

Zigbee2MQTT version

1.30.3

Adapter firmware version

0x26780700

Adapter

ConBee2

Debug log

No response

Hedda commented

Ping @ChrisHae + @manup (and @Koenkk as might have some contacts at Dresden Elektronik or other other deconz devs?)

ConBee/RaspBee (deconz firmware) does not yet seem to implement Zigbee install code support in the deconz serial protocol and therefore ConBee/RaspBee does not currently offer feature-partity with with serial protocols for Texas Instruments Z-Stack and Silicon Labs EmberZNet for Zigbee Gateway host applications such as Zigbee2MQTT (which in turn depends on zigbee-herdsman).

This first needs to be supported in the firmware for ConBee/RaspBee as well as be documented for their deconz-serial-protocol:

dresden-elektronik/deconz-serial-protocol#20

If it is already supported for it in their firmware then it needs to be implemented in the deconz adapter code for zigbee-herdsman:

https://github.com/Koenkk/zigbee-herdsman/tree/master/src/adapter/deconz

zigbee-herdsman is the Zigbee framework that Zigbee2MQTT (and IoBroker) uses it as Zigbee adapter specific abstraction code:

https://github.com/Koenkk/zigbee-herdsman/

Suggest that you also post a new feature for this under issues in the zigbee-herdsman repository for developer tracking as well:

https://github.com/Koenkk/zigbee-herdsman/issues

Note! FYI, all the Texas Instruments ZNP and Silicon Labs EZSP adapters do already support commissioning via install code.

PS: This is related to this request in deconz radio library for zigpy (which is used by Home Assistant's ZHA, Domoticz, and Jeedom):

zigpy/zigpy-deconz#214

Hedda commented

Update; FYI, Dresden Elektronik's manup is having an dialog with zigpy dev here -> dresden-elektronik/deconz-serial-protocol#20

While the first device in question was the Bosch Thermostat II 230 V (BTH-RA / BTH-RM230Z), I understand that some other people using deCONZ or Zigbee2MQTT have also reported the same symptoms with a few other Bosch-branded Zigbee devices, like Bosch Smoke Alarm II (BSD-2), Bosch Door/window contact II (RBSH-SWD-ZB), and Bosch BWA-1 water sensor, with all of them requiring adding the install code to pair/join.

Another device that been mentioned to require install code is the rotary switch Aqara H1 -> Koenkk/zigbee-herdsman#420

And a few LEDVANCE/hue/innr/tint/osram bulbs have them too but for them it might be optional? See -> #8498

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

no stale

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

no stale

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

lerra commented

Still relavent

Any news from battlefield?

Hedda commented

Any news from battlefield?

The problem is upstream as Dresden-Elektronik's own developers (as in the company that makes ConBee and RaspBee) need to further document their deCONZ serial protocol to help third-parties who use it -> dresden-elektronik/deconz-serial-protocol#20

It is not yet implemented in the serial protocol. When it is, it can be added to z2mqtt deconz adapter.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

no stale

Any news?

lerra commented

Any news?

I would also very much appreciate any news on this problem.
Winter is here and my Bosch Thermostats are lying around uselessly.

Meilu commented

I have just received my Bosch thermostat but receiving the same error with my Conbee stick. News on this issue very much appreciated.

Hedda commented

Still no news, again the issue is with upstream, see -> dresden-elektronik/deconz-serial-protocol#20

The problem is upstream as Dresden-Elektronik's own developers (as in the company that makes ConBee and RaspBee) need to further document their deCONZ serial protocol to help third-parties who use it -> dresden-elektronik/deconz-serial-protocol#20

There is no official support of install codes for ConBee or RaspBee.

Hedda commented

@ChrisHae is it still on your roadmap? You wrote this in your other issue:

The Conbee2 fw does not support it yet. But it will come soon. And then it will also be implemented in zigbee herdsman deconz adapter.

Originally posted by @ChrisHae in dresden-elektronik/deconz-serial-protocol#20 (comment)

I think it is. But I'm not firmware developer. Better ask in dresden elektronik github pages or manup directly.

Is there are news on this? Bought a Bosch Thermostat when I saw it as supported on zigbee2mqtt's list, only to have the issue trying to pair with the conbeeII.

Is there a list somewhere of the Adapters that actually support this? Might as well upgrade from the conbee2 if this wil ltake too long.

Thanks

Is there a list somewhere of the Adapters that actually support this?

Only supported by Texas Instruments and Silicon Labs based adapters so far as still not documented for deconz serial protocol -> dresden-elektronik/deconz-serial-protocol#20