Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Install Code Function Not Supported #14510

Closed
mauschil opened this issue Oct 16, 2022 · 16 comments
Closed

Add Install Code Function Not Supported #14510

mauschil opened this issue Oct 16, 2022 · 16 comments
Labels
problem Something isn't working stale Stale issues

Comments

@mauschil
Copy link

What happened?

I am trying to connect a Bosch Plug Compact BSP-FZ2 with my Zigbee2MQTT installation running on my Raspberry Pi 4 as an add-on in Home Assistant. I am running the Edge version of the add-on.

When trying to connect using the Enter Install Code functionality it will fail with the following error.

Zigbee2MQTT:error 2022-10-16 15:22:42: Request 'zigbee2mqtt/bridge/request/install_code/add' failed with error: 'Add install code is not supported'

Zigbee2MQTT:debug 2022-10-16 15:22:42: Error: Add install code is not supported at DeconzAdapter.addInstallCode (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:188:31) at Controller.addInstallCode (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:230:28) at Zigbee.addInstallCode (/app/lib/zigbee.ts:314:29) at Bridge.installCodeAdd (/app/lib/extension/bridge.ts:258:27) at Bridge.onMQTTMessage (/app/lib/extension/bridge.ts:123:63) at EventEmitter.emit (node:events:525:35) at EventBus.emitMQTTMessage (/app/lib/eventBus.ts:109:22) at MQTT.onMessage (/app/lib/mqtt.ts:140:27) at WebSocket.<anonymous> (/app/lib/extension/frontend.ts:94:27) at WebSocket.emit (node:events:513:28) Zigbee2MQTT:info 2022-10-16 15:22:42: MQTT publish: topic 'zigbee2mqtt/bridge/response/install_code/add', payload '{"data":{},"error":"Add install code is not supported","status":"error","transaction":"ulaaz-4"}'

What did you expect to happen?

The Enter Install Code to complete successfully and pair with the device.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.28.0-dev

Adapter firmware version

26720700

Adapter

ConBee II

Debug log

No response

@mauschil mauschil added the problem Something isn't working label Oct 16, 2022
@danieledwardgeorgehitchcock
Copy link
Contributor

danieledwardgeorgehitchcock commented Oct 16, 2022

It Looks like the install code functionality was added to the Deconz API in this commit

As for Zigbee2MQTT support (it is quite a recent feature), I think it has only been added so far for TI Z-Stack and Silicon Labs EZSP co-ordinators

@MattWestb
Copy link

ZHA is also having support for install code for real Zigbee 3 devices as service in HA:

Service
Zigbee Home Automation: Permit
Allow nodes to join the Zigbee network.

Install Code
Install code of the joining device (must be used with source_ieee)

@mauschil
Copy link
Author

@danieledwardgeorgehitchcock Someone else reported getting it to work with a Sonoff Zigbee Dongle. Looks like Ill give that a try. #13069 (comment)

@MattWestb Unfortunately, it looks like ZHA isnt supporting the Bosch plug. When entering the Install Code and IEEE, it will throw a NotImplementedError.

@MattWestb
Copy link

I think only EZSP have it implanted and perhaps de(F)CONZ but have not red the code.

@danieledwardgeorgehitchcock
Copy link
Contributor

Just done some further digging on this..

Looks like the function was stubbed out when adding install code support for EZSP and Z-Stack

Here are the lines

@MattWestb
Copy link

MattWestb commented Oct 18, 2022

Then its only waiting for our Master Barrista @kirovilya getting time implanting it in Z2M for for EZSP coordinators (its on his ToDo list). Hi is having some Aqara devices that need it so i think hi is not sleeping well until its in place.

You can adding support for Bosch plug in ZHA and it shall working OK (I think they is pity ZCL so shall not being so hard like most tuya devices).

Edit: Its looks like the deCONZ devs is not fixing the bugs / problems in Z2M so in the end its to changing radio or system.

@kirovilya
Copy link
Contributor

@MattWestb already implemented in dev/edge version z2m

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the stale Stale issues label Nov 18, 2022
@gekberlin
Copy link

gekberlin commented Nov 21, 2022

@kirovilya Any news on installing a device with z2m and deconz stick? Every time I try to install I still get the fault code: 'Add install code is not supported'

@Koenkk
Copy link
Owner

Koenkk commented Nov 21, 2022

@gekberlin , @kirovilya is not maintaining the Deconz integration. Install codes are not supported by the Deconz stick AFAIK.

@github-actions github-actions bot removed the stale Stale issues label Nov 22, 2022
@mmattel
Copy link

mmattel commented Nov 27, 2022

It seems that there is some progress, see:
dresden-elektronik/deconz-rest-plugin#6565 (Add DDF for Bosch Thermostat II)

From my understanding, if they are adding a DDF, install codes must already work with the Conbee II, but I may be wrong.

I am also desperately waiting that zigbee2mqtt + Conbee II + install codes are working (for adding the Bosch Thermostat II)

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the stale Stale issues label Dec 28, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2023
@opal06
Copy link

opal06 commented Mar 17, 2023

To bump this, it seems there has been some movement on deconz supporting install codes. Pull request has not been merged yet, but looks good: dresden-elektronik/deconz-rest-plugin#6791

Maybe this can be helpful for zigbee2mqtt as well.

@sniecha
Copy link

sniecha commented Mar 19, 2023

cant wait to hear its working :) my bosch thermostats are waiting :) @opal06 shouldnt we create a new Issue as this one has been closed by bot?

@rouvenst
Copy link

rouvenst commented Apr 24, 2023

Pull request is now merged into v2.22.0-beta (https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/v2.22.0-beta).
Did you create a new issue yet to track the progress of supporting install codes with conbee stick @sniecha @opal06 ?

EDIT: opened new issue #17492

@Hedda
Copy link
Contributor

Hedda commented May 12, 2023

FYI, if using ConBee or RaspBee (deconz Zigbee Coordinator adapter from dresden elektronik) then see related issue -> #17492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests