Merge pull request #510 from meshtastic/dfrobot-lark

More lux options, wind speed, and direction as well as DF Robot lark support
This commit is contained in:
Ben Meadors 2024-06-03 15:58:34 -05:00 committed by GitHub
commit bfbf4a65e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 1 deletions

View file

@ -1,4 +1,5 @@
# options for nanopb
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
*EnvironmentMetrics.iaq int_size:16
*EnvironmentMetrics.iaq int_size:16
*EnvironmentMetrics.wind_direction int_size:16

View file

@ -92,6 +92,27 @@ message EnvironmentMetrics {
* VEML7700 high accuracy white light(irradiance) not calibrated digital 16-bit resolution sensor.
*/
float white_lux = 10;
/*
* Infrared lux
*/
float ir_lux = 11;
/*
* Ultraviolet lux
*/
float uv_lux = 12;
/*
* Wind direction in degrees
* 0 degrees = North, 90 = East, etc...
*/
uint32 wind_direction = 13;
/*
* Wind speed in m/s
*/
float wind_speed = 14;
}
/*
@ -349,4 +370,9 @@ enum TelemetrySensorType {
* AHT10 Integrated temperature and humidity sensor
*/
AHT10 = 23;
/*
* DFRobot Lark Weather station (temperature, humidity, pressure, wind speed and direction)
*/
DFROBOT_LARK = 24;
}