[New device support]: Develco Panic Button - PBTZB-110
Link
https://www.develcoproducts.com/products/sensors-and-alarms/panic-button/
Database entry
{"id":2,"type":"EndDevice","ieeeAddr":"0x0015bc00390037cd","nwkAddr":19422,"manufId":4117,"manufName":"Develco Products A/S","powerSource":"Battery","modelId":"PBTZB-110","epList":[1,35],"endpoints":{"1":{"profId":49353,"epId":1,"devId":1,"inClusterList":[5,6],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"35":{"profId":260,"epId":35,"devId":1026,"inClusterList":[0,1,3,32,1280],"outClusterList":[3,10,25],"clusters":{"genBasic":{"attributes":{"modelId":"PBTZB-110","manufacturerName":"Develco Products A/S","powerSource":3,"zclVersion":3,"dateCode":"2022-04-01 11:03"}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b001caa6daa","zoneState":1,"zoneId":23}}},"binds":[{"cluster":1280,"type":"endpoint","deviceIeeeAddress":"0x00124b001caa6daa","endpointID":242}],"configuredReportings":[],"meta":{}}},"dateCode":"2022-04-01 11:03","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1370898936},"lastSeen":1657678379772}
Comments
Hello,
Long-time supporter of @Koenkk and help out quite a bit in the Discord. I've written converters myself but I have never had to:
- Enroll End-Device in IAS Zone client
- Zone Enroll Response is sent from Coordinator to End Client
In addition, to turn off the "panic" alarm, I need the Coordinator to send "Default Response on Zone Status Change Notification". Otherwise, I cannot turn off the panic.
Would greatly appreciate any help in implementing this coordinator.
I will pay $50 for a working converter via your preferred payment method.
Thank you for any consideration.

External converter
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['PBTZB-110'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
model: 'PBTZB-110', // Vendor model number, look on the device for a model number
vendor: 'Develco Products A/S', // Vendor of the device (only used for documentation and startup logging)
description: 'Panic Button', // Description of the device, copy from vendor site. (only used for documentation and startup logging)
fromZigbee: [fz.ias_sos_alarm_2, fz.command_status_change_notification_action, fz.ias_wd, fz.develco_fw, fz.ias_enroll], // We will add this later
toZigbee: [], // Should be empty, unless device can be controlled (e.g. lights, switches).
exposes: [e.sos()],
configure: async (device, coordinatorEndpoint, logger) => {
const options = {manufacturerCode: 4117};
const endpoint = device.getEndpoint(35);
await reporting.bind(endpoint, coordinatorEndpoint, ['ssIasZone']);
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneId']);
},
};
module.exports = definition;
Supported color modes
No response
Color temperature range
No response
The iAS zone enrolling is already taken care of by Zigbee2MQTT. Is the device already sending any message when pressing buttons on it?
The only issue I am having is with clearing the alarm.
You can see below that the device joins with "zonestatus":48
Zigbee2MQTT:debug 2022-07-13T11:13:23: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":48}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:13:23: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:13:23.118Z","linkquality":171,"sos":false,"tamper":false}'
And when I activate the alarm, we see "zonestatus":50
Zigbee2MQTT:debug 2022-07-13T11:15:07: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
But I am unable to clear and get back to "zonestatus":48 for cleared alarm. Any thoughts on how I could further troubleshoot? Maybe "Default Response" is not being sent here?

> [email protected] start /opt/zigbee2mqtt
> node index.js
Zigbee2MQTT:debug 2022-07-13T11:13:01: Loaded state from file /opt/zigbee2mqtt/data/state.json
Zigbee2MQTT:info 2022-07-13T11:13:01: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2022-07-13.11-13-01' filename: log.txt
Zigbee2MQTT:debug 2022-07-13T11:13:01: Removing old log directory '/opt/zigbee2mqtt/data/log/2022-07-12.21-23-46'
Zigbee2MQTT:info 2022-07-13T11:13:01: Starting Zigbee2MQTT version 1.21.2 (commit #44922120)
Zigbee2MQTT:info 2022-07-13T11:13:01: Starting zigbee-herdsman (0.13.149)
Zigbee2MQTT:debug 2022-07-13T11:13:01: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","databasePath":"/opt/zigbee2mqtt/data/database.db","network":{"channelList":[25],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
Zigbee2MQTT:info 2022-07-13T11:13:02: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2022-07-13T11:13:02: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20191106,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Zigbee network parameters: {"channel":25,"extendedPanID":"0x00124b001caa6daa","panID":6754}
Zigbee2MQTT:info 2022-07-13T11:13:02: Currently 1 devices are joined:
Zigbee2MQTT:info 2022-07-13T11:13:02: 0x0015bc00390037cd (0x0015bc00390037cd): Not supported (EndDevice)
Zigbee2MQTT:warn 2022-07-13T11:13:02: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2022-07-13T11:13:02: Allowing new devices to join.
Zigbee2MQTT:warn 2022-07-13T11:13:02: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2022-07-13T11:13:02: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2022-07-13T11:13:02: Connecting to MQTT server at mqtt://localhost:1883
Zigbee2MQTT:debug 2022-07-13T11:13:02: Using MQTT anonymous login
Zigbee2MQTT:info 2022-07-13T11:13:02: Connected to MQTT server
Zigbee2MQTT:info 2022-07-13T11:13:02: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info 2022-07-13T11:13:02: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd/availability', payload 'online'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"44922120","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_timeout":0,"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"homeassistant_discovery_topic":"homeassistant","homeassistant_legacy_entity_attributes":false,"homeassistant_legacy_triggers":true,"homeassistant_status_topic":"hass/status","last_seen":"disable","legacy_api":false,"log_directory":"/opt/zigbee2mqtt/data/log/%TIMESTAMP%","log_file":"log.txt","log_level":"info","log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{},"pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{"legacy":false},"devices":{"0x0015bc0039003a2c":{"friendly_name":"0x0015bc0039003a2c"}},"experimental":{"output":"json"},"external_converters":[],"groups":{},"homeassistant":false,"log_level":"debug","map_options":{"graphviz":{"colors":{"fill":{"coordinator":"#e04e5d","enddevice":"#fff8ce","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","enddevice":"#000000","router":"#ffffff"},"line":{"active":"#009900","inactive":"#994444"}}}},"mqtt":{"base_topic":"zigbee2mqtt","force_disable_retain":false,"include_device_information":false,"server":"mqtt://localhost:1883"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":true,"serial":{"disable_led":false,"port":"/dev/ttyACM0"},"whitelist":[]},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"filtered_attributes":{"description":"Filter attributes from publish payload.","examples":["temperature","battery","action"],"items":{"type":"string"},"title":"Filtered publish attributes","type":"array"},"filtered_optimistic":{"description":"Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).","examples":["color_mode","color_temp","color"],"items":{"type":"string"},"title":"Filtered optimistic attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"icon":{"description":"The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD","title":"Icon","type":"string"},"optimistic":{"default":true,"description":"Publish optimistic state after set","title":"Optimistic","type":"boolean"},"qos":{"description":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"availability_blacklist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability blacklist (deprecated, use availability_blocklist)","type":"array"},"availability_blocklist":{"description":"Prevent devices from being checked for availability","items":{"type":"string"},"requiresRestart":true,"title":"Availability Blocklist","type":"array"},"availability_passlist":{"description":"Only enable availability check for certain devices","items":{"type":"string"},"requiresRestart":true,"title":"Availability passlist","type":"array"},"availability_timeout":{"default":0,"description":"Availability timeout in seconds when enabled, devices will be checked if they are still online. Only AC powered routers are checked for availability","minimum":0,"requiresRestart":true,"title":"Availability Timeout","type":"number"},"availability_whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability whitelist (deprecated, use passlist)","type":"array"},"baudrate":{"description":"Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600","examples":[38400,57600,115200],"requiresRestart":true,"title":"Baudrate","type":"number"},"cache_state":{"default":true,"description":"MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant","title":"Cache state","type":"boolean"},"cache_state_persistent":{"default":true,"description":"Persist cached state, only used when cache_state: true","title":"Persist cache state","type":"boolean"},"cache_state_send_on_startup":{"default":true,"description":"Send cached state on startup, only used when cache_state: true","title":"Send cached state on startup","type":"boolean"},"channel":{"default":11,"description":"Zigbee channel, changing requires repairing all devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)","examples":[15,20,25],"maximum":26,"minimum":11,"requiresRestart":true,"title":"ZigBee channel","type":"number"},"elapsed":{"default":false,"description":"Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg","title":"Elapsed","type":"boolean"},"ext_pan_id":{"description":"Zigbee extended pan ID, changing requires repairing all devices!","items":{"type":"number"},"requiresRestart":true,"title":"Ext Pan ID","type":"array"},"homeassistant_discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"homeassistant_legacy_entity_attributes":{"default":true,"description":"Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates","title":"Home Assistant legacy entity attributes","type":"boolean"},"homeassistant_legacy_triggers":{"default":true,"description":"Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd","title":"Home Assistant legacy triggers","type":"boolean"},"homeassistant_status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"},"ikea_ota_use_test_url":{"default":false,"description":"Use IKEA TRADFRI OTA test server, see OTA updates documentation","requiresRestart":true,"title":"IKEA TRADFRI OTA use test url","type":"boolean"},"last_seen":{"default":"disable","description":"Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message","enum":["disable","ISO_8601","ISO_8601_local","epoch"],"title":"Last seen","type":"string"},"legacy_api":{"default":true,"description":"Disables the legacy api (false = disable)","requiresRestart":true,"title":"Legacy API","type":"boolean"},"log_directory":{"description":"Location of log directory","examples":["data/log/%TIMESTAMP%"],"requiresRestart":true,"title":"Log directory","type":"string"},"log_file":{"default":"log.txt","description":"Log file name, can also contain timestamp","examples":["zigbee2mqtt_%TIMESTAMP%.log"],"requiresRestart":true,"title":"Log file","type":"string"},"log_level":{"default":"info","description":"Logging level","enum":["info","warn","error","debug"],"title":"Log level","type":"string"},"log_output":{"description":"Output location of the log, leave empty to supress logging","items":{"enum":["console","file","syslog"],"type":"string"},"requiresRestart":true,"title":"Log output","type":"array"},"log_rotation":{"default":true,"description":"Log rotation","requiresRestart":true,"title":"Log rotation","type":"boolean"},"log_symlink_current":{"default":false,"description":"Create symlink to current logs in the log directory","requiresRestart":true,"title":"Log symlink current","type":"boolean"},"log_syslog":{"properties":{"app_name":{"default":"Zigbee2MQTT","description":"The name of the application (Default: Zigbee2MQTT).","title":"Localhost","type":"string"},"eol":{"default":"/n","description":"The end of line character to be added to the end of the message (Default: Message without modifications).","title":"eol","type":"string"},"host":{"default":"localhost","description":"The host running syslogd, defaults to localhost.","title":"Host","type":"string"},"localhost":{"default":"localhost","description":"Host to indicate that log messages are coming from (Default: localhost).","title":"Localhost","type":"string"},"path":{"default":"/dev/log","description":"The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).","examples":["/var/run/syslog"],"title":"Path","type":"string"},"pid":{"default":"process.pid","description":"PID of the process that log messages are coming from (Default process.pid).","title":"PID","type":"string"},"port":{"default":123,"description":"The port on the host that syslog is running on, defaults to syslogd's default port.","title":"Port","type":"number"},"protocol":{"default":"tcp4","description":"The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).","examples":["udp4","tls4","unix","unix-connect"],"title":"Protocol","type":"string"},"type":{"default":"5424","description":"The type of the syslog protocol to use (Default: BSD, also valid: 5424).","title":"Type","type":"string"}},"title":"syslog","type":"object"},"network_key":{"description":"Network encryption key, changing requires repairing all devices!","oneOf":[{"title":"Network key(string)","type":"string"},{"items":{"type":"number"},"title":"Network key(array)","type":"array"}],"requiresRestart":true,"title":"Network key"},"pan_id":{"description":"ZigBee pan ID, changing requires repairing all devices!","oneOf":[{"title":"Pan ID (string)","type":"string"},{"title":"Pan ID (number)","type":"number"}],"requiresRestart":true,"title":"Pan ID"},"report":{"description":"Enables report feature (deprecated)","readOnly":true,"requiresRestart":true,"title":"Reporting","type":"boolean"},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"},"soft_reset_timeout":{"description":"Soft reset ZNP after timeout","minimum":0,"readOnly":true,"requiresRestart":true,"title":"Soft reset timeout (deprecated)","type":"number"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","type":"string"}},"title":"Advanced","type":"object"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"type":"object"},"devices":{"patternProperties":{"^.*$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\\d\\w]{16}$"},"type":"object"},"experimental":{"properties":{"output":{"description":"Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{\"state\": \"ON\"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)","enum":["attribute_and_json","attribute","json"],"title":"MQTT output type","type":"string"},"transmit_power":{"description":"Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)","requiresRestart":true,"title":"Transmit power","type":["number","null"]}},"title":"Experimental","type":"object"},"external_converters":{"description":"You can define external converters to e.g. add support for a DiY device","examples":["DIYRuZ_FreePad.js"],"items":{"type":"string"},"requiresRestart":true,"title":"External converters","type":"array"},"frontend":{"properties":{"auth_token":{"description":"Enables authentication, disabled by default","requiresRestart":true,"title":"Auth token","type":["string","null"]},"host":{"default":" 0.0.0.0","description":"Frontend binding host","requiresRestart":true,"title":"Bind host","type":"string"},"port":{"default":8080,"description":"Frontend binding port","requiresRestart":true,"title":"Port","type":"number"}},"title":"Frontend","type":"object"},"groups":{"patternProperties":{"^.*$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\\w].*$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","title":"Home Assistant integration","type":"boolean"},"map_options":{"properties":{"graphviz":{"properties":{"colors":{"properties":{"fill":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"font":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"line":{"properties":{"active":{"type":"string"},"inactive":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}},"title":"Networkmap","type":"object"},"mqtt":{"properties":{"base_topic":{"description":"MQTT base topic for Zigbee2MQTT MQTT messages","examples":["zigbee2mqtt"],"requiresRestart":true,"title":"Base topic","type":"string"},"ca":{"description":"Absolute path to SSL/TLS certificate of CA used to sign server and client certificates","examples":["/etc/ssl/mqtt-ca.crt"],"requiresRestart":true,"title":"Certificate authority","type":"string"},"cert":{"description":"Absolute path to SSL/TLS certificate for client-authentication","examples":["/etc/ssl/mqtt-client.crt"],"requiresRestart":true,"title":"SSL/TLS certificate","type":"string"},"client_id":{"description":"MQTT client ID","examples":["MY_CLIENT_ID"],"requiresRestart":true,"title":"Client ID","type":"string"},"force_disable_retain":{"default":false,"description":"Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration","requiresRestart":true,"title":"Force disable retain","type":"boolean"},"include_device_information":{"default":false,"description":"Include device information to mqtt messages","title":"Include device information","type":"boolean"},"keepalive":{"default":60,"description":"MQTT keepalive in second","requiresRestart":true,"title":"Keepalive","type":"number"},"key":{"description":"Absolute path to SSL/TLS key for client-authentication","examples":["/etc/ssl/mqtt-client.key"],"requiresRestart":true,"title":"SSL/TLS key","type":"string"},"password":{"description":"MQTT server authentication password","examples":["ILOVEPELMENI"],"requiresRestart":true,"title":"Password","type":"string"},"reject_unauthorized":{"default":true,"description":"Disable self-signed SSL certificate","requiresRestart":true,"title":"Reject unauthorized","type":"boolean"},"server":{"description":"MQTT server URL (use mqtts:// for SSL/TLS connection)","examples":["mqtt://localhost:1883"],"requiresRestart":true,"title":"MQTT server","type":"string"},"user":{"description":"MQTT server authentication user","examples":["johnnysilverhand"],"requiresRestart":true,"title":"User","type":"string"},"version":{"default":4,"description":"MQTT protocol version","examples":[5],"requiresRestart":true,"title":"Version","type":["number","null"]}},"required":["base_topic","server"],"title":"MQTT","type":"object"},"ota":{"properties":{"disable_automatic_update_check":{"default":false,"description":"Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.","title":"Disable automatic update check","type":"boolean"},"update_check_interval":{"default":1440,"description":"Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 1 day.","title":"Update check interval","type":"number"}},"title":"OTA updates","type":"object"},"passlist":{"description":"Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!","items":{"type":"string"},"requiresRestart":true,"title":"Passlist","type":"array"},"permit_join":{"default":false,"description":"Allow new devices to join (re-applied at restart)","title":"Permit join","type":"boolean"},"serial":{"properties":{"adapter":{"default":"auto","description":"Adapter type, not needed unless you are experiencing problems","enum":["deconz","zstack","zigate","ezsp","auto"],"requiresRestart":true,"title":"Adapter","type":["string"]},"disable_led":{"default":false,"description":"Disable LED of the adapter if supported","requiresRestart":true,"title":"Disable led","type":"boolean"},"port":{"description":"Location of the adapter. To autodetect the port, set null","examples":["/dev/ttyACM0"],"requiresRestart":true,"title":"Port","type":["string","null"]}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20191106,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extended_pan_id":"0x00124b001caa6daa","pan_id":6754},"permit_join":true,"restart_required":false,"version":"1.21.2"}'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b001caa6daa","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"date_code":"2022-04-01 11:28","definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":["genScenes","genOnOff"],"output":[]},"configured_reportings":[]},"35":{"bindings":[],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genPollCtrl","ssIasZone"],"output":["genIdentify","genTime","genOta"]},"configured_reportings":[]}},"friendly_name":"0x0015bc0039003a2c","ieee_address":"0x0015bc0039003a2c","interview_completed":true,"interviewing":false,"manufacturer":"Develco Products A/S","model_id":"PBTZB-110","network_address":8003,"power_source":"Battery","supported":false,"type":"EndDevice"}]'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[]'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"6484fee","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20200925,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.17.1"}'
Zigbee2MQTT:debug 2022-07-13T11:13:02: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]'
Zigbee2MQTT:info 2022-07-13T11:13:02: Started frontend on port 0.0.0.0:5000
Zigbee2MQTT:debug 2022-07-13T11:13:22: Device '0x0015bc00390037cd' announced itself
Zigbee2MQTT:info 2022-07-13T11:13:22: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0015bc00390037cd","ieee_address":"0x0015bc00390037cd"},"type":"device_announce"}'
Zigbee2MQTT:debug 2022-07-13T11:13:23: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":48}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:13:23: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:13:23.118Z","linkquality":171,"sos":false,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:14:25: Received Zigbee message from '0x0015bc00390037cd', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":67332,"imageType":913,"manufacturerCode":4117}' from endpoint 35 with groupID 0
Zigbee2MQTT:debug 2022-07-13T11:14:25: Device '0x0015bc00390037cd' requested OTA
Zigbee2MQTT:debug 2022-07-13T11:14:30: Received Zigbee message from '0x0015bc00390037cd', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":67332,"imageType":913,"manufacturerCode":4117}' from endpoint 35 with groupID 0
Zigbee2MQTT:debug 2022-07-13T11:14:30: Device '0x0015bc00390037cd' requested OTA
Zigbee2MQTT:debug 2022-07-13T11:14:35: Received Zigbee message from '0x0015bc00390037cd', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":67332,"imageType":913,"manufacturerCode":4117}' from endpoint 35 with groupID 0
Zigbee2MQTT:debug 2022-07-13T11:14:35: Device '0x0015bc00390037cd' requested OTA
Zigbee2MQTT:debug 2022-07-13T11:14:40: Received Zigbee message from '0x0015bc00390037cd', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":67332,"imageType":913,"manufacturerCode":4117}' from endpoint 35 with groupID 0
Zigbee2MQTT:debug 2022-07-13T11:14:40: Device '0x0015bc00390037cd' requested OTA
Zigbee2MQTT:debug 2022-07-13T11:14:45: Received Zigbee message from '0x0015bc00390037cd', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":67332,"imageType":913,"manufacturerCode":4117}' from endpoint 35 with groupID 0
Zigbee2MQTT:debug 2022-07-13T11:14:45: Device '0x0015bc00390037cd' requested OTA
Zigbee2MQTT:debug 2022-07-13T11:15:07: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:07: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:07.787Z","linkquality":144,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:12: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:12: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:12.786Z","linkquality":141,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:17: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:17: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:17.787Z","linkquality":123,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:22: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:22: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:22.788Z","linkquality":129,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:27: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:27: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:27.787Z","linkquality":141,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:32: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:32: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:32.787Z","linkquality":123,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:37: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:37: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:37.787Z","linkquality":132,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:42: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:42: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:42.788Z","linkquality":132,"sos":true,"tamper":false}'
Zigbee2MQTT:debug 2022-07-13T11:15:47: Received Zigbee message from '0x0015bc00390037cd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":50}' from endpoint 35 with groupID 0
Zigbee2MQTT:info 2022-07-13T11:15:47: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd', payload '{"battery_low":false,"last_seen":"2022-07-13T16:15:47.788Z","linkquality":168,"sos":true,"tamper":false}'
^CZigbee2MQTT:info 2022-07-13T11:15:48: MQTT publish: topic 'zigbee2mqtt/0x0015bc00390037cd/availability', payload 'offline'
Zigbee2MQTT:debug 2022-07-13T11:15:48: Saving state to file /opt/zigbee2mqtt/data/state.json
Zigbee2MQTT:info 2022-07-13T11:15:48: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline'
Zigbee2MQTT:info 2022-07-13T11:15:48: Disconnecting from MQTT server
Zigbee2MQTT:info 2022-07-13T11:15:48: Stopping zigbee-herdsman...
Zigbee2MQTT:info 2022-07-13T11:15:56: Stopped zigbee-herdsman
Zigbee2MQTT:info 2022-07-13T11:15:56: Stopped Zigbee2MQTT
https://user-images.githubusercontent.com/67597954/178782206-7ff3e904-4805-4266-b6bf-3b1c4d7d8760.MOV
I see two possible ways to integrate this device:
- Immediately respond the alarm message with a default response
- Allow clearing the alarm by publishing to e.g.
zigbee2mqtt/MY_DEVICE/set{"clear_alarm": ""}
What makes the most sense?
Wow. So the push and hold feature does nothing but disables the LED. I really disagree with the firmware design here then. I will email Develco.
- Can you help me understand how to perform option the first option?
- I am able to stand-up the second option.
Thank you again for your consideration. Sending $50 when I get back from client.
For the first option you can go the onEvent route, an example can be found here: https://github.com/Koenkk/zigbee-herdsman-converters/blob/23e8391b9e28906d1444197e7b87303a77257c29/devices/adeo.js#L21
You're the man. Saved our implementation for this client. Tip sent. Closing issue.
Re-opening because I thought this would be an easy fix but it is not. This issue exists for many outstanding bugs including #3012 #5489 #1809 #8321. Truly, every Develco sensor that operates on IAS (i.e. Develco smoke/head/motion/water leak/contact sensors) will not work properly without fixing IAS: Default Response.
Issue has to do with implementation of ZCL: IAS Default Response.
@SwoopX supposedly fixed it for Deconz. I spoke with him on Discord and he cited following Zigbee 3.0 spec correctly for proper Default Response for IAS devices.
https://github.com/dresden-elektronik/deconz-rest-plugin/issues/3775 https://github.com/dresden-elektronik/deconz-rest-plugin/pull/3732/commits/ed80334d89ce3f90684cffe212f9818b950a5ec7 https://github.com/dresden-elektronik/deconz-rest-plugin/pull/4947/files
Converter looks like this now:
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tzLocal = {
sos: {
key: ['sos'],
convertSet: async (entity, key, value, meta) => {
await entity.write('ssIasZone', {'zoneStatus': value});
},
convertGet: async (entity, key, meta) => {
await entity.read('ssIasZone', ['zoneStatus']);
},
},
}
const definition = {
zigbeeModel: ['PBTZB-110'],
model: 'PBTZB-110',
vendor: 'Develco Products A/S',
description: 'Panic Button',
fromZigbee: [fz.ias_sos_alarm_2, fz.ias_wd, fz.develco_fw, fz.ias_enroll, fz.battery],
toZigbee: [tzLocal.sos],
exposes: [e.sos()],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(35);
await reporting.bind(endpoint, coordinatorEndpoint, ['ssIasZone','genBasic', 'genPowerCfg']);
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneId']);
},
endpoint: (device) => {
return {default: 35};
},
onEvent: async (type, data, device) => {
if (data.type === 'commandStatusChangeNotification' && data.cluster === 'ssIasZone') {
await data.endpoint.defaultResponse(0, 0, 1280, data.meta.zclTransactionSequenceNumber, {"disableDefaultResponse": false});
}
},
};
module.exports = definition;
Does it work correctly now with this converter? If yes please make a pull request.
Do not have Zigbee Sniffer with me on this trip. I'll debug this when I get home this weekend. Develco sent me what Default Response is supposed to look like. Will report back soon.

Solved the issue with big thanks to @SwoopX. Device is expecting Direction: 0 (Client to Server) vs Direction: 1 (Server to Client).
https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/endpoint.ts#L621
For my device, I changed line 621 to options = this.getOptionsWithDefaults(options, true, Zcl.Direction.CLIENT_TO_SERVER, null); and device functions perfectly.
@SwoopX says typically, you want to "switch" the direction in the response. @Koenkk do you know how / where we should implement this?
With:
await data.endpoint.defaultResponse(0, 0, 1280, data.meta.zclTransactionSequenceNumber, {"disableDefaultResponse": false, direction: 0});
ptzb-110.txt pbtzb-110_SNIFF.zip
Issue with OnEvent is that two (2) "Default Response" are sent. The first one that is sent and the one that is read by device is the one that comes from endpoint.ts. The device ignores the "Default Response" sent by OnEvent. You would need to disable native "Default Response" for this to work. The device continues to shout ZCL: Zone Status Change because it is not being satisfied. It wants "Direction: 0" on the first try. I'm surprised this method worked for the device converter that you referenced previously.
You can disable default responses sent by herdsman with the following code: https://github.com/Koenkk/zigbee-herdsman-converters/blob/60ae7793a136f9421d4a400f650156768900bf45/devices/ewelink.js#L35
This works. Thank you. I will publish converter here soon to list. Cheers!
You can also directly create a PR, simply click the pencil icon on this page
PBTZB-110 converter = https://github.com/Koenkk/zigbee-herdsman-converters/commit/cc8828fc3c9ed556d1ad58219c711fee4d373371 toZigbee = https://github.com/Koenkk/zigbee-herdsman-converters/commit/009fa490a527dcec4193510e016c17bba5f02167
About the alarm_auto_cancel_delay, is this a setting? It should also be added to the exposes.
About the
alarm_auto_cancel_delay, is this a setting? It should also be added to theexposes.
Let me figure out how to implement.
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