DAYLIGHT_SAVING_CONFIG

Description

> Get or Set Day Light Saving configurations. There are two types of input arguments in this URL to set the start/end time of the Day Light Saving.

> In Type 1, 4 arguments are used to give the start/end time. The format is described below.
> <month>,<the order of week in a month>,<hour>,<weekday>.
> For example, the 3,1,2,7 sets the time to 2:00 on the first Sunday in March.

> In Type 2, 3 arguments are used to give the start/end time. the format is described below.
> <month>,<month day>,<hour>
> For example, the 3,31,14 sets the time to 14:00 in the 31th March.

> There is no limitation for the start/end time to have the same format. For example, the format of start time is type1 and it of end time is type 2.

> If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and the Router's Day Light Saving configurations will be returned.

> Please refer the Daylight Saving Design Specification for further details.

Input Argument

> a,b1,c1,d1,e1,f1,b2,c2,d2,e2,f2 where
> The <b1,c1,d1,e1,f1> indicates the start time of the Day Light Saving.
> The <b2,c2,d2,e2,f2> indicates the start time of the Day Light Saving.

> Input Argument | Description
> a | Day Light Saving Enable/Disable control. 0: Disable, 1: Enable
> b1/b2 | input argument type. 1: Type1, 2: Type 2
> c1/c2 | month, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
> d1/d2 | when b1/b2 = 1 | d1/d2 are the order of the week in a month. It could be 1, 2, 3, 4 for the first, second, third and last week in a month.
> when b1/b2 = 2 | d1/d2 are the month day started form 1 to 31.
> e1/e2 | the hour of a day started form 0 to 23.
> f1/f2 | when b1/b2 = 1 | f1/f2 are the week day which started from 1 to 7, where 1 is for Monday and 7 is for Sunday
> when b1/b2 = 2 | f1/f2 are not used

Attribute

- Readable and Writable (except all video servers in Multi-Channel Platform)
- On-Fly (except all encoders in WPL Platform)

Return of Message

- Read Operation

> DAYLIGHT_SAVING_CONFIG='0,1,7,1,2,7,2,3,5,2'

- Write Operation

> OK: DAYLIGHT_SAVING_CONFIG='0,1,7,1,2,7,2,3,5,2'
> or
> ERROR: DAYLIGHT_SAVING_CONFIG='0,1,7,1,2,7,2,3,5,2'

Applicability

- WPL Platform : 1CH Encoder (Version after V2.08.01)
- EPL Platform : 1CH Encoder (Version after V3.07.00)
- PlatformT Platform: All Encoder Devices (Version after V4.00.00)
- Multi-Channel Encoder : All Devices (Router Version after 2.03.04)

Status

> Valid

See Also

> DATE, DATE_TYPE, DATE_SNTP_IP, DATE_SNTP_UPDATE, DATE_MANUAL_DATE, DATE_MANUAL_TIME, DATE_MANUAL_ZONE, DATE_CONFIG

Example

- Read Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DAYLIGHT_SAVING_CONFIG
> or
> http://ip:port/cgi-bin/cmd/system?DAYLIGHT_SAVING_CONFIG

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DAYLIGHT_SAVING_CONFIG=0,1,7,1,2,7,2,3,5,2
> or
> http://ip:port/cgi-bin/cmd/system?DAYLIGHT_SAVING_CONFIG=0,1,7,1,2,7,2,3,5,2

Back to

> HOME, SYSTEM CGI