You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RAK12039 PM values transmitted and decoded have all PM values set to 0 when sent to MQTT broker.
Reason:
Most likely a change in the protobuf (not sure) where additional "has_pmxxx_standard" and "has_pmxxx_environmental" validator fields were added to the air_quality_metrics structure.
But AirQualityTelemetry.cpp does not set these validation fields to true.
This results in sending all PM values as 0 to the MQTT broker.
Category
Other
Hardware
Rak4631
Firmware Version
2.5.15.79da236
Description
RAK12039 PM values transmitted and decoded have all PM values set to 0 when sent to MQTT broker.
Reason:
Most likely a change in the protobuf (not sure) where additional "has_pmxxx_standard" and "has_pmxxx_environmental" validator fields were added to the air_quality_metrics structure.
But AirQualityTelemetry.cpp does not set these validation fields to true.
This results in sending all PM values as 0 to the MQTT broker.
Fix:
In AirQualityTelemetry.cpp ==> bool AirQualityTelemetryModule::getAirQualityTelemetry(meshtastic_Telemetry *m) the validation markers need to be set to
true
.changed to
fixes the problem and PM air quality values are sent over MQTT.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: