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
The sensor data from the RAK12039 are not created in the JSON serializer for MQTT output.
Two changes are required:
(1) Change in telemetry.pb.h (it says it is automatically generated, but I don't know how and where)
Change uint32_t values to uint16_t values in the meshtastic_AirQualityMetric
/* Air quality metrics */typedefstruct_meshtastic_AirQualityMetrics {
/* Concentration Units Standard PM1.0 */uint16_t pm10_standard;
/* Concentration Units Standard PM2.5 */uint16_t pm25_standard;
/* Concentration Units Standard PM10.0 */uint16_t pm100_standard;
/* Concentration Units Environmental PM1.0 */uint16_t pm10_environmental;
/* Concentration Units Environmental PM2.5 */uint16_t pm25_environmental;
/* Concentration Units Environmental PM10.0 */uint16_t pm100_environmental;
/* 0.3um Particle Count */uint16_t particles_03um;
/* 0.5um Particle Count */uint16_t particles_05um;
/* 1.0um Particle Count */uint16_t particles_10um;
/* 2.5um Particle Count */uint16_t particles_25um;
/* 5.0um Particle Count */uint16_t particles_50um;
/* 10.0um Particle Count */uint16_t particles_100um;
} meshtastic_AirQualityMetrics;
(2) Change in MeshPacketSerializer.cpp
Add air quality metrics to the serializer
Category
Other
Hardware
Other
Firmware Version
2.4.0.46d7b82
Description
The sensor data from the RAK12039 are not created in the JSON serializer for MQTT output.
Two changes are required:
(1) Change in
telemetry.pb.h
(it says it is automatically generated, but I don't know how and where)Change
uint32_t
values touint16_t
values in themeshtastic_AirQualityMetric
(2) Change in
MeshPacketSerializer.cpp
Add air quality metrics to the serializer
Result of change: Meshtastic Device
Created with RAKwireless Meshtastic devices:
Relevant log output
No response
The text was updated successfully, but these errors were encountered: