mirror of
https://github.com/esphome/esphome.git
synced 2024-12-04 20:48:21 +01:00
59b9448b42
- Extracted responsivty curves for red, green, blue and clear channel from the specs - Simulated three lights, specified in the spec sheet, emitting light onto clear responsivity curve, to get a median conversion factor for responsivity (in the graph) to counts/irradiance. - Determine red, green, blue, clear channel range by FWHM - Get the average responsivity for red, green, blue channels from the spec sheet curves and convert the units by the conversion factor determined ealier to counts/irradiance. - Use channel range by FWHM to scale the responses accordingly - Implement conversion from counts by the sensor to irradiance
21 lines
466 B
YAML
21 lines
466 B
YAML
i2c:
|
|
- id: i2c_tcs34725
|
|
scl: 16
|
|
sda: 17
|
|
|
|
sensor:
|
|
- platform: tcs34725
|
|
red_channel_irradiance:
|
|
name: Red Channel Irradiance
|
|
green_channel_irradiance:
|
|
name: Green Channel Irradiance
|
|
blue_channel_irradiance:
|
|
name: Blue Channel Irradiance
|
|
sensor_saturation:
|
|
name: Sensor Saturation
|
|
illuminance:
|
|
name: Illuminance
|
|
color_temperature:
|
|
name: Color Temperature
|
|
integration_time: 614ms
|
|
gain: 60x
|