Skip to content

[Bug]: Gas resistance units mismatch between Firmware and Android App #4331

@jekeam

Description

@jekeam

There is a scaling and labeling inconsistency in how gas resistance from the BME680 sensor is handled.

In Firmware: The value is converted from Ohms to kΩ (divided by 1000) before being sent via Protobuf: BME680Sensor.cpp#L81

C++
measurement->variant.environment_metrics.gas_resistance = bme680->readGas() / 1000.0;
In Android App: The UI treats this value as MΩ and formats it without proper conversion: EnvironmentMetrics.kt#L106

Please check this moment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions