Files
CPLv4.0/mocks/device-cgi-simulator/chartsData/systemspannung15Vplus/DIA2.json
ISA d6fcf95795 feat(mocks): retime chart mocks to today; add global/all-slot scripts
Add retimeAnalogInputs.mjs (all slots, single slot, or path)
Add retimeAllCharts.mjs (recursive under chartsData)
Update package.json with npm scripts:
mocks:retime:ai (all analog slots)
mocks:retime:ai:slot (single slot via %SLOT%)
mocks:retime:all (entire chartsData tree)
Preserve relative deltas; set first entry to today (same time); DIA2 daily at 00:00
Skip files/arrays without parsable "t" timestamps
2025-09-03 11:45:44 +02:00

189 lines
2.7 KiB
JSON

[
{
"t": "2025-09-03 00:00:00",
"i": 14.885,
"a": 15.149,
"g": 15.023
},
{
"t": "2025-09-02 00:00:00",
"i": 14.884,
"a": 15.208,
"g": 15.032
},
{
"t": "2025-09-01 00:00:00",
"i": 14.906,
"a": 15.186,
"g": 15.038
},
{
"t": "2025-08-31 00:00:00",
"i": 14.905,
"a": 15.206,
"g": 15.038
},
{
"t": "2025-08-30 00:00:00",
"i": 14.88,
"a": 15.195,
"g": 15.042
},
{
"t": "2025-08-29 00:00:00",
"i": 14.876,
"a": 15.208,
"g": 15.033
},
{
"t": "2025-08-28 00:00:00",
"i": 14.867,
"a": 15.185,
"g": 15.035
},
{
"t": "2025-08-27 00:00:00",
"i": 14.883,
"a": 15.172,
"g": 15.036
},
{
"t": "2025-08-26 00:00:00",
"i": 14.893,
"a": 15.193,
"g": 15.037
},
{
"t": "2025-08-25 00:00:00",
"i": 14.879,
"a": 15.186,
"g": 15.031
},
{
"t": "2025-08-24 00:00:00",
"i": 0,
"a": 15.189,
"g": 15.035
},
{
"t": "2025-08-23 00:00:00",
"i": 14.876,
"a": 15.203,
"g": 15.032
},
{
"t": "2025-08-22 00:00:00",
"i": 14.885,
"a": 15.169,
"g": 15.038
},
{
"t": "2025-08-21 00:00:00",
"i": 14.858,
"a": 15.181,
"g": 15.039
},
{
"t": "2025-08-20 00:00:00",
"i": 14.883,
"a": 15.189,
"g": 15.035
},
{
"t": "2025-08-19 00:00:00",
"i": 14.846,
"a": 15.201,
"g": 15.047
},
{
"t": "2025-08-18 00:00:00",
"i": 14.922,
"a": 15.206,
"g": 15.038
},
{
"t": "2025-08-17 00:00:00",
"i": 14.904,
"a": 15.204,
"g": 15.035
},
{
"t": "2025-08-16 00:00:00",
"i": 14.899,
"a": 15.178,
"g": 15.032
},
{
"t": "2025-08-15 00:00:00",
"i": 0,
"a": 15.197,
"g": 15.036
},
{
"t": "2025-08-14 00:00:00",
"i": 0,
"a": 15.193,
"g": 15.033
},
{
"t": "2025-08-13 00:00:00",
"i": 14.876,
"a": 15.174,
"g": 15.036
},
{
"t": "2025-08-12 00:00:00",
"i": 14.844,
"a": 15.209,
"g": 15.037
},
{
"t": "2025-08-11 00:00:00",
"i": 14.871,
"a": 15.182,
"g": 15.035
},
{
"t": "2025-08-10 00:00:00",
"i": 14.894,
"a": 15.201,
"g": 15.037
},
{
"t": "2025-08-09 00:00:00",
"i": 14.886,
"a": 15.196,
"g": 15.033
},
{
"t": "2025-08-08 00:00:00",
"i": 14.871,
"a": 15.186,
"g": 15.041
},
{
"t": "2025-08-07 00:00:00",
"i": 14.9,
"a": 15.165,
"g": 15.034
},
{
"t": "2025-08-06 00:00:00",
"i": 14.868,
"a": 15.181,
"g": 15.031
},
{
"t": "2025-08-05 00:00:00",
"i": 14.871,
"a": 15.202,
"g": 15.034
},
{
"t": "2025-08-04 00:00:00",
"i": 14.866,
"a": 15.188,
"g": 15.031
}
]