Grizzly.ZWave.Commands.TimeOffsetReport (grizzly v0.15.6) View Source

This command is used to advertise the Time Zone Offset (TZO) and Daylight Savings Time (DST) parameters.

Params:

  • :sign_tzo - This field is used to indicate the sign (:plus or :minus) to apply to the Hour TZO and Minute TZO fields. (required)

  • :hour_tzo - This field is used to indicate the number of hours that the originating time zone deviates from UTC. (required - 0..14)

  • :minute_tzo - This field is used to indicate the number of minutes that the originating time zone deviates from UTC. (required - 0..59)

  • :sign_offset_dst - This field is used to indicate the sign (:plus or :minus) for the Minute Offset DST field to apply to the

                    current time while in the Daylight Saving Time. (required)
  • :minute_offset_dst - This field MUST indicate the number of minutes by which the current time is to be adjusted when

                       Daylight Saving Time starts. (required - 0..59)
  • :month_start_dst - This field MUST indicate the month of the year when Daylight Saving Time starts. (required, 1..12)

  • :day_start_dst - This field MUST indicate the day of the month when Daylight Saving Time starts. (required - 1..31)

  • :hour_start_dst - This field MUST indicate the hour of the day when Daylight Saving Time starts. (required - 0..23)

  • :month_end_dst - This field MUST indicate the month of the year when Daylight Saving Time ends. (required, 1..12)

  • :day_end_dst - This field MUST indicate the day of the month when Daylight Saving Time ends. (required - 1..31)

  • :hour_end_dst - This field MUST indicate the hour of the day when Daylight Saving Time ends. (required - 0..23)

Link to this section Summary

Link to this section Types

Specs

param() ::
  {:sign_tzo, Grizzly.ZWave.CommandClasses.Time.sign()}
  | {:hour_tzo, 0..23}
  | {:minute_tzo, 0..59}
  | {:sign_offset_dst, Grizzly.ZWave.CommandClasses.Time.sign()}
  | {:minute_offset_dst, byte()}
  | {:month_start_dst, 1..12}
  | {:day_start_dst, 1..31}
  | {:hour_start_dst, 0..59}
  | {:month_end_dst, 1..12}
  | {:day_end_dst, 1..31}
  | {:hour_end_dst, 0..59}

Specs

sign() :: :plus | :minus