IasZoneStatus

class st.zigbee.zcl.types.IasZoneStatus: st.zigbee.data_types.Bitmap16
byte_length: number

2

ALARM1: number

1

ALARM2: number

2

TAMPER: number

4

BATTERY_LOW: number

8

SUPERVISION_NOTIFY: number

16

RESTORE_NOTIFY: number

32

TROUBLE: number

64

AC_MAINS_FAULT: number

128

TEST: number

256

BATTERY_DEFECT: number

512

is_alarm1_set()
Returns

True if the value of ALARM1 is non-zero

Return type

boolean

set_alarm1()

Set the value of the bit in the ALARM1 field to 1

unset_alarm1()

Set the value of the bits in the ALARM1 field to 0

is_alarm2_set()
Returns

True if the value of ALARM2 is non-zero

Return type

boolean

set_alarm2()

Set the value of the bit in the ALARM2 field to 1

unset_alarm2()

Set the value of the bits in the ALARM2 field to 0

is_tamper_set()
Returns

True if the value of TAMPER is non-zero

Return type

boolean

set_tamper()

Set the value of the bit in the TAMPER field to 1

unset_tamper()

Set the value of the bits in the TAMPER field to 0

is_battery_low_set()
Returns

True if the value of BATTERY_LOW is non-zero

Return type

boolean

set_battery_low()

Set the value of the bit in the BATTERY_LOW field to 1

unset_battery_low()

Set the value of the bits in the BATTERY_LOW field to 0

is_supervision_notify_set()
Returns

True if the value of SUPERVISION_NOTIFY is non-zero

Return type

boolean

set_supervision_notify()

Set the value of the bit in the SUPERVISION_NOTIFY field to 1

unset_supervision_notify()

Set the value of the bits in the SUPERVISION_NOTIFY field to 0

is_restore_notify_set()
Returns

True if the value of RESTORE_NOTIFY is non-zero

Return type

boolean

set_restore_notify()

Set the value of the bit in the RESTORE_NOTIFY field to 1

unset_restore_notify()

Set the value of the bits in the RESTORE_NOTIFY field to 0

is_trouble_set()
Returns

True if the value of TROUBLE is non-zero

Return type

boolean

set_trouble()

Set the value of the bit in the TROUBLE field to 1

unset_trouble()

Set the value of the bits in the TROUBLE field to 0

is_ac_mains_fault_set()
Returns

True if the value of AC_MAINS_FAULT is non-zero

Return type

boolean

set_ac_mains_fault()

Set the value of the bit in the AC_MAINS_FAULT field to 1

unset_ac_mains_fault()

Set the value of the bits in the AC_MAINS_FAULT field to 0

is_test_set()
Returns

True if the value of TEST is non-zero

Return type

boolean

set_test()

Set the value of the bit in the TEST field to 1

unset_test()

Set the value of the bits in the TEST field to 0

is_battery_defect_set()
Returns

True if the value of BATTERY_DEFECT is non-zero

Return type

boolean

set_battery_defect()

Set the value of the bit in the BATTERY_DEFECT field to 1

unset_battery_defect()

Set the value of the bits in the BATTERY_DEFECT field to 0