Files
grabowski 2a3f28001c Lamp testbench in Rust around the HPCS 6500
lampbench station / export / label / tm30 / calibrate replace the Python
lamp_station.py, lamp_export.py, label_printer.py, tm30.py and
calibration.py that lived in HPCS6500-py. The driver is a submodule
(HPCS6500/, like mppt-testbench). Workspace crates: tm30 (TM-30-18 port of
colour-science 0.4.7), brother-ql (raster protocol, byte-identical to
brother_ql) and lamp-label (QR + ID labels for the QL-820NWB).

Bundles are byte-identical to lamp_export.py's (golden tests); the station
runs end to end in a test against the simulated instrument.
2026-10-22 17:26:14 +07:00

90 lines
2.3 KiB
JSON

{
"name": "L0042",
"ean": "8718696844984",
"type": "led",
"dimmable": false,
"variant": "cool white",
"rated": {
"Phi_lm": 1050,
"Power_W": 9.5,
"lifetime_h": 15000
},
"manufacturer": "Philips",
"model": "MyCare 9.5W Caf\u00e9 \u00fc \u0e44\u0e1f",
"notes": "box says \"warm\"\tok",
"instrument": "HPCS6500",
"measured_at": "2026-07-09T16:22:57+07:00",
"instrument_date": "2026-02-04",
"instrument_time": "16:04:22",
"readings_averaged": 3,
"tm30": {
"Rf": 82.8,
"Rg": 102.5
},
"cri": {
"Ra": 83.03523508707683,
"R1": 82.2739028930664,
"R2": 94.10517883300781,
"R3": 93.21258036295573,
"R4": 76.49050394694011,
"R5": 81.4281005859375,
"R6": 89.39029439290364,
"R7": 83.1925786336263,
"R8": 64.188720703125,
"R9": 4.96781063079834,
"R10": 84.26158396402995,
"R11": 76.07496897379558,
"R12": 60.12171173095703,
"R13": 86.65864817301433,
"R14": 96.72717539469402,
"R15": 76.09520975748698
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
},
"photometric": {
"Phi_lm": 479.6871032714844,
"eta_lm_W": 57.07930119832357,
"CCT_K": 5654.930013020833,
"Duv": 0.00552134479706486,
"SDCM": 4.698563575744629,
"TLCI": 67.9216817220052
},
"chromaticity": {
"x": 0.32883302370707196,
"y": 0.3488210042317708,
"u": 0.20148508747418722,
"v": 0.32059840361277264,
"u_prime": 0.20148508747418722,
"v_prime": 0.4808976153532664,
"CIE_X": 662.0794474283854,
"CIE_Y": 702.3236897786459,
"CIE_Z": 649.0183308919271
},
"radiometric": {
"Phi_e_mW": 1491.6316731770833,
"Phi_euv_mW": 0.0,
"Phi_eb_mW": 469.9439392089844,
"Phi_ey_mW": 679.7555135091146,
"Phi_er_mW": 331.15210978190106,
"Phi_efr_mW": 11.503878593444824,
"Phi_eir_mW": 0.0,
"Phi_e_total": 1492.3549397786458
},
"electrical": {
"Voltage_V": 230.29657999674478,
"Current_A": 0.06530716021855672,
"Power_W": 8.4038724899292,
"Freq_Hz": 50.021812438964844,
"PF": 0.5587416887283325
},
"sensor": {
"PeakSignal": 53061.0,
"DarkSignal": 2236.6666666666665,
"Compensate": 2834.0
}
}