Skip to content

Time

COMMAND_CLASS_TIME MQTT API

MQTT Support Support Control
true true true

Table of Contents

DATE_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/DateGet

Payload:

{ }

DATE_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Report/DateReport

Payload:

{
  "year": "0x2574",
  "month": "0x12",
  "day": "0x12"
}

TIME_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/TimeGet

Payload:

{ }

TIME_OFFSET_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/TimeOffsetGet

Payload:

{ }

TIME_OFFSET_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Report/TimeOffsetReport

Payload:

{
  "level": {
    "hour_tzo": "0x05",
    "sign_tzo": "0x05"
  },
  "minute_tzo": "0x12",
  "level2": {
    "minute_offset_dst": "0x05",
    "sign_offset_dst": "0x05"
  },
  "month_start_dst": "0x12",
  "day_start_dst": "0x12",
  "hour_start_dst": "0x12",
  "month_end_dst": "0x12",
  "day_end_dst": "0x12",
  "hour_end_dst": "0x12"
}

TIME_OFFSET_SET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/TimeOffsetSet

Payload:

{
  "level": {
    "hour_tzo": "0x05",
    "sign_tzo": "0x05"
  },
  "minute_tzo": "0x12",
  "level2": {
    "minute_offset_dst": "0x05",
    "sign_offset_dst": "0x05"
  },
  "month_start_dst": "0x12",
  "day_start_dst": "0x12",
  "hour_start_dst": "0x12",
  "month_end_dst": "0x12",
  "day_end_dst": "0x12",
  "hour_end_dst": "0x12"
}

TIME_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Report/TimeReport

Payload:

{
  "properties1": {
    "hour_local_time": "0x05",
    "time_source": "0x05",
    "rtc_failure": "0x05"
  },
  "minute_local_time": "0x12",
  "second_local_time": "0x12"
}

DATE_SET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/DateSet

Payload:

{
  "year": "0x2574",
  "month": "0x12",
  "day": "0x12"
}

TIME_SET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/Time/Command/TimeSet

Payload:

{
  "properties1": {
    "hour": "0x05"
  },
  "minute": "0x12",
  "second": "0x12"
}