Switch lamps to internal IDs; EAN becomes optional metadata

Directories rename from bare EANs to L0001..L0010 (measurement order).
metrics.json gains an ean field, and a rated block with advertised
values (flux, CCT, power, lifetime) where already documented, so the
site can show advertised-vs-measured deltas. One EAN can now cover
several lamp versions (variant field) and unbranded lamps need no
barcode.
This commit is contained in:
2026-07-09 12:03:05 +07:00
parent 6672dce92d
commit c7d480bfcf
31 changed files with 49 additions and 16 deletions
+82
View File
@@ -0,0 +1,82 @@
{
"name": "L0010",
"ean": "6988766215705",
"manufacturer": "ST",
"model": "ST-012",
"notes": "daylight",
"instrument": "HPCS6500",
"measured_at": "2026-07-09T11:50:32+07:00",
"instrument_date": "2026-07-09",
"instrument_time": "16:14:06",
"readings_averaged": 5,
"tm30": {
"Rf": 66.3,
"Rg": 113.3
},
"cri": {
"Ra": 82.02342071533204,
"R1": 82.54641876220703,
"R2": 82.93352813720703,
"R3": 82.3553970336914,
"R4": 83.79546813964843,
"R5": 82.60101470947265,
"R6": 77.97731018066406,
"R7": 87.80970153808593,
"R8": 76.16852722167968,
"R9": 19.707424545288085,
"R10": 58.932831573486325,
"R11": 83.12305908203125,
"R12": 53.92615737915039,
"R13": 82.23222961425782,
"R14": 90.21104888916015,
"R15": 78.82380828857421
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
},
"photometric": {
"Phi_lm": 1380.2377197265625,
"eta_lm_W": 116.1827407836914,
"CCT_K": 6754.84677734375,
"Duv": 0.006178988143801689,
"SDCM": 3.913194465637207,
"TLCI": 77.05998840332032
},
"chromaticity": {
"x": 0.30796613693237307,
"y": 0.3301540970802307,
"u": 0.19411923885345458,
"v": 0.31215733885765073,
"u_prime": 0.19411923885345458,
"v_prime": 0.4682360053062439,
"CIE_X": 1885.0349609375,
"CIE_Y": 2020.845751953125,
"CIE_Z": 2215.03466796875
},
"radiometric": {
"Phi_e_mW": 4422.49560546875,
"Phi_euv_mW": 0.0,
"Phi_eb_mW": 1430.76640625,
"Phi_ey_mW": 2022.7170654296874,
"Phi_er_mW": 924.311328125,
"Phi_efr_mW": 38.390506744384766,
"Phi_eir_mW": 0.0,
"Phi_e_total": 4416.18603515625
},
"electrical": {
"Voltage_V": 230.33847351074218,
"Current_A": 0.097598697245121,
"Power_W": 11.879993438720703,
"Freq_Hz": 50.021785736083984,
"PF": 0.5284514784812927
},
"sensor": {
"PeakSignal": 55946.0,
"DarkSignal": 2348.4,
"Compensate": 2840.0
}
}