Zigbee2mqtt: Smartthings smart siren Sercomm SZ-SRN12N

Created on 14 Feb 2019  路  93Comments  路  Source: Koenkk/zigbee2mqtt

@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

stale

Most helpful comment

馃憤 One additional remark, as I got it stable now. It must be enrolled, otherwise it will leave again after a power loss.

All 93 comments

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

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

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

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

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

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

hello
any solution?

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

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

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

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

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

anyway to try anything of i must have 2 cc2531?

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

@JLFN great, does it work now?

Where can I find the log of the crash?

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

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

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

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

i give up. if someone want i can sell it

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

```.yaml
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 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?

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

@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"}'
'{"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'

The log show that you havent follow the instructions devices.js havent been loaded with information that should be added in the file.

@JLFN followed all instructions
check log

[Info] Configuration file found: /share/zigbee2mqtt/configuration.yaml
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2019-07-07T18:23:51: PM2 log: Launching in no daemon mode
2019-07-07T18:23:51: PM2 log: App [npm:0] starting in -fork mode-
2019-07-07T18:23:51: PM2 log: App [npm:0] online
> [email protected] start /app
> node index.js
  zigbee2mqtt:info 7/7/2019, 6:23:53 PM Logging to directory: '/share/zigbee2mqtt/log/2019-07-07.18-23-52'
  zigbee2mqtt:info 7/7/2019, 6:23:53 PM Starting zigbee2mqtt version 1.4.0 (commit #unknown)
  zigbee2mqtt:info 7/7/2019, 6:23:53 PM Starting zigbee-shepherd
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM zigbee-shepherd started
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Coordinator firmware version: '20190425'
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Currently 4 devices are joined:
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Xiaomi 1a (0x00158d0002d45645): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Xiaomi RC (0x00158d00033ecd10): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Sensor Smarthings (0x286d970001010cd0): IM6001-MPP01 - SmartThings Multipurpose sensor (2018 model) (EndDevice)
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Repetidor IKEA (0x000d6ffffebb1f5d): E1746 - IKEA TRADFRI signal repeater (Router)
  zigbee2mqtt:warn 7/7/2019, 6:23:54 PM `permit_join` set to  `true` in configuration.yaml.
  zigbee2mqtt:warn 7/7/2019, 6:23:54 PM Allowing new devices to join.
  zigbee2mqtt:warn 7/7/2019, 6:23:54 PM Set `permit_join` to `false` once you joined all devices.
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Zigbee: allowing new devices to join.
  zigbee2mqtt:info 7/7/2019, 6:23:54 PM Connecting to MQTT server at mqtt://homeassistant
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM zigbee-shepherd ready
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM Connected to MQTT server
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM MQTT publish: topic 'zigbee2mqtt/Xiaomi 1a', payload '{"battery":91,"voltage":2985,"temperature":22.95,"humidity":72.7,"linkquality":2}'
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM MQTT publish: topic 'zigbee2mqtt/Xiaomi RC', payload '{"temperature":22.66,"linkquality":13,"humidity":73.11,"battery":91,"voltage":2985}'
  zigbee2mqtt:info 7/7/2019, 6:23:55 PM MQTT publish: topic 'zigbee2mqtt/Sensor Smarthings', payload '{"battery":"NaN","voltage":null,"linkquality":63,"temperature":20.92,"contact":true,"battery_low":false}'
  zigbee2mqtt:info 7/7/2019, 6:23:55 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/7/2019, 6:24:07 PM Failed to configure Sensor Smarthings (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #1)
  zigbee2mqtt:warn 7/7/2019, 6:24:07 PM This can be ignored if the device is working properly
  zigbee2mqtt:info 7/7/2019, 6:24:36 PM Zigbee: allowing new devices to join.
  zigbee2mqtt:info 7/7/2019, 6:24: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/7/2019, 6:25:21 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:21 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:21 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:21 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:info 7/7/2019, 6:25:23 PM Device incoming...
  zigbee2mqtt:info 7/7/2019, 6:25:23 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Device with modelID 'SZ-SRN12N' is not supported.
  zigbee2mqtt:warn 7/7/2019, 6:25:23 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 7/7/2019, 6:25:34 PM Message without device!

aditional

  zigbee2mqtt:error 7/7/2019, 6:26:57 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/7/2019, 6:26:57 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/7/2019, 6:26:57 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
  zigbee2mqtt:info 7/7/2019, 6:26:57 PM MQTT publish: topic 'zigbee2mqtt/Sensor Smarthings', payload '{"battery":"NaN","voltage":null,"linkquality":68,"temperature":20.97,"contact":true,"battery_low":false}'
  zigbee2mqtt:warn 7/7/2019, 6:27:05 PM Failed to configure Sensor Smarthings (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #2)
  zigbee2mqtt:warn 7/7/2019, 6:27:05 PM This can be ignored if the device is working properly
  zigbee2mqtt:info 7/7/2019, 6:27:16 PM Successfully reenabled joining

when i it the switch on the web interface

  zigbee2mqtt:warn 7/7/2019, 6:28:11 PM This can be ignored if the device is working properly
  zigbee2mqtt:error 7/7/2019, 6:28:44 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/7/2019, 6:28:44 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/7/2019, 6:28:44 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 0, "mode": "stop", "strobe": false}}'
  zigbee2mqtt:error 7/7/2019, 6:28:46 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/7/2019, 6:28:46 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/7/2019, 6:28:46 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
  zigbee2mqtt:info 7/7/2019, 6:29:09 PM MQTT publish: topic 'zigbee2mqtt/Sensor Smarthings', payload '{"battery":"NaN","voltage":null,"linkquality":68,"temperature":20.96,"contact":true,"battery_low":false}'

@mclaudiopt can you get the logs that it has been paired also print screen where you put the device. js info and tozigbee.js

I bought the Sercomm SZ-SRN12N and it seems that it only can beep. Is this right? No other sound?

i dont know but i cannot make it work it zigbee2mqtt yet :(

@martin3000, You mean that it doesnt make differnt sounds only one siren alert?
Have you added the code? for device.js and ToZigbee.js and be able to pair and it keeped paired? @mclaudiopt have problem that it leaves after paired.
You can try the payload
you should be able to control it with
zigbee2mqtt/[DEVICE_ID]/set {"warning": {"duration": 10, "mode": "emergency", "strobe": false, "level": "very_high"}
duration = time in seconds max 1800
mode = stop, burglar, fire, emergency, police_panic, fire_panic or emergency_panic
strobe = true or false
level = low, medium, high, very high

Sorry, I use ZHA.
This is my comand:
{
"ieee":"d0:cf:5e:ff:fe:aa:cc:xx"
,"endpoint_id":1
,"cluster_id":1282
,"cluster_type":"in"
,"command":1
,"command_type":"server"
,"args": "0"
}

@JLFN anyway i can do further ? thanks

tried this with o sucess
image

@mclaudiopt is you device still paired?

hi @JLFN dont know why but it does not pair now :(

@JLFN does this mean that it is paired?
https://paste.ubuntu.com/p/qx3pHznzMT/

@mclaudiopt upgrade to 1.5.0 and try again

@JLFN still not avaialable on my hassio
image

hi there
this is the status after 1.5.1

  zigbee2mqtt:warn 7/21/2019, 9:42:05 PM This can be ignored if the device is working properly
  zigbee2mqtt:error 7/21/2019, 9:42:20 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/21/2019, 9:42:20 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/21/2019, 9:42:20 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
  zigbee2mqtt:error 7/21/2019, 9:42:21 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/21/2019, 9:42:21 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/21/2019, 9:42:21 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 0, "mode": "stop", "strobe": false}}'
  zigbee2mqtt:error 7/21/2019, 9:42:22 PM Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
  zigbee2mqtt:info 7/21/2019, 9:42:22 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
  zigbee2mqtt:warn 7/21/2019, 9:42:22 PM Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}

@JLFN

@mclaudiopt was the settings home assistant =false and the device paired when you did this? The log say Failed to find device with ieeeAddr: '0xd0cf5efffe475d33

hi !
yes it was :-( can you maybe teamview?

@mclaudiopt post the log that show that its paired after restart of zigbee2mqtt

it cannot pair...

7/22/2019, 7:25:29 PM - info: Logging to directory: '/share/zigbee2mqtt/log/2019-07-22.19-25-29'
7/22/2019, 7:25:29 PM - info: Starting zigbee2mqtt version 1.5.1 (commit #unknown)
7/22/2019, 7:25:29 PM - info: Starting zigbee-shepherd
7/22/2019, 7:25:31 PM - info: zigbee-shepherd started
7/22/2019, 7:25:31 PM - info: Coordinator firmware version: '20190619'
7/22/2019, 7:25:31 PM - info: Currently 4 devices are joined:
7/22/2019, 7:25:31 PM - info: unknown (0x00158d00033ecd10): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
7/22/2019, 7:25:31 PM - info: unknown (0x00158d0002d45645): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
7/22/2019, 7:25:31 PM - info: 0x286d970001010cd0 (0x286d970001010cd0): IM6001-MPP01 - SmartThings Multipurpose sensor (2018 model) (EndDevice)
7/22/2019, 7:25:31 PM - info: unknown (0x000d6ffffebb1f5d): E1746 - IKEA TRADFRI signal repeater (Router)
7/22/2019, 7:25:31 PM - warn: `permit_join` set to  `true` in configuration.yaml.
7/22/2019, 7:25:31 PM - warn: Allowing new devices to join.
7/22/2019, 7:25:31 PM - warn: Set `permit_join` to `false` once you joined all devices.
7/22/2019, 7:25:31 PM - info: Zigbee: allowing new devices to join.
7/22/2019, 7:25:31 PM - info: Connecting to MQTT server at mqtt://192.168.1.108:1883
7/22/2019, 7:25:31 PM - info: zigbee-shepherd ready
7/22/2019, 7:25:31 PM - info: Connected to MQTT server
7/22/2019, 7:25:31 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
7/22/2019, 7:25:31 PM - info: MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2500,"linkquality":52,"temperature":20.62,"contact":true,"battery_low":false}'
7/22/2019, 7:25:31 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.5.1","commit":"unknown","coordinator":20190619,"log_level":"info","permit_join":true}'
7/22/2019, 7:25:40 PM - warn: Failed to configure 0x286d970001010cd0 (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #1)
7/22/2019, 7:25:40 PM - warn: This can be ignored if the device is working properly
7/22/2019, 7:25:40 PM - info: Zigbee: disabling joining new devices.
7/22/2019, 7:25:40 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.5.1","commit":"unknown","coordinator":20190619,"log_level":"info","permit_join":false}'
7/22/2019, 7:25:40 PM - info: Zigbee: allowing new devices to join.
7/22/2019, 7:25:40 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.5.1","commit":"unknown","coordinator":20190619,"log_level":"info","permit_join":true}'
7/22/2019, 7:25:58 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:25:58 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:26:07 PM - warn: Message without device!
7/22/2019, 7:26:29 PM - info: Device incoming...
7/22/2019, 7:26:29 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
7/22/2019, 7:26:29 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:26:29 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:26:29 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:26:29 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:26:49 PM - info: MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2500,"linkquality":49,"temperature":20.66,"contact":true,"battery_low":false}'
7/22/2019, 7:26:56 PM - warn: Failed to configure 0x286d970001010cd0 (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #2)
7/22/2019, 7:26:56 PM - warn: This can be ignored if the device is working properly
7/22/2019, 7:27:55 PM - info: MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2500,"linkquality":47,"temperature":20.64,"contact":true,"battery_low":false}'
7/22/2019, 7:28:00 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:00 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:02 PM - warn: Failed to configure 0x286d970001010cd0 (0x286d970001010cd0) ('Error: AF data request fails, status code: 240. MAC transaction expired.') (attempt #3)
7/22/2019, 7:28:02 PM - warn: This can be ignored if the device is working properly
7/22/2019, 7:28:02 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:02 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:02 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:02 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:02 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:02 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:02 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:02 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - info: Device incoming...
7/22/2019, 7:28:03 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:03 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:28:03 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:28:08 PM - warn: Message without device!
7/22/2019, 7:28:18 PM - error: Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
7/22/2019, 7:28:18 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
7/22/2019, 7:28:18 PM - warn: Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
7/22/2019, 7:28:20 PM - info: Successfully reenabled joining
7/22/2019, 7:28:32 PM - info: Zigbee: disabling joining new devices.
7/22/2019, 7:28:32 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.5.1","commit":"unknown","coordinator":20190619,"log_level":"info","permit_join":false}'
7/22/2019, 7:28:33 PM - info: Zigbee: allowing new devices to join.
7/22/2019, 7:28:33 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.5.1","commit":"unknown","coordinator":20190619,"log_level":"info","permit_join":true}'
7/22/2019, 7:29:01 PM - info: MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2500,"linkquality":49,"temperature":20.65,"contact":true,"battery_low":false}'
7/22/2019, 7:29:25 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:29:25 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:29:33 PM - warn: Message without device!
7/22/2019, 7:29:35 PM - error: Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
7/22/2019, 7:29:35 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
7/22/2019, 7:29:35 PM - warn: Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 0, "mode": "stop", "strobe": false}}'
7/22/2019, 7:29:36 PM - error: Failed to find device with ieeeAddr: '0xd0cf5efffe475d33'
7/22/2019, 7:29:36 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"entity_not_found","message":"0xd0cf5efffe475d33"}'
7/22/2019, 7:29:36 PM - warn: Cannot handle MQTT message on 'zigbee2mqtt/0xd0cf5efffe475d33/set' with data '{"warning": {"duration": 1800, "mode": "emergency", "strobe": true}}'
7/22/2019, 7:29:55 PM - info: Device incoming...
7/22/2019, 7:29:55 PM - info: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
7/22/2019, 7:29:55 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:29:55 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:29:55 PM - warn: Device with modelID 'SZ-SRN12N' is not supported.
7/22/2019, 7:29:55 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
7/22/2019, 7:30:00 PM - info: Starting network scan includeRoutes='0'...
7/22/2019, 7:30:02 PM - warn: Network scan timeout, skipping outstanding lqi scans for '0x000d6ffffebb1f5d'
7/22/2019, 7:30:02 PM - warn: Network scan timeout, skipping outstanding rtg scans for ''
7/22/2019, 7:30:02 PM - info: 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-22T19:30:02+01:00)}"];
  "0x00158d00033ecd10" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x00158d00033ecd10|0xeb76 |Xiaomi MiJia temperature & humidity sensor (WSDCGQ01LM)|online (unknown)}"];
  "0x00158d0002d45645" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x00158d0002d45645|0xbd9f |Xiaomi MiJia temperature & humidity sensor (WSDCGQ01LM)|online (unknown)}"];
  "0x286d970001010cd0" [style="rounded, dashed, filled", fillcolor="#fff8ce", fontcolor="#000000", label="{0x286d970001010cd0|0x482d |SmartThings Multipurpose sensor (2018 model) (IM6001-MPP01)|offline (00:01:00s ago)}"];
  "0x286d970001010cd0" -> "0x00124b0018e1a997" [penwidth=1, weight=0, color="#994444", label="48"]
  "0x000d6ffffebb1f5d" [style="rounded, filled", fillcolor="#4ea3e0", fontcolor="#ffffff", label="{0x000d6ffffebb1f5d|0xc1cc  no lqi|IKEA TRADFRI signal repeater (E1746)|offline (unknown)}"];
}'
7/22/2019, 7:30:07 PM - info: MQTT publish: topic 'zigbee2mqtt/0x286d970001010cd0', payload '{"battery":"0.00","voltage":2500,"linkquality":28,"temperature":20.66,"contact":true,"battery_low":false}'
7/22/2019, 7:30:10 PM - warn: Failed network lqi scan for device: '0x000d6ffffebb1f5d' with error: 'Error: Timed out after 10000 ms'

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

reopen...

@runningman84 why, it's supported now?

because even with the new entry in devices.js I get this error:

zigbee2mqtt:info  2019-12-16 18:05:18: Device '0xd0cf5efffe48f84e' joined
zigbee2mqtt:info  2019-12-16 18:05:18: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0xd0cf5efffe48f84e"}}'
zigbee2mqtt:info  2019-12-16 18:05:18: Starting interview of '0xd0cf5efffe48f84e'
zigbee2mqtt:info  2019-12-16 18:05:18: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0xd0cf5efffe48f84e"}}'
zigbee2mqtt:warn  2019-12-16 18:05:20: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
zigbee2mqtt:warn  2019-12-16 18:05:20: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
zigbee2mqtt:info  2019-12-16 18:05:20: MQTT publish: topic 'zigbee2mqtt/Steckdose TV Verteiler links', payload '{"volt

@runningman84 that's because there is a typo here: https://github.com/Koenkk/zigbee-herdsman-converters/commit/b1e7a6f4032f55537f64858d162b4a60a47705e9#diff-6c9a6acf22f90d1c6e524d9f3c5c1745R3615 , change it to zigbeeModel: ['SZ-SRN12N'], and it should work.

your are right:

Dec 16 20:05:11 raspberrypi npm[14082]: zigbee2mqtt:info  2019-12-16 20:05:11: Successfully interviewed '0xd0cf5efffe48f84e', device has successfully been paired
Dec 16 20:05:11 raspberrypi npm[14082]: zigbee2mqtt:info  2019-12-16 20:05:11: Device '0xd0cf5efffe48f84e' is supported, identified as: SmartThings Smart siren (SZ-SRN12N)
Dec 16 20:05:11 raspberrypi npm[14082]: zigbee2mqtt:info  2019-12-16 20:05:11: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0xd0cf5efffe48f84e","model":"SZ-SRN12N","vendor":"SmartThings","description":"Smart siren","supported":true}}'
Dec 16 20:05:11 raspberrypi npm[14082]: zigbee2mqtt:info  2019-12-16 20:05:11: Configuring '0xd0cf5efffe48f84e'
Dec 16 20:05:11 raspberrypi npm[14082]: zigbee2mqtt:info  2019-12-16 20:05:11: Succesfully configured '0xd0cf5efffe48f84e'

It would be cool if zigbee2mqtt would automatically add corresponding switches (to turn on and off alarms).

The device works for some seconds and I can turn on the alarm but after a few seonds the device leaves the network:

Dec 16 20:11:27 raspberrypi npm[14082]: zigbee2mqtt:warn  2019-12-16 20:11:27: Device '0xd0cf5efffe48f84e' left the network

@runningman84 it leaves after publishing the alarm? Can you sniff the traffic while this happens? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

It leaves even without doing anything. You can only publish the alarm within the first seconds after the device joined. I will look into sniffing the traffic

@runningman84 Hi, having the same problem. Any solution? Thanks

@Koenkk I just tried with 1.9.0 and this SmartThings Siren joined and left automatically.

2020-01-29_04:12:55.83398 zigbee2mqtt:info 2020-01-29 04:12:55: Starting interview of '0x000d6ffffe1ea926'
2020-01-29_04:12:55.83736 zigbee2mqtt:info 2020-01-29 04:12:55: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x000d6ffffe1ea926"}}'
2020-01-29_04:12:57.27721 zigbee2mqtt:warn 2020-01-29 04:12:57: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
2020-01-29_04:12:57.28088 zigbee2mqtt:warn 2020-01-29 04:12:57: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
2020-01-29_04:12:57.43791 zigbee2mqtt:warn 2020-01-29 04:12:57: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
2020-01-29_04:12:57.43999 zigbee2mqtt:warn 2020-01-29 04:12:57: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
2020-01-29_04:12:57.57246 zigbee2mqtt:warn 2020-01-29 04:12:57: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
2020-01-29_04:12:57.57464 zigbee2mqtt:warn 2020-01-29 04:12:57: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
2020-01-29_04:13:00.85798 zigbee2mqtt:info 2020-01-29 04:13:00: Successfully interviewed '0x000d6ffffe1ea926', device has successfully been paired
2020-01-29_04:13:00.86068 zigbee2mqtt:warn 2020-01-29 04:13:00: Device '0x000d6ffffe1ea926' with Zigbee model 'SZ-SRN12N' is NOT supported, please follow https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
2020-01-29_04:13:00.86293 zigbee2mqtt:info 2020-01-29 04:13:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x000d6ffffe1ea926","supported":false}}'
2020-01-29_04:13:04.88101 zigbee2mqtt:info 2020-01-29 04:13:04: MQTT publish: topic 'zigbee2mqtt/0x00158d000224d247', payload '{"battery":100,"voltage":3005,"linkquality":39,"occupancy":true}'
2020-01-29_04:13:12.28908 zigbee2mqtt:warn 2020-01-29 04:13:12: Device '0x000d6ffffe1ea926' left the network
2020-01-29_04:13:12.29160 zigbee2mqtt:info 2020-01-29 04:13:12: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0x000d6ffffe1ea926"}}'
2020-01-29_04:13:12.76735 zigbee2mqtt:warn 2020-01-29 04:13:12: Device '0x000d6ffffe1ea926' left the network
2020-01-29_04:13:12.79176 zigbee2mqtt:info 2020-01-29 04:13:12: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0x000d6ffffe1ea926"}}'

@Koenkk please check the sniff data as below:

https://pastebin.com/XahLKQBp

here is more information from zigbee2mqtt debug console:
https://pastebin.com/T9nk0p7U

@Koenkk I also capture the whole pcapng file as below, please check
https://www.dropbox.com/s/toz0kqlztmsodeg/sniff%20SmartThings%20siren%20SZ-SRN12N.pcapng?dl=0

I need your network key to decrypt the sniff.

@Koenkk please check the decrypt key
0c1634495d0b0d0f02162a3e080a0c0d

First make sure you are on zigbee2mqtt 1.12.1

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

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

to

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

Now reflash your CC2531 and start zigbee2mqtt.

How would that work with my cc26x device?

Hello everyone and best wishes, I have this water sensor detected by zigbee2mqtt but not compatible how can I integrate it into hassio?
this is what mqqtExplorer reveals:
{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x000d6f00050493d0","supported":false}}

thank you.

All,

I'm currently working on the device for deconz as well. It left the network all the time after successful pairing and sensor generation. Based on my tests, that was due to unanswered match descriptor requests for IAS WD cluster. Not sure how it is handled here but after implementing code to provide a response, the device became stable as it seems. I can also provide a traffic sniff where required/desired.

@SwoopX yes I also think that this fixes it, I've proposed this solution in: https://github.com/Koenkk/zigbee2mqtt/issues/1087#issuecomment-611075089

馃憤 One additional remark, as I got it stable now. It must be enrolled, otherwise it will leave again after a power loss.

@SwoopX yes I also think that this fixes it, I've proposed this solution in: #1087 (comment)

@Koenkk I've changed the line 50 as you suggested and pair the Siren SZ-SRN12N again but still not success.
There is an error in the log:

zigbee2mqtt:debug 2020-04-28 15:15:30: Received Zigbee message from '0x000d6ffffe1ea926', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x00124b0018e2f59a","zoneState":0}' from endpoint 1 with groupID 0
zigbee2mqtt:warn 2020-04-28 15:15:30: Received message from unsupported device with Zigbee model 'SZ-SRN12N'
zigbee2mqtt:warn 2020-04-28 15:15:30: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +15ms
zigbee-herdsman:controller:device:log Interview - IAS - after enrolling state (4): '{"iasCieAddr":"0x00124b0018e2f59a","zoneState":0}' +411ms
zigbee-herdsman:controller:device:log Interview - failed for device '0x000d6ffffe1ea926' with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0x000d6ffffe1ea926')
zigbee-herdsman:controller:device:log at Device. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/device.js:413:31)
zigbee-herdsman:controller:device:log at Generator.next ()
zigbee-herdsman:controller:device:log at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/device.js:5:58)' +4ms
zigbee-herdsman:controller:error Interview failed for '0x000d6ffffe1ea926 with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0x000d6ffffe1ea926')' +0ms

Full Debugging log:
https://www.dropbox.com/s/kg191y3yjsm8riv/failed%20to%20interview%20SmartThings%20Siren%20SZ-SRN12N%202020.04.28.log?dl=0

Sniff data:
https://www.dropbox.com/s/o1bo3cjwdiluxbb/sniff%20SmartThings%20siren%20SZ-SRN12N%202020.04.28.pcapng?dl=0
Default decrypt key

Testing environment:

  • zigbee2mqtt version 1.12.2-dev (commit #d8ec59b)
  • ZC adapter: CC2531 ( I have not refrashed again)

@SwoopX

馃憤 One additional remark, as I got it stable now. It must be enrolled, otherwise it will leave again after a power loss.

Have you tried with the latest zigbee2mqtt version yet? What did you do to make it work?

Thank you.

As I don't use zigbee2mqtt, I cannot help you with that. Just wanted to share my knowledge here for good karma ;)

Regardless, I checked your sniffer output and a IAS WD match descriptor response has NOT been send and therefore, the devices leaves.

Regardless, I checked your sniffer output and a IAS WD match descriptor response has NOT been send and therefore, the devices leaves.

Thank you for your information. I will wait for @Koenkk for the suggestion how to fix.

@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.

@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.

@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.

@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
  1. 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 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

Made a mistake in https://github.com/Koenkk/zigbee2mqtt/issues/1087#issuecomment-611075089, 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.

@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

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.

@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.

Thanks I will add these changes to the dev branch.

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))

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

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

@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

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?

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

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

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LCerebo picture LCerebo  路  3Comments

jeroenterheerdt picture jeroenterheerdt  路  3Comments

andreasbrett picture andreasbrett  路  4Comments

Koenkk picture Koenkk  路  3Comments

CodeFinder2 picture CodeFinder2  路  4Comments