Smoke Detector

class st.zigbee.defaults.smokeDetector.IASZoneConfiguration
cluster: number

IASZone ID 0x0500

attribute: number

ZoneStatus ID 0x0002

minimum_interval: number

0 seconds

maximum_interval: number

180 seconds (3 min)

data_type: st.zigbee.zcl.types.IasZoneStatus

the ZoneStatus type class

class st.zigbee.defaults.smokeDetector
zigbee_handlers: table
attribute_configurations: table
capability_handlers: table
default_ias_zone_configuration: st.zigbee.defaults.smokeDetector.IASZoneConfiguration
static ias_zone_status_attr_handler(driver, device, zone_status, zb_rx)

Default handler for zoneStatus attribute on the IAS Zone cluster

This converts the 2 byte bitmap value to smokeDetector.smoke.”detected” or smokeDetector.smoke.”clear”

Parameters
static ias_zone_status_change_handler(driver, device, zb_rx)

Default handler for zoneStatus change handler

This converts the 2 byte bitmap value to smokeDetector.smoke.”detected” or smokeDetector.smoke.”clear”

Parameters
  • driver (Driver) – The current driver running containing necessary context for execution

  • device (st.zigbee.Device) – The device this message was received from containing identifying information

  • zb_rx (st.zigbee.ZigbeeMessageRx) – containing the ZoneStatusChangeNotificiation cluster specific message in zb_rx.body.zcl_body