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