update();
$testTimes = ["09:00",
"11:00",
"15:00",
"20:00",
"23:55",
"00:05 +1day",
"05:00 +1day",
"06:00 +1day",
"07:00 +1day",
"09:00 +1day",
"11:00 +1day",];
?>
Lightscontrol Manual Tests
Standard Metrics:
Sonnenaufgang: | sunrise ?> |
Sonnenuntergang: | sunset ?> |
Aktuelle Zeit: | |
Nacht (ja/nein): | isNight) ? "ja" : "nein" ?> |
Test Sequences:
now: |
Night: isNight)?"1":"0" ?>, State: state)?"1":"0" ?>,
Change: changeTime ?> (changeTime/60) ?>:changeTime%60 ?>h),
API: |
update(strtotime($t));?>
: |
Night: isNight)?"1":"0" ?>, State: state)?"1":"0" ?>,
Change: changeTime ?> (changeTime/60) ?>:changeTime%60 ?>h),
API: |
Config Array:
times) ?>