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

Smartthings smart siren Sercomm SZ-SRN12N #1087

Closed
JLFN opened this issue Feb 14, 2019 · 102 comments
Closed

Smartthings smart siren Sercomm SZ-SRN12N #1087

JLFN opened this issue Feb 14, 2019 · 102 comments
Labels
stale Stale issues

Comments

@JLFN
Copy link
Contributor

JLFN commented Feb 14, 2019

@Koenkk Is this product possible to add support? iam thinking of buying it.
Product Model(VF-SKU) F-SRN-ZB-VF-1 / Sercomm SZ-SRN12N EAN nbr: 856418004990

https://shop.eno.de/en/vh-sercomm-sirene-zigbee-fuer-v-home.html

image

@Koenkk
Copy link
Owner

Koenkk commented Feb 14, 2019

Maybe, we don't know before we tried :)

@JLFN
Copy link
Contributor Author

JLFN commented Feb 14, 2019

@Koenkk i dont have a smartthing gateway is that needed to sniff it? etc?

@nldroid
Copy link
Sponsor Contributor

nldroid commented Feb 14, 2019

@JLFN
Copy link
Contributor Author

JLFN commented Feb 14, 2019

@nldroid I dont want to buy a device if i need to get the smartthings bridge also just to sniff it.

@nldroid
Copy link
Sponsor Contributor

nldroid commented Feb 14, 2019

Ah, didn't read the 'iam thinking of buying it' part ;)

The problem is that you'll never know until somebody tried it.

@mclaudiopt
Copy link

hello.
i have this camera. someway i can help?
i also do not have vodafone...so i cannot pair it...

@mclaudiopt
Copy link

hello
any solution?

@mclaudiopt
Copy link

i have this sirene so i can try to snif if someone gives me how to do it...i also want to use zigbee2mqtt

i also have the camera wich has WIFI...but dont know the password

@mclaudiopt
Copy link

hi.
i only have one cc2531.
so i need to have another one, right?
i have a PI3b+ but i can use windows

@mclaudiopt
Copy link

hi. i only have one stick. i tried to enter in debug mode but nothing happens on the prompt (dash prompt)

@mclaudiopt
Copy link

yes i did :-(
i will try again and post here my step by step

@mclaudiopt
Copy link

i had one...but not any more...

@mclaudiopt
Copy link

anyway to try anything of i must have 2 cc2531?

@mclaudiopt
Copy link

can you please teach how to do it?
if i try to pair it it identify but cannot pair...

@Koenkk
Copy link
Owner

Koenkk commented May 8, 2019

@JLFN great, does it work now?

@Koenkk
Copy link
Owner

Koenkk commented May 9, 2019

Where can I find the log of the crash?

@Koenkk
Copy link
Owner

Koenkk commented May 13, 2019

  • What do you mean with 'Not saved?'
  • What happens when you switch the device? Can you provide the log of that?

@mclaudiopt
Copy link

@Koenkk @JLFN
here what i have able to to
https://paste.ubuntu.com/p/9KcyM9CNVZ/

@mclaudiopt
Copy link

here is extended log debug
https://paste.ubuntu.com/p/zN3HjnsScw/

@mclaudiopt
Copy link

hello
what else can i do for making the sirene work?

@mclaudiopt
Copy link

i give up. if someone want i can sell it

@JLFN JLFN closed this as completed Jun 25, 2019
@JLFN
Copy link
Contributor Author

JLFN commented Jul 5, 2019

I got my Heiman siren working with Zoenkk you should give this a try @mclaudiopt
add this line in device.js

  {
        zigbeeModel: ['Z-SRN12N'],
        model: 'SZ-SRN12N',
        vendor: 'SmartThings Siren',
        description: 'Smart siren',
        supports: 'warning',
        fromZigbee: [ fz.ignore_iaszone_change],
        toZigbee: [tz.warning],
        configure: (ieeeAddr, shepherd, coordinator, callback) => {
            const device = shepherd.find(ieeeAddr, 1);
            const actions = [
                (cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
                (cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 23}, cb),
                (cb) => device.bind('genPowerCfg', coordinator, cb),
            ];

            execute(device, actions, callback, 1000);
        },
    },

Set configuration. yaml line home assistant =false
use this file toZigbee.js
https://raw.githubusercontent.com/Koenkk/zigbee-shepherd-converters/master/converters/toZigbee.js
#add to home assistant config

switch:
  - platform: "mqtt"
    name: Siren
    state_topic: "zigbee2mqtt/0xd0cf5efffe475d33/set"
    availability_topic: "zigbee2mqtt/bridge/state"
    payload_off: '{"warning": {"duration": 0, "mode": "stop", "strobe": false}}'
    payload_on: '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
    # value_template: "{{ value_json.state }}"
    command_topic: "zigbee2mqtt/0xd0cf5efffe475d33/set"

@JLFN JLFN reopened this Jul 5, 2019
@mclaudiopt
Copy link

@JLFN thanks for the support
so i should copy that file on the link, rename it devices.js and add the content above, then try to pair. is this correct?

@JLFN
Copy link
Contributor Author

JLFN commented Jul 6, 2019

@mclaudiopt You need to read and follow instructions if you want support.

@mclaudiopt
Copy link

@JLFN here is the log

  zigbee2mqtt:warn 7/6/2019, 8:22:43 PM This can be ignored if the device is working properly
  zigbee2mqtt:info 7/6/2019, 8:22:45 PM New device 'undefined' with address 0xd0cf5efffe475d33 connected!
  zigbee2mqtt:info 7/6/2019, 8:22:45 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0xd0cf5efffe475d33","meta":{}}'
  zigbee2mqtt:warn 7/6/2019, 8:22:45 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:22:45 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:22:55 PM Message without device!
  zigbee2mqtt:info 7/6/2019, 8:23:20 PM Device incoming...
  zigbee2mqtt:info 7/6/2019, 8:23:20 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:warn 7/6/2019, 8:23:20 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:23:20 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:23:20 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:23:20 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:info 7/6/2019, 8:23:42 PM MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2400,"linkquality":68,"temperature":21.14}'
  zigbee2mqtt:warn 7/6/2019, 8:23:50 PM Failed to configure 0x286d970001010cd0 (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #3)
  zigbee2mqtt:warn 7/6/2019, 8:23:50 PM This can be ignored if the device is working properly
  zigbee2mqtt:error 7/6/2019, 8:23:52 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/6/2019, 8:23:52 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:error 7/6/2019, 8:23:56 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/6/2019, 8:23:56 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'

@mclaudiopt
Copy link

'{"battery":"0.00","voltage":2400,"linkquality":63,"temperature":21.21}'
  zigbee2mqtt:info 7/6/2019, 8:28:31 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00033ecd10', payload '{"temperature":23,"linkquality":18,"humidity":71.85,"battery":91,"voltage":2985}'
  zigbee2mqtt:info 7/6/2019, 8:28:35 PM Zigbee: disabling joining new devices.
  zigbee2mqtt:info 7/6/2019, 8:28:35 PM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.4.0","commit":"unknown","coordinator":20190425,"log_level":"info","permit_join":false}'
  zigbee2mqtt:info 7/6/2019, 8:28:36 PM Zigbee: allowing new devices to join.
  zigbee2mqtt:info 7/6/2019, 8:28:36 PM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.4.0","commit":"unknown","coordinator":20190425,"log_level":"info","permit_join":true}'
  zigbee2mqtt:warn 7/6/2019, 8:28:39 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:28:39 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:29:07 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:29:07 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:info 7/6/2019, 8:29:08 PM Device incoming...
  zigbee2mqtt:info 7/6/2019, 8:29:08 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:warn 7/6/2019, 8:29:08 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:29:08 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:29:08 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:29:08 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:info 7/6/2019, 8:29:12 PM MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2400,"linkquality":70,"temperature":21.22}'
  zigbee2mqtt:warn 7/6/2019, 8:29:17 PM Failed to remove '0xd0cf5efffe475d33', trying force remove...
  zigbee2mqtt:info 7/6/2019, 8:29:17 PM Force removed 0xd0cf5efffe475d33
  zigbee2mqtt:info 7/6/2019, 8:29:17 PM Successfully removed 0xd0cf5efffe475d33
  zigbee2mqtt:info 7/6/2019, 8:29:17 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:info 7/6/2019, 8:29:36 PM New device 'undefined' with address 0xd0cf5efffe475d33 connected!
  zigbee2mqtt:info 7/6/2019, 8:29:36 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0xd0cf5efffe475d33","meta":{}}'
  zigbee2mqtt:warn 7/6/2019, 8:29:36 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:29:36 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:29:46 PM Message without device!
  zigbee2mqtt:info 7/6/2019, 8:30:00 PM Starting network scan...
  zigbee2mqtt:warn 7/6/2019, 8:30:02 PM Network scan timeout, skipping outstanding lqi scans for '0x000d6ffffebb1f5d'
  zigbee2mqtt:warn 7/6/2019, 8:30:02 PM Network scan timeout, skipping outstanding rtg scans for '0x000d6ffffebb1f5d'
  zigbee2mqtt:info 7/6/2019, 8:30:02 PM MQTT publish: topic 'zigbee2mqtt/bridge/networkmap/graphviz', payload 'digraph G {
node[shape=record];
  "0x00124b0018e1a997" [style="bold, filled", fillcolor="#e04e5d", fontcolor="#ffffff", label="{0x00124b0018e1a997|0x0 |No model information available|online (2019-07-06T20:30:02+01:00)}"];
  "0x00158d0002d45645" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x00158d0002d45645|0xface |Xiaomi MiJia temperature & humidity sensor (WSDCGQ01LM)|online (unknown)}"];
  "0x000d6ffffebb1f5d" [style="rounded, filled", fillcolor="#4ea3e0", fontcolor="#ffffff", label="{0x000d6ffffebb1f5d|0x69c5  no lqi no routes|IKEA TRADFRI signal repeater (E1746)|offline (unknown)}"];
  "0x000d6ffffebb1f5d" -> "0x00124b0018e1a997" [style="dotted", weight=0, color="#994444", label="1"]
  "0x00158d00033ecd10" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x00158d00033ecd10|0xb017 |Xiaomi MiJia temperature & humidity sensor (WSDCGQ01LM)|online (00:01:30s ago)}"];
  "0x00158d00033ecd10" -> "0x00124b0018e1a997" [style="dashed", weight=0, color="#994444", label="15"]
  "0x286d970001010cd0" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x286d970001010cd0|0x8c4d |SmartThings Multipurpose sensor (2018 model) (IM6001-MPP01)|offline (00:00:49s ago)}"];
  "0x286d970001010cd0" -> "0x00124b0018e1a997" [style="dashed", weight=0, color="#994444", label="68"]
}'
  zigbee2mqtt:info 7/6/2019, 8:30:10 PM Device incoming...
  zigbee2mqtt:info 7/6/2019, 8:30:10 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:warn 7/6/2019, 8:30:10 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:30:10 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:30:10 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/6/2019, 8:30:10 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/6/2019, 8:30:10 PM Failed network lqi scan for device: '0x000d6ffffebb1f5d' with error: 'Error: Timed out after 10000 ms'
  zigbee2mqtt:info 7/6/2019, 8:30:18 PM MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2400,"linkquality":76,"temperature":21.26}'
  zigbee2mqtt:warn 7/6/2019, 8:30:20 PM Failed network rtg scan for device: '0x000d6ffffebb1f5d' with error: 'Error: Timed out after 10000 ms'

@dinhchinh82
Copy link
Contributor

@dinhchinh82 One addition: during my tests, the device doesn't always get the match descriptor response back, so there's a chance of a miss I guess. In those cases, I unplug and plug it in again to start pairing once more. You may want to try more than once to be sure it is not working.

Yes. I tried to plug & unplug to repair in several times but not successfully. Just confused why need to reflash the CC2531 before testing again.

@Koenkk
Copy link
Owner

Koenkk commented Apr 29, 2020

@dinhchinh82 it's needed because otherwise the new cluster won't be added (so there will be no change). Please do this and check if it works.

@dinhchinh82
Copy link
Contributor

dinhchinh82 commented May 4, 2020

@Koenkk I have tested again and still not successfully.

Here are the steps:

  1. Fresh Install Zigbee2mqtt 1.13.0
  2. Edit the line 50 as you suggessted

Can you change line 50 of /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/startZnp.js from

  1. Reflash ZC adapter CC2531 version 20180608

  2. Start debugging mode by the command: DEBUG=zigbee-herdsman* npm start
    then enable pairing mode, plug the siren SZ-SRN12N into socket,
    the bug still occurs as below:

zigbee2mqtt:debug 2020-05-04 16:48:36: Received Zigbee message from '0x000d6ffffe1ea926', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x0000000000000000","zoneState":0}' from endpoint 1 with groupID 0
zigbee2mqtt:warn 2020-05-04 16:48:36: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
zigbee2mqtt:warn 2020-05-04 16:48:36: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +8ms
zigbee-herdsman:controller:device:log Interview - IAS - before enrolling state: '{"iasCieAddr":"0x0000000000000000","zoneState":0}' +102ms
zigbee-herdsman:controller:device:log Interview - IAS - not enrolled, enrolling +1ms
zigbee-herdsman:controller:endpoint Write 0x000d6ffffe1ea926/1 ssIasZone({"iasCieAddr":"0x00124b0018e2f4d9"}, {"timeout":10000,"manufacturerCode":null,"disableDefaultResponse":true}) +105ms
zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":17240,"destendpoint":1,"srcendpoi

The Mac address of Samsung Siren for testing here: 0x000d6ffffe1ea926
Please check the detail debugging log:
https://www.dropbox.com/s/5n3u2o7niu43hdq/failed%20to%20interview%20SmartThings%20Siren%20SZ-SRN12N%202020.05.04.log?dl=0

@Koenkk
Copy link
Owner

Koenkk commented May 5, 2020

Can you sniff the traffic while pairing? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

@dinhchinh82
Copy link
Contributor

@Koenkk please check the sniff data & debugging log:
https://www.dropbox.com/s/zwwo0we72ff3h8d/failed%20to%20interview%20SmartThings%20Siren%20SZ-SRN12N%202020.05.05.log?dl=0

https://www.dropbox.com/s/oxq18zhninyy0fe/sniff%20SmartThings%20siren%20SZ-SRN12N%202020.05.05.pcapng?dl=0
decrypt key: default

Test environment:

  • zigbee2mqtt version 1.13.0-dev (commit #5aedf6b)
  • CC2531 default firmware 20190608.
  • Siren device ID for testing: 0x000d6f0012bc896e

@Koenkk
Copy link
Owner

Koenkk commented May 6, 2020

Made a mistake in #1087 (comment), please change it to

    Object.assign(Object.assign({}, EndpointDefaults), { endpoint: 11, appprofid: 0x0104, appdeviceid: 0x0400, appnumoutclusters: 2, appoutclusterlist: [Zcl.Utils.getCluster('ssIasZone').ID, Zcl.Utils.getCluster('ssIasWd').ID] }),

Reflash your adapter and try to repair it after that. If it doesn't work please share your database.db.

@dinhchinh82
Copy link
Contributor

dinhchinh82 commented May 9, 2020

@Koenkk I've followed your guide to test again.

  • step 1: reflash CC2531 version 20190608
  • step 2: edit the file /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/startZnp.js
  • step 3: start zigbee2mqtt debugging

I have not found the error as before (the device is not left anymore) but there is only unsupported message.

zigbee2mqtt:warn 2020-05-09 11:36:58: Received message from unsupported device with Zigbee model 'SZ-SRN12N'

zigbee2mqtt:warn 2020-05-09 11:36:58: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.

Please check the full debugging log:
https://www.dropbox.com/s/qvdlavjumztbzcw/failed%20to%20interview%20SmartThings%20Siren%20SZ-SRN12N%202020.05.09.log?dl=0

The database.db file:
https://www.dropbox.com/s/yzm6e1gkuchsnzf/database.db?dl=0

@Koenkk
Copy link
Owner

Koenkk commented May 9, 2020

Looks good!

Now search for the entry of Z-SRN12N in devices.js and change it to.

{
    zigbeeModel: ['Z-SRN12N', 'SZ-SRN12N'],
    model: 'SZ-SRN12N',
    vendor: 'SmartThings',
    description: 'Smart siren',
    supports: 'warning',
    fromZigbee: [],
    toZigbee: [tz.warning],
    meta: {configureKey: 1},
    configure: async (device, coordinatorEndpoint) => {
        const endpoint = device.getEndpoint(1);
        await bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
    },
},

You should then be able to trigger the alarm with the following commands: https://www.zigbee2mqtt.io/devices/HS2WD-E.html#triggering-the-alarm

See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to get to devices.js.

@dinhchinh82
Copy link
Contributor

dinhchinh82 commented May 9, 2020

@Koenkk

Now search for the entry of Z-SRN12N in devices.js and change it to.

Just followed your guide and it is configured very fast. The alarm function works well as Heiman siren now.

Thank you very much.
By the way, I have several new Zigbee devices and will try to connect to Zigbee2mqtt soon. Really appreciated to your support.

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 9, 2020
@Koenkk
Copy link
Owner

Koenkk commented May 9, 2020

Thanks I will add these changes to the dev branch.

Koenkk added a commit to Koenkk/zigbee-herdsman that referenced this issue May 9, 2020
@runningman84
Copy link

I am running zigbee2mqtt 1.13.1 but I still cannot pair it:

zigbee2mqtt:info  2020-05-23 11:43:47: Device '0xd0cf5efffe48f84e' joined
zigbee2mqtt:info  2020-05-23 11:43:47: Starting interview of '0xd0cf5efffe48f84e'
zigbee2mqtt:warn  2020-05-23 11:43:57: Device '0xd0cf5efffe48f84e' left the network
zigbee2mqtt:info  2020-05-23 11:43:57: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0xd0cf5efffe48f84e"}}'
zigbee2mqtt:warn  2020-05-23 11:43:58: Device '0xd0cf5efffe48f84e' left the network
zigbee2mqtt:info  2020-05-23 11:43:58: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0xd0cf5efffe48f84e"}}'
zigbee2mqtt:warn  2020-05-23 11:43:58: Device '0xd0cf5efffe48f84e' left the network
zigbee2mqtt:error 2020-05-23 11:44:14: Failed to interview '0xd0cf5efffe48f84e', device has not successfully been paired
zigbee2mqtt:info  2020-05-23 11:44:14: Configuring '0xd0cf5efffe48f84e'
zigbee2mqtt:error 2020-05-23 11:44:24: Failed to configure '0xd0cf5efffe48f84e', attempt 2 (Error: Bind 0xd0cf5efffe48f84e/1 genPowerCfg from '0x00124b001caaaa48/1' failed (Error: AREQ - ZDO - bindRsp after 10000ms)
    at Endpoint.<anonymous> (/app/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:244:23)
    at Generator.throw (<anonymous>)
    at rejected (/app/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65))

@Koenkk
Copy link
Owner

Koenkk commented May 23, 2020

@runningman84 after updating to 1.13.1, did you reflash your adapter (what adapter do you have?)?

@runningman84
Copy link

I am using a CC26X2R1 board with firmware CC26X2R1_20200312.hex.

@Koenkk
Copy link
Owner

Koenkk commented May 24, 2020

@runningman84 in your case applying this fix would require a full reset (without back restore = repair of all devices).

To prevent this, you have to start zigbee2mqtt once with a patch. This can be done by replacing the contents /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/startZnp.js with: https://gist.github.com/Koenkk/71dddc3b8a3b3349ecee0bd4e031c74c

@runningman84
Copy link

Ok once I replace the file in the docker image I can restart the container and pair the device without repairing all my other devices?

@Koenkk
Copy link
Owner

Koenkk commented May 24, 2020

yes, exactly, and when started once with this change you don't need it anymore

@runningman84
Copy link

Ok I could pair it with your instructions. If anybody needs the docker image with the fix included it can be found here:
https://hub.docker.com/repository/docker/runningman84/zigbee2mqtt

@dinhchinh82
Copy link
Contributor

@Koenkk today I just tried to pair SZ-SRN12N with latest Zigbee2mqtt version (1.14.3) but still could not pair successfully.
I just confused whether this fix already applied in 1.14.3 or not.

Zigbee2MQTT:info 2020-08-13 17:10:44: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.14.3","commit":"unknown","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190619}},"network":{"panID":6754,"extendedPanID":"0xdddddddddddddddd","channel":11},"log_level":"info","permit_join":true}'
Zigbee2MQTT:info 2020-08-13 17:10:53: Starting interview of '0x000d6ffffe1ea926'
Zigbee2MQTT:info 2020-08-13 17:10:53: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x000d6ffffe1ea926"}}'
Zigbee2MQTT:error 2020-08-13 17:13:11: Failed to interview '0x000d6ffffe1ea926', device has not successfully been paired

@KlavsKlavsen
Copy link

@dinhchinh82 Did you resolve your issue?

@grambas
Copy link

grambas commented Feb 23, 2022

Im also failing to pair this device:

 Failed to configure '0xd0cf5efffe474eaa', attempt 3 (Error: Bind 0xd0cf5efffe474eaa/1 genPowerCfg from '0x00212effff065cf5/1' failed (waiting for response TIMEOUT) at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:753:19) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:522:13) at Object.bind (/app/node_modules/zigbee-herdsman-converters/lib/reporting.js:33:9) at Object.configure (/app/node_modules/zigbee-herdsman-converters/devices/smartthings.js:464:13) at Configure.configure (/app/lib/extension/configure.ts:115:13))
 
 Error Failed to interview '0xd0cf5efffe474eaa', device has not successfully been paired

@grambas
Copy link

grambas commented Aug 15, 2022

any progress on this issue?

@grambas
Copy link

grambas commented Oct 19, 2022

Any why how can i Debug this? Device does not respond:

Publish 'set' 'warning' to 'siren' failed: 'Error: Command 0xd0cf5efffe474eaa/1 ssIasWd.startWarning({"startwarninginfo":53,"warningduration":10,"strobedutycycle":0,"strobelevel":1}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'

@pierok13
Copy link

pierok13 commented Feb 1, 2023

I do have the same issue, device leaving right after joining. I'm using an EZSP device for that and latest dev version of Z2M.
I don't know where to look to make that device change its zoneid

@pierok13
Copy link

pierok13 commented Jul 5, 2023

@Koenkk Can you have a look, the device joins then after some seconds failed to pair and then leaves the network. I'm using the sonof usb key and latest dev release of Z2M

@grambas
Copy link

grambas commented Jul 5, 2023

Does anyone have this device correctly working at all?

@pierok13
Copy link

Does anyone have this device correctly working at all?

Finally I could make it work but with the sonof P dongle, with the E dongle it doesn't work. So definetly we need to use the Z-stack, not the EZSP. Hope it helps

If you want I got a second P dongle ;-)

@grambas
Copy link

grambas commented Dec 7, 2023

Does anyone have this device correctly working at all?

Finally I could make it work but with the sonof P dongle, with the E dongle it doesn't work. So definetly we need to use the Z-stack, not the EZSP. Hope it helps

If you want I got a second P dongle ;-)

meanwhile i have also Sonof P Dongle. After reconnecting works for me to!

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

No branches or pull requests