[CODE] change to civilian twilight

This commit is contained in:
Jannik Beyerstedt 2017-08-23 13:37:20 +02:00
parent e31b31e6f7
commit 596b256e64

View file

@ -8,7 +8,7 @@
$config_filename = 'config_times.json'; $config_filename = 'config_times.json';
$timeRegex = '/^((2[0-3]|1[0-9]|0[0-9]|[^0-9][0-9]):([0-5][0-9]|[0-9]))/'; $timeRegex = '/^((2[0-3]|1[0-9]|0[0-9]|[^0-9][0-9]):([0-5][0-9]|[0-9]))/';
$sun_zenith = 96; /* Civilian Twilight */ $sun_zenith = 96; /* Civilian Twilight */
$sun_zenith = 90+50/60; /* sunrise/ sunset */ //$sun_zenith = 90+50/60; /* sunrise/ sunset */
$timezone = "Europe/Berlin"; $timezone = "Europe/Berlin";
class LightStatus { class LightStatus {