[[cluster]]
id = 0x0000
name = "basic"
attributes = [
{ id = 0x0000, name = "zcl_version", type = "uint8" },
{ id = 0x0001, name = "application_version", type = "uint8" },
{ id = 0x0002, name = "stack_version", type = "uint8" },
{ id = 0x0003, name = "hw_version", type = "uint8" },
{ id = 0x0004, name = "manufacturer_name", type = "string" },
{ id = 0x0005, name = "model_identifier", type = "string" },
{ id = 0x0006, name = "date_code", type = "string" },
{ id = 0x0007, name = "power_source", type = "enum8" },
{ id = 0x0008, name = "generic_device_class", type = "enum8" },
{ id = 0x0009, name = "generic_device_type", type = "enum8" },
{ id = 0x000A, name = "product_code", type = "octstr" },
{ id = 0x000B, name = "product_url", type = "string" },
{ id = 0x000C, name = "manufacturer_version_details", type = "string" },
{ id = 0x000D, name = "serial_number", type = "string" },
{ id = 0x000E, name = "product_label", type = "string" },
{ id = 0x0010, name = "location_description", type = "string", write = true },
{ id = 0x0011, name = "physical_environment", type = "enum8", write = true },
{ id = 0x0012, name = "device_enabled", type = "bool", write = true },
{ id = 0x0013, name = "alarm_mask", type = "map8", write = true },
{ id = 0x0014, name = "disable_local_config", type = "map8", write = true },
{ id = 0x4000, name = "sw_build_id", type = "string" },
]
commands = [
{ id = 0x00, name = "reset_to_factory_defaults" },
]
[[cluster]]
id = 0x0001
name = "power_configuration"
attributes = [
{ id = 0x0000, name = "mains_voltage", type = "uint16" },
{ id = 0x0001, name = "mains_frequency", type = "uint8" },
{ id = 0x0020, name = "battery_voltage", type = "uint8", report = [3600, 62000, 0] },
{ id = 0x0021, name = "battery_percentage_remaining", type = "uint8", report = [3600, 62000, 0] },
{ id = 0x0030, name = "battery_manufacturer", type = "string", write = true },
{ id = 0x0031, name = "battery_size", type = "enum8", write = true },
{ id = 0x0033, name = "battery_quantity", type = "uint8", write = true },
{ id = 0x0034, name = "battery_rated_voltage", type = "uint8", write = true },
{ id = 0x0035, name = "battery_alarm_mask", type = "map8", write = true },
{ id = 0x0036, name = "battery_voltage_min_threshold", type = "uint8", write = true },
{ id = 0x003E, name = "battery_alarm_state", type = "map32" },
]
[[cluster]]
id = 0x0002
name = "device_temperature_configuration"
attributes = [
{ id = 0x0000, name = "current_temperature", type = "int16" },
{ id = 0x0001, name = "min_temp_experienced", type = "int16" },
{ id = 0x0002, name = "max_temp_experienced", type = "int16" },
]
[[cluster]]
id = 0x0003
name = "identify"
attributes = [
{ id = 0x0000, name = "identify_time", type = "uint16", write = true },
]
commands = [
{ id = 0x00, name = "identify", fields = ["identify_time:uint16"] },
{ id = 0x01, name = "identify_query" },
{ id = 0x40, name = "trigger_effect", fields = ["effect_identifier:enum8", "effect_variant:enum8"] },
]
responses = [
{ id = 0x00, name = "identify_query_response", fields = ["timeout:uint16"] },
]
[[cluster]]
id = 0x0004
name = "groups"
attributes = [
{ id = 0x0000, name = "name_support", type = "map8" },
]
commands = [
{ id = 0x00, name = "add_group", fields = ["group_id:uint16", "group_name:string"] },
{ id = 0x01, name = "view_group", fields = ["group_id:uint16"] },
{ id = 0x02, name = "get_group_membership", fields = ["group_list:list8<uint16>"] },
{ id = 0x03, name = "remove_group", fields = ["group_id:uint16"] },
{ id = 0x04, name = "remove_all_groups" },
{ id = 0x05, name = "add_group_if_identifying", fields = ["group_id:uint16", "group_name:string"] },
]
responses = [
{ id = 0x00, name = "add_group_response", fields = ["status:enum8", "group_id:uint16"] },
{ id = 0x01, name = "view_group_response", fields = ["status:enum8", "group_id:uint16", "group_name:string"] },
{ id = 0x02, name = "get_group_membership_response", fields = ["capacity:uint8", "group_list:list8<uint16>"] },
{ id = 0x03, name = "remove_group_response", fields = ["status:enum8", "group_id:uint16"] },
]
[[cluster]]
id = 0x0005
name = "scenes"
attributes = [
{ id = 0x0000, name = "scene_count", type = "uint8" },
{ id = 0x0001, name = "current_scene", type = "uint8" },
{ id = 0x0002, name = "current_group", type = "uint16" },
{ id = 0x0003, name = "scene_valid", type = "bool" },
{ id = 0x0004, name = "name_support", type = "map8" },
]
commands = [
{ id = 0x00, name = "add_scene", fields = ["group_id:uint16", "scene_id:uint8", "transition_time:uint16", "scene_name:string", "extension_field_sets:rest"] },
{ id = 0x01, name = "view_scene", fields = ["group_id:uint16", "scene_id:uint8"] },
{ id = 0x02, name = "remove_scene", fields = ["group_id:uint16", "scene_id:uint8"] },
{ id = 0x03, name = "remove_all_scenes", fields = ["group_id:uint16"] },
{ id = 0x04, name = "store_scene", fields = ["group_id:uint16", "scene_id:uint8"] },
{ id = 0x05, name = "recall_scene", fields = ["group_id:uint16", "scene_id:uint8", "transition_time:uint16?"] },
{ id = 0x06, name = "get_scene_membership", fields = ["group_id:uint16"] },
]
responses = [
{ id = 0x00, name = "add_scene_response", fields = ["status:enum8", "group_id:uint16", "scene_id:uint8"] },
{ id = 0x01, name = "view_scene_response", fields = ["status:enum8", "group_id:uint16", "scene_id:uint8", "rest:rest"] },
{ id = 0x02, name = "remove_scene_response", fields = ["status:enum8", "group_id:uint16", "scene_id:uint8"] },
{ id = 0x03, name = "remove_all_scenes_response", fields = ["status:enum8", "group_id:uint16"] },
{ id = 0x04, name = "store_scene_response", fields = ["status:enum8", "group_id:uint16", "scene_id:uint8"] },
{ id = 0x06, name = "get_scene_membership_response", fields = ["status:enum8", "capacity:uint8", "group_id:uint16", "scene_list:rest"] },
]
[[cluster]]
id = 0x0006
name = "on_off"
attributes = [
{ id = 0x0000, name = "on_off", type = "bool", report = [0, 3600] },
{ id = 0x4000, name = "global_scene_control", type = "bool" },
{ id = 0x4001, name = "on_time", type = "uint16", write = true },
{ id = 0x4002, name = "off_wait_time", type = "uint16", write = true },
{ id = 0x4003, name = "start_up_on_off", type = "enum8", write = true },
]
commands = [
{ id = 0x00, name = "off" },
{ id = 0x01, name = "on" },
{ id = 0x02, name = "toggle" },
{ id = 0x40, name = "off_with_effect", fields = ["effect_identifier:enum8", "effect_variant:uint8"] },
{ id = 0x41, name = "on_with_recall_global_scene" },
{ id = 0x42, name = "on_with_timed_off", fields = ["on_off_control:map8", "on_time:uint16", "off_wait_time:uint16"] },
]
[[cluster]]
id = 0x0007
name = "on_off_switch_configuration"
attributes = [
{ id = 0x0000, name = "switch_type", type = "enum8" },
{ id = 0x0010, name = "switch_actions", type = "enum8", write = true },
]
[[cluster]]
id = 0x0008
name = "level_control"
attributes = [
{ id = 0x0000, name = "current_level", type = "uint8", report = [1, 3600, 1] },
{ id = 0x0001, name = "remaining_time", type = "uint16" },
{ id = 0x0002, name = "min_level", type = "uint8" },
{ id = 0x0003, name = "max_level", type = "uint8" },
{ id = 0x000F, name = "options", type = "map8", write = true },
{ id = 0x0010, name = "on_off_transition_time", type = "uint16", write = true },
{ id = 0x0011, name = "on_level", type = "uint8", write = true },
{ id = 0x0012, name = "on_transition_time", type = "uint16", write = true },
{ id = 0x0013, name = "off_transition_time", type = "uint16", write = true },
{ id = 0x0014, name = "default_move_rate", type = "uint8", write = true },
{ id = 0x4000, name = "start_up_current_level", type = "uint8", write = true },
]
commands = [
{ id = 0x00, name = "move_to_level", fields = ["level:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x01, name = "move", fields = ["move_mode:enum8", "rate:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x02, name = "step", fields = ["step_mode:enum8", "step_size:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x03, name = "stop", fields = ["options_mask:map8?", "options_override:map8?"] },
{ id = 0x04, name = "move_to_level_with_on_off", fields = ["level:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x05, name = "move_with_on_off", fields = ["move_mode:enum8", "rate:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x06, name = "step_with_on_off", fields = ["step_mode:enum8", "step_size:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x07, name = "stop_with_on_off", fields = ["options_mask:map8?", "options_override:map8?"] },
]
[[cluster]]
id = 0x0009
name = "alarms"
attributes = [
{ id = 0x0000, name = "alarm_count", type = "uint16" },
]
commands = [
{ id = 0x00, name = "reset_alarm", fields = ["alarm_code:enum8", "cluster_id:clusterid"] },
{ id = 0x01, name = "reset_all_alarms" },
{ id = 0x02, name = "get_alarm" },
{ id = 0x03, name = "reset_alarm_log" },
]
responses = [
{ id = 0x00, name = "alarm", fields = ["alarm_code:enum8", "cluster_id:clusterid"] },
{ id = 0x01, name = "get_alarm_response", fields = ["status:enum8", "alarm_code:enum8?", "cluster_id:clusterid?", "time_stamp:uint32?"] },
]
[[cluster]]
id = 0x000A
name = "time"
attributes = [
{ id = 0x0000, name = "time", type = "utc", write = true },
{ id = 0x0001, name = "time_status", type = "map8", write = true },
{ id = 0x0002, name = "time_zone", type = "int32", write = true },
{ id = 0x0003, name = "dst_start", type = "uint32", write = true },
{ id = 0x0004, name = "dst_end", type = "uint32", write = true },
{ id = 0x0005, name = "dst_shift", type = "int32", write = true },
{ id = 0x0006, name = "standard_time", type = "uint32" },
{ id = 0x0007, name = "local_time", type = "uint32" },
{ id = 0x0008, name = "last_set_time", type = "utc" },
{ id = 0x0009, name = "valid_until_time", type = "utc", write = true },
]
[[cluster]]
id = 0x000C
name = "analog_input"
attributes = [
{ id = 0x001C, name = "description", type = "string", write = true },
{ id = 0x0041, name = "max_present_value", type = "single", write = true },
{ id = 0x0045, name = "min_present_value", type = "single", write = true },
{ id = 0x0051, name = "out_of_service", type = "bool", write = true },
{ id = 0x0055, name = "present_value", type = "single", write = true },
{ id = 0x0067, name = "reliability", type = "enum8", write = true },
{ id = 0x006A, name = "resolution", type = "single", write = true },
{ id = 0x006F, name = "status_flags", type = "map8" },
{ id = 0x0075, name = "engineering_units", type = "enum16", write = true },
{ id = 0x0100, name = "application_type", type = "uint32" },
]
[[cluster]]
id = 0x000D
name = "analog_output"
attributes = [
{ id = 0x001C, name = "description", type = "string", write = true },
{ id = 0x0041, name = "max_present_value", type = "single", write = true },
{ id = 0x0045, name = "min_present_value", type = "single", write = true },
{ id = 0x0051, name = "out_of_service", type = "bool", write = true },
{ id = 0x0055, name = "present_value", type = "single", write = true },
{ id = 0x0067, name = "reliability", type = "enum8", write = true },
{ id = 0x0068, name = "relinquish_default", type = "single", write = true },
{ id = 0x006A, name = "resolution", type = "single", write = true },
{ id = 0x006F, name = "status_flags", type = "map8" },
{ id = 0x0075, name = "engineering_units", type = "enum16", write = true },
{ id = 0x0100, name = "application_type", type = "uint32" },
]
[[cluster]]
id = 0x000F
name = "binary_input"
attributes = [
{ id = 0x0004, name = "active_text", type = "string", write = true },
{ id = 0x001C, name = "description", type = "string", write = true },
{ id = 0x002E, name = "inactive_text", type = "string", write = true },
{ id = 0x0051, name = "out_of_service", type = "bool", write = true },
{ id = 0x0054, name = "polarity", type = "enum8" },
{ id = 0x0055, name = "present_value", type = "bool", write = true, report = [0, 3600] },
{ id = 0x0067, name = "reliability", type = "enum8", write = true },
{ id = 0x006F, name = "status_flags", type = "map8" },
{ id = 0x0100, name = "application_type", type = "uint32" },
]
[[cluster]]
id = 0x0010
name = "binary_output"
attributes = [
{ id = 0x0004, name = "active_text", type = "string", write = true },
{ id = 0x001C, name = "description", type = "string", write = true },
{ id = 0x002E, name = "inactive_text", type = "string", write = true },
{ id = 0x0051, name = "out_of_service", type = "bool", write = true },
{ id = 0x0054, name = "polarity", type = "enum8" },
{ id = 0x0055, name = "present_value", type = "bool", write = true },
{ id = 0x0067, name = "reliability", type = "enum8", write = true },
{ id = 0x006F, name = "status_flags", type = "map8" },
{ id = 0x0100, name = "application_type", type = "uint32" },
]
[[cluster]]
id = 0x0012
name = "multistate_input"
attributes = [
{ id = 0x001C, name = "description", type = "string", write = true },
{ id = 0x004A, name = "number_of_states", type = "uint16", write = true },
{ id = 0x0051, name = "out_of_service", type = "bool", write = true },
{ id = 0x0055, name = "present_value", type = "uint16", write = true, report = [0, 3600, 1] },
{ id = 0x0067, name = "reliability", type = "enum8", write = true },
{ id = 0x006F, name = "status_flags", type = "map8" },
{ id = 0x0100, name = "application_type", type = "uint32" },
]
[[cluster]]
id = 0x0019
name = "ota_upgrade"
attributes = [
{ id = 0x0000, name = "upgrade_server_id", type = "ieee" },
{ id = 0x0001, name = "file_offset", type = "uint32" },
{ id = 0x0002, name = "current_file_version", type = "uint32" },
{ id = 0x0003, name = "current_zigbee_stack_version", type = "uint16" },
{ id = 0x0004, name = "downloaded_file_version", type = "uint32" },
{ id = 0x0005, name = "downloaded_zigbee_stack_version", type = "uint16" },
{ id = 0x0006, name = "image_upgrade_status", type = "enum8" },
{ id = 0x0007, name = "manufacturer_id", type = "uint16" },
{ id = 0x0008, name = "image_type_id", type = "uint16" },
{ id = 0x0009, name = "minimum_block_period", type = "uint16" },
]
commands = [
{ id = 0x01, name = "query_next_image_request", fields = ["field_control:map8", "manufacturer_code:uint16", "image_type:uint16", "file_version:uint32", "hardware_version:uint16?"] },
{ id = 0x03, name = "image_block_request", fields = ["field_control:map8", "manufacturer_code:uint16", "image_type:uint16", "file_version:uint32", "file_offset:uint32", "maximum_data_size:uint8", "rest:rest"] },
{ id = 0x04, name = "image_page_request", fields = ["field_control:map8", "manufacturer_code:uint16", "image_type:uint16", "file_version:uint32", "file_offset:uint32", "maximum_data_size:uint8", "page_size:uint16", "response_spacing:uint16", "rest:rest"] },
{ id = 0x06, name = "upgrade_end_request", fields = ["status:enum8", "manufacturer_code:uint16", "image_type:uint16", "file_version:uint32"] },
{ id = 0x08, name = "query_device_specific_file_request", fields = ["request_node_address:ieee", "manufacturer_code:uint16", "image_type:uint16", "file_version:uint32", "current_zigbee_stack_version:uint16"] },
]
responses = [
{ id = 0x00, name = "image_notify", fields = ["payload_type:enum8", "query_jitter:uint8", "rest:rest"] },
{ id = 0x02, name = "query_next_image_response", fields = ["status:enum8", "rest:rest"] },
{ id = 0x05, name = "image_block_response", fields = ["status:enum8", "rest:rest"] },
{ id = 0x07, name = "upgrade_end_response", fields = ["manufacturer_code:uint16", "image_type:uint16", "file_version:uint32", "current_time:utc", "upgrade_time:utc"] },
]
[[cluster]]
id = 0x0020
name = "poll_control"
attributes = [
{ id = 0x0000, name = "check_in_interval", type = "uint32", write = true },
{ id = 0x0001, name = "long_poll_interval", type = "uint32" },
{ id = 0x0002, name = "short_poll_interval", type = "uint16" },
{ id = 0x0003, name = "fast_poll_timeout", type = "uint16", write = true },
{ id = 0x0004, name = "check_in_interval_min", type = "uint32" },
{ id = 0x0005, name = "long_poll_interval_min", type = "uint32" },
{ id = 0x0006, name = "fast_poll_timeout_max", type = "uint16" },
]
commands = [
{ id = 0x00, name = "check_in_response", fields = ["start_fast_polling:bool", "fast_poll_timeout:uint16"] },
{ id = 0x01, name = "fast_poll_stop" },
{ id = 0x02, name = "set_long_poll_interval", fields = ["new_long_poll_interval:uint32"] },
{ id = 0x03, name = "set_short_poll_interval", fields = ["new_short_poll_interval:uint16"] },
]
responses = [
{ id = 0x00, name = "check_in" },
]
[[cluster]]
id = 0x0101
name = "door_lock"
attributes = [
{ id = 0x0000, name = "lock_state", type = "enum8", report = [0, 3600] },
{ id = 0x0001, name = "lock_type", type = "enum8" },
{ id = 0x0002, name = "actuator_enabled", type = "bool" },
{ id = 0x0003, name = "door_state", type = "enum8", report = [0, 3600] },
{ id = 0x0004, name = "door_open_events", type = "uint32", write = true },
{ id = 0x0005, name = "door_closed_events", type = "uint32", write = true },
{ id = 0x0006, name = "open_period", type = "uint16", write = true },
{ id = 0x0011, name = "number_of_total_users_supported", type = "uint16" },
{ id = 0x0012, name = "number_of_pin_users_supported", type = "uint16" },
{ id = 0x0021, name = "language", type = "string", write = true },
{ id = 0x0023, name = "auto_relock_time", type = "uint32", write = true },
{ id = 0x0024, name = "sound_volume", type = "uint8", write = true },
{ id = 0x0025, name = "operating_mode", type = "enum8", write = true },
]
commands = [
{ id = 0x00, name = "lock_door", fields = ["pin_code:octstr?"] },
{ id = 0x01, name = "unlock_door", fields = ["pin_code:octstr?"] },
{ id = 0x02, name = "toggle", fields = ["pin_code:octstr?"] },
{ id = 0x03, name = "unlock_with_timeout", fields = ["timeout:uint16", "pin_code:octstr?"] },
]
responses = [
{ id = 0x00, name = "lock_door_response", fields = ["status:enum8"] },
{ id = 0x01, name = "unlock_door_response", fields = ["status:enum8"] },
{ id = 0x02, name = "toggle_response", fields = ["status:enum8"] },
{ id = 0x03, name = "unlock_with_timeout_response", fields = ["status:enum8"] },
{ id = 0x20, name = "operation_event_notification", fields = ["operation_event_source:uint8", "operation_event_code:uint8", "user_id:uint16", "pin:octstr", "local_time:uint32", "data:string?"] },
]
[[cluster]]
id = 0x0102
name = "window_covering"
attributes = [
{ id = 0x0000, name = "window_covering_type", type = "enum8" },
{ id = 0x0003, name = "current_position_lift", type = "uint16" },
{ id = 0x0004, name = "current_position_tilt", type = "uint16" },
{ id = 0x0007, name = "config_status", type = "map8" },
{ id = 0x0008, name = "current_position_lift_percentage", type = "uint8", report = [1, 3600, 1] },
{ id = 0x0009, name = "current_position_tilt_percentage", type = "uint8", report = [1, 3600, 1] },
{ id = 0x0010, name = "installed_open_limit_lift", type = "uint16" },
{ id = 0x0011, name = "installed_closed_limit_lift", type = "uint16" },
{ id = 0x0012, name = "installed_open_limit_tilt", type = "uint16" },
{ id = 0x0013, name = "installed_closed_limit_tilt", type = "uint16" },
{ id = 0x0017, name = "mode", type = "map8", write = true },
]
commands = [
{ id = 0x00, name = "up_open" },
{ id = 0x01, name = "down_close" },
{ id = 0x02, name = "stop" },
{ id = 0x04, name = "go_to_lift_value", fields = ["lift_value:uint16"] },
{ id = 0x05, name = "go_to_lift_percentage", fields = ["percentage_lift_value:uint8"] },
{ id = 0x07, name = "go_to_tilt_value", fields = ["tilt_value:uint16"] },
{ id = 0x08, name = "go_to_tilt_percentage", fields = ["percentage_tilt_value:uint8"] },
]
[[cluster]]
id = 0x0201
name = "thermostat"
attributes = [
{ id = 0x0000, name = "local_temperature", type = "int16", report = [10, 3600, 10] },
{ id = 0x0001, name = "outdoor_temperature", type = "int16" },
{ id = 0x0002, name = "occupancy", type = "map8" },
{ id = 0x0003, name = "abs_min_heat_setpoint_limit", type = "int16" },
{ id = 0x0004, name = "abs_max_heat_setpoint_limit", type = "int16" },
{ id = 0x0005, name = "abs_min_cool_setpoint_limit", type = "int16" },
{ id = 0x0006, name = "abs_max_cool_setpoint_limit", type = "int16" },
{ id = 0x0007, name = "pi_cooling_demand", type = "uint8" },
{ id = 0x0008, name = "pi_heating_demand", type = "uint8", report = [10, 3600, 5] },
{ id = 0x0010, name = "local_temperature_calibration", type = "int8", write = true },
{ id = 0x0011, name = "occupied_cooling_setpoint", type = "int16", write = true, report = [0, 3600, 10] },
{ id = 0x0012, name = "occupied_heating_setpoint", type = "int16", write = true, report = [0, 3600, 10] },
{ id = 0x0013, name = "unoccupied_cooling_setpoint", type = "int16", write = true },
{ id = 0x0014, name = "unoccupied_heating_setpoint", type = "int16", write = true },
{ id = 0x0015, name = "min_heat_setpoint_limit", type = "int16", write = true },
{ id = 0x0016, name = "max_heat_setpoint_limit", type = "int16", write = true },
{ id = 0x0017, name = "min_cool_setpoint_limit", type = "int16", write = true },
{ id = 0x0018, name = "max_cool_setpoint_limit", type = "int16", write = true },
{ id = 0x0019, name = "min_setpoint_dead_band", type = "int8", write = true },
{ id = 0x001A, name = "remote_sensing", type = "map8", write = true },
{ id = 0x001B, name = "control_sequence_of_operation", type = "enum8", write = true },
{ id = 0x001C, name = "system_mode", type = "enum8", write = true, report = [0, 3600] },
{ id = 0x001E, name = "running_mode", type = "enum8" },
{ id = 0x0029, name = "running_state", type = "map16" },
]
commands = [
{ id = 0x00, name = "setpoint_raise_lower", fields = ["mode:enum8", "amount:int8"] },
{ id = 0x01, name = "set_weekly_schedule", fields = ["schedule:rest"] },
{ id = 0x02, name = "get_weekly_schedule", fields = ["days_to_return:map8", "mode_to_return:map8"] },
{ id = 0x03, name = "clear_weekly_schedule" },
]
responses = [
{ id = 0x00, name = "get_weekly_schedule_response", fields = ["schedule:rest"] },
]
[[cluster]]
id = 0x0202
name = "fan_control"
attributes = [
{ id = 0x0000, name = "fan_mode", type = "enum8", write = true, report = [0, 3600] },
{ id = 0x0001, name = "fan_mode_sequence", type = "enum8", write = true },
]
[[cluster]]
id = 0x0204
name = "thermostat_user_interface_configuration"
attributes = [
{ id = 0x0000, name = "temperature_display_mode", type = "enum8", write = true },
{ id = 0x0001, name = "keypad_lockout", type = "enum8", write = true },
{ id = 0x0002, name = "schedule_programming_visibility", type = "enum8", write = true },
]
[[cluster]]
id = 0x0300
name = "color_control"
attributes = [
{ id = 0x0000, name = "current_hue", type = "uint8", report = [1, 3600, 1] },
{ id = 0x0001, name = "current_saturation", type = "uint8", report = [1, 3600, 1] },
{ id = 0x0002, name = "remaining_time", type = "uint16" },
{ id = 0x0003, name = "current_x", type = "uint16", report = [1, 3600, 10] },
{ id = 0x0004, name = "current_y", type = "uint16", report = [1, 3600, 10] },
{ id = 0x0007, name = "color_temperature_mireds", type = "uint16", report = [1, 3600, 1] },
{ id = 0x0008, name = "color_mode", type = "enum8" },
{ id = 0x000F, name = "options", type = "map8", write = true },
{ id = 0x4000, name = "enhanced_current_hue", type = "uint16" },
{ id = 0x4001, name = "enhanced_color_mode", type = "enum8" },
{ id = 0x4002, name = "color_loop_active", type = "uint8" },
{ id = 0x400A, name = "color_capabilities", type = "map16" },
{ id = 0x400B, name = "color_temp_physical_min_mireds", type = "uint16" },
{ id = 0x400C, name = "color_temp_physical_max_mireds", type = "uint16" },
{ id = 0x4010, name = "start_up_color_temperature_mireds", type = "uint16", write = true },
]
commands = [
{ id = 0x00, name = "move_to_hue", fields = ["hue:uint8", "direction:enum8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x01, name = "move_hue", fields = ["move_mode:enum8", "rate:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x02, name = "step_hue", fields = ["step_mode:enum8", "step_size:uint8", "transition_time:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x03, name = "move_to_saturation", fields = ["saturation:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x04, name = "move_saturation", fields = ["move_mode:enum8", "rate:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x05, name = "step_saturation", fields = ["step_mode:enum8", "step_size:uint8", "transition_time:uint8", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x06, name = "move_to_hue_and_saturation", fields = ["hue:uint8", "saturation:uint8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x07, name = "move_to_color", fields = ["color_x:uint16", "color_y:uint16", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x08, name = "move_color", fields = ["rate_x:int16", "rate_y:int16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x09, name = "step_color", fields = ["step_x:int16", "step_y:int16", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x0A, name = "move_to_color_temperature", fields = ["color_temperature_mireds:uint16", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x40, name = "enhanced_move_to_hue", fields = ["enhanced_hue:uint16", "direction:enum8", "transition_time:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x47, name = "stop_move_step", fields = ["options_mask:map8?", "options_override:map8?"] },
{ id = 0x4B, name = "move_color_temperature", fields = ["move_mode:map8", "rate:uint16", "color_temperature_min_mireds:uint16", "color_temperature_max_mireds:uint16", "options_mask:map8?", "options_override:map8?"] },
{ id = 0x4C, name = "step_color_temperature", fields = ["step_mode:map8", "step_size:uint16", "transition_time:uint16", "color_temperature_min_mireds:uint16", "color_temperature_max_mireds:uint16", "options_mask:map8?", "options_override:map8?"] },
]
[[cluster]]
id = 0x0400
name = "illuminance_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "uint16", report = [10, 3600, 100] },
{ id = 0x0001, name = "min_measured_value", type = "uint16" },
{ id = 0x0002, name = "max_measured_value", type = "uint16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
{ id = 0x0004, name = "light_sensor_type", type = "enum8" },
]
[[cluster]]
id = 0x0401
name = "illuminance_level_sensing"
attributes = [
{ id = 0x0000, name = "level_status", type = "enum8" },
{ id = 0x0001, name = "light_sensor_type", type = "enum8" },
{ id = 0x0010, name = "illuminance_target_level", type = "uint16", write = true },
]
[[cluster]]
id = 0x0402
name = "temperature_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "int16", report = [10, 3600, 10] },
{ id = 0x0001, name = "min_measured_value", type = "int16" },
{ id = 0x0002, name = "max_measured_value", type = "int16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
]
[[cluster]]
id = 0x0403
name = "pressure_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "int16", report = [10, 3600, 1] },
{ id = 0x0001, name = "min_measured_value", type = "int16" },
{ id = 0x0002, name = "max_measured_value", type = "int16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
{ id = 0x0010, name = "scaled_value", type = "int16" },
{ id = 0x0011, name = "min_scaled_value", type = "int16" },
{ id = 0x0012, name = "max_scaled_value", type = "int16" },
{ id = 0x0013, name = "scaled_tolerance", type = "uint16" },
{ id = 0x0014, name = "scale", type = "int8" },
]
[[cluster]]
id = 0x0404
name = "flow_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "uint16", report = [10, 3600, 10] },
{ id = 0x0001, name = "min_measured_value", type = "uint16" },
{ id = 0x0002, name = "max_measured_value", type = "uint16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
]
[[cluster]]
id = 0x0405
name = "relative_humidity_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "uint16", report = [10, 3600, 100] },
{ id = 0x0001, name = "min_measured_value", type = "uint16" },
{ id = 0x0002, name = "max_measured_value", type = "uint16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
]
[[cluster]]
id = 0x0406
name = "occupancy_sensing"
attributes = [
{ id = 0x0000, name = "occupancy", type = "map8", report = [0, 3600] },
{ id = 0x0001, name = "occupancy_sensor_type", type = "enum8" },
{ id = 0x0002, name = "occupancy_sensor_type_bitmap", type = "map8" },
{ id = 0x0010, name = "pir_occupied_to_unoccupied_delay", type = "uint16", write = true },
{ id = 0x0011, name = "pir_unoccupied_to_occupied_delay", type = "uint16", write = true },
{ id = 0x0012, name = "pir_unoccupied_to_occupied_threshold", type = "uint8", write = true },
]
[[cluster]]
id = 0x0408
name = "soil_moisture_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "uint16", report = [10, 3600, 100] },
{ id = 0x0001, name = "min_measured_value", type = "uint16" },
{ id = 0x0002, name = "max_measured_value", type = "uint16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
]
[[cluster]]
id = 0x0409
name = "ph_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "uint16", report = [10, 3600, 10] },
{ id = 0x0001, name = "min_measured_value", type = "uint16" },
{ id = 0x0002, name = "max_measured_value", type = "uint16" },
{ id = 0x0003, name = "tolerance", type = "uint16" },
]
[[cluster]]
id = 0x040D
name = "carbon_dioxide_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "single" },
{ id = 0x0001, name = "min_measured_value", type = "single" },
{ id = 0x0002, name = "max_measured_value", type = "single" },
{ id = 0x0003, name = "tolerance", type = "single" },
]
[[cluster]]
id = 0x042A
name = "pm25_measurement"
attributes = [
{ id = 0x0000, name = "measured_value", type = "single" },
{ id = 0x0001, name = "min_measured_value", type = "single" },
{ id = 0x0002, name = "max_measured_value", type = "single" },
{ id = 0x0003, name = "tolerance", type = "single" },
]
[[cluster]]
id = 0x0500
name = "ias_zone"
attributes = [
{ id = 0x0000, name = "zone_state", type = "enum8" },
{ id = 0x0001, name = "zone_type", type = "enum16" },
{ id = 0x0002, name = "zone_status", type = "map16" },
{ id = 0x0010, name = "ias_cie_address", type = "ieee", write = true },
{ id = 0x0011, name = "zone_id", type = "uint8" },
{ id = 0x0012, name = "number_of_zone_sensitivity_levels_supported", type = "uint8" },
{ id = 0x0013, name = "current_zone_sensitivity_level", type = "uint8", write = true },
]
commands = [
{ id = 0x00, name = "zone_enroll_response", fields = ["enroll_response_code:enum8", "zone_id:uint8"] },
{ id = 0x01, name = "initiate_normal_operation_mode" },
{ id = 0x02, name = "initiate_test_mode", fields = ["test_mode_duration:uint8", "current_zone_sensitivity_level:uint8"] },
]
responses = [
{ id = 0x00, name = "zone_status_change_notification", fields = ["zone_status:map16", "extended_status:map8", "zone_id:uint8?", "delay:uint16?"] },
{ id = 0x01, name = "zone_enroll_request", fields = ["zone_type:enum16", "manufacturer_code:uint16"] },
]
[[cluster]]
id = 0x0501
name = "ias_ace"
commands = [
{ id = 0x00, name = "arm", fields = ["arm_mode:enum8", "arm_disarm_code:string", "zone_id:uint8"] },
{ id = 0x01, name = "bypass", fields = ["zones:rest"] },
{ id = 0x02, name = "emergency" },
{ id = 0x03, name = "fire" },
{ id = 0x04, name = "panic" },
{ id = 0x05, name = "get_zone_id_map" },
{ id = 0x06, name = "get_zone_information", fields = ["zone_id:uint8"] },
{ id = 0x07, name = "get_panel_status" },
]
responses = [
{ id = 0x00, name = "arm_response", fields = ["arm_notification:enum8"] },
{ id = 0x04, name = "panel_status_changed", fields = ["panel_status:enum8", "seconds_remaining:uint8", "audible_notification:enum8", "alarm_status:enum8"] },
{ id = 0x05, name = "get_panel_status_response", fields = ["panel_status:enum8", "seconds_remaining:uint8", "audible_notification:enum8", "alarm_status:enum8"] },
]
[[cluster]]
id = 0x0502
name = "ias_wd"
attributes = [
{ id = 0x0000, name = "max_duration", type = "uint16", write = true },
]
commands = [
{ id = 0x00, name = "start_warning", fields = ["warning_info:map8", "warning_duration:uint16", "strobe_duty_cycle:uint8", "strobe_level:enum8"] },
{ id = 0x01, name = "squawk", fields = ["squawk_info:map8"] },
]
[[cluster]]
id = 0x0702
name = "metering"
attributes = [
{ id = 0x0000, name = "current_summation_delivered", type = "uint48", report = [10, 3600, 10] },
{ id = 0x0001, name = "current_summation_received", type = "uint48" },
{ id = 0x0200, name = "status", type = "map8" },
{ id = 0x0300, name = "unit_of_measure", type = "enum8" },
{ id = 0x0301, name = "multiplier", type = "uint24" },
{ id = 0x0302, name = "divisor", type = "uint24" },
{ id = 0x0303, name = "summation_formatting", type = "map8" },
{ id = 0x0304, name = "demand_formatting", type = "map8" },
{ id = 0x0306, name = "metering_device_type", type = "map8" },
{ id = 0x0400, name = "instantaneous_demand", type = "int24", report = [10, 3600, 1] },
]
[[cluster]]
id = 0x0B04
name = "electrical_measurement"
attributes = [
{ id = 0x0000, name = "measurement_type", type = "map32" },
{ id = 0x0300, name = "ac_frequency", type = "uint16" },
{ id = 0x0304, name = "total_active_power", type = "int32" },
{ id = 0x0505, name = "rms_voltage", type = "uint16", report = [10, 3600, 5] },
{ id = 0x0508, name = "rms_current", type = "uint16", report = [10, 3600, 50] },
{ id = 0x050B, name = "active_power", type = "int16", report = [10, 3600, 10] },
{ id = 0x050E, name = "reactive_power", type = "int16" },
{ id = 0x050F, name = "apparent_power", type = "uint16" },
{ id = 0x0510, name = "power_factor", type = "int8" },
{ id = 0x0600, name = "ac_voltage_multiplier", type = "uint16" },
{ id = 0x0601, name = "ac_voltage_divisor", type = "uint16" },
{ id = 0x0602, name = "ac_current_multiplier", type = "uint16" },
{ id = 0x0603, name = "ac_current_divisor", type = "uint16" },
{ id = 0x0604, name = "ac_power_multiplier", type = "uint16" },
{ id = 0x0605, name = "ac_power_divisor", type = "uint16" },
]
[[cluster]]
id = 0x0B05
name = "diagnostics"
attributes = [
{ id = 0x0000, name = "number_of_resets", type = "uint16" },
{ id = 0x0001, name = "persistent_memory_writes", type = "uint16" },
{ id = 0x0100, name = "mac_rx_bcast", type = "uint32" },
{ id = 0x0101, name = "mac_tx_bcast", type = "uint32" },
{ id = 0x0102, name = "mac_rx_ucast", type = "uint32" },
{ id = 0x0103, name = "mac_tx_ucast", type = "uint32" },
{ id = 0x0104, name = "mac_tx_ucast_retry", type = "uint16" },
{ id = 0x0105, name = "mac_tx_ucast_fail", type = "uint16" },
{ id = 0x011B, name = "average_mac_retry_per_aps_message_sent", type = "uint16" },
{ id = 0x011C, name = "last_message_lqi", type = "uint8" },
{ id = 0x011D, name = "last_message_rssi", type = "int8" },
]