config: enable weather simulation test mode
This commit is contained in:
1 parent
c769a6dff3
commit
2ad5d9f8f9
1 file changed
+6
-6
@@ -101,9 +101,9 @@ window.CONFIG = {
|
||||
// false = live Open-Meteo conditions (also used for the theme choice).
|
||||
// true = cycle sunny -> cloudy -> stormy -> night, useful to compare
|
||||
// all weather looks without waiting on the API.
|
||||
weatherSim: false, // true cycles sunny/cloudy/stormy/night
|
||||
weatherSimInterval: 30000, // ms per weather step when weatherSim is true
|
||||
// weatherSim: true, weatherSimInterval: 15000
|
||||
weatherSim: true, // test mode: cycles sunny/cloudy/stormy/night
|
||||
weatherSimInterval: 15000, // ms per weather step when weatherSim is true
|
||||
// weatherSim: false, weatherSimInterval: 30000
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Weather data
|
||||
@@ -538,9 +538,9 @@ window.CONFIG = {
|
||||
// time, 1440 = one simulated day per minute. Clock hands, digital readout,
|
||||
// weather and sky all use the same clock. Hash overrides: #at=... #speed=...
|
||||
day: {
|
||||
startAt: null, // null = strictly real time
|
||||
speed: 1 // virtual seconds per real second
|
||||
// startAt: '2026-10-29T20:56', speed: 1440 // one simulated day per minute
|
||||
startAt: '2026-10-12T18:30', // test clock: evening, then accelerated
|
||||
speed: 1440 // one simulated day per minute
|
||||
// startAt: null, speed: 1 // real time
|
||||
},
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user