Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFRobot Lark weather station support #4032

Merged
merged 5 commits into from
Jun 4, 2024
Merged

DFRobot Lark weather station support #4032

merged 5 commits into from
Jun 4, 2024

Conversation

thebentern
Copy link
Contributor

No description provided.

@thebentern thebentern merged commit a218c6f into master Jun 4, 2024
82 of 83 checks passed
@mverch67
Copy link
Collaborator

src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp: In member function 'virtual bool DFRobotLarkSensor::getMetrics(meshtastic_Telemetry*)':
src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp:38:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     measurement->variant.environment_metrics.temperature = lark.getValue("Temp").toFloat();
                                                                                ^
src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp:39:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     measurement->variant.environment_metrics.relative_humidity = lark.getValue("Humi").toFloat();
                                                                                      ^
src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp:40:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     measurement->variant.environment_metrics.wind_speed = lark.getValue("Speed").toFloat();
                                                                                ^
src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp:41:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     measurement->variant.environment_metrics.wind_direction = GeoCoord::bearingToDegrees(lark.getValue("Dir").c_str());
                                                                                                             ^
src/modules/Telemetry/Sensor/DFRobotLarkSensor.cpp:42:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     measurement->variant.environment_metrics.barometric_pressure = lark.getValue("Pressure").toFloat();

@mverch67
Copy link
Collaborator

I've posted an issue for that external repository:
DFRobot/DFRobot_LarkWeatherStation#1

@mikechristiansen
Copy link

Is anyone able to help me emulate the LARK to use on a co-processor to meshtastic in order to connect standard anamemoters? This is a bireif start I have made, meshtastic sees a connected LARK but I cant get the values to show up in meshtastic - it returns all zeros.
https://github.com/mikechristiansen/Msh_Weather_bridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants