Get current day/night state.
This URL helps user to know what the day/night state is without previewing the video. The return value could be DAY if the encoder is in the day time state or NIGHT if the encoder is in night time state.
For the video server or the camera without day/night function, the DAY is always returned in this URL.
None
DAY_NIGHT_STATE='DAY'
or
DAY_NIGHT_STATE='NIGHT'
or
ERROR: DAY_NIGHT_STATE is read-only
Valid
VIDEO_DAYNIGHT_MODE, VIDEO_DN_TYPE, VIDEO_DN_TIMER, VIDEO_DN_IRLED, VIDEO_DN_IRCUT, DAY_GAIN_THD, NIGHT_GAIN_THD, EXPOSURE_GAIN_GET
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&DAY_NIGHT_STATE
or
http://ip:port/cgi-bin/cmd/encoder?DAY_NIGHT_STATE