User Credential
COMMAND_CLASS_USER_CREDENTIAL MQTT API¶
| MQTT Support | Support | Control |
|---|---|---|
| true | false | true |
Table of Contents¶
- USER_CAPABILITIES_GET
- USER_CAPABILITIES_REPORT
- CREDENTIAL_CAPABILITIES_GET
- CREDENTIAL_CAPABILITIES_REPORT
- USER_SET
- USER_GET
- USER_REPORT
- CREDENTIAL_SET
- CREDENTIAL_GET
- CREDENTIAL_REPORT
- CREDENTIAL_LEARN_START
- CREDENTIAL_LEARN_CANCEL
- CREDENTIAL_LEARN_REPORT
- USER_CREDENTIAL_ASSOCIATION_SET
- USER_CREDENTIAL_ASSOCIATION_REPORT
- ALL_USERS_CHECKSUM_GET
- ALL_USERS_CHECKSUM_REPORT
- USER_CHECKSUM_GET
- USER_CHECKSUM_REPORT
- CREDENTIAL_CHECKSUM_GET
- CREDENTIAL_CHECKSUM_REPORT
- ADMIN_PIN_CODE_SET
- ADMIN_PIN_CODE_GET
- ADMIN_PIN_CODE_REPORT
USER_CAPABILITIES_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/UserCapabilitiesGet
Payload:
{ }
USER_CAPABILITIES_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/UserCapabilitiesReport
Payload:
{
"number_of_supported_user_unique_identifiers": "0x2574",
"max_length_of_user_name": "0x12",
"properties1": {
"ascii_encoding_support": "0x05",
"extended_ascii_encoding_support": "0x05",
"utf_16_encoding_support": "0x05",
"user_checksum_support": "0x05",
"all_users_checksum_support": "0x05",
"user_schedule_support": "0x05"
},
"supported_user_types_bit_mask_length": "0x12"
}
CREDENTIAL_CAPABILITIES_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialCapabilitiesGet
Payload:
{ }
CREDENTIAL_CAPABILITIES_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/CredentialCapabilitiesReport
Payload:
{
"properties1": {
"admin_code_deactivation_support": "0x05",
"admin_code_support": "0x05",
"credential_checksum_support": "0x05"
},
"number_of_supported_credential_types": "0x12",
"vg1 credential type": [
{
"credential_type": "0x01"
}
],
"vg2 properties2 per credential type": [
{
"properties2": {
"reserved2": "0x05",
"cl_support": "0x05"
}
}
],
"vg3 number of supported credential slots per credential type": [
{
"number_of_supported_credential_slots": "0x2574"
}
],
"vg4 min length of credential data per credential type": [
{
"min_length_of_credential_data": "0x12"
}
],
"vg5 max length of credential data per credential type": [
{
"max_length_of_credential_data": "0x12"
}
],
"vg6 cl recommended timeout per credential type": [
{
"cl_recommended_timeout": "0x12"
}
],
"vg7 cl number of steps per credential type": [
{
"cl_number_of_steps": "0x12"
}
],
"vg8 maximum credential hash length per credential type": [
{
"maximum_credential_hash_length": "0x12"
}
]
}
USER_SET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/UserSet
Payload:
{
"properties1": {
"operation_type": "0x05"
},
"user_unique_identifier": "0x2574",
"user_type": "0x01",
"properties2": {
"user_active_state": "0x05",
"reserved2": "0x05"
},
"credential_rule": "0x12",
"expiring_timeout_minutes": "0x2574",
"properties3": {
"user_name_encoding": "0x05",
"reserved3": "0x05"
},
"user_name_length": "0x12",
"user_name": [
"0x01",
"0x02",
"0x03"
]
}
USER_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/UserGet
Payload:
{
"user_unique_identifier": "0x2574"
}
USER_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/UserReport
Payload:
{
"user_report_type": "0x01",
"next_user_unique_identifier": "0x2574",
"user_modifier_type": "0x01",
"user_modifier_node_id": "0x2574",
"user_unique_identifier": "0x2574",
"user_type": "0x01",
"properties1": {
"user_active_state": "0x05"
},
"credential_rule": "0x12",
"expiring_timeout_minutes": "0x2574",
"properties2": {
"user_name_encoding": "0x05",
"reserved2": "0x05"
},
"user_name_length": "0x12",
"user_name": [
"0x01",
"0x02",
"0x03"
]
}
CREDENTIAL_SET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialSet
Payload:
{
"user_unique_identifier": "0x2574",
"credential_type": "0x01",
"credential_slot": "0x2574",
"properties1": {
"operation_type": "0x05"
},
"credential_length": "0x12",
"credential_data": [
"0x01",
"0x02",
"0x03"
]
}
CREDENTIAL_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialGet
Payload:
{
"user_unique_identifier": "0x2574",
"credential_type": "0x01",
"credential_slot": "0x2574"
}
CREDENTIAL_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/CredentialReport
Payload:
{
"credential_report_type": "0x01",
"user_unique_identifier": "0x2574",
"credential_type": "0x01",
"credential_slot": "0x2574",
"properties1": {
"crb": "0x05"
},
"credential_length": "0x12",
"credential_data": [
"0x01",
"0x02",
"0x03"
],
"credential_modifier_type": "0x01",
"credential_modifier_node_id": "0x2574",
"next_credential_type": "0x01",
"next_credential_slot": "0x2574"
}
CREDENTIAL_LEARN_START¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialLearnStart
Payload:
{
"user_unique_identifier": "0x2574",
"credential_type": "0x01",
"credential_slot": "0x2574",
"properties1": {
"operation_type": "0x05"
},
"credential_learn_timeout": "0x12"
}
CREDENTIAL_LEARN_CANCEL¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialLearnCancel
Payload:
{ }
CREDENTIAL_LEARN_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/CredentialLearnReport
Payload:
{
"credential_learn_status": "0x01",
"user_unique_identifier": "0x2574",
"credential_type": "0x01",
"credential_slot": "0x2574",
"credential_learn_steps_remaining": "0x12"
}
USER_CREDENTIAL_ASSOCIATION_SET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/UserCredentialAssociationSet
Payload:
{
"credential_type": "0x01",
"credential_slot": "0x2574",
"destination_user_unique_identifier": "0x2574"
}
USER_CREDENTIAL_ASSOCIATION_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/UserCredentialAssociationReport
Payload:
{
"credential_type": "0x01",
"credential_slot": "0x2574",
"destination_user_unique_identifier": "0x2574",
"user_credential_association_status": "0x01"
}
ALL_USERS_CHECKSUM_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/AllUsersChecksumGet
Payload:
{ }
ALL_USERS_CHECKSUM_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/AllUsersChecksumReport
Payload:
{
"all_users_checksum": "0x2574"
}
USER_CHECKSUM_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/UserChecksumGet
Payload:
{
"user_unique_identifier": "0x2574"
}
USER_CHECKSUM_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/UserChecksumReport
Payload:
{
"user_unique_identifier": "0x2574",
"user_checksum": "0x2574"
}
CREDENTIAL_CHECKSUM_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/CredentialChecksumGet
Payload:
{
"credential_type": "0x01"
}
CREDENTIAL_CHECKSUM_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/CredentialChecksumReport
Payload:
{
"credential_type": "0x01",
"credential_checksum": "0x2574"
}
ADMIN_PIN_CODE_SET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/AdminPinCodeSet
Payload:
{
"properties1": {
"admin_pin_code_length": "0x05"
},
"admin_code": [
"0x01",
"0x02",
"0x03"
]
}
ADMIN_PIN_CODE_GET¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Command/AdminPinCodeGet
Payload:
{ }
ADMIN_PIN_CODE_REPORT¶
Command:
zpc/<home_id>/<node_id>/ep<endpoint_id>/UserCredential/Report/AdminPinCodeReport
Payload:
{
"properties1": {
"admin_pin_code_length": "0x05",
"admin_pin_code_operation_result": "0x05"
},
"admin_code": [
"0x01",
"0x02",
"0x03"
]
}