Turn on or turn off electrical equipment .according to the
change of light intensity. The action threshold can be set
according to the demand.