The astronomical time switch automatically turn ON/OFF at the preset sunrise/sunset time based on data stored in the database.