Command Set

class st.zwave.CommandClass.Schedule.CommandSet

Dynamically versioned COMMAND_SCHEDULE_SET

Supported versions: 1,2,3,4; unique base versions: 1,2,3

cmd_class: number

0x53

cmd_id: number

0x03

version: number

1,2,3

args: st.zwave.CommandClass.Schedule.CommandSetV1Args or st.zwave.CommandClass.Schedule.CommandSetV2Args or st.zwave.CommandClass.Schedule.CommandSetV3Args
construct(module, args)

Construct a COMMAND_SCHEDULE_SET object at the module instance serialization version.

Parameters
  • module (st.zwave.CommandClass.Schedule) – command class module instance

  • args (st.zwave.CommandClass.Schedule.CommandSetV1Args or st.zwave.CommandClass.Schedule.CommandSetV2Args or st.zwave.CommandClass.Schedule.CommandSetV3Args) – command-specific arguments

Return type

st.zwave.CommandClass.Schedule.CommandSet

class st.zwave.CommandClass.Schedule.CommandSetV1: st.zwave.Command

v1 COMMAND_SCHEDULE_SET

cmd_class: number

0x53

cmd_id: number

0x03

version: number

1

args: st.zwave.CommandClass.Schedule.CommandSetV1Args

command-specific arguments

init(module, args)

Initialize a v1 COMMAND_SCHEDULE_SET object.

Parameters
serialize()

Serialize v1 COMMAND_SCHEDULE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 COMMAND_SCHEDULE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Schedule.CommandSetV1Args

class st.zwave.CommandClass.Schedule.CommandSetV1Args
schedule_id: integer

[0,255]

user_identifier: integer

[0,255]

start_year: integer

[0,255]

start_month: integer

[0,15]

start_day_of_month: integer

[0,31]

start_weekday: integer

[0,127]

res: boolean
start_hour: integer

[0,31]

duration_type: integer

[0,7]

start_minute: integer

[0,63]

duration_byte: integer

[0,65535]

reports_to_follow: integer

[0,255]

cmds: list[st.zwave.CommandClass.Schedule.CommandSetV1ArgsCmds]
class st.zwave.CommandClass.Schedule.CommandSetV1ArgsCmds
cmd_byte: str
class st.zwave.CommandClass.Schedule.CommandSetV2: st.zwave.Command

v2 COMMAND_SCHEDULE_SET

cmd_class: number

0x53

cmd_id: number

0x03

version: number

2

args: st.zwave.CommandClass.Schedule.CommandSetV2Args

command-specific arguments

init(module, args)

Initialize a v2 COMMAND_SCHEDULE_SET object.

Parameters
serialize()

Serialize v2 COMMAND_SCHEDULE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 COMMAND_SCHEDULE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Schedule.CommandSetV2Args

class st.zwave.CommandClass.Schedule.CommandSetV2Args
schedule_id: integer

[0,255]

schedule_id_block: integer

[0,255]

start_year: integer

[0,255]

start_month: integer

[0,15]

start_day_of_month: integer

[0,31]

start_weekday: integer

[0,127]

start_hour: integer

[0,31]

duration_type: integer

[0,7]

start_minute: integer

[0,63]

duration_byte: integer

[0,65535]

reports_to_follow: integer

[0,255]

cmds: list[st.zwave.CommandClass.Schedule.CommandSetV2ArgsCmds]
class st.zwave.CommandClass.Schedule.CommandSetV2ArgsCmds
cmd_byte: str
class st.zwave.CommandClass.Schedule.CommandSetV3: st.zwave.Command

v3 and forward-compatible v4 COMMAND_SCHEDULE_SET

cmd_class: number

0x53

cmd_id: number

0x03

version: number

3

args: st.zwave.CommandClass.Schedule.CommandSetV3Args

command-specific arguments

init(module, args)

Initialize a v3 and forward-compatible v4 COMMAND_SCHEDULE_SET object.

Parameters
serialize()

Serialize v3 or forward-compatible v4 COMMAND_SCHEDULE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 or forward-compatible v4 COMMAND_SCHEDULE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Schedule.CommandSetV3Args

class st.zwave.CommandClass.Schedule.CommandSetV3Args
schedule_id: integer

[0,255]

schedule_id_block: integer

[0,255]

start_year: integer

[0,255]

start_month: integer

[0,15]

recurrence_offset: integer

[0,15]

start_day_of_month: integer

[0,31]

recurrence_mode: integer

see Schedule.recurrence_mode

start_weekday: integer

[0,127]

start_hour: integer

[0,31]

duration_type: integer

[0,7]

start_minute: integer

[0,63]

relative: boolean
duration_byte: integer

[0,65535]

reports_to_follow: integer

[0,255]

cmds: list[st.zwave.CommandClass.Schedule.CommandSetV3ArgsCmds]
class st.zwave.CommandClass.Schedule.CommandSetV3ArgsCmds
cmd_byte: str