From 5f6dc3a1a83adda33701cd9cd0c5c2d69633dd94 Mon Sep 17 00:00:00 2001 From: Jorge Castillo Date: Wed, 8 May 2024 22:20:18 -0400 Subject: [PATCH] add veml7700 ambient light readings to the env merics --- meshtastic/telemetry.proto | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index d6b2388..4661cd6 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -82,6 +82,23 @@ message EnvironmentMetrics { * RCWL9620 Doppler Radar Distance Sensor, used for water level detection. Float value in mm. */ float distance = 8; + + /* + * VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor. + */ + float lux = 9; + + /* + * VEML7700 raw white light data digital 16-bit resolution sensor. + */ + uint32 white = 10; + + /* + * VEML7700 raw ALS data digital 16-bit resolution sensor. + */ + uint32 ALS = 11; + + } /* @@ -309,4 +326,8 @@ enum TelemetrySensorType { * Sensirion High accuracy temperature and humidity */ SHT4X = 17; -} + /* + * VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor. + */ + VEML7700 = 18; +} \ No newline at end of file