Skip to content

Instantly share code, notes, and snippets.

@MichaelNL
MichaelNL / gist:6045532
Created July 20, 2013 15:56
Hue 1.1 schedule time formats
“time” (string)– Required - Time when the schedule occurs in extended ISO 8601:2004 format. Note time is always measured in the bridge in UTC time.
The set value that is supported is as follows:-
Non-recurring schedule – [YYYY]:[MM]:[DD]T[hh]:[mm]:[ss]
Non-recurring schedule with random– [YYYY]:[MM]:[DD]T[hh]:[mm]:[ss]A[hh]:[mm]:[ss]
Recurring schedule – W[bbb]T[hh]:[mm]:[ss]
Recurring schedule with random – W[bbb]T[hh]:[mm]:[ss]A[hh]:[mm]:[ss]
Timer – PT[hh]:[mm]:[ss]
Timer with random element - PT[hh]:[mm]:[ss] A[hh]:[mm]:[ss]
Recurring timer – R[nn]/PT[hh]:[mm]:[ss]
Recurring timer with random element – R[nn]/PT[hh]:[mm]:[ss]A[hh]:[mm]:[ss]